RimWorld

RimWorld

67 ratings
Self Lit Hydroponics
3
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.1, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
782.576 KB
Jul 3, 2020 @ 4:09pm
Apr 12 @ 6:44am
15 Change Notes ( view )

Subscribe to download
Self Lit Hydroponics

Description
Features
Makes the Hydroponics Basin light itself so you no longer need to use Sun Lamps.

The Hydroponics Lights will turn off during the plant resting period.

While the lights are off the Hydroponics Basin will require 70W by default (same as Vanilla).

While the lights are on the basin will require 250W by default.

Mod Settings
You can toggle whether you want your Hydroponics Basin to work on a schedule.

You can tweak the power consumption while lights are off and on.

You can toggle between Purple and White Light. (The default is Purple).

Note: Toggling the colour will require you to reload your game

Compatibility
This mod patches the base game Hydroponics Basin so there is a chance of compatibility issues with other mods that also edit the Hydroponics Basin.
44 Comments
OganessonG May 19 @ 1:21am 
Hi Aidan,
I am trying to make a sun lamp mod that illuminates square areas instead of vanilla circle ones, and could I use some part of your code? Thanks!
cosmicpintobean May 16 @ 8:17pm 
Is this safe to remove if you have hydroponics? It's not working and my crops are dying so I need to use regular sunlamps
Vaarelsauce May 4 @ 10:20pm 
goated mod, even after the lights 1.5 bug/feature
Vartarhoz Apr 19 @ 2:21am 
I wish this mod adds another one instead of editing already one, because sometimes you don't need light of hydroponic only soil of it. (aka deserts)
Preen Oct 1, 2023 @ 7:18am 
Being able to place these basins in any pattern or quantity is a huge advantage over vanilla sunlamp . 250 seems reasonable to give these a practical use (like the 5 basins in the picture) without totally invalidating vanilla sunlamps.
Rivelda Sep 30, 2023 @ 11:02am 
Or at least instead of 250W, 200W would be a nice round number if you want to incur a small penalty for using neat self-lit basins over a sun lamp with regular hydroponics.
General Profit Apr 23, 2023 @ 2:28am 
I thought it worth mentioning that with 250W as default output when lit it is costing you far more in power than a regular sunlamp with hydroponics

You can get 24 regular hydroponics per sun lamp, a sun lamp costing 2900w of power, so 4580 for 24 regular hydroponics+sun lamp, 1680 during night time

24 self lit would require 6000 per day, 1680 per night

So to determine the average that a self lit should have during the day would be 4580/24, this gets us 190.833333333 which we can just round up to 191 or round down to 190 to get as close to matching the same power use value as a regular sun lamp+hydroponics
lordneador Oct 29, 2022 @ 1:16am 
@Aidan I wondered if that was the problem, yet (with plants planted) the light were off for the whole day, until I cycled the basins power on/off once... Quick fix would most likely be to turn of said option in the settings
Aidan  [author] Oct 28, 2022 @ 3:57pm 
@lordneador

The lights mirror the plant resting period by default (when `On Schedule` mod setting is enabled) and so the lights should turn back on around 6/7h in the morning.
lordneador Oct 28, 2022 @ 2:48pm 
Ive got the problem that the basins shut of their light at night, but dont turn it on again. Is this known and is there a cause or fix? Ty in advance :)