边缘世界 RimWorld

边缘世界 RimWorld

评价数不足
Lazy Base Lighting
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
43.709 KB
2018 年 9 月 23 日 下午 7:02
2018 年 9 月 25 日 上午 1:20
2 项改动说明 ( 查看 )

订阅以下载
Lazy Base Lighting

描述
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 条留言
A V.O.I.D Representative 2024 年 1 月 31 日 下午 3:55 
im gonna attempt to update this with chatgpt, wish me luck everyone
Hagamablabla 2023 年 11 月 13 日 下午 1:21 
We can only hope.
A V.O.I.D Representative 2023 年 1 月 17 日 下午 2:00 
Wonder if this will be updated.
Nizate 2021 年 10 月 27 日 上午 9:55 
(and dracoix I am jesting, I do not know you or your situation, just seemed like a great Dad joke)
Nizate 2021 年 10 月 27 日 上午 9:54 
What a lazy mod! Unfortunately it seems the modder is just as lazy :P
oddonee 2020 年 10 月 27 日 下午 9:52 
any chance for the mod to become updated for 1.2?
Bud 2019 年 4 月 9 日 下午 1:29 
rip mod
CoopNB 2018 年 10 月 17 日 上午 8:57 
when is coming versio for 1.0
Nemo 2018 年 10 月 5 日 上午 12:37 
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 2018 年 10 月 4 日 下午 6:36 
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