Commit Graph
5 Commits
Author SHA1 Message Date
Claude b5207b6a4c Let Unit Editor profiles and running enemy torpedoes take effect in custom missions (1.3.61)
User profiles named by a mission join that mission's runtime catalog and
its save snapshot; a user submarine clones the systems of the built-in
boat of its propulsion. A placed enemy torpedo runs from the start.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
2026-09-29 05:08:16 +00:00
db9979andClaude Fable 5.1 d6e2200bf7 Mission runtime: placed aircraft, animals and decoys
Phase 13 step 4 of plan 1.3. Exact units may now be built-in aircraft
(a Flight of the nearest charted airbase patrolling a 10 NM box around
its spot at profile speed), animals (Animal with the authored depth and
speed) and decoys (a static Decoy at its spot; the save validator accepts
mission-placed decoys without a launching unit). Torpedoes and user unit
profiles stay rejected.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 08:13:54 +02:00
db9979andClaude Fable 5.1 448a8d3db6 Mission runtime: random groups, authored events and weather
Phase 13 step 3 of plan 1.3. Seeded random groups are placed from the
static preview (a spawn event defers its group); events run in order of
their time from _update_damage_and_mission: message (verbatim feed
text), spawn, weather and objective (complete/fail). The world holds an
authored weather kind (world.weather_override, saved) for the mission
environment and weather events; pending event ids persist as the save
root field mission_events and are validated against the definition.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 08:09:28 +02:00
db9979andClaude Fable 5.1 9ff055b608 Mission runtime: protect and reach objectives
Phase 13 step 2 of plan 1.3. protect keeps placed friendly or neutral
units alive until the time limit (lost with the first sunk unit, won at
the limit); reach wins when the frigate enters the objective point's
radius (objective.reach: x, y, radius_nm, default 2 NM) and loses at
the limit. Placed units are remembered as mission_runtime.units in the
save so the objective survives a load; objective texts and end reasons
in both catalogs.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 08:06:07 +02:00
db9979andClaude Fable 5.1 64f9d994fa Mission runtime: reference worlds start on their packaged sector
Phase 13 step 1 of plan 1.3. A mission with world.kind reference names a
packaged real sector as sector:<0..127>; validate_mission checks the form,
Coastline.generate takes the sector index and Game.reset selects it for
the mission (world mode real_fixed, 500 NM). Fixed-coordinate worlds keep
their previous behaviour. The editor template uses sector:17.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 08:02:48 +02:00