Difference between revisions of "Properties"

From ADRIFT 5 Manual Wiki
Jump to: navigation, search
(Created page with "Properties in v5 are now dynamic. Rather than the pre-defined list that you get in v4 objects, you can define your own. These can be applied to Locations, Objects and Character...")
 
(Blanked the page)
Line 1: Line 1:
Properties in v5 are now dynamic.  Rather than the pre-defined list that you get in v4 objects, you can define your own.  These can be applied to Locations, Objects and Characters.
 
  
There are several types of properties.  These are:
 
* Character List – the property value must be a character
 
* Integer – the property value must be an integer value
 
* Location Group List – the property value must be a location group
 
* Location List – the property value must be a location
 
* Object List – the property value must be an object
 
* Selection Only – the property is either True or False
 
* State List – the property value must be one of a pre-defined list
 
* Text – the property value can be any text
 
 
Each property will by default always appear.  If you want to restrict when a property will appear (for example, you wouldn’t want a Static object to have a wearable property), you can select a property and value that must be true for this property to be available.  So, in the wearable example, you can select that the property will only be available if property “Object type” is set to value “Dynamic”.
 
 
You may want to make a property mandatory.  This means, that if the property is available, it must be selected.  So, object type is mandatory, as all objects are either Static or Dynamic.  Similarly, you may want to make a property mandatory dependant on another property, or even another property value.  Examples of this are the “Held by who” property, which is a character list type.  This property is mandatory when the “Location of the object” property is set to “Held by Character”, as you would always want the “Held by who” property to appear.
 
 
If you create a property of type “Object List”, you can restrict the list of objects displayed to ones having particular properties.  So, for example, the “Inside what?” property which is displayed when the location of an object is set to “inside object”, is restricted to container objects.  This prevents you from being able to put objects inside other objects that are not containers.
 

Revision as of 22:26, 25 April 2011