From 3ed64b165fb03c620e7cbebc6736362565e90059 Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Sat, 23 Aug 2025 05:24:33 +0200 Subject: [PATCH] Add new miracles and update existing JSON configurations for resource management --- Mods/Miracles/bountiful_harvest.json | 4 ++-- Mods/Miracles/communal_effort.json | 22 +++++++++++++++++ Mods/Miracles/construct_vessel_frame.json | 16 +++++++++++++ Mods/Miracles/divine_frenzy.json | 2 +- Mods/Miracles/erect_shrine.json | 19 +++++++++++++++ Mods/Miracles/exploit_earth.json | 18 ++++++++++++++ Mods/Miracles/global_network.json | 13 ++++++++++ Mods/Miracles/inspire_invention.json | 20 ++++++++++++++++ Mods/Miracles/launch_ark.json | 13 ++++++++++ Mods/Miracles/orbital_calculations.json | 9 +++++++ Mods/Miracles/unlock_age_of_industry.json | 15 ++++++++++++ Mods/Miracles/unlock_settlement.json | 14 +++++++++++ Mods/Miracles/unlock_space_age.json | 14 +++++++++++ Mods/Tiers/follower_tiers.json | 29 +++++++++++++++++++++++ Mods/Tiers/hut_tiers.json | 19 +++++++++++++++ 15 files changed, 224 insertions(+), 3 deletions(-) create mode 100644 Mods/Miracles/communal_effort.json create mode 100644 Mods/Miracles/construct_vessel_frame.json create mode 100644 Mods/Miracles/erect_shrine.json create mode 100644 Mods/Miracles/exploit_earth.json create mode 100644 Mods/Miracles/global_network.json create mode 100644 Mods/Miracles/inspire_invention.json create mode 100644 Mods/Miracles/launch_ark.json create mode 100644 Mods/Miracles/orbital_calculations.json create mode 100644 Mods/Miracles/unlock_age_of_industry.json create mode 100644 Mods/Miracles/unlock_settlement.json create mode 100644 Mods/Miracles/unlock_space_age.json create mode 100644 Mods/Tiers/follower_tiers.json create mode 100644 Mods/Tiers/hut_tiers.json diff --git a/Mods/Miracles/bountiful_harvest.json b/Mods/Miracles/bountiful_harvest.json index 71cdbb6..57f4448 100644 --- a/Mods/Miracles/bountiful_harvest.json +++ b/Mods/Miracles/bountiful_harvest.json @@ -7,12 +7,12 @@ { "type": "AddResource", "targetResource": "Followers", - "value": 10 + "value": 100 }, { "type": "AddResource", "targetResource": "Corruption", - "value": 2 + "value": 0.02 } ] } diff --git a/Mods/Miracles/communal_effort.json b/Mods/Miracles/communal_effort.json new file mode 100644 index 0000000..92b5cb4 --- /dev/null +++ b/Mods/Miracles/communal_effort.json @@ -0,0 +1,22 @@ +{ + "name": "Communal Effort", + "faithCost": 400, + "followersRequired": 250, + "unlockedByDefault": false, + "effects": [ + { + "type": "AddResource", + "targetResource": "Production", + "value": 50 + }, + { + "type": "AddResource", + "targetResource": "Corruption", + "value": 3 + }, + { + "type": "UnlockMiracle", + "miraclesToUnlock": [ "unlock_age_of_industry" ] + } + ] +} diff --git a/Mods/Miracles/construct_vessel_frame.json b/Mods/Miracles/construct_vessel_frame.json new file mode 100644 index 0000000..83c9cc5 --- /dev/null +++ b/Mods/Miracles/construct_vessel_frame.json @@ -0,0 +1,16 @@ +{ + "name": "Project: Ark Frame", + "faithCost": 20000, + "followersRequired": 5000, + "unlockedByDefault": false, + "effects": [ + { + "type": "ConvertResource", + "fromResource": "Production", + "fromAmount": 5000, + "toResource": "Faith", + "toAmount": 0 + }, + { "type": "DestroySelf" } + ] +} diff --git a/Mods/Miracles/divine_frenzy.json b/Mods/Miracles/divine_frenzy.json index 51ea65c..d00b3d4 100644 --- a/Mods/Miracles/divine_frenzy.json +++ b/Mods/Miracles/divine_frenzy.json @@ -6,7 +6,7 @@ "effects": [ { "type": "ApplyBuff", - "targetBuffStat": "FaithGeneration", + "targetBuffStat": "FaithPerFollower", "multiplier": 2.0, "duration": 30 } diff --git a/Mods/Miracles/erect_shrine.json b/Mods/Miracles/erect_shrine.json new file mode 100644 index 0000000..db33c8e --- /dev/null +++ b/Mods/Miracles/erect_shrine.json @@ -0,0 +1,19 @@ +{ + "name": "Erect Shrine", + "faithCost": 750, + "followersRequired": 200, + "unlockedByDefault": false, + "effects": [ + { + "type": "ModifyStat", + "targetStat": "FaithPerFollower", + "op": "Add", + "value": 0.2 + }, + { + "type": "AddResource", + "targetResource": "Corruption", + "value": 5 + } + ] +} diff --git a/Mods/Miracles/exploit_earth.json b/Mods/Miracles/exploit_earth.json new file mode 100644 index 0000000..3662211 --- /dev/null +++ b/Mods/Miracles/exploit_earth.json @@ -0,0 +1,18 @@ +{ + "name": "Exploit the Earth", + "faithCost": 500, + "followersRequired": 1200, + "unlockedByDefault": false, + "effects": [ + { + "type": "AddResource", + "targetResource": "Production", + "value": 1000 + }, + { + "type": "AddResource", + "targetResource": "Corruption", + "value": 20 + } + ] +} diff --git a/Mods/Miracles/global_network.json b/Mods/Miracles/global_network.json new file mode 100644 index 0000000..22ac425 --- /dev/null +++ b/Mods/Miracles/global_network.json @@ -0,0 +1,13 @@ +{ + "name": "Global Network", + "faithCost": 15000, + "followersRequired": 5000, + "unlockedByDefault": false, + "effects": [ + { + "type": "UnlockMiracle", + "miraclesToUnlock": [ "orbital_calculations", "construct_vessel_frame", "launch_ark" ] + }, + { "type": "DestroySelf" } + ] +} diff --git a/Mods/Miracles/inspire_invention.json b/Mods/Miracles/inspire_invention.json new file mode 100644 index 0000000..d9a96f2 --- /dev/null +++ b/Mods/Miracles/inspire_invention.json @@ -0,0 +1,20 @@ +{ + "name": "Inspire Invention", + "faithCost": 2500, + "followersRequired": 1000, + "unlockedByDefault": false, + "effects": [ + { + "type": "ModifyStat", + "targetStat": "ProductionPerSecond", + "op": "Add", + "value": 5 + }, + { + "type": "ModifyStat", + "targetStat": "CorruptionPerSecond", + "op": "Add", + "value": 0.5 + } + ] +} diff --git a/Mods/Miracles/launch_ark.json b/Mods/Miracles/launch_ark.json new file mode 100644 index 0000000..3a9b154 --- /dev/null +++ b/Mods/Miracles/launch_ark.json @@ -0,0 +1,13 @@ +{ + "name": "Launch Ark", + "faithCost": 100000, + "followersRequired": 5000, + "unlockedByDefault": false, + "effects": [ + { + "type": "AddResource", + "targetResource": "Corruption", + "value": 100 + } + ] +} diff --git a/Mods/Miracles/orbital_calculations.json b/Mods/Miracles/orbital_calculations.json new file mode 100644 index 0000000..2ff7232 --- /dev/null +++ b/Mods/Miracles/orbital_calculations.json @@ -0,0 +1,9 @@ +{ + "name": "Project: Trajectory", + "faithCost": 50000, + "followersRequired": 5000, + "unlockedByDefault": false, + "effects": [ + { "type": "DestroySelf" } + ] +} diff --git a/Mods/Miracles/unlock_age_of_industry.json b/Mods/Miracles/unlock_age_of_industry.json new file mode 100644 index 0000000..5b2410f --- /dev/null +++ b/Mods/Miracles/unlock_age_of_industry.json @@ -0,0 +1,15 @@ +{ + "name": "Age of Industry", + "faithCost": 1500, + "followersRequired": 750, + "productionRequired": 50, + "unlockedByDefault": false, + "effects": [ + { + "type": "UnlockMiracle", + "miraclesToUnlock": [ "inspire_invention", "exploit_earth" ] + }, + { "type": "DestroySelf" } + ], + "advancesToAge": "The Industrial Age" +} diff --git a/Mods/Miracles/unlock_settlement.json b/Mods/Miracles/unlock_settlement.json new file mode 100644 index 0000000..7152950 --- /dev/null +++ b/Mods/Miracles/unlock_settlement.json @@ -0,0 +1,14 @@ +{ + "name": "Form Settlement", + "faithCost": 300, + "followersRequired": 150, + "unlockedByDefault": true, + "effects": [ + { + "type": "UnlockMiracle", + "miraclesToUnlock": [ "erect_shrine", "communal_effort" ] + }, + { "type": "DestroySelf" } + ], + "advancesToAge": "The Settlement Age" +} diff --git a/Mods/Miracles/unlock_space_age.json b/Mods/Miracles/unlock_space_age.json new file mode 100644 index 0000000..2c8b4d5 --- /dev/null +++ b/Mods/Miracles/unlock_space_age.json @@ -0,0 +1,14 @@ +{ + "name": "Age of Space", + "faithCost": 10000, + "followersRequired": 5000, + "unlockedByDefault": false, + "effects": [ + { + "type": "UnlockMiracle", + "miraclesToUnlock": [ "global_network" ] + }, + { "type": "DestroySelf" } + ], + "advancesToAge": "The Space Age" +} diff --git a/Mods/Tiers/follower_tiers.json b/Mods/Tiers/follower_tiers.json new file mode 100644 index 0000000..af40d82 --- /dev/null +++ b/Mods/Tiers/follower_tiers.json @@ -0,0 +1,29 @@ +{ + "tiers": [ + { + "tierEnum": "Tier1", + "threshold": 0, + "scenePath": "res://Scenes/Followers/followers_tier_1.tscn" + }, + { + "tierEnum": "Tier2", + "threshold": 200, + "scenePath": "res://Scenes/Followers/followers_tier_2.tscn" + }, + { + "tierEnum": "Tier3", + "threshold": 500, + "scenePath": "res://Scenes/Followers/followers_tier_3.tscn" + }, + { + "tierEnum": "Tier4", + "threshold": 1000, + "scenePath": "res://Scenes/Followers/followers_tier_4.tscn" + }, + { + "tierEnum": "Tier5", + "threshold": 2500, + "scenePath": "res://Scenes/Followers/followers_tier_5.tscn" + } + ] +} diff --git a/Mods/Tiers/hut_tiers.json b/Mods/Tiers/hut_tiers.json new file mode 100644 index 0000000..e4b024c --- /dev/null +++ b/Mods/Tiers/hut_tiers.json @@ -0,0 +1,19 @@ +{ + "tiers": [ + { + "tierEnum": "Tier1", + "threshold": 150, + "scenePath": "res://Scenes/Huts/hut_tier_1.tscn" + }, + { + "tierEnum": "Tier2", + "threshold": 750, + "scenePath": "res://Scenes/Huts/hut_tier_2.tscn" + }, + { + "tierEnum": "Tier3", + "threshold": 2000, + "scenePath": "res://Scenes/Huts/hut_tier_3.tscn" + } + ] +}