From 68b33a0e5ad75188140f1b695e84a7bfbcc981eb Mon Sep 17 00:00:00 2001 From: Lexanx <61974560+Lexanx@users.noreply.github.com> Date: Sat, 24 Feb 2024 23:15:54 +0300 Subject: [PATCH] rabota wolk --- .../subtypes/dev_exonet_connection_system.dm | 11 ++++++----- .../organs/internal/exonet_connection_system.dm | 9 ++++++--- code/modules/organs/internal/species/ipc.dm | 4 ++-- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/code/modules/modular_computers/computers/subtypes/dev_exonet_connection_system.dm b/code/modules/modular_computers/computers/subtypes/dev_exonet_connection_system.dm index 03ee976b78..d6ee397acc 100644 --- a/code/modules/modular_computers/computers/subtypes/dev_exonet_connection_system.dm +++ b/code/modules/modular_computers/computers/subtypes/dev_exonet_connection_system.dm @@ -17,17 +17,18 @@ exonets_ipc_computer = TRUE /obj/item/modular_computer/ecs/first - name = "exonet connection system of first generation" + name = "exonet connection system." hardware_flag = PROGRAM_TABLET + desc = "A cirquit with some ports and wires. Looks like it's for a first generation IPC" /obj/item/modular_computer/ecs/second - name = "exonet connection system of second generation" + name = "exonet connection system." hardware_flag = PROGRAM_TABLET - + desc = "A cirquit with some ports and wires. Looks like it's for a second generation IPC" /obj/item/modular_computer/ecs/third - name = "exonet connection system of third generation" + name = "exonet connection system." hardware_flag = PROGRAM_LAPTOP - + desc = "A cirquit with some ports and wires. Looks like it's for a third generation IPC" /obj/item/modular_computer/ecs/first/install_default_hardware() ..() diff --git a/code/modules/organs/internal/exonet_connection_system.dm b/code/modules/organs/internal/exonet_connection_system.dm index 7c896d36aa..bc37f1b93f 100644 --- a/code/modules/organs/internal/exonet_connection_system.dm +++ b/code/modules/organs/internal/exonet_connection_system.dm @@ -12,15 +12,18 @@ /obj/item/organ/internal/ecs/first_gen - name = "exonet connection port of first generation" + name = "exonet connection port." + desc = "The internal port is designed to establish communication between the positronic brain and the computer. It's a first generation connection port." computer = /obj/item/modular_computer/ecs/first /obj/item/organ/internal/ecs/second_gen - name = "exonet connection portof second generation" + name = "exonet connection port." + desc = "The internal port is designed to establish communication between the positronic brain and the computer. It's a second generation connection port." computer = /obj/item/modular_computer/ecs/second /obj/item/organ/internal/ecs/third_gen - name = "exonet connection portof third generation" + name = "exonet connection port." + desc = "The internal port is designed to establish communication between the positronic brain and the computer. It's a third generation connection port." computer = /obj/item/modular_computer/ecs/third diff --git a/code/modules/organs/internal/species/ipc.dm b/code/modules/organs/internal/species/ipc.dm index a9b3e09377..87a07beaea 100644 --- a/code/modules/organs/internal/species/ipc.dm +++ b/code/modules/organs/internal/species/ipc.dm @@ -389,13 +389,13 @@ /obj/item/organ/internal/shackles/afterattack(obj/item/organ/internal/posibrain/ipc/C, mob/user) if(istype(C)) - if(C == /obj/item/organ/internal/posibrain/ipc/third) + if(C.type == /obj/item/organ/internal/posibrain/ipc/third) to_chat(user, "This posibrain generattion cannot support shackle module.") return if(!newFreeFormLaw) to_chat(user, "No law detected on shackle module, please create one.") return - if(C.shackle = TRUE) + if(C.shackle == TRUE) to_chat(user, "This positronic brain already have shackles module on it installed.") return if(do_after(user, 80, src))