1 line
4.9 KiB
HTML
1 line
4.9 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/data/vending_product - /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/data/vending_product.html#var">Var Details</a></header><main><h1>vending record datum <aside>/<a href="datum.html">datum</a>/<a href="datum/data/vending_product.html">data/vending_product</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/vending/_vending.dm#L23"><img src="git.png" width="16" height="16" title="code/modules/vending/_vending.dm 23"></a></h1><p>A datum that represents a product that is vendable</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/data/vending_product.html#var/age_restricted">age_restricted</a></th><td>Whether spessmen with an ID with an age below AGE_MINOR (20 by default) can buy this item</td></tr><tr><th><a href="datum/data/vending_product.html#var/amount">amount</a></th><td>How many of this product we currently have</td></tr><tr><th><a href="datum/data/vending_product.html#var/colorable">colorable</a></th><td>Whether the product can be recolored by the GAGS system</td></tr><tr><th><a href="datum/data/vending_product.html#var/custom_premium_price">custom_premium_price</a></th><td>Does the item have a custom premium price override</td></tr><tr><th><a href="datum/data/vending_product.html#var/custom_price">custom_price</a></th><td>Does the item have a custom price override</td></tr><tr><th><a href="datum/data/vending_product.html#var/max_amount">max_amount</a></th><td>How many we can store at maximum</td></tr><tr><th><a href="datum/data/vending_product.html#var/product_path">product_path</a></th><td>Typepath of the product that is created when this record "sells"</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/age_restricted"><aside class="declaration">var </aside>age_restricted <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/vending/_vending.dm#L36"><img src="git.png" width="16" height="16" title="code/modules/vending/_vending.dm 36"></a></h3><p>Whether spessmen with an ID with an age below AGE_MINOR (20 by default) can buy this item</p><h3 id="var/amount"><aside class="declaration">var </aside>amount <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/vending/_vending.dm#L28"><img src="git.png" width="16" height="16" title="code/modules/vending/_vending.dm 28"></a></h3><p>How many of this product we currently have</p><h3 id="var/colorable"><aside class="declaration">var </aside>colorable <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/vending/_vending.dm#L40"><img src="git.png" width="16" height="16" title="code/modules/vending/_vending.dm 40"></a></h3><p>Whether the product can be recolored by the GAGS system</p><h3 id="var/custom_premium_price"><aside class="declaration">var </aside>custom_premium_price <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/vending/_vending.dm#L34"><img src="git.png" width="16" height="16" title="code/modules/vending/_vending.dm 34"></a></h3><p>Does the item have a custom premium price override</p><h3 id="var/custom_price"><aside class="declaration">var </aside>custom_price <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/vending/_vending.dm#L32"><img src="git.png" width="16" height="16" title="code/modules/vending/_vending.dm 32"></a></h3><p>Does the item have a custom price override</p><h3 id="var/max_amount"><aside class="declaration">var </aside>max_amount <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/vending/_vending.dm#L30"><img src="git.png" width="16" height="16" title="code/modules/vending/_vending.dm 30"></a></h3><p>How many we can store at maximum</p><h3 id="var/product_path"><aside class="declaration">var </aside>product_path <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/vending/_vending.dm#L26"><img src="git.png" width="16" height="16" title="code/modules/vending/_vending.dm 26"></a></h3><p>Typepath of the product that is created when this record "sells"</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> |