Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Is the first listed object a treasure? If so, I think I noticed this bug and am currently looking at it. After I fix the bug, you will need to recompile with the new version of Adventuron.

UPDATE: I have just issued an update to adventuron (beta 27c, and this issue should now be resolved). To try out the fix, press CONTROL + F5 to force a refresh of Adventuron Classroom editor.

Please confirm that this fixes your issue.

Quick way to test the fix, start this game, type LOSE (to end game), then type "YES" at the "ROLLBACK?" questions:


start_at       = my_location
treasure_room  = my_location_2
start_theme    = two
game_settings {
   rollback_enabled = true
} locations {
   my_location   : location "You are in a room." ;
   my_location_2 : location "You are in a room." ;
} connections {
   from, direction, to = [
      my_location, east, my_location_2, 
   ]
} objects {
   ring : object "a diamond ring" start_at = "my_location" treasure = "true" ;
   shrimp : object "a shrimp" start_at = "my_location" ;
} on_command {
   : match "kill _; lose _"  {
      : lose_game;
   }
}