2004-05-22 02:55:53 +02:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
|
|
|
|
|
2004-11-12 00:53:10 +01:00
|
|
|
<Entity Tag="hele_isw_b1" Parent="isw">
|
2004-10-07 21:34:19 +02:00
|
|
|
<Traits>
|
|
|
|
<Id
|
2004-11-08 04:45:39 +01:00
|
|
|
civ="hele"
|
|
|
|
class2="Infantry"
|
|
|
|
class3="Melee"
|
|
|
|
generic="Infantry Swordsman"
|
|
|
|
specific="Dude"
|
|
|
|
ranked="Basic Dude"
|
2004-11-13 05:43:54 +01:00
|
|
|
personal1="hele_male_names_1st.csv"
|
|
|
|
personal2="hele_male_names_2nd.csv"
|
2004-10-16 00:14:15 +02:00
|
|
|
icon="unit_dude"
|
2004-11-08 04:45:39 +01:00
|
|
|
rollover="The Dude is hiding among the Hellenic forces, since the Greeks have no swordsmen."
|
|
|
|
type="UnitSwordsman, UnitNonMechanical, UnitMilitary, UnitCitizenSoldier"
|
2004-10-07 21:34:19 +02:00
|
|
|
/>
|
2004-11-08 01:20:19 +01:00
|
|
|
<Health
|
|
|
|
hitpoints="250"
|
2004-11-08 04:45:39 +01:00
|
|
|
hpcurr="10"
|
2004-11-08 01:20:19 +01:00
|
|
|
/>
|
2004-10-07 21:34:19 +02:00
|
|
|
</Traits>
|
|
|
|
<Event On="Initialize">
|
|
|
|
<![CDATA[
|
|
|
|
// PASAP wander-between-houses script
|
|
|
|
|
|
|
|
houses = entities.subset( "this.template.tag == \"House\"" );
|
|
|
|
while( houses.length )
|
|
|
|
{
|
|
|
|
index = Math.floor( Math.random() * houses.length );
|
|
|
|
house = houses[index];
|
|
|
|
console.write( house.position );
|
|
|
|
this.orderQueued( 4 /* patrol */, house.position.x, house.position.z );
|
|
|
|
houses.remove( index );
|
|
|
|
}
|
|
|
|
console.write( "A new Dude has entered your dungeon." );
|
|
|
|
]]>
|
|
|
|
</Event>
|
|
|
|
|
2004-05-22 02:55:53 +02:00
|
|
|
<Actor>The Dude</Actor>
|
|
|
|
</Entity>
|
2004-10-07 21:34:19 +02:00
|
|
|
|