mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-18 06:13:55 -07:00
Large passability class for hero elephants.
Elephant now a VisibleClass so that players know which of the heroes the elephant one is. Differential Revision: https://code.wildfiregames.com/D251 Reviewed By: fatherbushido This was SVN commit r19333.
This commit is contained in:
parent
e8ae384eb6
commit
c279283d82
7 changed files with 9 additions and 10 deletions
|
|
@ -54,7 +54,7 @@ Identity.prototype.Schema =
|
|||
"</element>" +
|
||||
"</optional>" +
|
||||
"<optional>" +
|
||||
"<element name='Classes' a:help='Optional list of space-separated classes applying to this entity. Choices include: Animal, Apadana, ArmyCamp, Ashoka, BarterMarket, Celt, CitizenSoldier, CivCentre, Colony, ConquestCritical, Defensive, Domestic, DropsiteFood, DropsiteMetal, DropsiteStone, DropsiteWood, Elephant, FemaleCitizen, FishingBoat, ForestPlant, Fortress, GarrisonFortress, GarrisonTower, Gates, Human, Iberian, Immortal, Italian, Juggernaut, Kennel, Lighthouse, LongWall, MercenaryCamp, Naval, NavalMarket, Organic, Palace, Palisade, Player, PtolemyIV, SeaCreature, SiegeWall, SpecialBuilding, StoneWall, Structure, Syssiton, Theater, Tower, Unit'>" +
|
||||
"<element name='Classes' a:help='Optional list of space-separated classes applying to this entity. Choices include: Animal, Apadana, ArmyCamp, Ashoka, BarterMarket, Celt, CitizenSoldier, CivCentre, Colony, ConquestCritical, Defensive, Domestic, DropsiteFood, DropsiteMetal, DropsiteStone, DropsiteWood, FemaleCitizen, FishingBoat, ForestPlant, Fortress, GarrisonFortress, GarrisonTower, Gates, Human, Iberian, Immortal, Italian, Juggernaut, Kennel, Lighthouse, LongWall, MercenaryCamp, Naval, NavalMarket, Organic, Palace, Palisade, Player, PtolemyIV, SeaCreature, SiegeWall, SpecialBuilding, StoneWall, Structure, Syssiton, Theater, Tower, Unit'>" +
|
||||
"<attribute name='datatype'>" +
|
||||
"<value>tokens</value>" +
|
||||
"</attribute>" +
|
||||
|
|
@ -62,7 +62,7 @@ Identity.prototype.Schema =
|
|||
"</element>" +
|
||||
"</optional>" +
|
||||
"<optional>" +
|
||||
"<element name='VisibleClasses' a:help='Optional list of space-separated classes applying to this entity. These classes will also be visible in various GUI elements. If the classes need spaces, underscores will be replaced with spaces. Choices include: Archer, Barracks, Blacksmith, BoltShooter, Camel, Catapult, Cavalry, Champion, Chariot, Citizen, City, Civic, CivilCentre, Corral, DefenseTower, Dock, Dog, Economic, Embassy, Farmstead, Field, Fireship, Healer, Hero, House, Infantry, Javelin, Market, Mechanical, Melee, Mercenary, Military, Outpost, Pike, Ram, Ranged, Resource, SentryTower, Ship, Shipyard, Siege, SiegeTower, Slave, Sling, Soldier, Spear, Stables, Storehouse, Support, Sword, Temple, Town, Trader, Village, Warship, Wonder, Worker'>" +
|
||||
"<element name='VisibleClasses' a:help='Optional list of space-separated classes applying to this entity. These classes will also be visible in various GUI elements. If the classes need spaces, underscores will be replaced with spaces. Choices include: Archer, Barracks, Blacksmith, BoltShooter, Camel, Catapult, Cavalry, Champion, Chariot, Citizen, City, Civic, CivilCentre, Corral, DefenseTower, Dock, Dog, Economic, Elephant, Embassy, Farmstead, Field, Fireship, Healer, Hero, House, Infantry, Javelin, Market, Mechanical, Melee, Mercenary, Military, Outpost, Pike, Ram, Ranged, Resource, SentryTower, Ship, Shipyard, Siege, SiegeTower, Slave, Sling, Soldier, Spear, Stables, Storehouse, Support, Sword, Temple, Town, Trader, Village, Warship, Wonder, Worker'>" +
|
||||
"<attribute name='datatype'>" +
|
||||
"<value>tokens</value>" +
|
||||
"</attribute>" +
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
</Footprint>
|
||||
<Identity>
|
||||
<Civ>gaia</Civ>
|
||||
<Classes datatype="tokens">Elephant</Classes>
|
||||
<VisibleClasses datatype="tokens">Elephant</VisibleClasses>
|
||||
<SpecificName>African Elephant (Infant)</SpecificName>
|
||||
<Icon>gaia/fauna_elephant_african_infant.png</Icon>
|
||||
</Identity>
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
<Max>750</Max>
|
||||
</Health>
|
||||
<Identity>
|
||||
<Classes datatype="tokens">Elephant</Classes>
|
||||
<GenericName>War Elephant</GenericName>
|
||||
<VisibleClasses datatype="tokens">Elephant</VisibleClasses>
|
||||
<Icon>gaia/fauna_elephant.png</Icon>
|
||||
<History>War elephants were used by many Eastern and African cultures.</History>
|
||||
</Identity>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
</Attack>
|
||||
<Identity>
|
||||
<Civ>gaia</Civ>
|
||||
<Classes datatype="tokens">Elephant</Classes>
|
||||
<VisibleClasses datatype="tokens">Elephant</VisibleClasses>
|
||||
</Identity>
|
||||
<Loot>
|
||||
<xp>50</xp>
|
||||
|
|
|
|||
|
|
@ -31,8 +31,7 @@
|
|||
<Max>2000</Max>
|
||||
</Health>
|
||||
<Identity>
|
||||
<Classes datatype="tokens">Elephant</Classes>
|
||||
<VisibleClasses datatype="tokens">Melee</VisibleClasses>
|
||||
<VisibleClasses datatype="tokens">Elephant Melee</VisibleClasses>
|
||||
</Identity>
|
||||
<Sound>
|
||||
<SoundGroups>
|
||||
|
|
@ -49,6 +48,7 @@
|
|||
</SoundGroups>
|
||||
</Sound>
|
||||
<UnitMotion>
|
||||
<PassabilityClass>large</PassabilityClass>
|
||||
<WalkSpeed>8.5</WalkSpeed>
|
||||
<Run>
|
||||
<Speed>14.0</Speed>
|
||||
|
|
|
|||
|
|
@ -9,8 +9,7 @@
|
|||
</Footprint>
|
||||
<Identity>
|
||||
<Civ>maur</Civ>
|
||||
<Classes datatype="tokens">Elephant</Classes>
|
||||
<VisibleClasses datatype="tokens">-Cavalry</VisibleClasses>
|
||||
<VisibleClasses datatype="tokens">Elephant -Cavalry</VisibleClasses>
|
||||
<SelectionGroupName>units/maur_elephant_archer_b</SelectionGroupName>
|
||||
<GenericName>Elephant Archer</GenericName>
|
||||
<SpecificName>Vachii Gaja</SpecificName>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
</Health>
|
||||
<Identity>
|
||||
<Civ>maur</Civ>
|
||||
<Classes datatype="tokens">Elephant</Classes>
|
||||
<VisibleClasses datatype="tokens">Elephant</VisibleClasses>
|
||||
<GenericName>Worker Elephant</GenericName>
|
||||
<SpecificName>Karmākara Gaja</SpecificName>
|
||||
<Icon>units/maur_support_elephant.png</Icon>
|
||||
|
|
|
|||
Loading…
Reference in a new issue