Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Cool idea! It looks like you're combining a print function with a conditional branch, I've got to know - how is that working?

(+1)

thanks!

yeah, are you already familiar with the commonly used fake ternary in Lua: “x and y or z”?

x is interpreted as a boolean value there, but y and z can be any type, so in this case they are strings, and the value that comes out of that is given to the “print” function. does that make sense?

I wasn't familiar with that, but it's good to know! Thanks for the explanation!