mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 08:11:11 +01:00
Merge branch 'release' of https://github.com/VOREStation/VOREStation into izac-voreupdate
This commit is contained in:
@@ -106,8 +106,8 @@ var/list/organ_cache = list()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
handle_organ_mod_special(TRUE)
|
||||
if(owner && vital)
|
||||
owner.death()
|
||||
owner.can_defib = 0
|
||||
owner.death()
|
||||
|
||||
/obj/item/organ/proc/adjust_germ_level(var/amount) // Unless you're setting germ level directly to 0, use this proc instead
|
||||
germ_level = CLAMP(germ_level + amount, 0, INFECTION_LEVEL_MAX)
|
||||
@@ -352,7 +352,7 @@ var/list/organ_cache = list()
|
||||
var/obj/item/organ/external/affected = owner.get_organ(parent_organ)
|
||||
if(affected) affected.internal_organs -= src
|
||||
|
||||
loc = get_turf(owner)
|
||||
forceMove(owner.drop_location())
|
||||
START_PROCESSING(SSobj, src)
|
||||
rejecting = null
|
||||
var/datum/reagent/blood/organ_blood = locate(/datum/reagent/blood) in reagents.reagent_list
|
||||
@@ -361,9 +361,10 @@ var/list/organ_cache = list()
|
||||
|
||||
if(owner && vital)
|
||||
if(user)
|
||||
add_attack_logs(user,owner,"Removed vital organ [src.name]")
|
||||
owner.death()
|
||||
owner.can_defib = 0
|
||||
add_attack_logs(user, owner, "Removed vital organ [src.name]")
|
||||
if(owner.stat != DEAD)
|
||||
owner.can_defib = 0
|
||||
owner.death()
|
||||
|
||||
handle_organ_mod_special(TRUE)
|
||||
|
||||
|
||||
@@ -1059,7 +1059,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
if(organ_can_feel_pain() && !isbelly(owner.loc))
|
||||
owner.emote("scream")
|
||||
|
||||
playsound(src.loc, "fracture", 10, 1, -2)
|
||||
playsound(src, "fracture", 10, 1, -2)
|
||||
status |= ORGAN_BROKEN
|
||||
broken_description = pick("broken","fracture","hairline fracture")
|
||||
|
||||
|
||||
@@ -131,9 +131,9 @@ var/global/list/limb_icon_cache = list()
|
||||
|
||||
/obj/item/organ/external/proc/get_icon(var/skeletal)
|
||||
|
||||
var/gender = "f"
|
||||
if(owner && owner.gender == MALE)
|
||||
gender = "m"
|
||||
var/gender = "m"
|
||||
if(owner && owner.gender == FEMALE)
|
||||
gender = "f"
|
||||
|
||||
icon_cache_key = "[icon_name]_[species ? species.get_bodytype() : SPECIES_HUMAN]" //VOREStation Edit
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
|
||||
/obj/item/organ/internal/mmi_holder/emp_act(severity)
|
||||
// ..() // VOREStation Edit - Don't take damage
|
||||
owner.adjustToxLoss(rand(6/severity, 12/severity))
|
||||
owner?.adjustToxLoss(rand(6/severity, 12/severity))
|
||||
|
||||
/obj/item/organ/internal/mmi_holder/posibrain
|
||||
name = "positronic brain interface"
|
||||
|
||||
Reference in New Issue
Block a user