Groups/Classes

From ADRIFT 5 Manual Wiki
Revision as of 12:03, 28 September 2011 by Saabie (Talk | contribs) (added page link)

Jump to: navigation, search

Object classes are simply groups of objects, where you can pre-define particular properties. When an object is added to this group, it automatically inherits all of these properties.

So, for example, you could create an object property “is a liquid”. If you then create a group “Liquids”, you can select the “is a liquid” property. Then, any objects you add to this group will automatically inherit the “is a liquid” property. You can then set up tasks where, instead of checking for specific objects, you can specify that they should be a member of the group. So in this example, you could create a task “take %object%”, and have a restriction that the task should not be a member of group “Liquids”, else output a message saying you cannot pick that up with your hands.