modular_computer ![code/modules/modular_computers/computers/machinery/modular_computer.dm 3](git.png)
Vars | |
base_active_power_usage | Power usage when the computer is open (screen is active) and can be interacted with. Remember hardware can use power too. |
---|---|
base_idle_power_usage | Power usage when the computer is idle and screen is off (currently only applies to laptops) |
cpu | CPU that handles most logic while this type only handles power and other specific things. |
hardware_flag | A flag that describes this device type |
icon_state_powered | Icon state when the computer is turned on. |
icon_state_unpowered | Icon state when the computer is turned off. |
last_power_usage | Power usage during last tick |
light_strength | Light luminosity when turned on |
max_hardware_size | Maximal hardware size. Currently, tablets have 1, laptops 2 and consoles 3. Limits what hardware types can be installed. |
screen_icon_screensaver | Icon state overlay when the computer is powered, but not 'switched on'. |
screen_icon_state_menu | Icon state overlay when the computer is turned on, but no program is loaded that would override the screen. |
steel_sheet_cost | Amount of steel sheets refunded when disassembling an empty frame of this computer. |
Procs | |
relay_icon_update | Eats the "source" arg because update_icon actually expects args now. |
Var Details
base_active_power_usage ![code/modules/modular_computers/computers/machinery/modular_computer.dm 36](git.png)
Power usage when the computer is open (screen is active) and can be interacted with. Remember hardware can use power too.
base_idle_power_usage ![code/modules/modular_computers/computers/machinery/modular_computer.dm 38](git.png)
Power usage when the computer is idle and screen is off (currently only applies to laptops)
cpu ![code/modules/modular_computers/computers/machinery/modular_computer.dm 41](git.png)
CPU that handles most logic while this type only handles power and other specific things.
hardware_flag ![code/modules/modular_computers/computers/machinery/modular_computer.dm 16](git.png)
A flag that describes this device type
icon_state_powered ![code/modules/modular_computers/computers/machinery/modular_computer.dm 24](git.png)
Icon state when the computer is turned on.
icon_state_unpowered ![code/modules/modular_computers/computers/machinery/modular_computer.dm 22](git.png)
Icon state when the computer is turned off.
last_power_usage ![code/modules/modular_computers/computers/machinery/modular_computer.dm 18](git.png)
Power usage during last tick
light_strength ![code/modules/modular_computers/computers/machinery/modular_computer.dm 34](git.png)
Light luminosity when turned on
max_hardware_size ![code/modules/modular_computers/computers/machinery/modular_computer.dm 30](git.png)
Maximal hardware size. Currently, tablets have 1, laptops 2 and consoles 3. Limits what hardware types can be installed.
screen_icon_screensaver ![code/modules/modular_computers/computers/machinery/modular_computer.dm 28](git.png)
Icon state overlay when the computer is powered, but not 'switched on'.
screen_icon_state_menu ![code/modules/modular_computers/computers/machinery/modular_computer.dm 26](git.png)
Icon state overlay when the computer is turned on, but no program is loaded that would override the screen.
steel_sheet_cost ![code/modules/modular_computers/computers/machinery/modular_computer.dm 32](git.png)
Amount of steel sheets refunded when disassembling an empty frame of this computer.
Proc Details
relay_icon_update
Eats the "source" arg because update_icon actually expects args now.