orbit/js
Brian Fertig 78593b1ea2 Add faction gate lock blocking neutral→faction jumps below level 5
- New `factionGateLocked` pure rule in JumpTravel.js: a gate from a neutral system into a faction-controlled one is locked while the player's combat level is below `minLevel`; gates from faction space and neutral→neutral hops are never locked
- Config section `gates.jump.factionLock` (enabled switch, minLevel 5, panel message) in data/gates.json
- Gate comm window shows the lock message in place of the LINK line and grays out REQUEST JUMP; case widens to fit the two-line message
- `jumpThroughGate` adds a flat denial toast on top as defense in depth
- Tests cover the rule's branches (neutral/faction/unknown dest, missing level, enabled switch, custom minLevel) and assert the shipped galaxy has locked gates at level 0 that all open at level 5
2026-09-21 18:56:31 -06:00
..
build
…
combat Add pirate comms: attack/defeat/bounty voice lines with speech and video 2026-09-20 21:34:05 -06:00
comms
…
config
…
dev
…
economy
…
entities
…
galaxy Add faction gate lock blocking neutral→faction jumps below level 5 2026-09-21 18:56:31 -06:00
mining
…
quests
…
reputation
…
research
…
save
…
scan
…
scenes Add faction gate lock blocking neutral→faction jumps below level 5 2026-09-21 18:56:31 -06:00
ship
…
tether
…
ui Add faction gate lock blocking neutral→faction jumps below level 5 2026-09-21 18:56:31 -06:00
utils Add combat soundtrack that swaps in when combat goes live 2026-09-20 20:38:07 -06:00
vendor
…
vignettes
…
visuals
…
main.js
…