Boss gate: a boss zone spawns its faction's boss, and RunGoal derives whether the exit gate is open
EntityPack.Boss (key 21) carries Entity.IsBoss through save and Continue. GenerateZone adds one boss per BossZones entry before the ambient return, flying the faction's BossHull or, with the gap logged, its most expensive available ship hull. RunGoal (ServerShared) is the one owner of boss life and exit state, derived from Zone.Entities. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
85d0a14808
commit
db4617d832
8 changed files with 285 additions and 5 deletions
|
|
@ -4,4 +4,6 @@ public class Wormhole
|
|||
{
|
||||
public float2 Position;
|
||||
public GalaxyZone Target;
|
||||
// The run's exit gate: it leads nowhere (Target is null) and ends the run when RunGoal.ExitOpen.
|
||||
public bool Exit;
|
||||
}
|
||||
Loading…
Reference in a new issue