Skip to content

Commit

Permalink
Похоже что всё готово
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexanx committed Mar 23, 2024
1 parent f4459ea commit 19b94ba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 4 additions & 0 deletions code/modules/organs/internal/species/ipc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@
if(!brainmob && H)
init(H)
robotize()
// [SIERRA-REMOVE] - IPC_MODS
/*
unshackle()
*/
// [/SIERRA-REMOVE]
update_icon()
if (!is_processing)
START_PROCESSING(SSobj, src)
Expand Down
15 changes: 8 additions & 7 deletions mods/ipc_mods/code/ipc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,28 @@


/obj/item/organ/internal/posibrain/ipc
name = "IPC positronic brain"
name = "Positronic brain"
desc = "A cube of shining metal, four inches to a side and covered in shallow grooves."

/obj/item/organ/internal/posibrain/ipc/attack_self(mob/user)
return
/obj/item/organ/internal/posibrain/ipc/attack_ghost(mob/observer/ghost/user)
return

/obj/item/organ/internal/posibrain/ipc/first
name = "positronic brain of the first generation"
desc = "A cube of shining metal, four inches to a side and covered in shallow grooves. It's a first generation positronic brain."
icon = 'mods/ipc_mods/icons/ipc_icons.dmi'
icon_state = "posibrain1"
status = ORGAN_ROBOTIC

/obj/item/organ/internal/posibrain/ipc/second
name = "positronic brain of the second generation"
desc = "A cube of shining metal, four inches to a side and covered in shallow grooves. It's a second generation positronic brain."
icon = 'mods/ipc_mods/icons/ipc_icons.dmi'
icon_state = "posibrain2"
status = ORGAN_ROBOTIC

/obj/item/organ/internal/posibrain/ipc/third
name = "positronic brain of the third generation"
desc = "A cube of shining metal, four inches to a side and covered in shallow grooves. It's a third generation positronic brain."
icon = 'mods/ipc_mods/icons/ipc_icons.dmi'
icon_state = "posibrain3"
shackles_module = /obj/item/organ/internal/shackles
Expand All @@ -41,7 +42,7 @@
icon_state = "posibrain1"

ClearOverlays()
if(shackle)
if(shackle || shackles_module)
AddOverlays(image('mods/ipc_mods/icons/ipc_icons.dmi', "posibrain-shackles"))

/obj/item/organ/internal/posibrain/ipc/second/on_update_icon()
Expand All @@ -51,7 +52,7 @@
icon_state = "posibrain2"

ClearOverlays()
if(shackle)
if(shackle || shackles_module)
AddOverlays(image('mods/ipc_mods/icons/ipc_icons.dmi', "posibrain-shackles"))

/obj/item/organ/internal/posibrain/ipc/third/on_update_icon()
Expand All @@ -61,7 +62,7 @@
icon_state = "posibrain3"

ClearOverlays()
if(shackle)
if(shackle || shackles_module)
AddOverlays(image('mods/ipc_mods/icons/ipc_icons.dmi', "posibrain-shackles"))


Expand Down
5 changes: 0 additions & 5 deletions mods/ipc_mods/code/machine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,3 @@
.=..()
if(istype(usr,/mob/living/silicon/sil_brainmob))
return


/mob/remove_from_mob(obj/O, atom/target) //Костыль для избежания рантайма, потом придумаю как пофиксить
if(O.type == /obj/item/organ/internal/shackles/)
return

0 comments on commit 19b94ba

Please sign in to comment.