mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 09:31:13 +00:00
- 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.
11 lines
430 B
Plaintext
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
|
|
..() |