Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I think you do have to define a treasure room if you want to be able to have simple "win game" logic. By default, defining a treasure room will add a win game condition and print out the treasures hunt win game message if all objects are present in the treasure room at the when on_tick {} runs. This can be disabled, but without defining a treasure room the treasure_deposited() function will not work, and so you will have to manually count objects.

Sorry. You're right. I was getting mixed up because I don't start at the treasure room and it's not called treasure room. You need:

start_at = your_start_room
treasure_room = your_treasure_room