Object is a supporter

From ADRIFT 5 Manual Wiki
Revision as of 01:57, 7 November 2013 by Saabie (Talk | contribs) (Links)

Jump to: navigation, search

This property is available for both static and dynamic objects. It is set for any object that another object (or a character) can be placed on top of.

If an object has this property, then the player character can put objects on top of it or take them off using any of the following commands:

The boolean function Surface can be used to check if it is selected.

Commands

> get %objects%
> take %objects%
> pick up %objects%
> pick %objects% up

If %objects% are dynamic objects that are on the supporter %object%, which is at the players location, then they are moved into the players inventory.

> get %objects% from %object%
> take %objects% from %object%
> pick up %objects% from %object%
> pick %objects% from %object% up

If %objects% are dynamic objects that are on the supporter %object%, and %object% is at the players location, then they are moved into the players inventory.

> put %objects% on %object%

If %objects% are dynamic objects that are in the player character's inventory, and %object% is a supporter at the players location, then they are placed on top of it.

  • To get every object on a supporter, use the command "get all from %object%"


If you examine a supporter object, the objects on top of it will be listed after its description.

> examine table
It is a heavily built table made of solid oak.
A chinese vase and a purple box are on the oak table.

Dependant properties

If you select the "Object is a supporter" property, then three more properties become available:

ObjectPropertiesCanHold.jpg

Characters can lie on this object

The "Characters can lie on this object" property indicates that a character, including the player, is able to be on top of this object in a lying position.

To lay down on an object the player uses the command:

> lie on %object%
> lay on %object%
> lie in %object%
> lay in %object%

If %object% is a supporter object with the "Characters can lie on this object" property selected, and %object% is at the players location, then they are moved onto the object and their Character position property is set to the state "Lying".

> get on %object%

If %object% is a supporter object that has any of the "Characters can * on this object" properties, and is at the players location, then they are moved onto the object. There position depends upon which of these properties are selected, and if more than one is selected then standing will be prefered over lying, which is prefered over sitting.

> lie down
> lay down

If the player is already sitting or standing on a supporter object, which has the "Characters can lie on this object" property selected, then they lay down on it.

To start the game with a character lying on an object such as a bed, set their "Location of the character" property to "On object", select the object from the "On which object" drop-down, and set the "Character position" property to "Lying"

The boolean function Lieable can be used to check if this property is selected.

Characters can sit on this object

The "Characters can sit on this object" property indicates that a character, including the player, is able to be on top of this object in a sitting position.

To sit down on an object the player uses the command:

> sit on %object%
> sit in %object%

If %object% is a supporter object with the "Characters can lie on this object" property selected, and %object% is at the players location, then they are moved onto the object and their Character position property is set to the state "Lying".

> get on %object%

If %object% is a supporter object that has any of the "Characters can * on this object" properties, and is at the players location, then they are moved onto the object. There position depends upon which of these properties are selected, and if more than one is selected then standing will be prefered over lying, which is prefered over sitting.

> sit down
> sit up

If the player is already lying on a supporter object, which has the "Characters can sit on this object" property selected, then they sit up. If they are standing on it then they sit down.

To start the game with a character sitting on an object such as a chair, set their "Location of the character" property to "On object", select the object from the "On which object" drop-down, and set the "Character position" property to "Sitting"

The boolean function Sittable can be used to check if this property is selected.

Characters can stand on this object

The "Characters can stand on this object" property indicates that a character, including the player, is able to be on top of this object in a standing position.

To stand on an object the player uses the command:

> stand on %object%
> stand in %object%

If %object% is a supporter object with the "Characters can stand on this object" property selected, and %object% is at the players location, then they are moved onto the object and their Character position property is set to the state "Standing".

> get on %object%

If %object% is a supporter object that has any of the "Characters can * on this object" properties, and is at the players location, then they are moved onto the object. There position depends upon which of these properties are selected, and if more than one is selected then standing will be prefered over lying, which is prefered over sitting.

> stand up

If the player is already sitting or lying on a supporter object, which has the "Characters can stand on this object" property selected, then they stand up on it.

To start the game with a character standing on an object, set their "Location of the character" property to "On object", select the object from the "On which object" drop-down, and set the "Character position" property to "Standing"

The boolean function Standable can be used to check if this property is selected.

... And the surface can hold

If this property is selected then the number it is set to is the maximum number of objects that can be placed on top of this object at the same time.

The item function SurfaceHold can be used to obtain this value.

Definitions

The "Object is a supporter" and "... And the surface can hold" properties are defined in the "Give, Take and Drop" folder of The Standard Library, while the stand/sit/lie properties are in the "Character Position" folder.

File:PropertyDialogSupporter.jpg

  • Property of: Objects - It is only available on the property page of Objects.
  • Type: Selection Only - It only has a tick-box, so can be selected or not.
  • Its not mandatory.

File:PropertyDialogLie.jpg

  • Property of: Objects - It is only available on the property page of Objects.
  • Type: Selection Only - It only has a tick-box, so can be selected or not.
  • It only appears if the object is a supporter.

File:PropertyDialogSit.jpg

  • Property of: Objects - It is only available on the property page of Objects.
  • Type: Selection Only - It only has a tick-box, so can be selected or not.
  • It only appears if the object is a supporter.

File:PropertyDialogStand.jpg

  • Property of: Objects - It is only available on the property page of Objects.
  • Type: Selection Only - It only has a tick-box, so can be selected or not.
  • It only appears if the object is a supporter.

File:PropertyDialogSurfaceHold.jpg

  • Property of: Objects - It is only available on the property page of Objects.
  • Type: Integer - The maximum number of objects that can be put on this surface.
  • It only appears if the object is a supporter.


<<< Specifically list object in location descriptionsMain_PageSpecifically exclude object from location descriptions >>>