Files
GS13NG/datum/stack_recipe.html
2025-02-05 06:19:18 +00:00

1 line
7.5 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/stack_recipe - /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/stack_recipe.html#var">Var Details</a></header><main><h1>stack_recipe <aside>/<a href="datum.html">datum</a>/<a href="datum/stack_recipe.html">stack_recipe</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L5"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 5"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/stack_recipe.html#var/applies_mats">applies_mats</a></th><td>If TRUE, the created atom will gain custom mat datums</td></tr><tr><th><a href="datum/stack_recipe.html#var/max_res_amount">max_res_amount</a></th><td>Max amount of resulting atoms made</td></tr><tr><th><a href="datum/stack_recipe.html#var/on_floor">on_floor</a></th><td>If the atom requires a floor below</td></tr><tr><th><a href="datum/stack_recipe.html#var/one_per_turf">one_per_turf</a></th><td>If only one of the resulting atom is allowed per turf</td></tr><tr><th><a href="datum/stack_recipe.html#var/placement_checks">placement_checks</a></th><td>Bitflag of additional placement checks required to place. (STACK_CHECK_CARDINALS|STACK_CHECK_ADJACENT)</td></tr><tr><th><a href="datum/stack_recipe.html#var/req_amount">req_amount</a></th><td>Amount of stack required to make</td></tr><tr><th><a href="datum/stack_recipe.html#var/res_amount">res_amount</a></th><td>Amount of resulting atoms made</td></tr><tr><th><a href="datum/stack_recipe.html#var/result_type">result_type</a></th><td>What atom the recipe makes, typepath</td></tr><tr><th><a href="datum/stack_recipe.html#var/time">time</a></th><td>How long it takes to make</td></tr><tr><th><a href="datum/stack_recipe.html#var/title">title</a></th><td>The title of the recipe</td></tr><tr><th><a href="datum/stack_recipe.html#var/trait_booster">trait_booster</a></th><td>What trait, if any, boosts the construction speed of this item</td></tr><tr><th><a href="datum/stack_recipe.html#var/trait_modifier">trait_modifier</a></th><td>How much the trait above, if supplied, boosts the construct speed of this item</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/applies_mats"><aside class="declaration">var </aside>applies_mats <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L25"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 25"></a></h3><p>If TRUE, the created atom will gain custom mat datums</p><h3 id="var/max_res_amount"><aside class="declaration">var </aside>max_res_amount <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L15"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 15"></a></h3><p>Max amount of resulting atoms made</p><h3 id="var/on_floor"><aside class="declaration">var </aside>on_floor <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L21"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 21"></a></h3><p>If the atom requires a floor below</p><h3 id="var/one_per_turf"><aside class="declaration">var </aside>one_per_turf <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L19"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 19"></a></h3><p>If only one of the resulting atom is allowed per turf</p><h3 id="var/placement_checks"><aside class="declaration">var </aside>placement_checks <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L23"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 23"></a></h3><p>Bitflag of additional placement checks required to place. (STACK_CHECK_CARDINALS|STACK_CHECK_ADJACENT)</p><h3 id="var/req_amount"><aside class="declaration">var </aside>req_amount <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L11"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 11"></a></h3><p>Amount of stack required to make</p><h3 id="var/res_amount"><aside class="declaration">var </aside>res_amount <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L13"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 13"></a></h3><p>Amount of resulting atoms made</p><h3 id="var/result_type"><aside class="declaration">var </aside>result_type <aside> /<a href="atom.html">atom</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L9"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 9"></a></h3><p>What atom the recipe makes, typepath</p><h3 id="var/time"><aside class="declaration">var </aside>time <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L17"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 17"></a></h3><p>How long it takes to make</p><h3 id="var/title"><aside class="declaration">var </aside>title <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L7"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 7"></a></h3><p>The title of the recipe</p><h3 id="var/trait_booster"><aside class="declaration">var </aside>trait_booster <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L27"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 27"></a></h3><p>What trait, if any, boosts the construction speed of this item</p><h3 id="var/trait_modifier"><aside class="declaration">var </aside>trait_modifier <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/stacks/stack_recipe.dm#L29"><img src="git.png" width="16" height="16" title="code/game/objects/items/stacks/stack_recipe.dm 29"></a></h3><p>How much the trait above, if supplied, boosts the construct speed of this item</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>