forked from 0ad/0ad
39e89c406e
-added NOTIFY_ORDER_CHANGE, which is used for flank penalty instead of idle. -entity speed is now actions.move.speed_curr for the current speed, but the original speed is still actions.move.speed. Changes take place in entityEventMovemen. This was SVN commit r3840.
27 lines
786 B
XML
27 lines
786 B
XML
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
|
|
|
|
<Entity
|
|
Parent="template_entity"
|
|
>
|
|
|
|
<Traits>
|
|
<!-- Temporary creation properties until cost/time for each unit is locked down. -->
|
|
<Creation>
|
|
<Time>5</Time>
|
|
<Resource>
|
|
<Food>2</Food>
|
|
<Wood>1</Wood>
|
|
<Stone>3</Stone>
|
|
</Resource>
|
|
</Creation>
|
|
</Traits>
|
|
|
|
<Script File="entities/template_entity_script.js" />
|
|
<Event On="Generic" Function="entityEventGeneric" />
|
|
<Event On="TargetChanged" Function="entityEventTargetChanged" />
|
|
<Event On="Notification" Function="entityEventNotification" />
|
|
<Event On="Formation" Function="entityEventFormation" />
|
|
<Event On="Idle" Function="entityEventIdle" />
|
|
<Event On="Movement" Function="entityEventMovement" />
|
|
|
|
</Entity> |