0ad/binaries/data/mods/official/entities/template_entity.xml
Acumen 6e97651c04 Unit training now costs ya (currently a consistent amount of Food/Wood/Stone for every entity, since I'm feeling lazy).
Also check out Mark's funky cursor support for gathering tasks (guess
we'll need cursors for the food gathering methods
(fruit/meat/milk/fish/grain), at some point, though).

This was SVN commit r2161.
2005-04-29 13:30:08 +00:00

37 lines
825 B
XML
Executable File

<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity>
<Traits extant="true" corpse="template_corpse">
<Id
type="true"
/>
<!-- Defaults to no armour -->
<Armour
Value="0"
Crush="0.0"
Hack="0.0"
Pierce="0.0"
/>
<Health />
<Up
rank="0"
/>
<Creation>
<Time>20</Time>
<Resource>
<Food cost="4" />
<Wood cost="3" />
<Stone cost="2" />
</Resource>
</Creation>
</Traits>
<Script File="entities/template_entity_script.js" />
<Event On="Attack" Function="entity_event_attack" />
<Event On="Gather" Function="entity_event_gather" />
<Event On="TakesDamage" Function="entity_event_takesdamage" />
<Event On="TargetChanged" Function="entity_event_targetchanged" />
<Event On="PrepareOrder" Function="entity_event_prepareorder" />
<Actions />
</Entity>