forked from 0ad/0ad
forgot to add this
This was SVN commit r3952.
This commit is contained in:
parent
e4c40841b2
commit
7aad858966
66
binaries/data/mods/official/techs/example.xml
Normal file
66
binaries/data/mods/official/techs/example.xml
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
|
||||||
|
|
||||||
|
<Tech>
|
||||||
|
<ID>
|
||||||
|
<Generic>Improved Architecture</Generic>
|
||||||
|
<Specific>Willow Reeds</Specific>
|
||||||
|
|
||||||
|
<Icon>sheet_tech_shared</Icon>
|
||||||
|
<Icon_Cell>13</Icon_Cell>
|
||||||
|
|
||||||
|
<Classes>Buff</Classes>
|
||||||
|
|
||||||
|
<Rollover></Rollover>
|
||||||
|
<History></History>
|
||||||
|
</ID>
|
||||||
|
|
||||||
|
<Req>
|
||||||
|
<Time>120</Time>
|
||||||
|
<Resource>
|
||||||
|
<Food>50</Food>
|
||||||
|
<Wood>80</Wood>
|
||||||
|
<Stone>90</Stone>
|
||||||
|
<Ore>10</Ore>
|
||||||
|
</Resource>
|
||||||
|
|
||||||
|
<Entity>Melee</Entity>
|
||||||
|
<Entity>Ranged</Entity>
|
||||||
|
<Entity>some_entity_class_name</Entity>
|
||||||
|
|
||||||
|
<Tech>otherexample</Tech>
|
||||||
|
<Tech>tech_file_name</Tech>
|
||||||
|
</Req>
|
||||||
|
|
||||||
|
<Effect>
|
||||||
|
<Target>Infantry</Target>
|
||||||
|
<Target>some_entity_class_name</Target>
|
||||||
|
|
||||||
|
<Pair>tech_shared_wood_gather_1</Pair>
|
||||||
|
<Pair>some_tech_name</Pair>
|
||||||
|
|
||||||
|
<Modifier>
|
||||||
|
<Attribute>traits.health.max</Attribute>
|
||||||
|
<Value>2</Value>
|
||||||
|
</Modifier>
|
||||||
|
<Modifier>
|
||||||
|
<Attribute>traits.some_attribute</Attribute>
|
||||||
|
<Value>2</Value>
|
||||||
|
</Modifier>
|
||||||
|
|
||||||
|
<Set>
|
||||||
|
<Attribute>traits.health.max</Attribute>
|
||||||
|
<Value>2</Value>
|
||||||
|
</Set>
|
||||||
|
<Set>
|
||||||
|
<Attribute>traits.some_attribute</Attribute>
|
||||||
|
<Value>2</Value>
|
||||||
|
</Set>
|
||||||
|
|
||||||
|
|
||||||
|
<Script File="" />
|
||||||
|
<Function Name="" />
|
||||||
|
|
||||||
|
|
||||||
|
</Effect>
|
||||||
|
|
||||||
|
</Tech>
|
54
binaries/data/mods/official/techs/real_example.xml
Normal file
54
binaries/data/mods/official/techs/real_example.xml
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
|
||||||
|
|
||||||
|
<Tech>
|
||||||
|
<ID>
|
||||||
|
<Generic>Improved Architecture</Generic>
|
||||||
|
<Specific>Willow Reeds</Specific>
|
||||||
|
|
||||||
|
<Icon>sheet_tech_shared</Icon>
|
||||||
|
<Icon_Cell>13</Icon_Cell>
|
||||||
|
|
||||||
|
<Classes>Buff</Classes>
|
||||||
|
|
||||||
|
<Rollover></Rollover>
|
||||||
|
<History></History>
|
||||||
|
</ID>
|
||||||
|
|
||||||
|
<Req>
|
||||||
|
<Time>120</Time>
|
||||||
|
<Resource>
|
||||||
|
<Food>50</Food>
|
||||||
|
<Wood>80</Wood>
|
||||||
|
<Stone>90</Stone>
|
||||||
|
<Ore>10</Ore>
|
||||||
|
</Resource>
|
||||||
|
|
||||||
|
<Entity>Melee</Entity>
|
||||||
|
<Entity>Ranged</Entity>
|
||||||
|
|
||||||
|
<Tech>example</Tech>
|
||||||
|
|
||||||
|
</Req>
|
||||||
|
|
||||||
|
<Effect>
|
||||||
|
<Target>Infantry</Target>
|
||||||
|
<Target>some_entity_class_name</Target>
|
||||||
|
|
||||||
|
<Pair>example</Pair>
|
||||||
|
|
||||||
|
<Modifier>
|
||||||
|
<Attribute>traits.health.max</Attribute>
|
||||||
|
<Value>2</Value>
|
||||||
|
</Modifier>
|
||||||
|
<Set>
|
||||||
|
<Attribute>traits.health.max</Attribute>
|
||||||
|
<Value>2</Value>
|
||||||
|
</Set>
|
||||||
|
|
||||||
|
<Script File="" />
|
||||||
|
<Function Name="" />
|
||||||
|
|
||||||
|
|
||||||
|
</Effect>
|
||||||
|
|
||||||
|
</Tech>
|
Loading…
Reference in New Issue
Block a user