Restore fossil docking transactions
This commit is contained in:
parent
8abdf3ac62
commit
93d4d44ffc
11 changed files with 588 additions and 124 deletions
|
|
@ -2856,6 +2856,39 @@ Run-lifecycle ownership is deliberately narrower than a quest system:
|
|||
simulation is frozen, and inspects the Eve surface state bindings. Completion
|
||||
remains unimplemented until a source-backed game-mode rule owns it.
|
||||
|
||||
Docking ownership follows the fossil's entity and `ActionGameManager` path:
|
||||
|
||||
- Owner: daemon docking operations own bay selection, parentage, and the
|
||||
dock/undock acceptance decision.
|
||||
- Inputs: zone entity order, the 25-unit interaction radius, real docking-bay
|
||||
slots and assignments, occupied-bay cargo, installed Cockpit,
|
||||
Thruster-or-AetherDrive, and Reactor behaviors, and the ship's preserved
|
||||
authoritative pose, velocity, and direction. Ymir retains entity bodies for
|
||||
fields and spatial queries, but ship/station bodies share a non-colliding
|
||||
group because the fossil had no rigidbody entity collision response; pickup
|
||||
bodies remain independently collidable with ships.
|
||||
- Outputs: exact parent/assignment mutation, docking intent, and an
|
||||
authoritative rejection reason carried by the command fact and Eve receipt.
|
||||
- Derived state: camera target, subject visibility, movement suppression, menu
|
||||
copy, and effects derive from dock parentage plus the receipt. They do not
|
||||
decide whether docking happened.
|
||||
- Forbidden writers: Unity `TryDock`/`TryUndock`, camera transitions, client
|
||||
proximity, command-supplied failure text, and renderer-local component checks
|
||||
cannot mutate or explain docking truth.
|
||||
- Shared paths: explicit Dock, DockNearest, contextual Interact, autonomous
|
||||
homecoming, reconnect, and purchased docked ships use the same assignment
|
||||
representation; explicit Undock and contextual Interact use the same
|
||||
prerequisite transaction.
|
||||
- Cut line: the daemon may not append a synthetic docking slot, select the
|
||||
geometrically nearest ineligible entity, move a ship 72 units, zero its
|
||||
velocity, overwrite its direction during undock, or let invented generic
|
||||
circle radii make the authored center-distance rule unreachable.
|
||||
- Verification layer: operation tests cover every ordered rejection, bay cargo,
|
||||
first-eligible selection, preserved pose/velocity/direction, exact receipt
|
||||
reason, entity pass-through during home approach, and retained ship/pickup
|
||||
contact collection; the live witness remains responsible for camera/effect
|
||||
timing.
|
||||
|
||||
Ymir restart ownership is deliberately private and asymmetric:
|
||||
|
||||
- Owner: `AetheriaYmirPersistenceCoordinator` owns reconstruction durability;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ validation proves contract shape, not wiring, exclusivity, lowering, or parity.
|
|||
| Weapons | ServerShared behaviors + Unity effects | daemon plus Ymir geometry/kinematics | action capability, weapon state, shot/damage receipts | effects/audio/HUD | instant and constant resource/timing lifecycles are daemon-owned; charged weapons accept one semantic request, spool without requiring a solution, hold at full charge, commit automatically when a solution appears, and perform deterministic once-per-second malfunction hazard checks after the authored safe hold interval with increasing persisted risk; generic Eve `weapon.state` exposes charge hold/risk and feedback exposes readiness, commit, refusal, and malfunction chronology; committed direct damage now enters the shared daemon armor-cell transaction | guided persistent payloads, visibility/wear, remaining impact-distribution parity, and Unity effect reconciliation |
|
||||
| Destruction/drops | hull death, 25% equipment rolls, unconditional cargo drops, 25-unit launch, 30-second pickups | daemon | destruction identity, death/drop events, typed pickups | provider-advertised destruction effect and pickups | owner-exists; wired; exclusive; projected: direct and deployable lethal damage commit one deterministic destruction transaction, clear live references, retain only a non-rendered identity tombstone, and emit exact pickups/events; the reserved client `DestroyEntity` command is rejected; Aetheria advertises its original big explosion as `effect.feedback.entity.destroyed`, lowered generically by EveUnity | equipment-destruction-before-hull parity and multiplayer reconnect chronology |
|
||||
| Tractor/scoop | analog tractor and physical timed pickups | daemon + Ymir | tractor power, pickup body and receipt | pickup world entity plus beam/interaction feedback | fossil 2/s power ramp and authored forward radius/traction/distance feed pickup bodies into the shared Ymir world; ship contact collects exactly once when capacity permits or applies the fossil 25-unit rejection kick; Aetheria maps pickup collision only against ship bodies, so stations and other world bodies cannot become cargo writers; 30s daemon lifetime; instant cargo teleport deleted; current-zone pickups occupy ordinary rows in the shared Eve entity SoA body with stable logical identity and provider-owned assets; `pilot.scoop` advertises a generic `button-hold.v1` scalar contract, the released client sends `1` on press and `0` on release through `SetTractorPower`, both receipts reconcile, and daemon power returns exactly to zero; the provider build removes the fossil's embedded tractor object from ship prefabs, and `beam.presentation` attaches the sole standalone effect to the SoA ship; released warm witnesses prove successful exactly-once Ymir collection and controlled-player `cargo-capacity` rejection with unchanged cargo | polish provider beam shape/attachment |
|
||||
| Dock/undock | wormhole-first interact; first eligible bay; component prerequisites | daemon + Ymir placement | dock commands/context | camera/UI transition | live generic Unity witness now proves advertised dock/undock actions, daemon bay assignment, dock-parent inclusion in the SoA view, sharing of the dock parent's equipment-derived contact picture, generic camera retargeting, controlled-subject hiding, movement suppression, and restoration on undock; the starter station and local raider form a deterministic Terminus departure proof | restore fossil component-prerequisite rejection reasons, exact undock placement, wormhole priority, reconnect, and docked inventory/trade surfaces |
|
||||
| Dock/undock | wormhole-first interact; first eligible bay; component prerequisites | daemon + Ymir placement | dock commands/context | camera/UI transition | daemon docking now preserves the fossil transaction: stable zone order selects the first entity with a real empty bay inside the fixed 25-unit XZ center radius; undock checks installed Cockpit, Thruster-or-AetherDrive, Reactor, then empty bay cargo in source order; rejection reasons survive committed command facts into generic Eve receipts; success removes parentage without moving, stopping, or rotating the ship. Ymir world entities retain gravity/query bodies but do not invent ship/station rigidbody collision response that would make the 25-unit rule unreachable; ship/pickup Begin contacts remain enabled. The live generic Unity witness also proves advertised actions, bay assignment, dock-parent SoA inclusion and sensor sharing, camera retargeting, controlled-subject hiding, movement suppression, and restoration on undock | reconnect, docked inventory/trade surfaces, and authored dock-camera blend/effect chronology |
|
||||
| Wormhole travel | `ActionGameManager.EnterWormhole` plus `Ship` enter/exit state | daemon fixed-step transition plus Ymir exclusion | current-entity transition state and feedback chronology | provider-selected generic transition lowering | command acceptance no longer moves an entity immediately; player interact, explicit travel, and agent routing derive the same canonical adjacent-zone wormhole and proximity gate, then persist four-second `entering`, authoritative transfer, four-second `exiting`, and one-frame `completed` phases. The daemon owns smootherstep XZ motion, the fossil 1000-unit visual-depth lever, deterministic 20-unit exit direction, 50-unit exit radius, target-adjacency discovery, and exactly-once start/transfer/completion events. Flight and every world-physics implementation receive no transitioning body; Ymir resumes on the tick after completion. Smoke serializes and rehydrates mid-entry and proves agents traverse multi-edge routes through the same command boundary | generic provider transition effect/camera lowering and live multi-zone pilot witness |
|
||||
| Inventory/equipment | inventory panels + ServerShared | daemon | inventory/equipment surfaces | generic UI | owner-exists; wired/projected in fragments; not proven | all transfer directions and rejection |
|
||||
| Trade | trade UI/economy | daemon | stock, quote, purchase commands | generic UI | daemon derives station, stock row, catalog item, current price, quantity, credits, target capacity, and hull-vs-cargo result; Eve advertises only currently available stock actions; generic Unity live witness receives an authoritative purchase receipt while paused | sell flow, quote expiry, contested stock, and full trade surface parity |
|
||||
|
|
|
|||
Loading…
Reference in a new issue