Scenarios Cut 1: Zone.Admit is the one admission into a zone
Zone.Admit(entity, piloted) adds the entity to Entities, activates it and, when piloted, gives it the zone's Minion. It is the only writer of Entities.Add and the only creator of agents (docs/scenarios-cut.md, 2.2). The constructor's pack loop admits every packed ship but the player's as piloted and keeps its own origin-scatter rule, which is generation placement, not admission. Entity.TryUndock admits the undocked ship unpiloted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
702b454bea
commit
fbda4c74fb
2 changed files with 18 additions and 11 deletions
|
|
@ -1003,8 +1003,7 @@ public abstract class Entity
|
|||
|
||||
bay.DockedShip = null;
|
||||
ship.RemoveParent();
|
||||
Zone.Entities.Add(ship);
|
||||
ship.Activate();
|
||||
Zone.Admit(ship, piloted: false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue