Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Well, the only thing I've get from this thread that I have to wait for fix. Am I right?)

This should work:

game_settings {
   // Switches off Adventuron's standard 'all' behaviour.
   enable_standard_all_behaviour = false
}
on_command {
      /// Your command handlers here !
      : match "drop _" {
         : if (is_at "my_location") {
            : print "NOT HERE!" ;
            : done ;
         }
      }
      // Make sure this is the last item in the on_command{} block
      : if (noun1_is "all") {
         : if (verb_is "get")    { : do_all target="current_location_objects";}
         : if (verb_is "drop")   { : do_all target="inventory_notworn";}
         : if (verb_is "wear")   { : do_all target="inventory_notworn";}
         : if (verb_is "remove") { : do_all target="inventory_worn";}
      }
}

... the standard all behaviour is to override everything then intercept get, drop, wear and remove commands per item. By moving the all handler to the bottom, then you can override all these commands before they are exploded by the standard all handlers.

Sorry if it's hard to understand, I'll work to make this very simple.

No, it's very simple. Thank you, will give it a try.

And here. Everything works as expected. Thanks.