Human zombies can force open doors (#32580)

* Update necro.dm

* headcrab

* Update necro.dm

* Update necro.dm

* Update necro.dm

* Update necro.dm

* Update necro.dm

* Update necro.dm

* Update death.dm
This commit is contained in:
adacovsk
2022-05-17 13:14:28 -04:00
committed by GitHub
parent 210806171e
commit d0677ceece
2 changed files with 11 additions and 10 deletions

View File

@@ -66,5 +66,6 @@
/mob/proc/resurrect()
living_mob_list |= src
dead_mob_list -= src
if(src.client)
clear_fullscreens()
verbs -= /mob/living/proc/butcher

View File

@@ -157,7 +157,7 @@
max_n2 = 0
minbodytemp = 0
environment_smash_flags = SMASH_LIGHT_STRUCTURES | SMASH_CONTAINERS
environment_smash_flags = SMASH_LIGHT_STRUCTURES | SMASH_CONTAINERS | OPEN_DOOR_WEAK | OPEN_DOOR_SMART
meat_type = null
/*
#define EVOLVING 1
@@ -207,8 +207,6 @@
max_n2 = 0
minbodytemp = 0
environment_smash_flags = SMASH_LIGHT_STRUCTURES | SMASH_CONTAINERS
var/times_revived //Tracks how many times the zombie has regenerated from death
var/times_eaten //Tracks how many times the zombie has chewed on a human corpse
var/can_evolve = FALSE //False if we don't want it to evolve
@@ -391,7 +389,7 @@
clothing.Remove(I)
..()
/mob/living/simple_animal/hostile/necro/zombie/turned //Not very useful
/mob/living/simple_animal/hostile/necro/zombie/turned
icon_state = "zombie_turned" //Looks almost not unlike just a naked guy to potentially catch others off guard
icon_living = "zombie_turned"
icon_dead = "zombie_turned"
@@ -399,6 +397,7 @@
maxHealth = 50
health = 50
can_evolve = TRUE
environment_smash_flags = SMASH_LIGHT_STRUCTURES | SMASH_CONTAINERS | OPEN_DOOR_WEAK | OPEN_DOOR_SMART
var/mob/living/carbon/human/host //Whoever the zombie was previously, kept in a reference to potentially bring back
var/being_unzombified = FALSE
@@ -479,7 +478,7 @@
maxHealth = 100
health = 100
can_evolve = 1
environment_smash_flags = SMASH_LIGHT_STRUCTURES | SMASH_CONTAINERS | OPEN_DOOR_WEAK
environment_smash_flags = SMASH_LIGHT_STRUCTURES | SMASH_CONTAINERS | OPEN_DOOR_WEAK | OPEN_DOOR_SMART
/mob/living/simple_animal/hostile/necro/zombie/rotting/check_evolve()
..()
@@ -653,7 +652,7 @@
icon_state = "ghoul"
icon_dead = "ghoul"
icon_living = "ghoul"
desc = "Suffering from onset decay from radiation exposure, this one has lost their mind, their soul, but not their hunger."
desc = "Suffering from onset decay from radiation exposure. They have lost their mind and soul, but not their hunger."
can_evolve = 0
canRegenerate = 0
@@ -664,7 +663,7 @@
melee_damage_upper = 20
attacktext = "punches"
attack_sound = "sound/weapons/punch1.ogg"
environment_smash_flags = SMASH_LIGHT_STRUCTURES | SMASH_CONTAINERS | OPEN_DOOR_WEAK
environment_smash_flags = SMASH_LIGHT_STRUCTURES | SMASH_CONTAINERS | OPEN_DOOR_STRONG
/mob/living/simple_animal/hostile/necro/zombie/ghoul/Life()
..()
@@ -691,7 +690,7 @@
melee_damage_lower = 15
melee_damage_upper = 25
environment_smash_flags = SMASH_LIGHT_STRUCTURES | SMASH_CONTAINERS | OPEN_DOOR_STRONG | OPEN_DOOR_SMART
var/last_rad_blast = 0
/mob/living/simple_animal/hostile/necro/zombie/ghoul/glowing_one/Life()
@@ -738,7 +737,7 @@
///////////////// HEADCRAB ZOMBIES ////////////////////
///////////////////////////////////////////////////////
/mob/living/simple_animal/hostile/necro/zombie/headcrab //Not very useful
/mob/living/simple_animal/hostile/necro/zombie/headcrab
icon_state = "zombie_headcrab"
icon_living = "zombie_headcrab"
icon_dead = "zombie_headcrab"
@@ -749,6 +748,7 @@
canRegenerate = 0
var/mob/living/carbon/human/host //Whoever the zombie was previously, kept in a reference to potentially bring back
var/obj/item/clothing/mask/facehugger/headcrab/crab //The crab controlling it.
environment_smash_flags = SMASH_LIGHT_STRUCTURES | SMASH_CONTAINERS | OPEN_DOOR_WEAK | OPEN_DOOR_SMART
/mob/living/simple_animal/hostile/necro/zombie/headcrab/New(loc, mob/living/Owner, var/mob/living/Victim, datum/mind/Controller)
..()