Skip to content

Commit

Permalink
rabota wolk
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexanx committed Feb 24, 2024
1 parent f515518 commit 68b33a0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
..()
Expand Down
9 changes: 6 additions & 3 deletions code/modules/organs/internal/exonet_connection_system.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
4 changes: 2 additions & 2 deletions code/modules/organs/internal/species/ipc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 68b33a0

Please sign in to comment.