orbit/data
Brian Fertig 2f80ddfdb1 Add periodic random ship encounters with neutral ally escorts
- New EncounterDirector (js/combat/Encounters.js): pure, data-driven clock that rolls pirate / neutral / mixed encounters in neutral non-home systems on a ~45–90s interval at 50–60% chance, one at a time with a 30–60s cooldown, never during a live wave run or on a downed player.
- Neutral ally ships (js/combat/NeutralShip.js) on spritesheet frames 20–27: escort the player for a per-ship 10–15s window, engage the nearest pirate in mixed fights, then break off and fly off-screen; player-safe by construction (never targeted or damaged by ally bolts/seekers).
- Pirate targeting generalized so hostiles can draw aggro onto escorts when the player is out of range; escort and pirate bolts/missiles collide with each other but not the player.
- Group size scales with combat level (1–2 low → 4–5 high, bands in data/combat.json); encounter hostiles are one-shots so the fight ends when the sky clears.
- New 'volley' weapon pattern (wide staggered-speed fan) and owner-tagged bolts/missiles for ally vs enemy routing in Weapons.js.
- Neutral roster config + encounters section added to data/combat.json; EnemyTypes gains neutralTypeConfig/Ids/SheetList.
- Tests: dev/encounters.test.mjs (cadence, gate, weights, size bands), dev/neutral.test.mjs (roster, escort AI, targeting, no friendly fire), plus combat/xp test updates; CDP probes and encounter-hud-check for in-browser HUD verification.
2026-09-22 07:19:20 -06:00
..
research
…
actionbar.json
…
asteroids.json
…
builds.json
…
combat.json Add periodic random ship encounters with neutral ally escorts 2026-09-22 07:19:20 -06:00
comms.json Add pirate comms: attack/defeat/bounty voice lines with speech and video 2026-09-20 21:34:05 -06:00
creditshud.json
…
economy.json
…
factions.json
…
galaxy.json
…
game.json
…
gates.json Add faction-tinted swirl to locked jump gates 2026-09-21 19:07:18 -06:00
goods.json
…
landing.json Add Pirate Problems quest payoff comms and trigger arming 2026-09-19 19:49:30 -06:00
manifest.json
…
map.json
…
menu.json
…
mineralhud.json
…
music.json Add combat soundtrack that swaps in when combat goes live 2026-09-20 20:38:07 -06:00
naming.json
…
planets.json
…
progression.json
…
quests.json Add Pirate Problems quest payoff comms and trigger arming 2026-09-19 19:49:30 -06:00
reputation.json
…
research.json
…
save.json
…
scan.json
…
settlements.json
…
sfx.json Use dedicated combat SFX voices for cannon, hit, and enemy laser 2026-09-19 19:07:50 -06:00
ship.json
…
shipScreen.json
…
shopui.json
…
sidequests.json Add BOUNTY HUNT side quest with elite combat seam and verification 2026-09-20 20:10:07 -06:00
signalCompass.json
…
stations.json
…
systems.json
…
tether.json
…
theme.json
…
vignettes.json
…