[gd_resource type="Resource" script_class="GameConfig" format=3 uid="uid://cqvl4hhgydj86"] [ext_resource type="Script" uid="uid://bow5a4dimtdto" path="res://game/scripts/game_config.gd" id="1_cfg"] [resource] script = ExtResource("1_cfg") costs = { "automated_defense": { "scrap": 6, "straw": 2, "wood": 2 }, "corn_shooter": { "scrap": 10, "wood": 4 }, "fence": { "wood": 2 }, "gate": { "scrap": 1, "wood": 4 }, "heavy_seeds": { "scrap": 14, "straw": 10 }, "long_range": { "scrap": 14, "wood": 10 }, "patch": { "straw": 2 }, "pumpkin_bomb": { "scrap": 6, "straw": 12 }, "quick_fear": { "scrap": 6, "straw": 16 }, "rapid_fire": { "scrap": 12, "straw": 12, "wood": 8 }, "reinforced_fences": { "scrap": 6, "wood": 20 }, "slowing_trap": { "scrap": 3, "wood": 1 }, "sprint": { "straw": 6, "wood": 8 }, "sticky_tar": { "scrap": 6, "straw": 14 }, "straw_stuffing": { "straw": 12, "wood": 4 }, "wide_fear": { "straw": 20, "wood": 4 } } upgrades = { "corn_shooter": { "name": "Corn shooter", "text": "A gun that fires corn kernels, from afar", "track": "Weapon" }, "heavy_seeds": { "add": 1, "name": "Heavy seeds", "requires": "corn_shooter", "stat": "shot_damage", "text": "Each kernel does 2 damage", "track": "Weapon" }, "long_range": { "mult": 1.3, "name": "Long-range defenses", "stat": "turret_range", "text": "Turrets reach 30% farther", "track": "Defenses" }, "pumpkin_bomb": { "name": "Pumpkin bombs", "text": "Throw a pumpkin that bursts, hurting everything within 3 m (one every 4 s)", "track": "Weapon" }, "quick_fear": { "mult": 0.8, "name": "Quick fear", "stat": "fear_cooldown", "text": "Fear recharges 20% faster", "track": "Fear" }, "rapid_fire": { "mult": 3.0, "name": "Rapid fire", "requires": "corn_shooter", "stat": "fire_rate", "text": "The corn shooter fires 3x faster!!!!!", "track": "Weapon" }, "reinforced_fences": { "mult": 1.5, "name": "Reinforced fences", "stat": "barrier_hp", "text": "Fences and gates +50% health", "track": "Defenses" }, "sprint": { "name": "Sprint", "text": "Sprint 80% faster for 4 s at a time, every 10 s", "track": "Scarecrow" }, "sticky_tar": { "mult": 1.5, "name": "Sticky tar", "stat": "trap_slow_time", "text": "Tar patches hold 50% longer", "track": "Defenses" }, "straw_stuffing": { "add": 2, "name": "Straw stuffing", "stat": "scarecrow_max_hp", "text": "+2 max health", "track": "Scarecrow" }, "wide_fear": { "mult": 1.3, "name": "Wide fear", "stat": "fear_radius", "text": "Fear reaches 30% farther", "track": "Fear" } }