Skip to main content

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

I think, I'll start by managing the GET/DROP objects globally, and the others in locations.  Then, I'll see how I organize my code inside the Global and the Local.

on_command {
   : match "_ _"  {
      : if (is_at "room1") {
         : gosub "room1Sub" ;
         : done ;
      }
      : if (is_at "room2") {
         : gosub "room2Sub" ;
         : done ;
      }
      : if (is_at "room3") {
         : gosub "room3Sub" ;
         : done ;
      }   }
}