ainslec / adventuron-issue-tracker

Adventuron Issues Tracker
4 stars 0 forks source link

is_pocketable should probably return false for scenery #500

Closed ainslec closed 1 year ago

ainslec commented 2 years ago

(Reported by Josh Goebel)

ainslec commented 1 year ago
start_at = my_location

locations {
   my_location : location "You are in a room.";
}

objects {
   bridge : scenery "a bridge" at = "my_location" ;
}

on_command {
   : match "test _"  {
      : if (is_pocketable "bridge") {
         : print "ERROR";
      }
      : else {
         : print "SUCCESS";
      }
   }
}
ainslec commented 1 year ago

Will be fixed in upcoming beta 78.