RimWorld

RimWorld

Not enough ratings
Lazy Base Lighting
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
43.709 KB
23 Sep, 2018 @ 7:02pm
25 Sep, 2018 @ 1:20am
2 Change Notes ( view )

Subscribe to download
Lazy Base Lighting

Description
Lights up rooms for the lazy.

Tired of having to make lamps in every room? Want something that just lights up every damn room you have?


Features
- Requires Microelectronics Researched
- Costs 40 Steel and 3 Components
- Costs SQRT(Tiles x 16) Watts per each room on the map. Rooms are validated based on colonists wandering into them. A 10x10 room is about 40 watts, but it's lit realisticly.
- The bigger the room, the brighter it will be.
- Hallways are lit near corners only. A 1-wide hallway will be darker than a 2-wide hallway.
- Only 1 unit is required
- If any of your rooms become 'outside' or unroofed, that room light is removed and power for the controller is recalculated.

Upcoming Update
- Costs will be based on light scources per room, the fancier the room the more expensive it is. A simple 4-corner room will still be 4 x SQRT(Tiles) Watts.
- Light sources will be placed at the corners (including pillars), and the centers of the room.
- Light radius will be reduced to make it more realistic.
- Performance will be improved.
- I'm not as strong in C# as I am in Java/Python but I'll be cleaning up the mess I left figuring out the bug I found.

9/25 Update
- Cost has changed to { SQRT(Tiles) x 4 } watts per each room
- Broke coding etiquettes to fix an annoying bug with either me or C#
- Placements are done via 8-way cell matching to find 'hallentries', 'corners', 'points', and 'pillars' in the room
- Glow radius depends on how large the room is, the larger the room the brighter it is.
- Square-like and circle-like rooms are heavily favored, to make those that are OCD... err I mean.. know what they're doing happy.

Want to support my ports and mods?
Buy me a soda[ko-fi.com]
19 Comments
A V.O.I.D Representative 31 Jan, 2024 @ 3:55pm 
im gonna attempt to update this with chatgpt, wish me luck everyone
Hagamablabla 13 Nov, 2023 @ 1:21pm 
We can only hope.
A V.O.I.D Representative 17 Jan, 2023 @ 2:00pm 
Wonder if this will be updated.
Nizate 27 Oct, 2021 @ 9:55am 
(and dracoix I am jesting, I do not know you or your situation, just seemed like a great Dad joke)
Nizate 27 Oct, 2021 @ 9:54am 
What a lazy mod! Unfortunately it seems the modder is just as lazy :P
oddonee 27 Oct, 2020 @ 9:52pm 
any chance for the mod to become updated for 1.2?
Bud 9 Apr, 2019 @ 1:29pm 
rip mod
CoopNB 17 Oct, 2018 @ 8:57am 
when is coming versio for 1.0
Nemo 5 Oct, 2018 @ 12:37am 
It works fine in my game, though I had to stop using it because I had a room full of Noku mushrooms and there's no way to 'exclude' a room from what I can tell.
CatChris 4 Oct, 2018 @ 6:36pm 
I appear to be late to this party, but the mod seems to not be working on my game, I've placed down the controller and it isn't lighting up my base