OpenTPW

Draft proposal: RIDES-019 Instant Action research finale#

Status and boundary#

Plan only, October 18, 2026. No gameplay implementation or runtime tests are delivered by this draft. Do not merge as an implemented feature; keep this PR draft until the implementation/evidence gates below are met and independently reviewed. No approximation ID is retired and no platform/original-fidelity qualification is claimed.

Source baseline: 4c87d5f4b657278578c77730524bc69f9002270e. Re-check current main and active work before implementation. Register IDs: RIDES-019.

Observed evidence and current gap#

source/OpenTPW/World/Objects/ParkObjects.cs, AddDefaultFixedItemSteps, creates Gates/Lights rather than End. ParkEconomy emits ResearchAllDone; AutomaticAdvisor already handles advice 167 for Instant Action. The recorded lab completion path creates End after that advice.

All four supplied features/end.wad archives contain End.RSE, End.MD2, Endm1..3.MD2, AnimCtrl.RSE, settings, height data and textures. Existing source records the script's DIPMUSIC, ADDOBJ and EVENT 17–20 use. This inventory is not a completed dependency/runtime test.

Proposed bounded scope#

Implement only the Instant Action completion event initially. Spawn the theme's original End object exactly once at the evidenced transition, using existing script/object facilities. Full Simulation's player-wide park research ledger and online visits are excluded.

Work sequence#

  1. Trace the End script's referenced objects, event handlers, sounds and effect dependencies against current runtime support, without executing original programs.

  2. Define a persisted completion/spawn lifecycle that cannot repeat on load or duplicate notifications; do not presume a new flag is necessary before inspecting existing state.

  3. Integrate the completion producer and verify ordering relative to advice, music and thing allocation.

Acceptance and test plan (not yet run)#

Dependencies and ownership#

Coordinate End event/effect dependencies with the particle owner before implementation; no parallel rewrite of those hooks. Medium effort, contingent on dependency audit. Full Simulation is blocked on player-wide per-park research records.

Proposal coordinator: Codex. Runtime implementation owner is unassigned until the existing topic owners have acknowledged the boundary. Required next decision is technical ownership/evidence, not a claim that implementation is ready. The source/data audit is read-only; original assets remain outside git.

Private-input identity (October 18 audit)#

Relative paths below are inside the supplied local Data tree. SHA-256 pins audit inputs only; it does not authenticate their community-archive provenance or establish an original edition. No asset bytes are committed. WAD evidence above is a read-only directory/member inventory, not a gameplay test.

Full-register coverage addendum (October 18, 2026)#

This reviewed addendum extends the bounded initial plan to cover the remaining registered residuals. All acceptance work remains pending. Source snapshot independently verified by the proposal coordinator: 5ccddcab56ffb9bda4ded1821988a8492bee8943.

Status and classification#

Current residual#

End is not created: the original creates it through 0x516b00 from the lab's message handler 0x503d40 (message 0x11) when the last research item completes, by the GameType word DAT_00fb3b7c (2: Instant Action at once; 0: Full Simulation once every online park record is done, 0x5b0c40; 1: never), after posting the advisor message 0xa7

Source inspection#

Bounded work#

Addendum to #443: Full Simulation End creation needs all-online-park research ledger; exclude covered Instant Action.

Missing evidence#

Decode 0x5B0C40 per-park flags, current park identity and persistence; depend on player-ledger work.

Acceptance cases#

  1. Type 0 with last local item but another incomplete park creates no End.

  2. Type 0 with all records complete creates End once after advisor 0xa7; game type 1 never does.

  3. Add a reproducible synthetic fixture or reference trace identifying input, expected output, and affected function; a passing build alone is insufficient.

  4. Re-run focused regression tests for the listed source owner and document what remains unproven.

Dependencies and ownership#

Review boundary#

Source: docs/proposals/instant-action-finale.md in the project repository.