mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 04:32:42 +00:00
Polaris-able surgery fix
This commit is contained in:
@@ -13,22 +13,22 @@
|
|||||||
return affected && affected.open == (affected.encased ? 3 : 2) && !(affected.status & ORGAN_BLEEDING)
|
return affected && affected.open == (affected.encased ? 3 : 2) && !(affected.status & ORGAN_BLEEDING)
|
||||||
|
|
||||||
proc/get_max_wclass(var/obj/item/organ/external/affected)
|
proc/get_max_wclass(var/obj/item/organ/external/affected)
|
||||||
switch (affected.name)
|
switch (affected.organ_tag)
|
||||||
if ("head")
|
if (BP_HEAD)
|
||||||
return 1
|
return ITEMSIZE_TINY
|
||||||
if ("upper body")
|
if (BP_TORSO)
|
||||||
return 3
|
return ITEMSIZE_NORMAL
|
||||||
if ("lower body")
|
if (BP_GROIN)
|
||||||
return 2
|
return ITEMSIZE_SMALL
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
proc/get_cavity(var/obj/item/organ/external/affected)
|
proc/get_cavity(var/obj/item/organ/external/affected)
|
||||||
switch (affected.name)
|
switch (affected.organ_tag)
|
||||||
if ("head")
|
if (BP_HEAD)
|
||||||
return "cranial"
|
return "cranial"
|
||||||
if ("upper body")
|
if (BP_TORSO)
|
||||||
return "thoracic"
|
return "thoracic"
|
||||||
if ("lower body")
|
if (BP_GROIN)
|
||||||
return "abdominal"
|
return "abdominal"
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user