platform

platform is an attribute given to objects for which commands such as >LOOK ON <object> or >PUT THING ON <object> work. Without the platform attribute, these commands would get a “You can’t do that.” response.

Other things to keep in mind:

  • If it’s a working platform (objects can actually be placed on it), it should also have holding and capacity properties (these are used by Acquire to verify the platform has room for more objects).
  • If the object’s contents shouldn’t show up in a room listing (or when you look at it), it should also have the quiet attribute.
  • If you want the object’s contents to only show up when the player looks on it, use list_contents.
  • If the container object can also have objects placed inside it (like a desk), check out the supercontainer class.