Files
GS13NG/obj/machinery/smartfridge.html
2025-02-05 06:19:18 +00:00

1 line
3.6 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>/obj/machinery/smartfridge - /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="obj/machinery/smartfridge.html#var">Var Details</a> - <a href="obj/machinery/smartfridge.html#proc">Proc Details</a></header><main><h1>smartfridge <aside>/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/smartfridge.html">smartfridge</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm#L4"><img src="git.png" width="16" height="16" title="code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm 4"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/machinery/smartfridge.html#var/max_n_of_items">max_n_of_items</a></th><td>What path boards used to construct it should build into when dropped. Needed so we don't accidentally have them build variants with items preloaded in them.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/machinery/smartfridge.html#proc/attackby">attackby</a></th><td>Item Adding</td></tr><tr><th><a href="obj/machinery/smartfridge.html#proc/dispense">dispense</a></th><td>Really simple proc, just moves the object &quot;O&quot; into the hands of mob &quot;M&quot; if able, done so I could modify the proc a little for the organ fridge</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/max_n_of_items"><aside class="declaration">var </aside>max_n_of_items <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm#L17"><img src="git.png" width="16" height="16" title="code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm 17"></a></h3><p>What path boards used to construct it should build into when dropped. Needed so we don't accidentally have them build variants with items preloaded in them.</p><h2 id="proc">Proc Details</h2><h3 id="proc/attackby">attackby<aside>(/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/O, /<a href="mob.html">mob</a>/user, params) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm#L72"><img src="git.png" width="16" height="16" title="code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm 72"></a></aside></h3><p>Item Adding</p><h3 id="proc/dispense"><aside class="declaration">proc </aside>dispense<aside>(/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/O, /<a href="mob.html">mob</a>/M) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm#L162"><img src="git.png" width="16" height="16" title="code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm 162"></a></aside></h3><p>Really simple proc, just moves the object &quot;O&quot; into the hands of mob &quot;M&quot; if able, done so I could modify the proc a little for the organ fridge</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>