RimWorld

RimWorld

74 ratings
Lockable Doors Ex
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0
File Size
Posted
Updated
1.574 MB
7 Feb, 2018 @ 5:50pm
1 Dec, 2018 @ 4:44am
22 Change Notes ( view )

Subscribe to download
Lockable Doors Ex

Description
I long stopped playing rimworld myself and probably won't update any of these. Source code is included in the mod file and anyone can update and reupload without asking me for permissions. This mod will stay up for v1.0.

============================================================

I can't understand it where we can't refuse visitors to get into our house. Although human visitors are gentle enough not to take my things, their camels can still create dirts, eat my stuffs, and disturb my colonists' sleep. No, not anymore, camels no entering. This is the original propose of this mod.

Features:
  • Door Owner: Doors can be assigned to specific colonists. Only assigned pawns can pass through a private door. Drafted pawns will ignore this setting, allowing manual emergency passing. If any of your door owners is downed inside their private space, remember to draft your pawns before sending them to rescue.
  • Visitor Passibility: Doors can be set to exclude visitors. Note that a private door exclude visitors regardless of the visitor passibility setting. In addition, this setting is dymanic by default: a door will automatically exclude visitors if it's a bedroom door, and will not exclude visitors if it's not.
  • Copy and Paste: All of the door settings can be copied and pasted.
  • Private Furnitures: Tables and chairs inside a bedroom will refuse non-bedroom-owner pawns to use them. This shall effectively discourage non-bedroom-owner pawns to break into others' private space.

Localisations:
- English
- Chinese Simplified
- Russian

Originally modified from Khell's "Lockable Doors", however, this mod has been substantially rewritten during post-release update.

This mod introduced the ability to exclude visitors, and removed the requirement of new research projects. In addition, it's now using harmony thus compatible with Linkable Doors.

Origin Github: https://github.com/khell/RimworldLockableDoors
Origin Steam Workshop: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=841915667

Incompatibility: Other mods with similar features
Old Save Compatible: Yes
Safely Removable: Yes

Known Issues:
If you have Hospitality: a room with one or more beds for colonists and one or more beds for visitors will be considered a bedroom thus all doors linked to it exclude visitors by default. They must be manually toggled on. Try to avoid mixing a bedroom with a guest room.

FAQ:

    • Q: Is it possible to make it so that bedroom owners are automatically assigned to the bedroom doors?
    • A: Yes, and not only that, but also possible to temporarily allow other pawns to pass through while any bedroom owner is downed, needs tending, or needs feeding. However, this feature will NOT be in this mod because there are too many potential issues to be solved. For example, a bedroom with only one resident and more than one beds will be considered a private bedroom owned by that resident thus refusing all other pawns to get into the bedroom and sleep on the spare beds.

      In reality, your private space can be legally entered in by other people in various situations. However, we simply can't list all of them and implement them one-by-one. Let's return to the start point: what's the propose of private bedroom assignment? Does it worth the effort?

      I. To prevent other pawns to use private furnitures;
      II. to prevent other pawns to grab this bedroom while the owners are away from the map.

      Obviously it doesn't, so I have decided to give it up. In exchange, this mod has a feature where tables and chairs inside a bedroom will be inaccessible to non-bedroom-owner pawns.

    • Q: Is it possible to make it so that doors can be set to allow prisoners?
    • A: Yes, but they won't pass through the door even if permitted, because a prisoner is restricted to the bedroom while a door splits rooms anyway, discouraging them from passing through.
70 Comments
Valera098 Russian Fed. 29 Jul, 2020 @ 10:00am 
it need update man
Ryan 2 May, 2020 @ 5:27pm 
Update Please.
Anonymous 26 Apr, 2020 @ 3:45pm 
Someone Please update...
烽燧煜明 11 Mar, 2020 @ 9:10pm 
大佬求更新
ZzZombo 8 Jan, 2020 @ 11:03pm 
Ah, shame. An option to exclude animals not owning a resting space in the room would be most welcome.
Mysterius 25 Mar, 2019 @ 2:23pm 
Doesn't work. Abandoned by owner.
Natalo77 10 Feb, 2019 @ 9:03am 
Any hard incompatibilities
Scarador 3 Nov, 2018 @ 2:02am 
ReflectionTypeLoadException getting types in assembly LockableDoorsEx: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0
at Verse.ModAssemblyHandler.AssemblyIsUsable (System.Reflection.Assembly asm) [0x00000] in <filename unknown>:0

Loader exceptions:
=> System.TypeLoadException: Could not load type 'HugsLib.ModBase' from assembly 'HugsLib, Version=0.18.0.0, Culture=neutral, PublicKeyToken=null'.
General Phanter 23 Oct, 2018 @ 1:28pm 
please update this