// Management · RimWorld Mod
Photosynthesis Gene
This is a mod that adds 3 variants of a photosynthesis gene.
This is a mod that adds 3 variants of a photosynthesis gene.
They will help pawns survive with less food.
They will still have to eat, just less and will face restrictions if they haven't seen the sun in a while.
Why
This was mainly made for role-play reasons for my ent-colony and as an exercise.
How this works
Your pawn is given an additional need (for sunlight) and a permanent hediff (for chlorophyll).
The sunlight need will raise whenever on a tile that is at least 51% lit (so sunlamps work).
If the need is above 50%, the chlorophyll will start growing, if not it will shrink.
At its earliest stages, the chlorophyll will harm the user (increasing food consumption rate, reducing consciousness and move speed as well as causing pain).
Later on the negative effects will subside and only a hunger rate multiplier will stay (currently up to 70%/50%/0% with the weak/medium/extreme variant).
This does not currently influence pawn behavior (e.g. they don't seek out brightly lit spaces when the sunlight need is low).
If you have any ideas about how to balance this, please let me know!
Most of what the chlorophyll is doing can be changed in the XML, so feel free to modify.
Yes, the extreme variant lets you achieve a 0% hunger rate. Yes that is as broken as it sounds, so use with caution.
I've added the extreme one, as people asked for it and who am I to judge?
Overview
Impact of the Chlorophyll at various stages,
always "hunger rate offset"/"pain"/"consciousness"/"movement":
variant\stage
withered
waning (at 0.1)
patchy (at 0.3)
chipped (at 0.5)
healthy (at 0.7)
weak
1.5/.2/.9/.8
1.25/.1/.9/.8
1/0/.9/.8
.8/0/1/1
.7/0/1/1
medium
2/.3/.7/.4
1.5/.2/.8/.6
1/.1/.9/.8
.7/0/1/1
.5/0/1/1
extreme
(probably very broken)
5/.5/.5/.2
2/.3/.7/.5
1/.2/.9/.7
.5/.1/1/.9
0/0/1/1
E.g. medium chlorophyll that is currently in the waning stage (between 0.1 and 0.3 severity) is applying a hunger rate factor of 150%, 20% pain, 80% consciousness and 60% movement.
Better put your plants in the sun!