More hostile mob work with behavior vars, getting rid of idle_env_destroyer nobody uses it, other tweaks

Conflicts:
	code/modules/mob/living/simple_animal/hostile/hostile.dm
	code/modules/mob/living/simple_animal/hostile/mining_mobs.dm
This commit is contained in:
Ergovisavi
2014-01-22 16:45:20 -05:00
committed by ZomgPonies
parent 78bea65a44
commit 7bd3df0b3b
5 changed files with 94 additions and 118 deletions
+6 -3
View File
@@ -124,10 +124,13 @@
/turf/simulated/wall/attack_animal(var/mob/living/simple_animal/M)
if(M.wall_smash)
if (istype(src, /turf/simulated/wall/r_wall))
M << text("\blue This wall is far too strong for you to destroy.")
return
if(M.wall_smash == 2)
dismantle_wall(1)
M << "<span class='info'>You smash through the wall.</span>"
else
M << "<span class='info'>This wall is far too strong for you to destroy.</span>"
else
M << text("\blue You smash through the wall.")
M << "<span class='info'>You smash through the wall.</span>"
dismantle_wall(1)
return