Ticket #3059: woodenTower.diff
File woodenTower.diff, 12.6 KB (added by , 9 years ago) |
---|
-
binaries/data/mods/public/simulation/ai/petra/headquarters.js
1450 1450 } 1451 1451 } 1452 1452 1453 if (this.Config.Military.numWoodenTowers && gameState.currentPhase() < 2 && this.canBuild(gameState, " other/palisades_rocks_fort"))1453 if (this.Config.Military.numWoodenTowers && gameState.currentPhase() < 2 && this.canBuild(gameState, "structures/{civ}_wooden_tower")) 1454 1454 { 1455 1455 let numTowers = gameState.getOwnEntitiesByClass("Tower", true).length; // we count all towers, including wall towers 1456 1456 if (numTowers < this.Config.Military.numWoodenTowers && gameState.ai.elapsedTime > this.towerLapseTime + this.fortStartTime) 1457 1457 { 1458 1458 this.fortStartTime = gameState.ai.elapsedTime; 1459 queues.defenseBuilding.addItem(new m.ConstructionPlan(gameState, " other/palisades_rocks_fort"));1459 queues.defenseBuilding.addItem(new m.ConstructionPlan(gameState, "structures/{civ}_wooden_tower")); 1460 1460 } 1461 1461 return; 1462 1462 } -
binaries/data/mods/public/simulation/data/technologies/attack_tower_watch.json
10 10 }, 11 11 "description": "A night's watch increases vigilance.", 12 12 "cost": {"food": 500, "wood": 0, "stone": 0, "metal": 0}, 13 "requirements": {"tech": "phase_ town"},14 "requirementsTooltip": "Unlocked in TownPhase.",13 "requirements": {"tech": "phase_village"}, 14 "requirementsTooltip": "Unlocked in Village Phase.", 15 15 "icon": "helmet_corinthian_bronze.png", 16 16 "researchTime": 40, 17 17 "tooltip": "Post sentries to add one arrow to towers.", -
binaries/data/mods/public/simulation/templates/other/palisades_rocks_fort.xml
21 21 <stone>0</stone> 22 22 </Resources> 23 23 </Cost> 24 <Capturable> 25 <CapturePoints>800</CapturePoints> 26 </Capturable> 24 27 <Footprint> 25 28 <Square width="9.5" depth="8.5"/> 26 29 <Height>9.0</Height> … … 28 31 <Health> 29 32 <Max>250</Max> 30 33 </Health> 34 <GarrisonHolder> 35 <Max>3</Max> 36 </GarrisonHolder> 31 37 <Identity> 32 <Civ>gaia</Civ> 33 <SpecificName>Palisade Fort</SpecificName> 38 <SpecificName>Wooden Tower</SpecificName> 34 39 <GenericName>Wooden Tower</GenericName> 35 <Classes datatype="tokens">Palisade</Classes>36 40 <History>A cheap, quick defensive structure constructed with sharpened tree trunks</History> 37 41 <Icon>structures/palisade_fort.png</Icon> 38 <VisibleClasses datatype="tokens">Village -Town DefenseTower</VisibleClasses> 42 <Classes datatype="tokens">WoodenTower</Classes> 43 <VisibleClasses datatype="tokens">Village -Town</VisibleClasses> 39 44 <RequiredTechnology>phase_village</RequiredTechnology> 40 45 </Identity> 41 <Obstruction> 42 <Static width="9.0" depth="7.5"/> 43 </Obstruction> 46 <ProductionQueue> 47 <Technologies datatype="tokens"> 48 -attack_tower_crenellations 49 -attack_tower_range 50 -attack_tower_defense 51 </Technologies> 52 </ProductionQueue> 44 53 <TerritoryInfluence disable=""/> 54 <StatusBars> 55 <HeightOffset>18.0</HeightOffset> 56 </StatusBars> 45 57 <VisualActor> 46 58 <Actor>props/special/palisade_rocks_fort.xml</Actor> 47 59 </VisualActor> -
binaries/data/mods/public/simulation/templates/structures/athen_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="template_structure_defense_wooden_tower"> 3 <Identity> 4 <Civ>athen</Civ> 5 </Identity> 6 </Entity> -
binaries/data/mods/public/simulation/templates/structures/brit_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="template_structure_defense_wooden_tower"> 3 <Identity> 4 <Civ>brit</Civ> 5 </Identity> 6 </Entity> -
binaries/data/mods/public/simulation/templates/structures/cart_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="template_structure_defense_wooden_tower"> 3 <Identity> 4 <Civ>cart</Civ> 5 </Identity> 6 </Entity> -
binaries/data/mods/public/simulation/templates/structures/gaul_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="template_structure_defense_wooden_tower"> 3 <Identity> 4 <Civ>gaul</Civ> 5 </Identity> 6 </Entity> -
binaries/data/mods/public/simulation/templates/structures/iber_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="template_structure_defense_wooden_tower"> 3 <Identity> 4 <Civ>iber</Civ> 5 </Identity> 6 </Entity> -
binaries/data/mods/public/simulation/templates/structures/mace_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="template_structure_defense_wooden_tower"> 3 <Identity> 4 <Civ>mace</Civ> 5 </Identity> 6 </Entity> -
binaries/data/mods/public/simulation/templates/structures/maur_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="template_structure_defense_wooden_tower"> 3 <Identity> 4 <Civ>maur</Civ> 5 </Identity> 6 </Entity> -
binaries/data/mods/public/simulation/templates/structures/pers_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="template_structure_defense_wooden_tower"> 3 <Identity> 4 <Civ>pers</Civ> 5 </Identity> 6 </Entity> -
binaries/data/mods/public/simulation/templates/structures/ptol_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="template_structure_defense_wooden_tower"> 3 <Identity> 4 <Civ>ptol</Civ> 5 </Identity> 6 </Entity> -
binaries/data/mods/public/simulation/templates/structures/rome_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="template_structure_defense_wooden_tower"> 3 <Identity> 4 <Civ>rome</Civ> 5 </Identity> 6 </Entity> -
binaries/data/mods/public/simulation/templates/structures/sele_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="template_structure_defense_wooden_tower"> 3 <Identity> 4 <Civ>sele</Civ> 5 </Identity> 6 </Entity> -
binaries/data/mods/public/simulation/templates/structures/spart_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="template_structure_defense_wooden_tower"> 3 <Identity> 4 <Civ>spart</Civ> 5 </Identity> 6 </Entity> -
binaries/data/mods/public/simulation/templates/template_structure_defense_wooden_tower.xml
1 <?xml version="1.0" encoding="utf-8"?> 2 <Entity parent="other/palisades_rocks_fort"> 3 </Entity> -
binaries/data/mods/public/simulation/templates/template_unit_infantry.xml
28 28 structures/{civ}_corral 29 29 structures/{civ}_outpost 30 30 other/wallset_palisade 31 other/palisades_rocks_fort31 structures/{civ}_wooden_tower 32 32 structures/{civ}_dock 33 33 structures/{civ}_barracks 34 34 structures/{civ}_blacksmith -
binaries/data/mods/public/simulation/templates/units/rome_infantry_swordsman_b.xml
2 2 <Entity parent="template_unit_infantry_melee_swordsman"> 3 3 <Builder> 4 4 <Entities datatype="tokens"> 5 6 - other/palisades_rocks_fort5 -other/wallset_palisade 6 -structures/{civ}_wooden_tower 7 7 structures/rome_army_camp 8 8 structures/rome_wallset_siege 9 9 structures/{civ}_wonder … … 12 12 <Identity> 13 13 <Civ>rome</Civ> 14 14 <Lang>latin</Lang> 15 16 15 <SelectionGroupName>units/rome_infantry_swordsman_b</SelectionGroupName> 16 <GenericName>Roman Swordsman</GenericName> 17 17 <SpecificName>Hastatus</SpecificName> 18 18 <Icon>units/rome_infantry_swordsman.png</Icon> 19 19 <History>The hastati were the first line of heavy infantry in the early Republican Roman army. They used pila and gladii as their main weapons, throwing the former into the enemy formation and then closing with the sword. For defense they used a large shield called a scutum and wore the best armor they could afford. Hastati were recruited from the young men of Rome, a small part of the 700,000 troops Rome could bring to bear against its opponents.</History>