This commit is contained in:
silicons
2021-02-22 01:29:49 -07:00
parent 060c49b9a6
commit 67152f0a75
78 changed files with 480 additions and 482 deletions
@@ -92,7 +92,7 @@
ntnet_global.add_log("Manual override: Network blacklist cleared.")
return 1
/obj/machinery/ntnet_relay/New()
/obj/machinery/ntnet_relay/Initialize(mapload)
uid = gl_uid
gl_uid++
component_parts = list()
@@ -103,7 +103,7 @@
ntnet_global.relays.Add(src)
NTNet = ntnet_global
ntnet_global.add_log("New quantum relay activated. Current amount of linked relays: [NTNet.relays.len]")
..()
return ..()
/obj/machinery/ntnet_relay/Destroy()
if(ntnet_global)
@@ -41,14 +41,14 @@
/obj/item/modular_computer/proc/install_default_programs()
return 1
/obj/item/modular_computer/New()
/obj/item/modular_computer/Initialize(mapload)
. = ..()
START_PROCESSING(SSobj, src)
install_default_hardware()
if(hard_drive)
install_default_programs()
update_icon()
update_verbs()
..()
/obj/item/modular_computer/Destroy()
kill_program(1)
@@ -18,8 +18,8 @@
broken_damage = 150
w_class = ITEMSIZE_HUGE
/obj/item/modular_computer/telescreen/New()
..()
/obj/item/modular_computer/telescreen/Initialize(mapload)
. = ..()
// Allows us to create "north bump" "south bump" etc. named objects, for more comfortable mapping.
name = "telescreen"
@@ -56,4 +56,4 @@
screen_on = TRUE
to_chat(user, "You secure \the [src].")
return
..()
..()
@@ -162,6 +162,6 @@
stored_files = null
return ..()
/obj/item/computer_hardware/hard_drive/New()
/obj/item/computer_hardware/hard_drive/Initialize(mapload)
install_default_programs()
..()
return ..()
@@ -25,8 +25,8 @@ var/global/ntnet_card_uid = 1
if(ethernet)
to_chat(user, "OpenEth (Physical Connection) - Physical network connection port")
/obj/item/computer_hardware/network_card/New(var/l)
..(l)
/obj/item/computer_hardware/network_card/Initialize(mapload)
. = ..()
identification_id = ntnet_card_uid
ntnet_card_uid++
@@ -26,12 +26,12 @@
max_capacity = 256
origin_tech = list(TECH_DATA = 4)
/obj/item/computer_hardware/hard_drive/portable/New()
..()
/obj/item/computer_hardware/hard_drive/portable/Initialize(mapload)
. = ..()
stored_files = list()
recalculate_size()
/obj/item/computer_hardware/hard_drive/portable/Destroy()
if(holder2 && (holder2.portable_drive == src))
holder2.portable_drive = null
return ..()
return ..()