From 37a49249faa53e15d4e35dcef6627061d6bc2ccb Mon Sep 17 00:00:00 2001 From: wowgetoffyourcellphone Date: Sat, 2 Dec 2023 18:44:06 +0000 Subject: [PATCH] [Gameplay] New temple tech "Sacrificial Ritual" Patch by: @borg- Accepted by: @real_tabasco_sauce Comments by: @chrstgtr, @wowgetoffyourcellphone Differential Revision: https://code.wildfiregames.com/D5188 This was SVN commit r27963. --- .../data/technologies/cost_healer.json | 20 +++++++++++++++++++ .../template_structure_civic_temple.xml | 1 + 2 files changed, 21 insertions(+) create mode 100644 binaries/data/mods/public/simulation/data/technologies/cost_healer.json diff --git a/binaries/data/mods/public/simulation/data/technologies/cost_healer.json b/binaries/data/mods/public/simulation/data/technologies/cost_healer.json new file mode 100644 index 0000000000..66d85c6e8b --- /dev/null +++ b/binaries/data/mods/public/simulation/data/technologies/cost_healer.json @@ -0,0 +1,20 @@ +{ + "genericName": "Sacrificial Ritual", + "description": "Sacrificial rituals were quite common in ancient times, whether to satisfy the gods, calm natural disasters, or even improve harvests.", + "cost": { + "food": 250, + "stone": 100 + }, + "requirements": { "tech": "phase_town" }, + "requirementsTooltip": "Unlocked in Town Phase.", + "icon": "skull_swords.png", + "researchTime": 40, + "tooltip": "Healers –40% training time, and the metal cost is removed.", + "modifications": [ + { "value": "Cost/BuildTime", "multiply": 0.6 }, + { "value": "Cost/Resources/metal", "replace": 0 }, + { "value": "Loot/metal", "replace": 0 } + ], + "affects": ["Healer"], + "soundComplete": "interface/alarm/alarm_upgradearmory.xml" +} diff --git a/binaries/data/mods/public/simulation/templates/template_structure_civic_temple.xml b/binaries/data/mods/public/simulation/templates/template_structure_civic_temple.xml index 3fe81afbb1..8d666bde47 100644 --- a/binaries/data/mods/public/simulation/templates/template_structure_civic_temple.xml +++ b/binaries/data/mods/public/simulation/templates/template_structure_civic_temple.xml @@ -44,6 +44,7 @@ + cost_healer heal_range heal_range_2 heal_rate