DiscoveryGC / FLHook

FLHook for Discovery Freelancer
Other
28 stars 33 forks source link

TradeLane: Fix TL state desync bug when crossing systems. Add Trade Lane ban list for ship archs. #220

Closed Aingar closed 1 year ago

Aingar commented 1 year ago

When you jump into a system, you always see tradelanes as alive, even if they were disabled by an evil pirate a moment earlier. Without the fix, you could dock and escape with pirate having no counterplay or ability to chase.

Also adds a configurable list of ships banned from using trade lanes. Ships banned from using trade lanes also cannot form onto other ships, but can be formed onto. This was done to prevent 'formation trade lane' behavior from used as a bypass for the block.