mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-20 19:42:34 +01:00
Removes mob generation on station z level
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user