mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Simulated to Unsimulated (#6410)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user