From 965e65846396150b4295a38054a5f6f69355ed11 Mon Sep 17 00:00:00 2001 From: elexis Date: Fri, 27 May 2016 11:57:20 +0000 Subject: [PATCH] Make ptolemian bolt shooter available. Patch by fatherbushido, fixes #4006. Let ptolemians produce it in a captured siege workshop. Remove bolt shooter technology from seleucids, as they don't have that weapon. This was SVN commit r18243. --- .../data/technologies/siege_bolt_accuracy.json | 18 ++++++++++++++++-- .../structures/mace_siege_workshop.xml | 1 + .../templates/structures/sele_fortress.xml | 1 - .../template_structure_military_fortress.xml | 1 + 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/binaries/data/mods/public/simulation/data/technologies/siege_bolt_accuracy.json b/binaries/data/mods/public/simulation/data/technologies/siege_bolt_accuracy.json index 3fb9046829..8a969440a3 100644 --- a/binaries/data/mods/public/simulation/data/technologies/siege_bolt_accuracy.json +++ b/binaries/data/mods/public/simulation/data/technologies/siege_bolt_accuracy.json @@ -2,12 +2,26 @@ "genericName": "Bolt Accuracy", "description": "Improvement to projectile accuracy", "cost": { "food": 0, "wood": 250, "stone": 0, "metal": 250 }, - "requirements": { "all": [{ "tech": "phase_city" }, { "all": [{ "notciv": "brit"}, { "notciv": "gaul" }, { "notciv": "iber" }, { "notciv": "maur" }, { "notciv": "pers" }] } ]}, + "requirements": { + "all": [ + { "tech": "phase_city" }, + { + "all": [ + { "notciv": "brit"}, + { "notciv": "gaul" }, + { "notciv": "iber" }, + { "notciv": "maur" }, + { "notciv": "pers" }, + { "notciv": "sele" } + ] + } + ] + }, "requirementsTooltip": "Unlocked in City Phase.", "icon": "accuracy_bolt.png", "researchTime": 40, "tooltip": "Bolt shooter accuracy increased 25%.", "modifications": [{ "value": "Attack/Ranged/Spread", "multiply": 0.8 }], - "affects": ["Bolt Shooter"], + "affects": ["BoltShooter"], "soundComplete": "interface/alarm/alarm_upgradearmory.xml" } diff --git a/binaries/data/mods/public/simulation/templates/structures/mace_siege_workshop.xml b/binaries/data/mods/public/simulation/templates/structures/mace_siege_workshop.xml index 7088cc62a7..c3be8e6001 100644 --- a/binaries/data/mods/public/simulation/templates/structures/mace_siege_workshop.xml +++ b/binaries/data/mods/public/simulation/templates/structures/mace_siege_workshop.xml @@ -28,6 +28,7 @@ units/{civ}_mechanical_siege_scorpio_packed units/{civ}_mechanical_siege_oxybeles_packed units/{civ}_mechanical_siege_lithobolos_packed + units/{civ}_mechanical_siege_polybolos_packed units/{civ}_mechanical_siege_ram units/{civ}_mechanical_siege_tower diff --git a/binaries/data/mods/public/simulation/templates/structures/sele_fortress.xml b/binaries/data/mods/public/simulation/templates/structures/sele_fortress.xml index bfadcdf965..d8a1e4a20b 100644 --- a/binaries/data/mods/public/simulation/templates/structures/sele_fortress.xml +++ b/binaries/data/mods/public/simulation/templates/structures/sele_fortress.xml @@ -27,7 +27,6 @@ siege_armor siege_cost_metal siege_cost_wood - siege_bolt_accuracy successors/special_war_horses successors/special_parade_of_daphne diff --git a/binaries/data/mods/public/simulation/templates/template_structure_military_fortress.xml b/binaries/data/mods/public/simulation/templates/template_structure_military_fortress.xml index 282c9a02f9..f2d3d45fd6 100644 --- a/binaries/data/mods/public/simulation/templates/template_structure_military_fortress.xml +++ b/binaries/data/mods/public/simulation/templates/template_structure_military_fortress.xml @@ -84,6 +84,7 @@ units/{civ}_mechanical_siege_scorpio_packed units/{civ}_mechanical_siege_oxybeles_packed units/{civ}_mechanical_siege_lithobolos_packed + units/{civ}_mechanical_siege_polybolos_packed units/{civ}_mechanical_siege_ram units/{civ}_mechanical_siege_tower