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:
Forrest 2026-10-05 13:35:53 -04:00
parent 2e6638b744
commit 39f9d15cfe
15 changed files with 1394 additions and 339 deletions

View file

@ -19,6 +19,8 @@ enum Aggression { NONE, CONTACT, FIGHT }
const ID_BITS := 16
const ID_MASK := (1 << ID_BITS) - 1
## How fast a hit's flash (hurt) fades, per second.
const HURT_FADE := 4.0
const TYPE_THIEF := 0
const TYPE_CROW := 1
const TYPE_BREAKER := 2
@ -339,7 +341,7 @@ func step(dt: float, scarecrow: Vector2, scarecrow_radius: float) -> void:
var max_corr := cfg.max_correction_per_tick
var g := grid
for i in active_count:
hurt[i] = maxf(hurt[i] - dt * 4.0, 0.0)
hurt[i] = maxf(hurt[i] - dt * HURT_FADE, 0.0)
attack_cd[i] = maxf(attack_cd[i] - dt, 0.0)
slow_left[i] = maxf(slow_left[i] - dt, 0.0)
var x := pos_x[i]