Added food.treasure, wood.treasure, stone.treasure, wood.ruins, stone.ruins

Added placeholder cursor for ruins
Added entities for testing these types

This was SVN commit r8574.
This commit is contained in:
WhiteTreePaladin 2010-11-12 18:58:33 +00:00
parent 52ad8a836d
commit ff3c7b46f4
34 changed files with 354 additions and 10 deletions

View File

@ -13,6 +13,7 @@
<animation file="female/f_gather_01.dae" name="gather_meat" speed="25"/>
<animation file="female/f_mine_01.dae" name="gather_rock" speed="140"/>
<animation file="female/f_mine_01.dae" name="gather_ore" speed="140"/>
<animation file="female/f_mine_01.dae" name="gather_ruins" speed="140"/>
<animation file="female/f_build_01.dae" name="Build" speed="40"/>
<animation file="female/f_death_01.dae" name="Death" speed="120"/>
</animations>
@ -67,6 +68,12 @@
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="r_hand"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="r_hand"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -20,6 +20,7 @@
<animation file="infantry/general/forage.psa" name="gather_meat" speed="110"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="220"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -128,6 +129,13 @@
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop attachpoint="shield"/>
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -18,6 +18,7 @@
<animation file="infantry/general/forage.psa" name="gather_meat" speed="110"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="220"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -88,6 +89,13 @@
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop attachpoint="shield"/>
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -18,6 +18,7 @@
<animation file="infantry/general/forage.psa" name="gather_meat" speed="110"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="220"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -112,6 +113,14 @@
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="helmet"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop attachpoint="shield"/>
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="helmet"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -17,6 +17,7 @@
<animation file="infantry/sword/attack/isw_s_def_06.psa" name="gather_meat" speed="325"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="220"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -112,6 +113,13 @@
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop attachpoint="shield"/>
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -17,6 +17,7 @@
<animation file="infantry/sword/attack/isw_s_def_06.psa" name="gather_meat" speed="350"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="220"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -94,6 +95,13 @@
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop attachpoint="shield"/>
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -18,6 +18,7 @@
<animation file="infantry/sword/attack/isw_s_def_06.psa" name="gather_meat" speed="300"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="220"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -92,6 +93,14 @@
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="helmet"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop attachpoint="shield"/>
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="helmet"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -13,6 +13,7 @@
<animation file="female/f_gather_01.dae" name="gather_meat" speed="25"/>
<animation file="female/f_mine_01.dae" name="gather_rock" speed="140"/>
<animation file="female/f_mine_01.dae" name="gather_ore" speed="140"/>
<animation file="female/f_mine_01.dae" name="gather_ruins" speed="140"/>
<animation file="female/f_build_01.dae" name="Build" speed="40"/>
<animation file="female/f_death_01.dae" name="Death" speed="120"/>
</animations>
@ -95,6 +96,12 @@
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="r_hand"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="r_hand"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -15,6 +15,7 @@
<animation file="infantry/general/forage.psa" name="gather_meat" speed="125"/>
<animation event="0.43" file="infantry/general/mine.psa" name="gather_rock" speed="250"/>
<animation event="0.43" file="infantry/general/mine.psa" name="gather_ore" speed="250"/>
<animation event="0.43" file="infantry/general/mine.psa" name="gather_ruins" speed="250"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="200"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -86,6 +87,12 @@
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="r_hand"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="r_hand"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -15,6 +15,7 @@
<animation file="infantry/general/forage.psa" name="gather_meat" speed="125"/>
<animation event="0.43" file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation event="0.43" file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation event="0.43" file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="250"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
<animation file="infantry/general/death/inf_03.psa" name="Death" speed="500"/>
@ -77,6 +78,12 @@
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="r_hand"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="r_hand"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -14,6 +14,7 @@
<animation file="infantry/general/forage.psa" name="gather_meat" speed="125"/>
<animation event="0.43" file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation event="0.43" file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation event="0.43" file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="250"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -84,6 +85,13 @@
<prop attachpoint="r_hand"/>
<prop attachpoint="helmet"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="r_hand"/>
<prop attachpoint="helmet"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -16,6 +16,7 @@
<animation file="infantry/general/forage.psa" name="gather_meat" speed="110"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="200"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -109,6 +110,15 @@
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint=""/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop attachpoint="helmet"/>
<prop attachpoint="shield"/>
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint=""/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -16,6 +16,7 @@
<animation file="infantry/general/forage.psa" name="gather_meat" speed="110"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="200"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -87,6 +88,13 @@
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop attachpoint="shield"/>
<prop attachpoint="r_hand"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -16,6 +16,7 @@
<animation file="infantry/general/forage.psa" name="gather_meat" speed="110"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="200"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -100,6 +101,14 @@
<prop attachpoint="helmet"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop attachpoint="r_hand"/>
<prop attachpoint="shield"/>
<prop attachpoint="helmet"/>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -14,6 +14,7 @@
<animation file="infantry/general/forage.psa" name="gather_meat" speed="125"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="220"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -111,6 +112,15 @@
<prop attachpoint="helmet"/>
<prop actor="props/units/heads/head_hele_a.xml" attachpoint="head"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="r_hand"/>
<prop attachpoint="shield"/>
<prop attachpoint="helmet"/>
<prop actor="props/units/heads/head_hele_a.xml" attachpoint="head"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -14,6 +14,7 @@
<animation file="infantry/general/forage.psa" name="gather_meat" speed="125"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="220"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -94,6 +95,14 @@
<prop attachpoint="shield"/>
<prop attachpoint="helmet"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="r_hand"/>
<prop attachpoint="shield"/>
<prop attachpoint="helmet"/>
</props>
</variant>
<variant name="Build">
<props>

View File

@ -14,6 +14,7 @@
<animation file="infantry/general/forage.psa" name="gather_meat" speed="125"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ruins" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="220"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="400"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="700"/>
@ -120,6 +121,15 @@
<prop attachpoint="helmet"/>
<prop actor="props/units/heads/head_hele_e.xml" attachpoint="head"/>
</props>
</variant>
<variant name="gather_ruins">
<props>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>
<prop attachpoint="r_hand"/>
<prop attachpoint="shield"/>
<prop attachpoint="helmet"/>
<prop actor="props/units/heads/head_hele_e.xml" attachpoint="head"/>
</props>
</variant>
<variant name="Build">
<props>

Binary file not shown.

View File

@ -29,8 +29,13 @@ ResourceGatherer.prototype.Schema =
"<optional><element name='food.grain' a:help='Grain gather rate (overrides \"food\")'><ref name='positiveDecimal'/></element></optional>" +
"<optional><element name='food.meat' a:help='Meat gather rate (overrides \"food\")'><ref name='positiveDecimal'/></element></optional>" +
"<optional><element name='food.milk' a:help='Milk gather rate (overrides \"food\")'><ref name='positiveDecimal'/></element></optional>" +
"<optional><element name='food.treasure' a:help='Treasure gather rate(overrides \"food\")'><ref name='positiveDecimal'/></element></optional>" +
"<optional><element name='wood.tree' a:help='Tree gather rate (overrides \"wood\")'><ref name='positiveDecimal'/></element></optional>" +
"<optional><element name='wood.ruins' a:help='Tree gather rate (overrides \"wood\")'><ref name='positiveDecimal'/></element></optional>" +
"<optional><element name='wood.treasure' a:help='Treasure gather rate(overrides \"wood\")'><ref name='positiveDecimal'/></element></optional>" +
"<optional><element name='stone.rock' a:help='Rock gather rate (overrides \"stone\")'><ref name='positiveDecimal'/></element></optional>" +
"<optional><element name='stone.ruins' a:help='Rock gather rate (overrides \"stone\")'><ref name='positiveDecimal'/></element></optional>" +
"<optional><element name='stone.treasure' a:help='Treasure gather rate(overrides \"stone\")'><ref name='positiveDecimal'/></element></optional>" +
"<optional><element name='metal.ore' a:help='Ore gather rate(overrides \"metal\")'><ref name='positiveDecimal'/></element></optional>" +
"<optional><element name='metal.treasure' a:help='Treasure gather rate(overrides \"metal\")'><ref name='positiveDecimal'/></element></optional>" +
"</interleave>" +

View File

@ -15,7 +15,11 @@ ResourceSupply.prototype.Schema =
"<element name='Type' a:help='Type of resources'>" +
"<choice>" +
"<value>wood.tree</value>" +
"<value>wood.ruins</value>" +
"<value>wood.treasure</value>" +
"<value>stone.rock</value>" +
"<value>stone.ruins</value>" +
"<value>stone.treasure</value>" +
"<value>metal.ore</value>" +
"<value>metal.treasure</value>" +
"<value>food.fish</value>" +
@ -23,6 +27,7 @@ ResourceSupply.prototype.Schema =
"<value>food.grain</value>" +
"<value>food.meat</value>" +
"<value>food.milk</value>" +
"<value>food.treasure</value>" +
"</choice>" +
"</element>";

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_ruins">
<Identity>
<Civ>gaia</Civ>
<GenericName>Ruins</GenericName>
<SpecificName>Ancient Ruins</SpecificName>
<Icon>gaia/special_fence.png</Icon>
</Identity>
<ResourceSupply>
<Amount>500</Amount>
<Type>stone.ruins</Type>
</ResourceSupply>
<VisualActor>
<Actor>props/special/eyecandy/column_doric_fallen.xml</Actor>
</VisualActor>
<Footprint>
<Circle radius="3.0"/>
<Height>2.5</Height>
</Footprint>
</Entity>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_ruins">
<Identity>
<Civ>gaia</Civ>
<GenericName>Ruins</GenericName>
<SpecificName>Shipwreck</SpecificName>
<Icon>units/hele_ship_merchant.png</Icon>
</Identity>
<ResourceSupply>
<Amount>1000</Amount>
<Type>wood.ruins</Type>
</ResourceSupply>
<VisualActor>
<Actor>props/special/eyecandy/shipwreck_hull.xml</Actor>
</VisualActor>
<Footprint>
<Circle radius="3.0"/>
<Height>2.5</Height>
</Footprint>
</Entity>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_treasure">
<Identity>
<Civ>gaia</Civ>
<GenericName>Treasure</GenericName>
<SpecificName>Food Treasure</SpecificName>
<Icon>gaia/special_treasure.png</Icon>
</Identity>
<ResourceSupply>
<Amount>300</Amount>
<Type>food.treasure</Type>
</ResourceSupply>
<VisualActor>
<Actor>props/special/eyecandy/barrel_a.xml</Actor>
</VisualActor>
<Footprint>
<Circle radius="1.0"/>
<Height>2.5</Height>
</Footprint>
</Entity>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_treasure">
<Identity>
<Civ>gaia</Civ>
<GenericName>Treasure</GenericName>
<SpecificName>Metal Treasure</SpecificName>
<Icon>gaia/special_treasure.png</Icon>
</Identity>
<ResourceSupply>
<Amount>300</Amount>
<Type>metal.treasure</Type>
</ResourceSupply>
<VisualActor>
<Actor>props/special/eyecandy/barrel_a.xml</Actor>
</VisualActor>
<Footprint>
<Circle radius="1.0"/>
<Height>2.5</Height>
</Footprint>
</Entity>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_treasure">
<Identity>
<Civ>gaia</Civ>
<GenericName>Treasure</GenericName>
<SpecificName>Stone Treasure</SpecificName>
<Icon>gaia/special_treasure.png</Icon>
</Identity>
<ResourceSupply>
<Amount>300</Amount>
<Type>stone.treasure</Type>
</ResourceSupply>
<VisualActor>
<Actor>props/special/eyecandy/barrel_a.xml</Actor>
</VisualActor>
<Footprint>
<Circle radius="1.0"/>
<Height>2.5</Height>
</Footprint>
</Entity>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_treasure">
<Identity>
<Civ>gaia</Civ>
<GenericName>Treasure</GenericName>
<SpecificName>Wood Treasure</SpecificName>
<Icon>gaia/special_treasure.png</Icon>
</Identity>
<ResourceSupply>
<Amount>300</Amount>
<Type>wood.treasure</Type>
</ResourceSupply>
<VisualActor>
<Actor>props/special/eyecandy/barrel_a.xml</Actor>
</VisualActor>
<Footprint>
<Circle radius="1.0"/>
<Height>2.5</Height>
</Footprint>
</Entity>

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia">
<Identity>
<GenericName>Generic Ruins</GenericName>
<SpecificName>Ruins</SpecificName>
<Tooltip>These ruins that can be mined for resources.</Tooltip>
<Icon>gaia/geology_stone_1.png</Icon>
</Identity>
<Minimap>
<Type>stone</Type>
<Colour r="128" g="128" b="128"/>
</Minimap>
<Footprint>
<Circle radius="1.0"/>
<Height>1.0</Height>
</Footprint>
<Obstruction>
<Unit radius="1.0"/>
</Obstruction>
<Selectable/>
<ResourceSupply>
<KillBeforeGather>false</KillBeforeGather>
<Amount>500</Amount>
<Type>stone.rock</Type>
</ResourceSupply>
</Entity>

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia">
<Identity>
<GenericName>Generic Treasure</GenericName>
<SpecificName>Treasure</SpecificName>
<Tooltip>A treasure that can be quickly gathered.</Tooltip>
<Icon>gaia/special_treasure.png</Icon>
</Identity>
<Minimap>
<Type>metal</Type>
<Colour r="192" g="192" b="0"/>
</Minimap>
<Footprint>
<Circle radius="1.0"/>
<Height>1.0</Height>
</Footprint>
<Obstruction>
<Unit radius="1.0"/>
</Obstruction>
<Selectable/>
<ResourceSupply>
<KillBeforeGather>false</KillBeforeGather>
<Amount>300</Amount>
<Type>metal.treasure</Type>
</ResourceSupply>
</Entity>

View File

@ -30,6 +30,9 @@
<BaseSpeed>1.0</BaseSpeed>
<Rates>
<food.meat>40</food.meat>
<food.treasure>10000</food.treasure>
<wood.treasure>10000</wood.treasure>
<stone.treasure>10000</stone.treasure>
<metal.treasure>10000</metal.treasure>
</Rates>
</ResourceGatherer>

View File

@ -29,13 +29,18 @@
<MaxDistance>2.0</MaxDistance>
<BaseSpeed>1.0</BaseSpeed>
<Rates>
<food.fish>.5</food.fish>
<food.fruit>.5</food.fruit>
<food.grain>.5</food.grain>
<food.fish>0.5</food.fish>
<food.fruit>0.5</food.fruit>
<food.grain>0.5</food.grain>
<food.meat>5</food.meat>
<wood.tree>1.0</wood.tree>
<stone.rock>1.0</stone.rock>
<metal.ore>1.0</metal.ore>
<food.treasure>10000</food.treasure>
<wood.tree>1</wood.tree>
<wood.ruins>5</wood.ruins>
<wood.treasure>10000</wood.treasure>
<stone.rock>1</stone.rock>
<stone.ruins>3</stone.ruins>
<stone.treasure>10000</stone.treasure>
<metal.ore>1</metal.ore>
<metal.treasure>10000</metal.treasure>
</Rates>
</ResourceGatherer>

View File

@ -18,9 +18,15 @@
<food.fruit>2</food.fruit>
<food.grain>2</food.grain>
<food.meat>2</food.meat>
<wood.tree>.75</wood.tree>
<stone.rock>.75</stone.rock>
<metal.ore>.75</metal.ore>
<stone.treasure>10000</stone.treasure>
<wood.tree>0.75</wood.tree>
<wood.ruins>2</wood.ruins>
<wood.treasure>10000</wood.treasure>
<stone.rock>0.75</stone.rock>
<stone.ruins>2.25</stone.ruins>
<stone.treasure>10000</stone.treasure>
<metal.ore>0.75</metal.ore>
<metal.treasure>10000</metal.treasure>
</Rates>
</ResourceGatherer>
<Health>

View File

@ -36,6 +36,8 @@
<item>gather_wood </item>
<item>gather_stone</item>
<item>gather_metal</item>
<item>gather_ruins</item>
<item>gather_treasure</item>
<item>idle </item>
<item>melee </item>
<item>run </item>

View File

@ -246,7 +246,7 @@ function init(window, bottomWindow)
var animationSelector = new wxChoice(bottomWindow, -1, wxDefaultPosition, wxDefaultSize,
[ "idle", "walk", "run", "melee", "death", "build",
"gather_fruit", "gather_grain", "gather_meat",
"gather_tree", "gather_rock", "gather_ore", "gather_treasure" ] // TODO: this list should come from the actor
"gather_tree", "gather_rock", "gather_ore", "gather_ruins", "gather_treasure" ] // TODO: this list should come from the actor
);
animationSelector.stringSelection = "idle";
actorViewer.controls.push(animationSelector);