Click or drag to resize
Thing Properties
Hartismere School

[This is preliminary documentation and is subject to change.]

The Thing type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleBucket
A Bucket object for the Thing.
Public propertyCarried
Gets or Sets if the Thing is being carried.
Public propertyContainer
Gets or Sets if the Thing can contain other Things.
Public propertyContents
For Containers: gets all things that this Thing contains.
Public propertyDescription
The description of the Thing.
Public propertyInPlayerRoom
Returns true if the Thing is in the same room as the player.
Public propertyInRoom
Gets or Sets the Room this Thing is in, or null if not in a Room.
Public propertyInThing
Gets or Sets the Thing this Thing is in, or null if not in a Thing.
Public propertyCode exampleName
The Name of the Thing
Public propertyVisible
Gets or Sets the Things Visibility. If set to true the Thing is placed in the current room.
Public propertyWearable
Gets or Sets if the Thing can be worn.
Public propertyCode exampleWithDefiniteArticle
Returns the Thing Name preceded with "the".
Public propertyCode exampleWithIndefiniteArticle
Returns the Thing Name preceded with "a" or "an".
Public propertyWorn
Gets or Sets if the Thing is Worn.
Top
See Also