Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

It's hidden in the bowels of the settings ...

Trapping it doesn't work Gareth because the standard all behaviour pre-empts everything. Technically, you can use the : do_all; command manually even when the standard all behaviour is disabled. 

start_at                 = village
locations {
   village : location "You are in a village" ;
} objects {
   lamp    : object "a lamp"    start_at = "village" ;
   toaster : object "a toaster" start_at = "village"  ;
} settings {
   enable_standard_all_behaviour = false
}

What does do_all do?

(1 edit)

This is all technically out of the scope of "classroom:, and these features were hidden away so as not to overwhelm beginners. 

Anyway, essentially, do_all will explode out the current sentence and replace the "ALL" part by the contents of some location (such as the inventory, the current player location, some other location, some container), and it will also stop downstream ticks.

There is an ongoing bug (mentioned in another thread) that the "ALL" tick is being counted as a tick when it should not be. I advise strongly against using do_all. The "enable_standard_all_behaviour " which defaults to true, will handle alls without having to use do_all. do_all is a very advanced command, and easy to misuse.

Adventuron doesn't recognize 'enable_standard_all_behaviour'. It doesn't want that.

It does. It's in my game, fine. Needs to go in the settings section, not the theme setting section.