Specifically list object in location descriptions

From ADRIFT 5 Manual Wiki
Revision as of 07:56, 11 September 2013 by Saabie (Talk | contribs)

Jump to: navigation, search

This is a property of STATIC objects only. Static objects are those that are too big or too heavy for the player to carry around, or nailed down so they can't be moved. This usually includes things like beds, tables, desks, refridgerator, doors, wardobes, television, sofa, carpet, walls, etc.

Normally all static objects are expected to be described within the description of the location in which they reside, while dynamic objects are listed separately because they can be moved to any location.

This property allows you to change that behavior. If you select it (by ticking the box) then ADRIFT will list its name along with the dynamic objects after printing the location description whenever the player uses the "Look" command.

The ExplicitlyList object function will return 0 if this property is not selected, or 1 if it is.

ExplicitlyList can also be used as an Object Group Function to filter a group of objects so that only those with this property selected are returned.

When the object is listed in location, disply this

When the "Specifically list object in location description" property is selected, another property called "When the object is listed in location, disply this" will be added immediately under it on this object's property list:

PropertyListDescription.jpg

This property is a text box, and if this property is selected then the text that is entered in this text box will be printed after the location description when the player enters "Look", instead of simply listing its name.

Alternate Descriptions can be used to change the description of the object, for example to give different descriptions when the TV is switched on or off.

The ListDescription object function will return the text in this text box.

Definition

This property is defined in the "Look and Examine" folder of The Standard Library:

PropertyDialogExplicitlyList.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. It only appears if the object type is static, so is not available on dynamic objects.

PropertyDialogListDescription.jpg

Property of: Objects - It is only available on the property page of Objects. Type: Text - As well as a tick-box, this property will also contain a text box. Its not mandatory, so you can choose whether to select it or not. It only appears if the "Specifically list object in location description" property has first been selected.


<<< ObjectsMain_PageObject is wearable >>>