Files
Aurora.3/code/modules/modular_computers/hardware/hardware.dm
Atlantis ef64187fc2 Initial (buggy) implementation
- Implements modular computers, starting with single program (power monitoring console)
- Implements most hardware. Some is still TBD, but the important stuff is in place
- Implements file-based system. Currently two file types exist, programs, which have NanoUI/Topic() interaction with user and data files, which may be used to store string of data.
2015-06-28 08:19:43 +02:00

11 lines
430 B
Plaintext

/datum/computer_hardware/
var/name = "Hardware"
var/desc = "Unknown Hardware"
var/obj/machinery/modular_computer/holder = null
var/power_usage = 0 // If the hardware uses extra power, change this.
var/enabled = 1 // If the hardware is turned off set this to 0.
var/critical = 1 // Prevent disabling for important component, like the HDD.
/datum/computer_hardware/New(var/obj/machinery/modular_computer/L)
holder = L
..()