Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

We did some wacky stuff to make the Unity <-> Ink inventory system in Cake King's Rent Fiesta work. Latter part of the file is pretty repetitive (probably a chance to use Ink functions better?), but still might be interesting to see 

https://hastebin.com/tudafovite.swift

Interesting! 

Fun fact, Ink knots and stitches can also take parameters, so you wouldn't need to make a function, you could just have something like:


===make_food(foodname)
    You make some delicious {foodname}!

You would still need to handle the tags, but that's a descision that should be made based on how you're handling the tags in your engine.

Oh nice, i actually had no idea this was a language feature! this is a v good tip, thank you!