Strangest bug happened. I got a short circuit that drained my batteries, I put out the fire, and my generators simply didn't produce any more power. I tried replacing, removing cables and nothing. I saved, quit to OS, reloaded, and all the lights started coming back online.
Still, my batteries are not charging and a few lamps won't light up at all. I got 2 thermo gen's which should be enough.
EDIT: NVM, I'm an idiot, I think I just got over capacity for my reactors. Haven't had so many colonists before, and even a single sun lamp uses a lot of power... I guess I have been barely scratching by at a small deficit with full batteries, and once they were forcibly discharged, I didn't have enough energy.
EDIT2: Playing around with sun lamps and lighting... sun lamps have a radius of 5 for "brighty lit", which is necessary for hydroponics, and a 10 radius for "lit", which is useless (the lit part isn't a very neat circle either). HOWEVER, overlapping "lit" areas of two lamps make a "lit" area. So, ideally, don't place isolated sunlamps or you waste a lot of light. For example, if I place 2 sunlamps 9 tiles apart in a diagonal line, the entire rectangle between them becomes "brighty lit".
It's something like this:
One lamp
l
lllll
lllllllllll
lllllllllllll
lllllllllllllll
lllllllbbblllllll
lllllbbbbbbblllll
llllbbbbbbbbbllll
lllllbbbbbbbbblllll
llllbbbbbbbbbbbllll
lllllbbbbbSbbbbblllll
llllbbbbbbbbbbbllll
lllllbbbbbbbbblllll
llllbbbbbbbbbllll
lllllbbbbbbblllll
lllllllbbblllllll
lllllllllllllll
lllllllllllll
lllllllllll
lllll
l
Two lamps
l
lllll
lllllllllll
lllllllllllll
lllllllllllllll
lllllllbbblllllll
lllllbbbbbbblllll
llllbbbbbbbbbllll
lllllbbbbbbbbblllll
llllbbbbbbbbbbbllll
lllllbbbbbSbbbbb++lll
llllbbbbbbbbbbb+++l
lllllbbbbbbbbb+++++
llllbbbbbbbbb++++++
lllllbbbbbbb+++++++
lllllllbbb+++++++bbb
lllllll+++++++bbbbbbb
llllll++++++bbbbbbbbb
llllll+++++bbbbbbbbb
llll+++bbbbbbbbbbb
l ++bbbbbSbbbbb
bbbbbbbbbbb
bbbbbbbbb
bbbbbbbbb
bbbbbbb
bbb
The '+' show all the gained spaces that are now "brightly lit".