Merge pull request #7987 from VOREStation/Arokha/talks

Talking changes
This commit is contained in:
Aronai Sieyes
2020-05-20 16:09:40 -04:00
committed by GitHub
6 changed files with 57 additions and 23 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)
@@ -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)
+1 -1
View File
@@ -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"