Update resource values and unlock new miracles; refactor tier loading logic

This commit is contained in:
2025-08-23 16:10:57 +02:00
parent cd715a24cb
commit 9da3b02a46
18 changed files with 149 additions and 140 deletions

View File

@@ -7,12 +7,12 @@
{
"type": "AddResource",
"targetResource": "Followers",
"value": 100
"value": 10
},
{
"type": "AddResource",
"targetResource": "Corruption",
"value": 0.02
"value": 0.5
}
]
}

View File

@@ -1,14 +0,0 @@
{
"name": "Divine Frenzy",
"faithCost": 200,
"followersRequired": 50,
"unlockedByDefault": true,
"effects": [
{
"type": "ApplyBuff",
"targetBuffStat": "FaithPerFollower",
"multiplier": 2.0,
"duration": 30
}
]
}

View File

@@ -1,15 +0,0 @@
{
"name": "Divine Sacrifice",
"faithCost": 250,
"unlockedByDefault": false,
"followersRequired": 100,
"effects": [
{
"type": "ConvertResource",
"fromResource": "Followers",
"fromAmount": 50,
"toResource": "Faith",
"toAmount": 1000
}
]
}

View File

@@ -1,15 +0,0 @@
{
"name": "Purge Sins",
"faithCost": 100,
"followersRequired": 20,
"unlockedByDefault": true,
"effects": [
{
"type": "ConvertResource",
"fromResource": "Followers",
"fromAmount": 20,
"toResource": "Corruption",
"toAmount": -5
}
]
}

View File

@@ -1,14 +0,0 @@
{
"name": "Refined Dogma",
"faithCost": 1000,
"followersRequired": 250,
"unlockedByDefault": true,
"effects": [
{
"type": "ModifyStat",
"targetStat": "FaithPerFollower",
"op": "Add",
"value": 0.1
}
]
}

View File

@@ -0,0 +1,14 @@
{
"name": "Ritual of Cleansing",
"faithCost": 1000,
"followersRequired": 200,
"productionRequired": 100,
"unlockedByDefault": false,
"effects": [
{
"type": "AddResource",
"targetResource": "Corruption",
"value": -10
}
]
}

View File

@@ -0,0 +1,18 @@
{
"name": "Sustainable Practices",
"faithCost": 1200,
"followersRequired": 300,
"productionRequired": 150,
"unlockedByDefault": false,
"effects": [
{
"type": "ModifyStat",
"targetStat": "CorruptionPerSecond",
"op": "Add",
"value": -0.1
},
{
"type": "DestroySelf"
}
]
}

View File

@@ -1,13 +0,0 @@
{
"name": "Advanced Worship",
"faithCost": 500,
"unlockedByDefault": true,
"followersRequired": 100,
"effects": [
{
"type": "UnlockMiracle",
"miraclesToUnlock": [ "divine_sacrifice" ]
},
{ "type": "DestroySelf" }
]
}

View File

@@ -6,7 +6,7 @@
"effects": [
{
"type": "UnlockMiracle",
"miraclesToUnlock": [ "erect_shrine", "communal_effort" ]
"miraclesToUnlock": [ "erect_shrine", "communal_effort", "sustainable_practices", "ritual_of_cleansing" ]
},
{ "type": "DestroySelf" }
],

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@@ -2,16 +2,16 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://bxlaf72h3pftt"
path="res://.godot/imported/hut_tier_1.png-4ce775c649cfe5f92a10187bc1930a9b.ctex"
uid="uid://2wsb1jsmtifq"
path="res://.godot/imported/follower_tier_1.png-d66a290ad46b1bb9ea69b54444ab5725.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Mods/Tiers/hut_tier_1.png"
dest_files=["res://.godot/imported/hut_tier_1.png-4ce775c649cfe5f92a10187bc1930a9b.ctex"]
source_file="res://Mods/Tiers/Followers/follower_tier_1.png"
dest_files=["res://.godot/imported/follower_tier_1.png-d66a290ad46b1bb9ea69b54444ab5725.ctex"]
[params]

View File

@@ -3,27 +3,32 @@
{
"tierEnum": "Tier1",
"threshold": 0,
"scenePath": "res://Scenes/Followers/followers_tier_1.tscn"
"imagePath": "res://Sprites/Follower.png",
"scale": {"x": 0.1, "y": 0.1}
},
{
"tierEnum": "Tier2",
"threshold": 200,
"scenePath": "res://Scenes/Followers/followers_tier_2.tscn"
"imagePath": "res://Sprites/Follower.png",
"scale": {"x": 0.1, "y": 0.1}
},
{
"tierEnum": "Tier3",
"threshold": 500,
"scenePath": "res://Scenes/Followers/followers_tier_3.tscn"
"imagePath": "res://Sprites/Follower.png",
"scale": {"x": 0.1, "y": 0.1}
},
{
"tierEnum": "Tier4",
"threshold": 1000,
"scenePath": "res://Scenes/Followers/followers_tier_4.tscn"
"imagePath": "res://Sprites/Follower.png",
"scale": {"x": 0.1, "y": 0.1}
},
{
"tierEnum": "Tier5",
"threshold": 2500,
"scenePath": "res://Scenes/Followers/followers_tier_5.tscn"
"imagePath": "res://Sprites/Follower.png",
"scale": {"x": 0.1, "y": 0.1}
}
]
}

View File

@@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cj7bgonxgavdf"
path="res://.godot/imported/hut_tier_2.png-70fb7df6fa976626a267fd1e203d6a0e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Mods/Tiers/hut_tier_2.png"
dest_files=["res://.godot/imported/hut_tier_2.png-70fb7df6fa976626a267fd1e203d6a0e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -3,14 +3,14 @@
{
"tierEnum": "Tier1",
"threshold": 150,
"imagePath": "user://Mods/Tiers/Huts/hut_tier_1.png",
"scale": {"x": 0.01, "y": 0.01}
"imagePath": "res://Mods/Tiers/Huts/hut_tier_1.png",
"scale": {"x": 0.05, "y": 0.05}
},
{
"tierEnum": "Tier2",
"threshold": 750,
"imagePath": "user://Mods/Tiers/Huts/hut_tier_2.png",
"scale": {"x": 0.01, "y": 0.01}
"imagePath": "res://Mods/Tiers/Huts/hut_tier_2.png",
"scale": {"x": 0.05, "y": 0.05}
}
]
}