Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Lockable doors

Short description: A simple and performance friendly door lock. Detailed explanation: The reason door lock mods tend to be heavy on performance is because the additional conditions to pass through a door are checked every time any pawn attempts to path through it. This mod uses Zetrith's prepatcher to make this logic as fast as possible to minimize overhead, which is why it is required. By default a locked door is locked for [b]everyone[/b], including your own pawns, pets, mechs and allies. There is the ability to set exceptions on locked doors, however these take (slightly) longer to process compared to locked doors [i]without[/i] exceptions. A locked door only applies additional restrictions, vanilla and other limitations still apply. All injected logic and overhead can be monitored in a single harmony patch under "Harmony Patches" in [url=http://steamcommunity.com/sharedfiles/filedetails/?id=2038874626]Dub's Analyser[/url]. Performance impact scales by number of locked doors and number of enabled exceptions. Remember that if you have available jobs in areas that some pawns can't get to, if those pawns are idling they will keep trying to path to those unattended jobs. The shown analyser picture is 150+ locked doors with 28 pawns locked in separate rooms with plenty of work to do. So pretty much a worst case scenario running at 360 tps. Please note, the end result in analyser also depends on how powerful your system is, so values could greatly vary based on your cpu model and modlist content. Exceptions The following groups can be allowed access through locked doors on a door by door basis: - Colonists. Regular colonists. - Colony mechs. Biotech mechs owned by colony. - Slaves. Ideology slaves owned by colony. - Pets. Tamed animals owned by colony. - Allies. Any members of factions that are not hostile to colony Links: [url=https://steamcommunity.com/linkfilter/?u=http%3A%2F%2Fgithub.com%2FZeracronius%2FLockableDoors]Github[/url][github.com] [url=https://steamcommunity.com/linkfilter/?u=http%3A%2F%2Fgithub.com%2FZeracronius%2FLockableDoors%2Freleases]Previous versions[/url][github.com] [url=http://steamcommunity.com/sharedfiles/filedetails/changelog/3391523928]Change notes[/url] Credits: Madman666: Icons and preview. Dubwise's discord server, where many performance friendly mods are born.