space_heater ![code/game/machinery/spaceheater.dm 7](git.png)
Vars | |
cell | The cell we spawn with |
---|---|
display_panel | Should we add an overlay for open spaceheaters |
efficiency | How efficiently we can deliver that heat/cold (higher indicates less cell consumption) |
heating_energy | How much heat/cold we can deliver |
mode | What is the mode we are in now? |
on | Is the machine on? |
set_mode | Anything other than "heat" or "cool" is considered auto. |
settable_temperature_median | What's the middle point of our settable temperature (30 °C) |
settable_temperature_range | Range of temperatures above and below the median that we can set our target temperature (increase by upgrading the capacitors) |
target_temperature | The temperature we trying to get to |
temperature_tolerance | The amount of degrees above and below the target temperature for us to change mode to heater or cooler |
Procs | |
heating_examine | Returns the heating power of this machine as an examine |
Var Details
cell ![code/game/machinery/spaceheater.dm 23](git.png)
The cell we spawn with
display_panel ![code/game/machinery/spaceheater.dm 43](git.png)
Should we add an overlay for open spaceheaters
efficiency ![code/game/machinery/spaceheater.dm 35](git.png)
How efficiently we can deliver that heat/cold (higher indicates less cell consumption)
heating_energy ![code/game/machinery/spaceheater.dm 33](git.png)
How much heat/cold we can deliver
mode ![code/game/machinery/spaceheater.dm 27](git.png)
What is the mode we are in now?
on ![code/game/machinery/spaceheater.dm 25](git.png)
Is the machine on?
set_mode ![code/game/machinery/spaceheater.dm 29](git.png)
Anything other than "heat" or "cool" is considered auto.
settable_temperature_median ![code/game/machinery/spaceheater.dm 39](git.png)
What's the middle point of our settable temperature (30 °C)
settable_temperature_range ![code/game/machinery/spaceheater.dm 41](git.png)
Range of temperatures above and below the median that we can set our target temperature (increase by upgrading the capacitors)
target_temperature ![code/game/machinery/spaceheater.dm 31](git.png)
The temperature we trying to get to
temperature_tolerance ![code/game/machinery/spaceheater.dm 37](git.png)
The amount of degrees above and below the target temperature for us to change mode to heater or cooler
Proc Details
heating_examine
Returns the heating power of this machine as an examine