mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Xenowork Prep For Future (#6491)
* Xenowork, weeds walls and material blobs. * More weeds * XenoUpdoots * Stop that, me.
This commit is contained in:
@@ -14,6 +14,7 @@ var/list/organ_cache = list()
|
||||
var/vital // Lose a vital limb, die immediately.
|
||||
var/damage = 0 // Current damage to the organ
|
||||
var/robotic = 0
|
||||
var/stapled_nerves = FALSE
|
||||
|
||||
// Reference data.
|
||||
var/mob/living/carbon/human/owner // Current mob owning the organ.
|
||||
@@ -431,6 +432,8 @@ var/list/organ_cache = list()
|
||||
return 0
|
||||
if(robotic && robotic < ORGAN_LIFELIKE) //Super fancy humanlike robotics probably have sensors, or something?
|
||||
return 0
|
||||
if(stapled_nerves)
|
||||
return 0
|
||||
return 1
|
||||
|
||||
/obj/item/organ/proc/handle_organ_mod_special(var/removed = FALSE) // Called when created, transplanted, and removed.
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
var/burn_dam = 0 // Actual current burn damage.
|
||||
var/last_dam = -1 // used in healing/processing calculations.
|
||||
var/spread_dam = 0
|
||||
var/thick_skin = 0 // If a needle has a chance to fail to penetrate.
|
||||
|
||||
// Appearance vars.
|
||||
var/nonsolid // Snowflake warning, reee. Used for slime limbs.
|
||||
|
||||
@@ -63,3 +63,9 @@
|
||||
cannot_amputate = 1
|
||||
cannot_break = 1
|
||||
dislocated = -1
|
||||
|
||||
/obj/item/organ/external/head/no_eyes/indestructible
|
||||
cannot_gib = 1
|
||||
cannot_amputate = 1
|
||||
cannot_break = 1
|
||||
dislocated = -1
|
||||
|
||||
@@ -137,3 +137,79 @@
|
||||
if(ishuman(owner))
|
||||
H = owner
|
||||
color = H.species.blood_color
|
||||
|
||||
|
||||
// XENOMORPH EXTERNAL ORGANS
|
||||
|
||||
/obj/item/organ/external/chest/unseverable/xeno
|
||||
cannot_gib = 1
|
||||
cannot_amputate = 1
|
||||
thick_skin = TRUE
|
||||
|
||||
/obj/item/organ/external/groin/unseverable/xeno
|
||||
cannot_gib = 1
|
||||
cannot_amputate = 1
|
||||
encased = TRUE
|
||||
thick_skin = TRUE
|
||||
|
||||
/obj/item/organ/external/arm/unseverable/xeno
|
||||
cannot_gib = 1
|
||||
cannot_amputate = 1
|
||||
stapled_nerves = TRUE
|
||||
encased = TRUE
|
||||
thick_skin = TRUE
|
||||
|
||||
/obj/item/organ/external/arm/right/unseverable/xeno
|
||||
cannot_gib = 1
|
||||
cannot_amputate = 1
|
||||
stapled_nerves = TRUE
|
||||
encased = TRUE
|
||||
thick_skin = TRUE
|
||||
|
||||
/obj/item/organ/external/leg/unseverable/xeno
|
||||
cannot_gib = 1
|
||||
cannot_amputate = 1
|
||||
stapled_nerves = TRUE
|
||||
encased = TRUE
|
||||
thick_skin = TRUE
|
||||
|
||||
/obj/item/organ/external/leg/right/unseverable/xeno
|
||||
cannot_gib = 1
|
||||
cannot_amputate = 1
|
||||
stapled_nerves = TRUE
|
||||
encased = TRUE
|
||||
thick_skin = TRUE
|
||||
|
||||
/obj/item/organ/external/foot/unseverable/xeno
|
||||
cannot_gib = 1
|
||||
cannot_amputate = 1
|
||||
stapled_nerves = TRUE
|
||||
encased = TRUE
|
||||
thick_skin = TRUE
|
||||
|
||||
/obj/item/organ/external/foot/right/unseverable/xeno
|
||||
cannot_gib = 1
|
||||
cannot_amputate = 1
|
||||
stapled_nerves = TRUE
|
||||
encased = TRUE
|
||||
thick_skin = TRUE
|
||||
|
||||
/obj/item/organ/external/hand/unseverable/xeno
|
||||
cannot_gib = 1
|
||||
cannot_amputate = 1
|
||||
stapled_nerves = TRUE
|
||||
encased = TRUE
|
||||
thick_skin = TRUE
|
||||
|
||||
/obj/item/organ/external/hand/right/unseverable/xeno
|
||||
cannot_gib = 1
|
||||
cannot_amputate = 1
|
||||
stapled_nerves = TRUE
|
||||
encased = TRUE
|
||||
thick_skin = TRUE
|
||||
|
||||
/obj/item/organ/external/head/unseverable/xeno
|
||||
cannot_gib = 1
|
||||
cannot_amputate = 1
|
||||
thick_skin = TRUE
|
||||
eye_icon = "blank_eyes"
|
||||
|
||||
Reference in New Issue
Block a user