Files
GS13NG/datum/element/photosynthesis.html

1 line
6.7 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/element/photosynthesis - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="datum/element/photosynthesis.html#var">Var Details</a></header><main><h1>photosynthesis <aside>/<a href="datum.html">datum</a>/<a href="datum/element.html">element</a>/<a href="datum/element/photosynthesis.html">photosynthesis</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/photosynthesis.dm#L1"><img src="git.png" width="16" height="16" title="code/datums/elements/photosynthesis.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/element/photosynthesis.html#var/attached_atoms">attached_atoms</a></th><td>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.</td></tr><tr><th><a href="datum/element/photosynthesis.html#var/bonus_lum">bonus_lum</a></th><td>the minimum lum count over which where the target damage is adjusted.</td></tr><tr><th><a href="datum/element/photosynthesis.html#var/light_bruteheal">light_bruteheal</a></th><td>how much brute damage (or integrity, for objects) is healed (taken if positive) at maximum luminosity. (if lum_minus were 0)</td></tr><tr><th><a href="datum/element/photosynthesis.html#var/light_burnheal">light_burnheal</a></th><td>how much burn damage is restored/taken at maximum luminosity. Mobs only.</td></tr><tr><th><a href="datum/element/photosynthesis.html#var/light_nutrition_gain">light_nutrition_gain</a></th><td>how nutrition recovery/expenses factor, not affected by bonus_lum and malus_lum. Mobs only.</td></tr><tr><th><a href="datum/element/photosynthesis.html#var/light_oxyheal">light_oxyheal</a></th><td>how much oxy damage is restored/taken at maximum luminosity. Mobs only.</td></tr><tr><th><a href="datum/element/photosynthesis.html#var/light_toxheal">light_toxheal</a></th><td>how much tox damage is restored/taken at maximum luminosity. Mobs only.</td></tr><tr><th><a href="datum/element/photosynthesis.html#var/lum_minus">lum_minus</a></th><td>A value subtracted to the lum count, which allows targets to wilt or heal in the darkness.</td></tr><tr><th><a href="datum/element/photosynthesis.html#var/malus_lum">malus_lum</a></th><td>the maximum lum count under which the target damage is inversely adjusted.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/attached_atoms"><aside class="declaration">var </aside>attached_atoms <aside> /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/photosynthesis.dm#L23"><img src="git.png" width="16" height="16" title="code/datums/elements/photosynthesis.dm 23"></a></h3><p>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.</p><h3 id="var/bonus_lum"><aside class="declaration">var </aside>bonus_lum <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/photosynthesis.dm#L17"><img src="git.png" width="16" height="16" title="code/datums/elements/photosynthesis.dm 17"></a></h3><p>the minimum lum count over which where the target damage is adjusted.</p><h3 id="var/light_bruteheal"><aside class="declaration">var </aside>light_bruteheal <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/photosynthesis.dm#L5"><img src="git.png" width="16" height="16" title="code/datums/elements/photosynthesis.dm 5"></a></h3><p>how much brute damage (or integrity, for objects) is healed (taken if positive) at maximum luminosity. (if lum_minus were 0)</p><h3 id="var/light_burnheal"><aside class="declaration">var </aside>light_burnheal <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/photosynthesis.dm#L7"><img src="git.png" width="16" height="16" title="code/datums/elements/photosynthesis.dm 7"></a></h3><p>how much burn damage is restored/taken at maximum luminosity. Mobs only.</p><h3 id="var/light_nutrition_gain"><aside class="declaration">var </aside>light_nutrition_gain <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/photosynthesis.dm#L13"><img src="git.png" width="16" height="16" title="code/datums/elements/photosynthesis.dm 13"></a></h3><p>how nutrition recovery/expenses factor, not affected by bonus_lum and malus_lum. Mobs only.</p><h3 id="var/light_oxyheal"><aside class="declaration">var </aside>light_oxyheal <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/photosynthesis.dm#L11"><img src="git.png" width="16" height="16" title="code/datums/elements/photosynthesis.dm 11"></a></h3><p>how much oxy damage is restored/taken at maximum luminosity. Mobs only.</p><h3 id="var/light_toxheal"><aside class="declaration">var </aside>light_toxheal <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/photosynthesis.dm#L9"><img src="git.png" width="16" height="16" title="code/datums/elements/photosynthesis.dm 9"></a></h3><p>how much tox damage is restored/taken at maximum luminosity. Mobs only.</p><h3 id="var/lum_minus"><aside class="declaration">var </aside>lum_minus <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/photosynthesis.dm#L15"><img src="git.png" width="16" height="16" title="code/datums/elements/photosynthesis.dm 15"></a></h3><p>A value subtracted to the lum count, which allows targets to wilt or heal in the darkness.</p><h3 id="var/malus_lum"><aside class="declaration">var </aside>malus_lum <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/photosynthesis.dm#L19"><img src="git.png" width="16" height="16" title="code/datums/elements/photosynthesis.dm 19"></a></h3><p>the maximum lum count under which the target damage is inversely adjusted.</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html>