Simulated to Unsimulated (#6410)

This commit is contained in:
Werner
2019-05-19 16:22:54 +02:00
committed by GitHub
parent 132825cdae
commit 6d8a94d408
55 changed files with 416 additions and 403 deletions
@@ -229,12 +229,12 @@
if(target.loc == src.loc)
return 0
var/turf/T = get_turf(target.loc)
if(!istype(T,/turf/simulated/floor/asteroid))
if(!istype(T,/turf/unsimulated/floor/asteroid))
return 0
if(locate(/mob/living/simple_animal/hostile/lesserworm) in T)
return 0
spawn_delay = world.time + spawn_time
var/turf/simulated/floor/asteroid/A = T
var/turf/unsimulated/floor/asteroid/A = T
var/mob/living/simple_animal/hostile/lesserworm/L = new /mob/living/simple_animal/hostile/lesserworm(A)
if(A.dug < 1)
A.gets_dug()