Co-op voice/session work, config retune, net budget tool, overhaul plan
Snapshot of in-progress work before the alien overhaul so worker worktrees branch from current code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2e6638b744
commit
39f9d15cfe
15 changed files with 1394 additions and 339 deletions
|
|
@ -1,144 +1,19 @@
|
|||
[gd_resource type="Resource" script_class="GameConfig" format=3]
|
||||
[gd_resource type="Resource" script_class="GameConfig" format=3 uid="uid://cqvl4hhgydj86"]
|
||||
|
||||
[ext_resource type="Script" path="res://game/scripts/game_config.gd" id="1_cfg"]
|
||||
[ext_resource type="Script" uid="uid://bow5a4dimtdto" path="res://game/scripts/game_config.gd" id="1_cfg"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_cfg")
|
||||
campaign_nights = 5
|
||||
day_length = 180.0
|
||||
dusk_length = 30.0
|
||||
night_length = 150.0
|
||||
dawn_grace = 20.0
|
||||
allow_early_night = false
|
||||
scarecrow_max_hp = 3
|
||||
start_crops = 30
|
||||
start_animals = 8
|
||||
start_structures = Array[Dictionary]([{
|
||||
"rot": 2,
|
||||
"type": "gate",
|
||||
"x": 4.0,
|
||||
"z": -6.0
|
||||
}])
|
||||
fear_drops_loot = true
|
||||
loot_returns_at_dawn = true
|
||||
max_following_animals = 5
|
||||
crop_steal_time = 2.5
|
||||
animal_capture_time = 2.0
|
||||
supply_steal_time = 1.0
|
||||
supply_bundle = 5
|
||||
stray_speed = 1.1
|
||||
animal_wander_interval = 10.0
|
||||
animal_calm_time = 30.0
|
||||
follow_speed = 6.0
|
||||
target_weights = {
|
||||
"animals": 1.0,
|
||||
"crops": 2.0,
|
||||
"supplies": 1.0
|
||||
}
|
||||
pickup_radius = 1.3
|
||||
combat_height = 1.8
|
||||
pitchfork_reach = 2.2
|
||||
pitchfork_arc = 100.0
|
||||
pitchfork_damage = 2
|
||||
pitchfork_targets = 3
|
||||
pitchfork_interval = 0.5
|
||||
bomb_range = 10.0
|
||||
bomb_min_range = 2.0
|
||||
bomb_speed = 12.0
|
||||
bomb_radius = 3.0
|
||||
bomb_damage = 3
|
||||
bomb_cooldown = 4.0
|
||||
fire_rate = 6.0
|
||||
projectile_speed = 24.0
|
||||
projectile_lifetime = 2.0
|
||||
projectile_capacity = 64
|
||||
muzzle_distance = 1.05
|
||||
aim_dead_zone = 0.3
|
||||
mouse_switch_threshold = 12.0
|
||||
enemy_capacity = 800
|
||||
enemy_radius = 0.3
|
||||
nav_cell_size = 0.5
|
||||
nav_inflate_margin = 0.05
|
||||
separation_radius = 0.8
|
||||
separation_weight = 1.4
|
||||
max_correction_per_tick = 0.15
|
||||
direct_seek_distance = 12.0
|
||||
night_thieves = 0
|
||||
thief_spawn_interval = 6.0
|
||||
trickle_type = "crow"
|
||||
trickle_target = "any"
|
||||
enemy_types = {
|
||||
"breaker": {
|
||||
"acceleration": 8.0,
|
||||
"aggression": "fight",
|
||||
"aggro_range": 4.0,
|
||||
"carry_speed": 0.0,
|
||||
"damage": 2,
|
||||
"flying": false,
|
||||
"hit_interval": 1.5,
|
||||
"hit_radius": 0.55,
|
||||
"hp": 6,
|
||||
"speed": 1.9,
|
||||
"steal_time": 0.0,
|
||||
"structure_damage": 8,
|
||||
"targets": ["structures"]
|
||||
},
|
||||
"crow": {
|
||||
"acceleration": 18.0,
|
||||
"aggression": "none",
|
||||
"aggro_range": 0.0,
|
||||
"carry_speed": 0.75,
|
||||
"damage": 0,
|
||||
"flying": true,
|
||||
"hit_interval": 1.0,
|
||||
"hit_radius": 0.45,
|
||||
"hp": 1,
|
||||
"speed": 5.5,
|
||||
"steal_time": 0.8,
|
||||
"structure_damage": 0,
|
||||
"targets": ["crops"]
|
||||
},
|
||||
"thief": {
|
||||
"acceleration": 14.0,
|
||||
"aggression": "contact",
|
||||
"aggro_range": 0.0,
|
||||
"carry_speed": 0.7,
|
||||
"damage": 1,
|
||||
"flying": false,
|
||||
"hit_interval": 1.2,
|
||||
"hit_radius": 0.4,
|
||||
"hp": 3,
|
||||
"speed": 3.0,
|
||||
"steal_time": 1.0,
|
||||
"structure_damage": 2,
|
||||
"targets": ["animals", "supplies"]
|
||||
}
|
||||
}
|
||||
cruise_altitude = 3.2
|
||||
land_altitude = 1.55
|
||||
guard_range = 6.0
|
||||
invulnerability_time = 1.0
|
||||
fear_radius = 6.0
|
||||
fear_cooldown = 12.0
|
||||
fear_duration = 2.0
|
||||
patch_time = 2.0
|
||||
patch_heal = 3
|
||||
sprint_speed_mult = 1.6
|
||||
sprint_time = 3.0
|
||||
sprint_cooldown = 10.0
|
||||
enemy_attack_reach = 0.25
|
||||
flee_speed_factor = 1.15
|
||||
start_wood = 4
|
||||
start_scrap = 2
|
||||
start_straw = 4
|
||||
pouch_capacity = 16
|
||||
gather_time = 1.5
|
||||
costs = {
|
||||
"automated_defense": {
|
||||
"scrap": 6,
|
||||
"straw": 2,
|
||||
"wood": 2
|
||||
},
|
||||
"corn_shooter": {
|
||||
"scrap": 10,
|
||||
"wood": 4
|
||||
},
|
||||
"fence": {
|
||||
"wood": 2
|
||||
},
|
||||
|
|
@ -146,82 +21,127 @@ costs = {
|
|||
"scrap": 1,
|
||||
"wood": 4
|
||||
},
|
||||
"patch": {
|
||||
"straw": 2
|
||||
},
|
||||
"slowing_trap": {
|
||||
"scrap": 3,
|
||||
"wood": 1
|
||||
},
|
||||
"straw_stuffing": {
|
||||
"straw": 12,
|
||||
"wood": 4
|
||||
},
|
||||
"sprint": {
|
||||
"straw": 6,
|
||||
"wood": 8
|
||||
},
|
||||
"corn_shooter": {
|
||||
"scrap": 10,
|
||||
"wood": 4
|
||||
},
|
||||
"pumpkin_bomb": {
|
||||
"scrap": 6,
|
||||
"straw": 12
|
||||
},
|
||||
"rapid_fire": {
|
||||
"scrap": 12,
|
||||
"wood": 8
|
||||
},
|
||||
"heavy_seeds": {
|
||||
"scrap": 14,
|
||||
"straw": 10
|
||||
},
|
||||
"wide_fear": {
|
||||
"straw": 20,
|
||||
"wood": 4
|
||||
},
|
||||
"quick_fear": {
|
||||
"scrap": 6,
|
||||
"straw": 16
|
||||
},
|
||||
"reinforced_fences": {
|
||||
"scrap": 6,
|
||||
"wood": 20
|
||||
},
|
||||
"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
|
||||
}
|
||||
}
|
||||
shot_damage = 1
|
||||
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": "Automated defenses 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": 1.333, "name": "Rapid fire", "requires": "corn_shooter", "stat": "fire_rate", "text": "The corn shooter fires a third 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 60% faster for 3 s at a time, every 10 s", "track": "Scarecrow"},
|
||||
"sticky_tar": {"mult": 1.5, "name": "Sticky tar", "stat": "trap_slow_time", "text": "Slowing traps 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"}
|
||||
"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": "Automated defenses 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 60% faster for 3 s at a time, every 10 s",
|
||||
"track": "Scarecrow"
|
||||
},
|
||||
"sticky_tar": {
|
||||
"mult": 1.5,
|
||||
"name": "Sticky tar",
|
||||
"stat": "trap_slow_time",
|
||||
"text": "Slowing traps 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"
|
||||
}
|
||||
}
|
||||
fence_hp = 20
|
||||
gate_hp = 30
|
||||
trap_triggers = 10
|
||||
turret_hp = 25
|
||||
trap_slow_factor = 0.5
|
||||
trap_slow_time = 2.0
|
||||
turret_range = 7.0
|
||||
turret_fire_interval = 1.0
|
||||
build_range = 9.0
|
||||
barrier_detour = 18.0
|
||||
repair_time = 1.5
|
||||
dismantle_refund = 0.5
|
||||
flow_slice_cells = 2000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue