glowstick ![code/game/objects/items/devices/flashlight.dm 768](git.png)
Vars | |
fuel_type | Type of reagent we add as fuel |
---|---|
max_fuel | How much max fuel we have |
oxygen_added | How much oxygen gets added upon cracking the stick. Doesn't actually produce a reaction with the fluid but it does allow for bootleg chemical "grenades" |
temp_per_fuel | How much temperature gets added for every unit of fuel burned down |
timer_id | The timer id powering our burning |
Procs | |
burn_down | Burns down the glowstick by the specified time Returns the amount of time we need to burn before a visual change will occur |
Var Details
fuel_type ![code/game/objects/items/devices/flashlight.dm 791](git.png)
Type of reagent we add as fuel
max_fuel ![code/game/objects/items/devices/flashlight.dm 785](git.png)
How much max fuel we have
oxygen_added ![code/game/objects/items/devices/flashlight.dm 787](git.png)
How much oxygen gets added upon cracking the stick. Doesn't actually produce a reaction with the fluid but it does allow for bootleg chemical "grenades"
temp_per_fuel ![code/game/objects/items/devices/flashlight.dm 789](git.png)
How much temperature gets added for every unit of fuel burned down
timer_id ![code/game/objects/items/devices/flashlight.dm 793](git.png)
The timer id powering our burning
Proc Details
burn_down
Burns down the glowstick by the specified time Returns the amount of time we need to burn before a visual change will occur