Aetheria/Assets/Scripts/ServerShared/Agents
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens bf32a82e32 CombatState derives its optimum range once the weapons' stats are known, and re-derives on loadout change
A zone-spawned ship's CombatState sampled in its constructor, before any weapon had evaluated its stats,
so the optimum range read 0 and never moved. It now marks the optimum stale on construction, on any
equipment add/remove and on a weapon's online change, and samples at the next Update once every active
weapon reports StatsKnown. ConsumableAiTests build the agent through Zone.Admit(piloted: true) and read
the optimum without re-sampling; new rows pin the hold scope, hull-heading source, mixed paints, sight
independence and the optimum across two guns and a refit.

Not yet verified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 19:03:50 +02:00
..
States CombatState derives its optimum range once the weapons' stats are known, and re-derives on loadout change 2026-10-16 19:03:50 +02:00
Tasks Move the ServerShared data model onto CultLib's CultCache 2026-09-14 19:00:42 +02:00
Agent.cs Agent.Update writes Turn every tick, so a state that does not pilot holds the hull 2026-10-07 16:23:55 +02:00
Agent.cs.meta Combat & Visibility & Collisions 2021-02-26 19:01:47 +00:00
Minion.cs Mining Cut 3: a chunk is a target, detected by reflected light 2026-09-30 12:56:39 +02:00
Minion.cs.meta Combat & Visibility & Collisions 2021-02-26 19:01:47 +00:00
States.meta Combat & Visibility & Collisions 2021-02-26 19:01:47 +00:00
Tasks.meta Combat & Visibility & Collisions 2021-02-26 19:01:47 +00:00