Files
2025-02-05 06:19:18 +00:00

1 line
3.5 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/storage/volumetrics.dm - /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="code/__DEFINES/storage/volumetrics.html#define">Define Details</a></header><main><h1>code/__DEFINES/storage/volumetrics.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/storage/volumetrics.dm0"><img src="git.png" width="16" height="16" title="code/__DEFINES/storage/volumetrics.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/storage/volumetrics.html#define/AUTO_SCALE_VOLUME">AUTO_SCALE_VOLUME</a></th><td>Macro for automatically getting the volume of an item from its w_class.</td></tr><tr><th><a href="code/__DEFINES/storage/volumetrics.html#define/AUTO_SCALE_STORAGE_VOLUME">AUTO_SCALE_STORAGE_VOLUME</a></th><td>Macro for automatically getting the volume of a storage item from its max_w_class and max_combined_w_class.</td></tr><tr><th><a href="code/__DEFINES/storage/volumetrics.html#define/ITEM_VOLUME_DISK">ITEM_VOLUME_DISK</a></th><td>volume for a data disk</td></tr><tr><th><a href="code/__DEFINES/storage/volumetrics.html#define/ITEM_VOLUME_STRIPPER_CLIP">ITEM_VOLUME_STRIPPER_CLIP</a></th><td>volume for a shotgun stripper clip holding 4 shells</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/AUTO_SCALE_STORAGE_VOLUME"><aside class="declaration">#define </aside>AUTO_SCALE_STORAGE_VOLUME<aside>(w_class, max_combined_w_class)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/storage/volumetrics.dm#L22"><img src="git.png" width="16" height="16" title="code/__DEFINES/storage/volumetrics.dm 22"></a></h3><p>Macro for automatically getting the volume of a storage item from its max_w_class and max_combined_w_class.</p><h3 id="define/AUTO_SCALE_VOLUME"><aside class="declaration">#define </aside>AUTO_SCALE_VOLUME<aside>(w_class)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/storage/volumetrics.dm#L20"><img src="git.png" width="16" height="16" title="code/__DEFINES/storage/volumetrics.dm 20"></a></h3><p>Macro for automatically getting the volume of an item from its w_class.</p><h3 id="define/ITEM_VOLUME_DISK"><aside class="declaration">#define </aside>ITEM_VOLUME_DISK <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/storage/volumetrics.dm#L28"><img src="git.png" width="16" height="16" title="code/__DEFINES/storage/volumetrics.dm 28"></a></h3><p>volume for a data disk</p><h3 id="define/ITEM_VOLUME_STRIPPER_CLIP"><aside class="declaration">#define </aside>ITEM_VOLUME_STRIPPER_CLIP <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/storage/volumetrics.dm#L30"><img src="git.png" width="16" height="16" title="code/__DEFINES/storage/volumetrics.dm 30"></a></h3><p>volume for a shotgun stripper clip holding 4 shells</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>