1
0
forked from 0ad/0ad

Moved Run up to affect other units. Also added an Iberian house, which for some reason went AWOL during the entity revision.

This was SVN commit r3368.
This commit is contained in:
Acumen 2006-01-18 03:31:21 +00:00
parent cadbd77bc7
commit 30b83db67b
7 changed files with 46 additions and 16 deletions

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity
Parent="template_structure_civic_house"
>
<Traits>
<Id>
<Specific>Casa</Specific>
<Civ>Iberians</Civ>
<History>Iberian structures of the time were typically built either entirely of stone or with stone stub walls with 'adobe' up to the roof lines above them. Roofs were then, depending on the economic status of individuals, covered with a composite of mud and binding vegetable and waterproofing asphaltic materials, or slate stone, or in many cases in the region, with so-called Spanish roofing tiles.</History>
</Id>
</Traits>
<Actor>structures/iberians/house.xml</Actor>
</Entity>

View File

@ -48,7 +48,7 @@ function entityInit()
if (this.traits.health && this.traits.health.max) if (this.traits.health && this.traits.health.max)
this.traits.health.curr = this.traits.health.max this.traits.health.curr = this.traits.health.max
// If entity has health, set current to same. // If entity has stamina, set current to same.
if (this.traits.stamina && this.traits.stamina.max) if (this.traits.stamina && this.traits.stamina.max)
this.traits.stamina.curr = this.traits.stamina.max this.traits.stamina.curr = this.traits.stamina.max

View File

@ -50,18 +50,23 @@
</Traits> </Traits>
<Actions> <Actions>
<Move> <Move>
<Speed>5.0</Speed> <Speed>5.0</Speed>
<TurningRadius>0.0</TurningRadius> <TurningRadius>0.0</TurningRadius>
<Run> <Run>
<Speed>0.0</Speed> <Speed>15.0</Speed>
<Range>50.0</Range>
<RangeMin>10.0</RangeMin>
<Regen_Rate>10.0</Regen_Rate> <Regen_Rate>10.0</Regen_Rate>
<Decay_Rate>5.0</Decay_Rate> <Decay_Rate>5.0</Decay_Rate>
</Run> </Run>
</Move> </Move>
<Patrol /> <Patrol />
</Actions> </Actions>
</Entity> </Entity>

View File

@ -62,9 +62,21 @@
<Speed>3000</Speed> <Speed>3000</Speed>
</Gather> </Gather>
<Loot>
<Resources />
<XP />
</Loot>
<Move> <Move>
<Speed>10.0</Speed> <Speed>10.0</Speed>
<TurningRadius>1.0</TurningRadius> <TurningRadius>1.0</TurningRadius>
<Run>
<Speed>30.0</Speed>
<Range>100.0</Range>
<RangeMin>10.0</RangeMin>
</Run>
</Move> </Move>
</Actions> </Actions>

View File

@ -16,15 +16,6 @@
</Id> </Id>
</Traits> </Traits>
<Actions>
<Move>
<Run>
<Speed>15.0</Speed>
<Range>50.0</Range>
<RangeMin>10.0</RangeMin>
</Run>
</Move>
</Actions>
<Actor>units/celts/infantry_spearman_b.xml</Actor> <Actor>units/celts/infantry_spearman_b.xml</Actor>