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.
This commit is contained in:
Atlantis
2015-06-28 08:19:43 +02:00
parent eedbcee063
commit ef64187fc2
46 changed files with 970 additions and 49 deletions
@@ -0,0 +1,11 @@
/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
..()