Removes mob generation on station z level

This commit is contained in:
Jon
2018-12-03 20:07:09 +00:00
parent 4e4599e57b
commit c4ca03f97b
+4 -1
View File
@@ -47,6 +47,10 @@
if(!current_cell)
return 0
var/turf/simulated/mineral/T = locate((origin_x-1)+x,(origin_y-1)+y,origin_z)
//CHOMPStation Edit
if(T.z == MAP_LEVEL_STATION)
return
if(istype(T) && !T.ignore_mapgen)
if(map[current_cell] == FLOOR_CHAR)
T.make_floor() //VOREStation Edit - Don't make cracked sand on surface map, jerk.
@@ -55,7 +59,6 @@
//else
//T.ChangeTurf(/turf/space/cracked_asteroid)
//CHOMPStation Edit
if(rand(1, 100) == 1) // 1 in 100 chance
new /obj/structure/mob_spawner/scanner/mining_animals(T)
else