Id computer mostly complete

Various fixes and improvements.
This commit is contained in:
Shadowlight213
2016-08-08 00:40:03 -07:00
parent 596ff2b146
commit 6bb69d760e
16 changed files with 349 additions and 188 deletions
@@ -141,7 +141,6 @@
user << "It is damaged."
/obj/item/modular_computer/New()
machines += src
START_PROCESSING(SSmachine, src)
update_icon()
if(!physical)
@@ -150,9 +149,8 @@
/obj/item/modular_computer/Destroy()
kill_program(1)
machines.Remove(src)
STOP_PROCESSING(SSmachine, src)
for(var/H in src.get_all_components())
for(var/H in get_all_components())
var/obj/item/weapon/computer_hardware/CH = H
uninstall_component(null, CH)
qdel(CH)
@@ -52,7 +52,7 @@
/obj/machinery/modular_computer/console/preset/command/install_programs()
cpu.hard_drive.store_file(new/datum/computer_file/program/chatclient())
// cpu.hard_drive.store_file(new/datum/computer_file/program/card_mod())
cpu.hard_drive.store_file(new/datum/computer_file/program/card_mod())
// ===== CIVILIAN CONSOLE =====
/obj/machinery/modular_computer/console/preset/civilian