RimWorld
279 次評價
Auto Light Switch
2
   
獎勵
加入最愛
已加入最愛
移除最愛
Mod, 1.1, 1.2, 1.3, 1.4
檔案大小
發佈於
更新時間
143.277 KB
2018 年 3 月 18 日 下午 8:01
2022 年 10 月 31 日 下午 4:22
22 項更新註記 (檢視)

訂閱以下載
Auto Light Switch

在 Merthykins 的 1 個收藏中
Merthsoft's Mods
7 個項目
描述
Changes the floor lamps so they turn on when someone's in the room and off when everyone leaves. Use the override toggle to prevent this from happening. The light must be enclosed in a room for it to work, otherwise they behave as default lamps. Check the settings for timing.

Idea and toggle button by dianne.

If you like my work consider buying me a coffee: https://ko-fi.com/merthsoft

Source: https://github.com/merthsoft/auto-light-switch
179 則留言
3 Kobolds in a Trenchcoat 5 月 11 日 上午 12:55 
sadly not working anymore here :(
тетеря, блин 4 月 22 日 上午 5:14 
1.5?..
IronyIsGood 2 月 10 日 下午 6:54 
@Nyx (She/Her) That's probably just from RimWorld's highly inefficient lighting updates. Try installing RocketMan.
Nyx (She/Her) 2023 年 12 月 9 日 上午 9:48 
this seems to cause an intense amount of stuttering for me now, for some reason.
Wintermist 2023 年 11 月 29 日 下午 12:05 
It's in the Vanilla Factions Expanded - Ancients btw
Wintermist 2023 年 11 月 29 日 上午 3:59 
Vanilla Extended adds wall lamps too, any chance those could be included into this? Not the wall lamp mod but the vanilla extended wall lamps
Protok 2022 年 11 月 13 日 上午 8:12 
Maybe it's not a best idea to trigger switch by door movement, because sometimes we use "keep opened" option on the door. In that case increasins the trigger square to doors tiles is more stable.
Protok 2022 年 11 月 11 日 上午 7:10 
Could you please include the similar functionality for medicine care monitors attached to beds?

If there is no attached bed with pawn on it, then switch off.
And switch on monitor if attached bed become a pawn carrier.

Thanks
Protok 2022 年 11 月 8 日 下午 11:46 
The opening of door is even better, I think. If it could trigger when starts to open, then it will be 100% already lights up when pawn entered. :AffinityPurity:
Merthykins  [作者] 2022 年 11 月 8 日 上午 11:53 
Ah, that's smart. I actually did a similar thing with the flood fill in designator shapes. I wonder if I use that implementation instead of the built in room detection if it'll work better. An opening door could also trigger it, rather than JUST a pawn being there. Thanks!