Restore daemon destruction and loot
This commit is contained in:
parent
861b82f2ff
commit
22dae9adbe
13 changed files with 333 additions and 56 deletions
|
|
@ -750,6 +750,24 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
|
|||
transaction mutates them thereafter. Penetration always advances by a
|
||||
half-cell step, eliminating the fossil's non-advancing infinite loop.
|
||||
|
||||
### Daemon Destruction Transaction
|
||||
|
||||
- Owner: lethal daemon damage owns one destruction identity, active-world
|
||||
removal, reference cleanup, loot rolls, pickup state, and chronology.
|
||||
- Inputs: canonical hull result, run seed, entity equipment/cargo, fossil loot
|
||||
settings (`0.25` equipment probability, `25` launch speed, `30` second life).
|
||||
- Outputs: an inactive identity-stable tombstone, deterministic typed pickups,
|
||||
`entity.destroyed` and `pickup.dropped` events, and Eve world removal/effects.
|
||||
- Derived state: the retained entity row exists only for stable indexing and
|
||||
replay protection. It is not rendered, targetable, salvageable, or alive.
|
||||
- Forbidden writers: Unity destruction callbacks, Eve feedback renderers, and
|
||||
the reserved `DestroyEntity` command cannot erase entities or create loot.
|
||||
- Shared paths: direct shots and deployable splash invoke the same destruction
|
||||
commit after the shared damage resolver crosses zero hull.
|
||||
- Cut line: client-commanded removal and presentation-triggered loot are dead;
|
||||
EveUnity resolves `effect.feedback.entity.destroyed` only after the provider
|
||||
has published authoritative destruction chronology.
|
||||
|
||||
- Owner: `Aetheria.State` owns the new typed state spine for durable state.
|
||||
The embedded `GameCult.Aetheria.State.Unity` package owns Unity's runtime
|
||||
typed state file path plus the boot-time state-file probe, and is the landing
|
||||
|
|
|
|||
|
|
@ -154,6 +154,15 @@ the shape. Splash payloads such as mines preserve the fossil's distinct rule:
|
|||
they select the source-facing half of the hull schematic, then enter the same
|
||||
layer transaction.
|
||||
|
||||
Lethal damage commits destruction in the same daemon transaction boundary.
|
||||
The target receives one durable destruction identity, leaves the active Eve
|
||||
world, clears combat/docking references, and emits deterministic pickups. The
|
||||
fossil rules are preserved: every cargo stack drops, each equipped item rolls
|
||||
independently against `0.25`, launch velocity has magnitude `25`, and pickup
|
||||
lifetime is `30` seconds. A retained entity row is a non-rendered tombstone for
|
||||
stable identity and exactly-once replay protection; it is not a wreck or a
|
||||
second gameplay owner. The reserved `DestroyEntity` command is rejected.
|
||||
|
||||
## Armor-Cell Authority Map
|
||||
|
||||
- Owner: the daemon's canonical damage transaction owns shield interception,
|
||||
|
|
@ -253,6 +262,8 @@ drop or simplify an effect. It may not promote a visual collision into damage.
|
|||
- a repair loop may not reconcile client-observed impacts into daemon health.
|
||||
- direct and deployable callers may not bypass the shared layer transaction
|
||||
with scalar hull damage.
|
||||
- Unity, Eve, and command clients may not remove an entity or manufacture its
|
||||
loot after observing a destruction effect.
|
||||
|
||||
## Cut Line
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ validation proves contract shape, not wiring, exclusivity, lowering, or parity.
|
|||
| Shield/armor/equipment/hull damage | energy-funded shield, schematic armor cells, equipment and scalar hull | daemon canonical damage transaction | aggregate/exact armor grid, entity status, and layer-aware shot/damage receipts | schematic, meters, impacts, damage VFX | owner-exists; wired; exclusive; projected: daemon initializes armor/maximum-armor grids from hull plus hardpoint catalog topology; direct and deployable damage share one `shield -> armor cell -> equipment -> scalar hull` transaction; direct impacts select a cell or complete hardpoint footprint before orthogonal spread and 0.5-cell penetration, while splash payloads select the source-facing hull half; the fossil penetration infinite-loop defect is fixed; damage type is typed/pass-through without resistances because the fossil never applied them; Eve exposes aggregate and exact armor state and receipts identify reached/applied layers; fake Ymir contacts and presentation cannot decide damage | fossil parity fixtures for topology, edge impacts, orthogonal spread, multi-cell penetration, equipment interception, and generic shield/equipment effect lifecycle |
|
||||
| Thermal/energy | cell conduction and capacitor/reactor/radiator network | daemon | ship/equipment status and warnings | schematic/post effects | cell conduction/radiation wired; energy network and medical thresholds remain reference | capacitor/reactor/radiator ordering, shared energy and medical timelines |
|
||||
| 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 | entity death and pickup paths | daemon | death/drop events and world entities | effects and pickups | fragments wired; chronology and original drop transaction absent | exactly-once drops and cleanup |
|
||||
| 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 | beam/interaction feedback | fossil 2/s power ramp and authored forward radius/traction/distance feed pickup bodies into the shared Ymir world; shield contact collects exactly once when capacity permits or applies the fossil 25-unit rejection kick; 30s daemon lifetime; instant cargo teleport deleted | prove generic runtime beam, contact, success and rejection feedback |
|
||||
| Dock/undock | wormhole-first interact; first eligible bay; component prerequisites | daemon + Ymir placement | dock commands/context | camera/UI transition | daemon path wired/projected; Ymir placement and parity unproven | priority, eligibility, placement and reconnect |
|
||||
| Inventory/equipment | inventory panels + ServerShared | daemon | inventory/equipment surfaces | generic UI | owner-exists; wired/projected in fragments; not proven | all transfer directions and rejection |
|
||||
|
|
|
|||
Loading…
Reference in a new issue