Page 1 of 1
Simon's Lights / no night darkness
Posted: Sat Feb 22, 2020 1:31 pm
by 150d
Hi,
I came back to Factorio after a while and found the old mods to no longer be working. For some I found updated versions, but not for "Simon's Lights" that lights up the night.
Is there an alternative? Ideally, I don't even want to see that it's night at all. It should look "as day as possible".
Regards
Re: Simon's Lights / no night darkness
Posted: Sat Feb 22, 2020 4:01 pm
by eradicator
Looked at the code of "Simon's Lights" and it doesn't do much. Should work fine if you just open up info.json and change the version number. If you just want actual day (i.e. solars produce constantly) that's even easier:
Code: Select all
/c for _,s in pairs(game.surfaces) do s.always_day=true end
Re: Simon's Lights / no night darkness
Posted: Sat Feb 22, 2020 4:23 pm
by Oktokolo
Someone
asked for an update for
Simon's Lights nine months ago and got no answer.
But the mod is MIT licensed and looks like it is trivial to update.
So you could fork it, change the info.json, test whether anything broke and publish the updated fork on the mod portal. Should be an easy entrance into modding.
Re: Simon's Lights / no night darkness
Posted: Sat Feb 22, 2020 6:01 pm
by 150d
It never occured to me that it would be this easy. You were right, a little editing was all it took (besides the version number a variable name had changed in v17, but this as well was an easy fix.)
I have it working now (I decided to keep the night/day change and not do a permanent day after all - more elegant.
)
So I need to read up on how to publish a fork, then we're all set.
Regards