RimWorld

RimWorld

52 ratings
Lighting Control
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
866.153 KB
Mar 18 @ 3:17am
Apr 22 @ 6:58am
8 Change Notes ( view )

Subscribe to download
Lighting Control

Description
A lightweight mod to auto toggle lamp.

Features
  • turn on lamps when the light level is less than 50%, and turn off lamps when the light level is greater than 50%.
  • turn on lamps when there is an awaken pawn indoor, turn off lamps when there is no pawns indoor, or everyone in the room is asleep.
  • some tweaks in mod settings.
If you don't want a specific lamp to be off, you may toggle the gizmo of that lamp (to always turn on it as vanilla).

Performance
Should not have any noticeable performance impact in most cases.

Compatibility
Should be compatible with any mod that add roofs or lamps.

If you encounter any issues, please let me know.
Popular Discussions View All (1)
2
Mar 20 @ 4:10am
BUG REPORTS
lzk-
31 Comments
Irrer on Tour May 23 @ 6:04am 
sadly this mod messes with the Sunlamp!:/
Yootah May 22 @ 4:39am 
@lzk- Hi, me again with feature requests (previously about persisting the toggle states in the save file).
Would you mind changing your comp class to public so that I could reuse it in my local Harmony patch?

tl;dr I'd make it an OR between comps PowerTrader (base game), ResourceTrader ( Vanilla Expanded Framework ) and Refuelable (base game) with chemfuel.

The goal being adding this toggle to chemfuel and/or helixien gas powered modded lamps in addition to electric. They usually have functional on/off switches, so it makes sense as opposed to torches and other refuelables.
Yootah May 22 @ 4:35am 
For anyone that cares, you can turn off the sizzling sound:

change <volumeRange> to 0~0 directly in your ...\steamapps\common\RimWorld\Data\Core\Defs\SoundDefs\World_Oneshots_Misc.xml under <SoundDef><defName>Power_OnSmall</defName>

Credit to the mod Silent Power Changes that sadly won't work in its current state.
YoDadCleveland May 16 @ 5:18am 
gotta say i love the mod since it's built for player that loves immersion and early game power saving
but the impact on performance is hella massive on a big colony and modpack, i usually got 230 tps on a 120x100ish base with 13 colonist and 9-14 animals on average but with the mod installed i can only get a maximum of 250 on a medium base 50x80 with 6 people and 3 animals (both with no wildlife around)
i'm not blaming the mod though, it could be a mod conflict for all i know considering my modpack size (460) but the console is clean so i think it's more like a mod condition check clash unfortunately

P.S. that's a drop with only 25 lamp (minus 13 that's always active) and no outdoor light, and i can't set it to atleast 50% colonist awake setting since most of 'em are androids (no schleb)

edit. still on 1.4 so might wanna account that as well
lzk-  [author] Apr 24 @ 7:17am 
@Princess Katsume, yes.
Princess Katsume Apr 24 @ 6:49am 
is it supposed to do the power flickering thing with the lights? i notice it does the power sizzling thing temporarily whenever someone enters and exits a room
lzk-  [author] Apr 22 @ 6:59am 
@SaganTheLegend, patched now.
SaganTheLegend Apr 21 @ 9:08pm 
@Izk- Thanks for great mod! Would be nice if it would support https://steamcommunity.com/sharedfiles/filedetails/?id=2565545335 . I won't be moving to 1.5 soon as there is a lot of mods that needs to be patched before that and 1.4 has no wall lights by default :(
lzk-  [author] Apr 7 @ 6:14am 
@Yootah, fixed now.
Yootah Apr 6 @ 9:53am 
Wish my "always on" choices were remembered in the save file