Enlighten
(https://i.imgur.com/Dif7yW9.png)
Why not build some lamps?
You are encouraged to build those, because darkness will make your pawns slower.
(http://i.imgur.com/YOuvIWX.png)
Light does matter
You must walk carefully in a place full of darkness. So do your pawns. They move slower in darkness.
In contrast, bright places provide nice working environment. Manipulation will go 20% in brightly lit areas. You must use sunlamps instead of standing lamps to achieve this.
(http://i.imgur.com/RpnPFFp.png)
(http://i.imgur.com/XEAiSka.png) (http://steamcommunity.com/sharedfiles/filedetails/?id=754773948)
B18 (https://github.com/notfood/RimWorld-Enlighten/releases/download/0.18.1.0/Enlighten_0.18.1.0.zip)Older Releases (https://github.com/notfood/RimWorld-Enlighten/releases)(http://i.imgur.com/0OTbohs.png)
- Latta, original mod (https://ludeon.com/forums/index.php?topic=11171.msg111224#msg111224)
Nice to see this updated. Thank you.
Interesting, adds a new dynamic to lights. Thanks for the update.
I actually thought it was native to Rimworld lol.
Quote from: Zakhad on August 15, 2016, 08:24:51 PM
I actually thought it was native to Rimworld lol.
I did as well after playing hardcore-sk a few months back :p
Quote from: SmartererThanYou on August 15, 2016, 09:15:22 PM
Quote from: Zakhad on August 15, 2016, 08:24:51 PM
I actually thought it was native to Rimworld lol.
I did as well after playing hardcore-sk a few months back :p
So, we with notfood back it again ::)
Wait, Sunlamps it´s not too much? You can´t put them in ceilings :c
Can't put them in the ceiling? Time to mod some sunlamps then!
i think you should get a slight bonus for being in a slightly lit area, like if it were lit by normal standing lamps, but sun lamps give an even greater boost.
Hey, forgot about this mod! I loved this mod back in A12. =)
Enlighten 0.14.0.3 (https://ludeon.com/forums/index.php?action=dlattach;topic=24427.0;attach=15281)
- Fixes dirty hediffs causing index out of bounds errors.
[attachment deleted by admin - too old]
Enlighten 0.14.1.0 (https://ludeon.com/forums/index.php?action=dlattach;topic=24427.0;attach=15280)
- Changes everything about the mod
- No longer a ThoughtWorker, it's a HediffGiver. More accurate, less buggy... maybe.
- Introduces the EnlightenDef, that allows you to put any Hediff on the pawn given a range of glow defined by the inclusive range between glowMin and glowMax. These are the default definitions but you can change anything about them <Enlighten.Def>
<defName>Bright</defName>
<hediff>Enlighten_Bright</hediff>
<glowMin>0.9</glowMin>
<glowMax>1.0</glowMax>
</Enlighten.Def>
<Enlighten.Def>
<defName>Dark</defName>
<hediff>Enlighten_Dark</hediff>
<glowMin>0.0</glowMin>
<glowMax>0.3</glowMax>
</Enlighten.Def>
[attachment deleted by admin - too old]
Enlighten 0.15.1.0 (https://ludeon.com/forums/index.php?action=dlattach;topic=24427.0;attach=15373)
accidentally forgot to edit About.xml
Uploaded to steam too.
[attachment deleted by admin - too old]
Love this mod :).
Hey notfood, since I am thinking of reviving my Vampire mod I was also thinking of adding in a light weakness system by using your Enlighten code to make it work, am I allowed to do that? I will give full credit to you as you are the original author of the code I would be using if you allow me to do this :) .
I uploaded it on git.
https://github.com/notfood/RimWorld-Enlighten
You are free to do whatever. Code is derivate from Ludeon so...
About your idea, it's easy to make a Hediff that only affects vampires and just use Enlighten to put it.
Alright cool! You're already a mile ahead with this idea! :D
Just a tiny question though considering I just learnt how dlls work, do you reckon it would be possible to add a severity def tag so the effects get worse after a while?
That's part of the Heddiff. Enlighten is a Hediffgiver.
You can use the ticks since you have gotten the heddiff to increase the severity over time (inside the Hediff).
Hey notfood, I'm just about to release my Vampire mod, so I'm just wondering if you are still okay for me to use your Enlighten assembly to allow the day/night weaknesses/boosts to happen, again I will gladly give full credit to you if you allow me to use this :)
Yes go ahead.
By the way, if you keep the class names the same it may conflict. So change the package name if you are going to add the whole thing to your dll. If it's going to be the same dll just have Enlighten as a hard dependency.
A16 Release Enlighten 0.16.1.0 (https://ludeon.com/forums/index.php?action=dlattach;topic=24427.0;attach=17242)
Quite simple to update. I see a lot of things were added to Hediffs for A16, mainly comps, a lot of posibilities opened.
[attachment deleted by admin due to age]
Quote from: notfood on December 13, 2016, 12:50:15 AM
A16 Release Enlighten 0.16.1.0 (https://ludeon.com/forums/index.php?action=dlattach;topic=24427.0;attach=17242)
Quite simple to update. I see a lot of things were added to Hediffs for A16, mainly comps, a lot of posibilities opened.
Been using it on my latest game. Works well and it makes sense.
One thing I don't like is that if colonists are sleeping and I turn the lights off, they still get the negative effects to mood. It should be that when they are sleeping they should want the lights off not on.
I used to use Enlighten with Darkness and Darkness Revamp, but I guess those went out? And I can't find realistic darkness. So do you know of any other mod that changes light levels to an appropriate level? For Atmosphere?
Hey, is there any chance I could get another link to the A15 version? The forums keep throwing me to an error page. Only seems to happen for that specific link, A16 downloads fine. Thanks! :-D
It's here. Attached.
Quote from: Beathrus on December 27, 2016, 09:32:37 PM
I used to use Enlighten with Darkness and Darkness Revamp, but I guess those went out? And I can't find realistic darkness. So do you know of any other mod that changes light levels to an appropriate level? For Atmosphere?
I don't know where it went. I liked that one too, it's in the HardcoreSK for A16, release soon[ŧm].
[attachment deleted by admin due to age]
Quote from: notfood on December 27, 2016, 11:14:40 PM
It's here. Attached.
Quote from: Beathrus on December 27, 2016, 09:32:37 PM
I used to use Enlighten with Darkness and Darkness Revamp, but I guess those went out? And I can't find realistic darkness. So do you know of any other mod that changes light levels to an appropriate level? For Atmosphere?
I don't know where it went. I liked that one too, it's in the HardcoreSK for A16, release soon[ŧm].
True.. But If its in HardcoreSK that means its mixed with a bunch of other mods and such, doesn't it?
Quote from: notfood on December 27, 2016, 11:14:40 PM
It's here. Attached.
Haha, thanks! This mod interacts in some interesting ways. I have a pawn with a peg leg and a taste for smokeleaf. Normally that isn't an issue, just makes her super slow, but now... When she lights up and steps into a dark hallway, she can't help but fall on her ass and requires rescue (drops her moving to 15%). I laugh every time I see the rescue alert. :-D
A17 Release Enlighten 0.17.1.0 (https://github.com/notfood/RimWorld-Enlighten/releases/download/0.17.1.0/Enlighten_0.17.1.0.zip)
Nothing new. Just recompiled for new version.
Hi, notfood!
First of all, this is a great mod and I'm sure it MUST be implemented in the core game. Thank you so much!
But?)) ..would you care to revisit these two issues mentioned in the thread:
1. Why sunlamps? People don't do photosynthesis. For us, reaction to light is about visibility and psychology, so any source of light bright enough will do, don't you think?
2. Darkness should not affect sleeping people. It's a minor thing though.
Thanks again, and good luck!
I love the IDEA of your mod but it REALLY needs to affect manipulation in darkeness too. It seems so obvious that darkness should affect work ability just like brightness enhances it. It means we need to illuminate work areas at night which is something this mod really should bring to the game.
IIRC much older versions (A12? A14?) used to affect manipulation, but because manipulation limits stack sizes during hauling, it can sometimes be annoying. =)
bug- caravans will still have dark environment debuff, even if the caravan is in daytime. i think it wil lstick with the caravan if the caravn leaves from a dark spot on the map or durign nighttime. http://i.imgur.com/fkMeQ8M.jpg