forked from 0ad/0ad
Acumen
6e97651c04
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.
37 lines
825 B
XML
Executable File
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> |