0ad/binaries/data/mods/public/simulation/templates/template_wallset.xml
Freagarach 83b786dcf5 Tokens for required technologies.
Use tokens for required technologies, allowing `-tech` and easier
replacements.
Fixes requiring `replace=""` when replacing techs.
Also a minor fix in the TemplateParser.js for upgrade requirements.
Refs. 9bb9ff8b16.

Differential revision: https://code.wildfiregames.com/D4912
Comments by: @Stan
This was SVN commit r27505.
2023-01-30 08:05:34 +00:00

28 lines
1,018 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Abstract entity to serve as a bare-minimum dummy constructable entity to initiate wall placement.
Defines the set of actual entities that are part of the same wall construction system (i.e., towers,
gates, wall segments of various length, etc.) using the WallSet component (to be overridden by child
templates). -->
<Entity>
<Identity>
<Civ>gaia</Civ>
<GenericName>Wall</GenericName>
<Tooltip>Wall off an area.</Tooltip>
<VisibleClasses datatype="tokens">Wall</VisibleClasses>
<Icon>structures/wall.png</Icon>
<Undeletable>true</Undeletable>
<Requirements>
<Techs datatype="tokens">phase_town</Techs>
</Requirements>
</Identity>
<Visibility>
<RetainInFog>false</RetainInFog>
<AlwaysVisible>false</AlwaysVisible>
<Corpse>false</Corpse>
<Preview>false</Preview>
</Visibility>
<WallSet>
<MaxTowerOverlap>0.85</MaxTowerOverlap>
<MinTowerOverlap>0.05</MinTowerOverlap>
</WallSet>
</Entity>