photosynthesis_revert ![code/datums/elements/photosynthesis_revert.dm 1](git.png)
Vars | |
attached_atoms | List of atoms this element is attached to. Doubles as a multiplier if the same element is attached multiple times to a target multiple times. |
---|---|
bonus_lum | the minimum lum count over which where the target damage is adjusted. |
light_bruteheal | how much brute damage (or integrity, for objects) is healed (taken if positive) at maximum luminosity. (if lum_minus were 0) |
light_burnheal | how much burn damage is restored/taken at maximum luminosity. Mobs only. |
light_nutrition_gain | how nutrition recovery/expenses factor, not affected by bonus_lum and malus_lum. Mobs only. |
light_oxyheal | how much oxy damage is restored/taken at maximum luminosity. Mobs only. |
light_toxheal | how much tox damage is restored/taken at maximum luminosity. Mobs only. |
lum_minus | A value subtracted to the lum count, which allows targets to wilt or heal in the darkness. |
malus_lum | the maximum lum count under which the target damage is inversely adjusted. |
Var Details
attached_atoms ![code/datums/elements/photosynthesis_revert.dm 23](git.png)
List of atoms this element is attached to. Doubles as a multiplier if the same element is attached multiple times to a target multiple times.
bonus_lum ![code/datums/elements/photosynthesis_revert.dm 17](git.png)
the minimum lum count over which where the target damage is adjusted.
light_bruteheal ![code/datums/elements/photosynthesis_revert.dm 5](git.png)
how much brute damage (or integrity, for objects) is healed (taken if positive) at maximum luminosity. (if lum_minus were 0)
light_burnheal ![code/datums/elements/photosynthesis_revert.dm 7](git.png)
how much burn damage is restored/taken at maximum luminosity. Mobs only.
light_nutrition_gain ![code/datums/elements/photosynthesis_revert.dm 13](git.png)
how nutrition recovery/expenses factor, not affected by bonus_lum and malus_lum. Mobs only.
light_oxyheal ![code/datums/elements/photosynthesis_revert.dm 11](git.png)
how much oxy damage is restored/taken at maximum luminosity. Mobs only.
light_toxheal ![code/datums/elements/photosynthesis_revert.dm 9](git.png)
how much tox damage is restored/taken at maximum luminosity. Mobs only.
lum_minus ![code/datums/elements/photosynthesis_revert.dm 15](git.png)
A value subtracted to the lum count, which allows targets to wilt or heal in the darkness.
malus_lum ![code/datums/elements/photosynthesis_revert.dm 19](git.png)
the maximum lum count under which the target damage is inversely adjusted.