Stendhal/Creature Organization: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
Line 1: Line 1:
== Goals ==
== Goals ==


* Use filename to determine creature class and tag for subclass:
* Organize creatures with class and sub-class. This can be done using the filename to determine creature class and a tag for subclass.


Example: undead.xml
Example: undead.xml
Line 30: Line 30:
</pre>
</pre>


In the above example creatures <creature>skeleton</creature> & <creature>warrior skeleton</creature> would be of class '''undead''' and subclass '''skeleton''' while <creature>zombie</creature> & <creature>rotten zombie</creature> would be class '''undead''' and subclass '''zombie'''.
In the above example creatures <creature>skeleton</creature> & <creature>warrior skeleton</creature> would be of class ''undead'' and subclass ''skeleton'' while <creature>zombie</creature> & <creature>rotten zombie</creature> would be class ''undead'' and subclass ''zombie''.


== Requirements ==
== Requirements ==