mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
1 line
5.4 KiB
HTML
1 line
5.4 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/item/flash - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="obj/item/flash.html#var">Var Details</a></header><main><h1>flash <aside>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/flash.html">flash</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/game/objects/items/devices/flash.dm#L1"><img src="git.png" width="16" height="16" title="code/game/objects/items/devices/flash.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/item/flash.html#var/battery_panel">battery_panel</a></th><td>Whether the flash can be modified with a cell or not</td></tr><tr><th><a href="obj/item/flash.html#var/broken">broken</a></th><td>Is the flash burnt out?</td></tr><tr><th><a href="obj/item/flash.html#var/can_overcharge">can_overcharge</a></th><td>Set this to FALSE if you don't want your flash to be overcharge capable</td></tr><tr><th><a href="obj/item/flash.html#var/flash_timer">flash_timer</a></th><td>A reference to the timer used to recharge. If we use it while it's on cooldown, we reset the cooling</td></tr><tr><th><a href="obj/item/flash.html#var/max_uses">max_uses</a></th><td>What is the max amount we can use this flash before it burns out</td></tr><tr><th><a href="obj/item/flash.html#var/overcharged">overcharged</a></th><td>If overcharged the flash will set people on fire then immediately burn out (does so even if it doesn't blind them).</td></tr><tr><th><a href="obj/item/flash.html#var/time_between_flashes">time_between_flashes</a></th><td>How long do we have between flashes</td></tr><tr><th><a href="obj/item/flash.html#var/times_used">times_used</a></th><td>How many times have we used the flash recently</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/battery_panel"><aside class="declaration">var </aside>battery_panel <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/game/objects/items/devices/flash.dm#L17"><img src="git.png" width="16" height="16" title="code/game/objects/items/devices/flash.dm 17"></a></h3><p>Whether the flash can be modified with a cell or not</p><h3 id="var/broken"><aside class="declaration">var </aside>broken <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/game/objects/items/devices/flash.dm#L15"><img src="git.png" width="16" height="16" title="code/game/objects/items/devices/flash.dm 15"></a></h3><p>Is the flash burnt out?</p><h3 id="var/can_overcharge"><aside class="declaration">var </aside>can_overcharge <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/game/objects/items/devices/flash.dm#L21"><img src="git.png" width="16" height="16" title="code/game/objects/items/devices/flash.dm 21"></a></h3><p>Set this to FALSE if you don't want your flash to be overcharge capable</p><h3 id="var/flash_timer"><aside class="declaration">var </aside>flash_timer <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/game/objects/items/devices/flash.dm#L27"><img src="git.png" width="16" height="16" title="code/game/objects/items/devices/flash.dm 27"></a></h3><p>A reference to the timer used to recharge. If we use it while it's on cooldown, we reset the cooling</p><h3 id="var/max_uses"><aside class="declaration">var </aside>max_uses <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/game/objects/items/devices/flash.dm#L25"><img src="git.png" width="16" height="16" title="code/game/objects/items/devices/flash.dm 25"></a></h3><p>What is the max amount we can use this flash before it burns out</p><h3 id="var/overcharged"><aside class="declaration">var </aside>overcharged <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/game/objects/items/devices/flash.dm#L19"><img src="git.png" width="16" height="16" title="code/game/objects/items/devices/flash.dm 19"></a></h3><p>If overcharged the flash will set people on fire then immediately burn out (does so even if it doesn't blind them).</p><h3 id="var/time_between_flashes"><aside class="declaration">var </aside>time_between_flashes <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/game/objects/items/devices/flash.dm#L29"><img src="git.png" width="16" height="16" title="code/game/objects/items/devices/flash.dm 29"></a></h3><p>How long do we have between flashes</p><h3 id="var/times_used"><aside class="declaration">var </aside>times_used <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/game/objects/items/devices/flash.dm#L23"><img src="git.png" width="16" height="16" title="code/game/objects/items/devices/flash.dm 23"></a></h3><p>How many times have we used the flash recently</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/edee60476d21ee840643bd1abe7f6003a8c65773">edee604</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |