There's 'Object Types', which hold Attributes and other Object Types:
http://docs.textadventures.co.uk/quest/ ... /type.htmlhttp://docs.textadventures.co.uk/quest/ ... types.htmlhttp://docs.textadventures.co.uk/quest/ ... types.htmlhttp://docs.textadventures.co.uk/quest/types.htmlexample:
<object name="orc_1">
<alias>orc</alias>
<attr name="strength" type="int">25</attr>
<attr name="endurance" type="int">25</attr>
<attr name="dexterity" type="int">25</attr>
<attr name="agility" type="int">25</attr>
<attr name="speed" type="int">25</attr>
<attr name="luck" type="int">25</attr>
<fight type="script">
// blah scripts
</fight>
<attr name="dead" type="boolean">false</attr>
</object>
<object name="orc_2">
<alias>orc</alias>
<attr name="strength" type="int">25</attr>
<attr name="endurance" type="int">25</attr>
<attr name="dexterity" type="int">25</attr>
<attr name="agility" type="int">25</attr>
<attr name="speed" type="int">25</attr>
<attr name="luck" type="int">25</attr>
<fight type="script">
// blah scripts
</fight>
<attr name="dead" type="boolean">false</attr>
</object>
VS
<object name="orc_1">
<inherit name="orc_object_type" />
</object>
<object name="orc_2">
<inherit name="orc_object_type" />
</object>
<type name="orc_object_type">
<alias>orc</alias>
<attr name="strength" type="int">25</attr>
<attr name="endurance" type="int">25</attr>
<attr name="dexterity" type="int">25</attr>
<attr name="agility" type="int">25</attr>
<attr name="speed" type="int">25</attr>
<attr name="luck" type="int">25</attr>
<fight type="script">
// blah scripts
</fight>
<attr name="dead" type="boolean">false</attr>
</type>
example 2:
<object name="sword">
<inherit name="equipment_object_type" />
<inherit name="weapon_object_type" />
<attr name="price" type="int">100</attr>
<attr name="weight" type="int">10</attr>
<attr name="physical_damage" type="int">50</attr>
<attr name="attack_rating" type="int">50</attr>
<object>
<object name="shield">
<inherit name="equipment_object_type" />
<inherit name="armor_object_type" />
<attr name="price" type="int">100</attr>
<attr name="weight" type="int">10</attr>
<attr name="physical_resistance" type="int">50</attr>
<attr name="armor_class" type="int">50</attr>
<object>
<type name="equipment_object_type">
<attr name="price" type="int">0</attr>
<attr name="equipable" type="boolean">true</attr>
<attr name="unequipable" type="boolean">true</attr>
<attr name="durability" type="int">100>/attr>
<attr name="weight" type="int">0</attr>
</type>
<type name="weapon_object_type">
<attr name="physical_damage" type="int">0</attr>
<attr name="fire_damage" type="int">0</attr>
<attr name="water_damage" type="int">0</attr>
<attr name="air_damage" type="int">0</attr>
<attr name="earth_damage" type="int">0</attr>
<attr name="attack_rating" type="int">0</attr>
</type>
<type name="armor_object_type">
<attr name="physical_resistance" type="int">0</attr>
<attr name="fire_resistance" type="int">0</attr>
<attr name="water_resistance" type="int">0</attr>
<attr name="air_resistance" type="int">0</attr>
<attr name="earth_resistance" type="int">0</attr>
<attr name="armor_class" type="int">0</attr>
</type>