Merge pull request #7211 from VOREStation/Arokha/talks

Talking, and other bugs
This commit is contained in:
Atermonera
2020-06-06 11:33:34 -07:00
committed by GitHub
7 changed files with 54 additions and 24 deletions
+6 -5
View File
@@ -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)
@@ -340,7 +340,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
@@ -349,9 +349,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)
+1 -1
View File
@@ -93,7 +93,7 @@
/obj/item/organ/internal/mmi_holder/emp_act(severity)
..()
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"