Files
uconsole_asw_game/data/editor_templates/mission.json
T
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

48 lines
1.2 KiB
JSON

{
"version": 1,
"key": "user.sector_patrol",
"name": "Sector patrol",
"description": "Editor template with an exact contact and a seeded group.",
"seed": 1701,
"world": {
"kind": "reference",
"reference": "sector:17",
"size_nm": 500.0,
"sectors": [
{"id": "patrol-east", "x": 300.0, "y": 120.0, "width": 100.0, "height": 160.0}
]
},
"player": {"x": 240.0, "y": 250.0, "course_deg": 45.0, "speed_kn": 12.0},
"environment": {
"sea_state": 3,
"time_hour": 6.5,
"thermocline_depth_m": 80.0,
"weather": "clear"
},
"units": {
"exact": [
{
"id": "merchant-1",
"profile": "tanker_01",
"side": "neutral",
"placement": {"kind": "fixed", "x": 270.0, "y": 210.0},
"course_deg": 180.0,
"speed_kn": 10.0
}
],
"random_groups": [
{
"id": "wolfpack",
"profiles": ["diesel_alt", "aip_modern"],
"side": "hostile",
"count": [1, 3],
"placement": {"kind": "sector", "sector": "patrol-east"}
}
]
},
"objective": {"type": "sink", "target_ids": ["wolfpack"], "time_limit_s": 3600.0},
"events": [
{"id": "brief", "at_s": 0.0, "type": "message", "message": "Patrol the eastern sector."}
]
}