Make Icon non-optional.

Requested by @bb in D4476.
Differential revision: https://code.wildfiregames.com/D4484
Reviewed by: @bb
This was SVN commit r26458.
This commit is contained in:
Freagarach 2022-02-21 07:20:26 +00:00
parent 5b0f75cb6d
commit ef1d1dbed8
24 changed files with 36 additions and 19 deletions

View File

@ -72,11 +72,9 @@ Identity.prototype.Schema =
"<text/>" +
"</element>" +
"</optional>" +
"<optional>" +
"<element name='Icon'>" +
"<text/>" +
"</element>" +
"</optional>" +
"<element name='Icon'>" +
"<text/>" +
"</element>" +
"<optional>" +
"<element name='RequiredTechnology' a:help='Optional name of a technology which must be researched before the entity can be produced.'>" +
"<text/>" +

View File

@ -2,6 +2,7 @@
<Entity parent="template_unit_cavalry">
<Identity>
<Civ>skirm</Civ>
<Icon>units/athen_cavalry_javelinist.png</Icon>
</Identity>
<Promotion disable=""/>
<SkirmishReplacer>

View File

@ -2,6 +2,7 @@
<Entity parent="template_unit_infantry_melee">
<Identity>
<Civ>skirm</Civ>
<Icon>units/athen_infantry_spearman.png</Icon>
</Identity>
<Promotion disable=""/>
<SkirmishReplacer>

View File

@ -2,6 +2,7 @@
<Entity parent="template_unit_infantry_ranged">
<Identity>
<Civ>skirm</Civ>
<Icon>units/athen_infantry_slinger.png</Icon>
</Identity>
<Promotion disable=""/>
<SkirmishReplacer>

View File

@ -2,6 +2,7 @@
<Entity parent="template_unit_ship_trireme">
<Identity>
<Civ>skirm</Civ>
<Icon>units/athen_ship_trireme.png</Icon>
</Identity>
<SkirmishReplacer>
<general>units/{civ}/ship_trireme</general>

View File

@ -6,6 +6,7 @@
</Footprint>
<Identity>
<Civ>skirm</Civ>
<Icon>units/spart_siege_ram.png</Icon>
</Identity>
<SkirmishReplacer>
<general>units/{civ}/siege_ram</general>

View File

@ -2,6 +2,7 @@
<Entity parent="template_unit_support_female_citizen">
<Identity>
<Civ>skirm</Civ>
<Icon>units/hele_support_female_citizen.png</Icon>
</Identity>
<SkirmishReplacer>
<general>units/{civ}/support_female_citizen</general>

View File

@ -6,6 +6,7 @@
</Footprint>
<Identity>
<Civ>skirm</Civ>
<Icon>units/maur_support_elephant.png</Icon>
</Identity>
<Promotion disable=""/>
<SkirmishReplacer/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/athen_player_teambonus
</Auras>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/brit_player_teambonus
</Auras>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/cart_player_teambonus
</Auras>

View File

@ -3,6 +3,7 @@
<Identity>
<Civ>gaia</Civ>
<GenericName>Gaia</GenericName>
<Icon>emblems/emblem_gaia.png</Icon>
<Undeletable>true</Undeletable>
</Identity>
<Player>
@ -24,10 +25,21 @@
</Sell>
</BarterMultiplier>
<Formations datatype="tokens">
special/formations/null
special/formations/box
special/formations/column_closed
special/formations/line_closed
special/formations/column_open
special/formations/line_open
special/formations/flank
special/formations/battle_line
special/formations/skirmish
special/formations/wedge
special/formations/phalanx
special/formations/syntagma
special/formations/testudo
special/formations/anti_cavalry
special/formations/scatter
</Formations>
</Player>
</Entity>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/gaul_player_teambonus
</Auras>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/han_player_teambonus
</Auras>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/iber_player_teambonus
</Auras>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/kush_player_teambonus
</Auras>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/mace_player_teambonus
</Auras>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/maur_player_teambonus
</Auras>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/pers_player_teambonus
</Auras>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/ptol_player_teambonus
</Auras>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/rome_player_teambonus
</Auras>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">
teambonuses/sele_player_teambonus
</Auras>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="special/player">
<Entity parent="template_player">
<Auras datatype="tokens">teambonuses/spart_player_teambonus</Auras>
<Identity>
<Civ>spart</Civ>