| Thing Properties |
[This is preliminary documentation and is subject to change.]
The Thing type exposes the following members.
| Name | Description | |
|---|---|---|
| Bucket |
A Bucket object for the Thing.
| |
| Carried |
Gets or Sets if the Thing is being carried.
| |
| Container |
Gets or Sets if the Thing can contain other Things.
| |
| Contents |
For Containers: gets all things that this Thing contains.
| |
| Description |
The description of the Thing.
| |
| InPlayerRoom |
Returns true if the Thing is in the same room as the player.
| |
| InRoom |
Gets or Sets the Room this Thing is in, or null if not in a Room.
| |
| InThing |
Gets or Sets the Thing this Thing is in, or null if not in a Thing.
| |
| Name |
The Name of the Thing
| |
| Visible |
Gets or Sets the Things Visibility. If set to true the Thing is placed in the current room.
| |
| Wearable |
Gets or Sets if the Thing can be worn.
| |
| WithDefiniteArticle |
Returns the Thing Name preceded with "the".
| |
| WithIndefiniteArticle |
Returns the Thing Name preceded with "a" or "an".
| |
| Worn |
Gets or Sets if the Thing is Worn.
|