mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
Zombie Rebalance (#31658)
* tumor * 45 to 40 seconds * Update zombie_virus.dm Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> --------- Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
This commit is contained in:
co-authored by
PollardTheDragon
parent
06d982e0f4
commit
5825696ff3
@@ -0,0 +1,19 @@
|
||||
/obj/item/organ/internal/zombietumor
|
||||
name = "necrotic tumor"
|
||||
desc = "A tiny cluster of foul-smelling mushrooms which feed on and manipulate brain matter."
|
||||
icon = 'icons/obj/hydroponics/harvest.dmi'
|
||||
icon_state = "chanterelle"
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
parent_organ = "head"
|
||||
slot = "brain_tumor"
|
||||
destroy_on_removal = TRUE
|
||||
|
||||
/obj/item/organ/internal/zombietumor/remove(mob/living/carbon/M, special = 0)
|
||||
for(var/datum/disease/zombie/D in M.viruses)
|
||||
D.cure()
|
||||
var/mob/living/carbon/human/H = M
|
||||
for(var/obj/item/organ/limb as anything in H.bodyparts)
|
||||
if(limb.status & ORGAN_DEAD && !limb.is_robotic())
|
||||
limb.status &= ~ORGAN_DEAD
|
||||
H.update_body()
|
||||
return ..()
|
||||
@@ -293,6 +293,11 @@
|
||||
extracting = organs[I]
|
||||
if(!extracting)
|
||||
return SURGERY_BEGINSTEP_SKIP
|
||||
if(extracting && extracting.owner)
|
||||
var/obj/item/organ/external/affected = extracting.owner.get_organ(target_zone)
|
||||
if(affected && affected.internal_organs)
|
||||
if(istype(extracting, /obj/item/organ/internal/zombietumor))
|
||||
src.time = 40 SECONDS
|
||||
user.visible_message(
|
||||
"[user] starts to separate [target]'s [I] with [tool].",
|
||||
"You start to separate [target]'s [I] with [tool] for removal.",
|
||||
|
||||
Reference in New Issue
Block a user