diff --git a/code/modules/mob/living/simple_animal/hostile/alien.dm b/code/modules/mob/living/simple_animal/hostile/alien.dm index 384963ff056..77a2d2eb766 100644 --- a/code/modules/mob/living/simple_animal/hostile/alien.dm +++ b/code/modules/mob/living/simple_animal/hostile/alien.dm @@ -34,7 +34,6 @@ minbodytemp = 0 heat_damage_per_tick = 20 - /mob/living/simple_animal/hostile/alien/drone name = "alien drone" icon_state = "aliend_running" diff --git a/code/modules/mob/living/simple_animal/hostile/creature.dm b/code/modules/mob/living/simple_animal/hostile/creature.dm index 614095277c7..f3eea3c044c 100644 --- a/code/modules/mob/living/simple_animal/hostile/creature.dm +++ b/code/modules/mob/living/simple_animal/hostile/creature.dm @@ -12,3 +12,4 @@ attacktext = "chomps" attack_sound = 'sound/weapons/bite.ogg' faction = "creature" + diff --git a/code/modules/mob/living/simple_animal/hostile/hostile.dm b/code/modules/mob/living/simple_animal/hostile/hostile.dm index f8262ce8832..a4ea513b719 100644 --- a/code/modules/mob/living/simple_animal/hostile/hostile.dm +++ b/code/modules/mob/living/simple_animal/hostile/hostile.dm @@ -11,6 +11,7 @@ var/move_to_delay = 2 //delay for the automated movement. var/list/friends = list() var/vision_range = 10 + var/idle_env_destroyer = 1 stop_automated_movement_when_pulled = 0 /mob/living/simple_animal/hostile/proc/FindTarget() @@ -45,7 +46,8 @@ /mob/living/simple_animal/hostile/proc/GiveTarget(var/new_target) target = new_target - stance = HOSTILE_STANCE_ATTACK + if(target != null || src.idle_env_destroyer == 1) + stance = HOSTILE_STANCE_ATTACK return /mob/living/simple_animal/hostile/proc/Goto(var/target, var/delay) diff --git a/code/modules/mob/living/simple_animal/hostile/pirate.dm b/code/modules/mob/living/simple_animal/hostile/pirate.dm index 10b744a1f06..913693cd899 100644 --- a/code/modules/mob/living/simple_animal/hostile/pirate.dm +++ b/code/modules/mob/living/simple_animal/hostile/pirate.dm @@ -33,6 +33,7 @@ var/weapon1 = /obj/item/weapon/melee/energy/sword/pirate faction = "pirate" + idle_env_destroyer = 0 /mob/living/simple_animal/hostile/pirate/ranged name = "Pirate Gunner" diff --git a/code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm b/code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm index 283849d5896..023815cfd49 100644 --- a/code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm +++ b/code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm @@ -36,4 +36,4 @@ maxbodytemp = 370 heat_damage_per_tick = 15 //amount of damage applied if animal's body temperature is higher than maxbodytemp cold_damage_per_tick = 10 //same as heat_damage_per_tick, only if the bodytemperature it's lower than minbodytemp - unsuitable_atoms_damage = 10 + unsuitable_atoms_damage = 10 \ No newline at end of file diff --git a/code/modules/mob/living/simple_animal/hostile/russian.dm b/code/modules/mob/living/simple_animal/hostile/russian.dm index 04e16208787..e1d545bba44 100644 --- a/code/modules/mob/living/simple_animal/hostile/russian.dm +++ b/code/modules/mob/living/simple_animal/hostile/russian.dm @@ -32,6 +32,7 @@ unsuitable_atoms_damage = 15 faction = "russian" status_flags = CANPUSH + idle_env_destroyer = 0 /mob/living/simple_animal/hostile/russian/ranged diff --git a/code/modules/mob/living/simple_animal/hostile/syndicate.dm b/code/modules/mob/living/simple_animal/hostile/syndicate.dm index a9fce0633f2..bee74b1dd7d 100644 --- a/code/modules/mob/living/simple_animal/hostile/syndicate.dm +++ b/code/modules/mob/living/simple_animal/hostile/syndicate.dm @@ -34,6 +34,7 @@ wall_smash = 1 faction = "syndicate" status_flags = CANPUSH + idle_env_destroyer = 0 /mob/living/simple_animal/hostile/syndicate/Die() ..()