边缘世界 RimWorld

边缘世界 RimWorld

43 个评价
Privacy Please!
   
奖励
收藏
已收藏
取消收藏
Mod, 1.6
文件大小
发表于
更新日期
1.385 MB
11 月 14 日 下午 6:09
11 月 15 日 下午 7:26
4 项改动说明 ( 查看 )

订阅以下载
Privacy Please!

描述
Keeps pawns away from bedrooms not owned by them. Unless it's an emergency.

Overview
Have you ever tried to build individual houses in your colony, only to find that pawns really don't respect personal space?
Using the closest table regardless of it being in someone else's bedroom/house.
Possibly even disturbing their sleep.

This is what i aimed to solve with this mod.

Pawns will no longer trespass in rooms considered Bedrooms if they are not their own.
Unless you force them by drafting or prioritizing a job inside a bedroom, or the job is considered an emergency(eg: fire, rescue, tend).

The room MUST be considered a bedroom(barracks and hospitals don't count) for this to take effect.


Performance
Short: No noticeable impact.

Long: AI patches like this can be expensive. I tried my best to optimize the mod as much as possible to achieve minimal performance impact. From my testing with Performance Analyzer, less than 0.2% of the tick is spent by the mod with 20 colonists. That means, you will not see any difference.


Compatibility
Let me know if you run into any compatibility issues with any mods.

Should be compatible with any polyamori beds mod for up to 5 people on the same room.

Should be safe to add/remove mid-save.

Code can be found here: https://github.com/shubiska/privacy-please
Feel free to report any issue.
24 条留言
jaeger972 3 小时以前 
also surgery isn't allowed when the pawn sleeps in their bed
the same might be true for tending and similar stuff like feeding as well
jaeger972 5 小时以前 
it would also be nice if you automatically set private tables to not be gathering spots :)
V∆ŁĶẎŘĒΞ 8 小时以前 
@xubisca просто я наивно пологал что мод будет проверять есть ли в комнате спящие пешки прежде чем не пускать туда других людей, мне не подходит данный мод так как я могу очень часто при игре тыкнуть спальное место где либо (спать на полу) и оно заблокирует половину логистики
Xubisca  [作者] 15 小时以前 
@Zexzen Currently only the room owner will work on those jobs. But it does make sense to allow construction inside, tomorrow I will add toggle options for allowing or prohibiting jobs inside rooms.
Zexzen 16 小时以前 
Mining and Construction will be disabled if it is in the room or goes through the room if there is no other path
Xubisca  [作者] 18 小时以前 
@V∆ŁĶẎŘĒΞ Что касается пешек, не проходящих через коридор, который считается спальней, это намеренное поведение, а не ошибка.

Что касается пешек, застревающих в собственной спальне, это может быть вызвано тем, что старый кэш не обновляется, я обновил мод, чтобы попытаться это исправить.
Извините за проблемы!
V∆ŁĶẎŘĒΞ 19 小时以前 
не подошёл мод, если у кого то спальная комната в коридоре блокирует весь коридор , так же у меня произошёл баг , пешка стоя на кровати в своей комнате не шла на кухню а брала и скидывала обед себе под ноги не куда не шла (при том что я убрал спальное место из коридора [проходной сквозной комнаты])
Xubisca  [作者] 20 小时以前 
Very weird, looking inside that mod there doesn't seem to be anything that would conflict with mine. Sadly i can't fix this one.
Tox 20 小时以前 
It was personal doors, and i removed the mod to add yours! I only had the one door actually locked bc my pawns are ovivaporous (they lay eggs instead of getting pregnant) and people kept eating the baby eggs. I removed your mod and it was fine afterwards.
Xubisca  [作者] 20 小时以前 
@Tox I'm unable to recreate your issue, even with polyamori beds installed, i assume the issue comes from that door lock mod, which one is it? And could you test disabling my mod to see if the issue is still there?