mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 01:30:45 -05:00
* Bug fix for getting negative Lightkeeper rep and disabling your transmitter only when killing Zryachiy, not his followers * Revised the class to support multiple players having access to the island, not only the main player * Added support for having multiple Lightkeeper-friendly PMC's on the island (currently requires mod support). Killing one of them while on the island will also result in getting reduced Lightkeeper rep and disabling your transmitter. * Separated location changes into discrete methods and made them public so mods can call them individually * Added static property that determines if the main player's transmitter status should open the island for everyone on the map. Also added property indicating if the island has been opened for everyone. This allows mods to override SPT's behavior and not have the island opened to everyone if the main player has access. * Rewrote the class so that the cyclic `Update()` method is no longer needed Co-authored-by: chomp <chomp@noreply.dev.sp-tarkov.com> Reviewed-on: SPT/Modules#159 Co-authored-by: dwesterwick <dwesterwick@yahoo.com> Co-committed-by: dwesterwick <dwesterwick@yahoo.com>