1
0
forked from 0ad/0ad

Split "template_gaia_geo".

To have a generic template per resource subtype, for consistency.

Patch by: @Nescio.
Differential Revision: D2991
This was SVN commit r24044.
This commit is contained in:
Freagarach 2020-09-16 15:19:19 +00:00
parent 66bae4b169
commit 61d6885ec2
38 changed files with 62 additions and 70 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral">
<Entity parent="template_gaia_ore">
<VisualActor>
<Actor>geology/metalmine_alpine.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral_slabs">
<Entity parent="template_gaia_ore_large">
<VisualActor>
<Actor>geology/metalmine_alpine_slabs.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral_slabs">
<Entity parent="template_gaia_ore_large">
<VisualActor>
<Actor>geology/metalmine_desert_badlands_slabs.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral_slabs">
<Entity parent="template_gaia_ore_large">
<VisualActor>
<Actor>geology/metalmine_desert_slabs.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral">
<Entity parent="template_gaia_ore">
<VisualActor>
<Actor>geology/metalmine_desert_small.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral">
<Entity parent="template_gaia_ore">
<VisualActor>
<Actor>geology/metalmine_granite_greek.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral">
<Entity parent="template_gaia_ore">
<VisualActor>
<Actor>geology/metalmine_mediterranean.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral_slabs">
<Entity parent="template_gaia_ore_large">
<VisualActor>
<Actor>geology/metalmine_mediterranean_slabs.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral_slabs">
<Entity parent="template_gaia_ore_large">
<VisualActor>
<Actor>geology/metalmine_savanna_slabs.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral">
<Entity parent="template_gaia_ore">
<VisualActor>
<Actor>geology/metalmine_granite_temperate.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral_slabs">
<Entity parent="template_gaia_ore_large">
<VisualActor>
<Actor>geology/metalmine_temperate_slabs.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral">
<Entity parent="template_gaia_ore">
<VisualActor>
<Actor>geology/metalmine_tropic.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral_slabs">
<Entity parent="template_gaia_ore_large">
<VisualActor>
<Actor>geology/metalmine_tropic_slabs.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock">
<Entity parent="template_gaia_rock">
<VisualActor>
<Actor>geology/stonemine_alpine_a.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock">
<Entity parent="template_gaia_rock">
<Footprint>
<Circle radius="4.25"/>
<Height>4.0</Height>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock">
<Entity parent="template_gaia_rock">
<Footprint>
<Circle radius="4.25"/>
<Height>4.0</Height>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock">
<Entity parent="template_gaia_rock">
<VisualActor>
<Actor>geology/stonemine_granite_greek.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock">
<Entity parent="template_gaia_rock">
<VisualActor>
<Actor>geology/stonemine_mediterranean.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock">
<Entity parent="template_gaia_rock">
<Footprint>
<Circle radius="4.25"/>
<Height>4.0</Height>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock">
<Entity parent="template_gaia_rock">
<Footprint>
<Circle radius="4.25"/>
<Height>4.0</Height>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock">
<Entity parent="template_gaia_rock">
<VisualActor>
<Actor>geology/stonemine_granite.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock">
<Entity parent="template_gaia_rock">
<VisualActor>
<Actor>geology/stonemine_tropic.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock_slabs">
<Entity parent="template_gaia_rock_large">
<VisualActor>
<Actor>geology/stonemine_alpine_quarry.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock_slabs">
<Entity parent="template_gaia_rock_large">
<VisualActor>
<Actor>geology/stonemine_desert_badlands_new.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock_slabs">
<Entity parent="template_gaia_rock_large">
<VisualActor>
<Actor>geology/stonemine_desert_quarry.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock_slabs">
<Entity parent="template_gaia_rock_large">
<VisualActor>
<Actor>geology/stonemine_medit_quarry.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock_slabs">
<Entity parent="template_gaia_rock_large">
<VisualActor>
<Actor>geology/stonemine_savanna_formations.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock_slabs">
<Entity parent="template_gaia_rock_large">
<Footprint replace="">
<Square width="24.0" depth="16.0"/>
<Height>8.0</Height>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock_slabs">
<Entity parent="template_gaia_rock_large">
<VisualActor>
<Actor>geology/stonemine_granite_large.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock_slabs">
<Entity parent="template_gaia_rock_large">
<VisualActor>
<Actor>geology/stonemine_temperate_quarry.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock_slabs">
<Entity parent="template_gaia_rock_large">
<VisualActor>
<Actor>geology/stonemine_tropic_quarry.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral">
<Entity parent="template_gaia_treasure">
<Footprint replace="">
<Circle radius="1.0"/>
<Height>2.5</Height>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral">
<Footprint>
<Entity parent="template_gaia_treasure">
<Footprint replace="">
<Circle radius="2.0"/>
<Height>2.0</Height>
</Footprint>

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia">
<Footprint>
<Circle radius="5.0"/>
<Height>3.5</Height>
</Footprint>
<Identity>
<GenericName>Generic Geology</GenericName>
</Identity>
<Obstruction>
<Static width="7.0" depth="7.0"/>
</Obstruction>
<Position>
<Anchor>pitch-roll</Anchor>
</Position>
</Entity>

View File

@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo">
<Entity parent="template_gaia">
<Footprint>
<Circle radius="5.0"/>
<Height>3.5</Height>
</Footprint>
<Identity>
<GenericName>Metal Mine</GenericName>
<Tooltip>Mine ore for metal.</Tooltip>
@ -9,6 +13,12 @@
<Type>metal</Type>
<Color r="227" g="159" b="12"/>
</Minimap>
<Obstruction>
<Static width="7.0" depth="7.0"/>
</Obstruction>
<Position>
<Anchor>pitch-roll</Anchor>
</Position>
<ResourceSupply>
<KillBeforeGather>false</KillBeforeGather>
<Amount>1000</Amount>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_rock">
<Entity parent="template_gaia_ore">
<Footprint>
<Circle radius="10.0"/>
<Height>3.5</Height>
@ -11,14 +11,8 @@
<Amount>5000</Amount>
<MaxGatherers>24</MaxGatherers>
</ResourceSupply>
<Sound>
<SoundGroups>
<select>interface/select/resource/sel_stone.xml</select>
</SoundGroups>
</Sound>
<StatusBars>
<BarWidth>6.0</BarWidth>
<BarHeight>0.6</BarHeight>
<HeightOffset>8.0</HeightOffset>
<BarWidth>5.0</BarWidth>
<BarHeight>0.5</BarHeight>
</StatusBars>
</Entity>

View File

@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo">
<Entity parent="template_gaia">
<Footprint>
<Circle radius="5.0"/>
<Height>3.5</Height>
</Footprint>
<Identity>
<GenericName>Stone Quarry</GenericName>
<Tooltip>Quarry rock for stone.</Tooltip>
@ -9,6 +13,12 @@
<Type>stone</Type>
<Color r="170" g="170" b="170"/>
</Minimap>
<Obstruction>
<Static width="7.0" depth="7.0"/>
</Obstruction>
<Position>
<Anchor>pitch-roll</Anchor>
</Position>
<ResourceSupply>
<KillBeforeGather>false</KillBeforeGather>
<Amount>1000</Amount>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_gaia_geo_mineral">
<Entity parent="template_gaia_rock">
<Footprint>
<Circle radius="10.0"/>
<Height>3.5</Height>
@ -11,14 +11,8 @@
<Amount>5000</Amount>
<MaxGatherers>24</MaxGatherers>
</ResourceSupply>
<Sound>
<SoundGroups>
<select>interface/select/resource/sel_metal.xml</select>
</SoundGroups>
</Sound>
<StatusBars>
<BarWidth>6.0</BarWidth>
<BarHeight>0.6</BarHeight>
<HeightOffset>8.0</HeightOffset>
<BarWidth>5.0</BarWidth>
<BarHeight>0.5</BarHeight>
</StatusBars>
</Entity>