From 5d1d2d27d7bebe3c4363963b3a0ba905e1825fdc Mon Sep 17 00:00:00 2001 From: wraitii Date: Wed, 19 May 2021 08:13:35 +0000 Subject: [PATCH] Outposts have vision without garrisoning again. Reverts D2986 / f9f7b4d49f. Outposts have 90 base vision, increasing to 120 with the 'Carrier pigeon' technology. Outposts no longer decay in neutral territory, thus not needing garrisoning. To compensate, they decay 10x faster in enemy territory. Differential Revision: https://code.wildfiregames.com/D3898 This was SVN commit r25463. --- .../data/technologies/outpost_vision.json | 14 ++++++++++++++ .../template_structure_defensive_outpost.xml | 13 +++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 binaries/data/mods/public/simulation/data/technologies/outpost_vision.json diff --git a/binaries/data/mods/public/simulation/data/technologies/outpost_vision.json b/binaries/data/mods/public/simulation/data/technologies/outpost_vision.json new file mode 100644 index 0000000000..28f810d903 --- /dev/null +++ b/binaries/data/mods/public/simulation/data/technologies/outpost_vision.json @@ -0,0 +1,14 @@ +{ + "genericName": "Carrier Pigeons", + "description": "Increases outpost vision.", + "cost": { "food": 300 }, + "requirements": { "tech": "phase_village" }, + "icon": "pigeon.png", + "researchTime": 40, + "tooltip": "Outposts +33% vision range.", + "modifications": [ + { "value": "Vision/Range", "multiply": 1.333333 } + ], + "affects": ["Outpost"], + "soundComplete": "interface/alarm/alarm_upgradearmory.xml" +} diff --git a/binaries/data/mods/public/simulation/templates/template_structure_defensive_outpost.xml b/binaries/data/mods/public/simulation/templates/template_structure_defensive_outpost.xml index 91c264e02c..3a48de79dd 100644 --- a/binaries/data/mods/public/simulation/templates/template_structure_defensive_outpost.xml +++ b/binaries/data/mods/public/simulation/templates/template_structure_defensive_outpost.xml @@ -27,7 +27,7 @@ Outpost template_structure_defensive_outpost - Build in own or neutral territory. No vision range unless garrisoned. Slowly converts to Gaia while in neutral territory. + Build in own or neutral territory. Outpost structures/outpost.png @@ -37,7 +37,11 @@ - + + + outpost_vision + + @@ -57,7 +61,8 @@ 14.0 - 1 + 10 + enemy @@ -69,7 +74,7 @@ - 10 + 90 structures/fndn_2x2.xml