mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Merge pull request #10500 from VOREStation/Arokha/orz
Makes mineral vars sensible
This commit is contained in:
committed by
Chompstation Bot
parent
1c3e965b5c
commit
346acd12fd
@@ -47,18 +47,19 @@
|
|||||||
if(!current_cell)
|
if(!current_cell)
|
||||||
return 0
|
return 0
|
||||||
var/turf/simulated/mineral/T = locate((origin_x-1)+x,(origin_y-1)+y,origin_z)
|
var/turf/simulated/mineral/T = locate((origin_x-1)+x,(origin_y-1)+y,origin_z)
|
||||||
if(istype(T) && !T.ignore_mapgen && !T.ignore_cavegen) //VOREStation Edit: ignore cavegen
|
//VOREStation Edit Start
|
||||||
if(map[current_cell] == FLOOR_CHAR)
|
if(istype(T) && !T.ignore_mapgen)
|
||||||
T.make_floor() //VOREStation Edit - Don't make cracked sand on surface map, jerk.
|
if(!T.ignore_cavegen)
|
||||||
//if(prob(90))
|
if(map[current_cell] == FLOOR_CHAR)
|
||||||
//T.make_floor()
|
T.make_floor()
|
||||||
//else
|
else
|
||||||
//T.ChangeTurf(/turf/space/cracked_asteroid)
|
T.make_wall()
|
||||||
else
|
|
||||||
T.make_wall()
|
if(T.density && !T.ignore_oregen)
|
||||||
if(map[current_cell] == DOOR_CHAR)
|
if(map[current_cell] == DOOR_CHAR)
|
||||||
T.make_ore()
|
T.make_ore()
|
||||||
else if(map[current_cell] == EMPTY_CHAR)
|
else if(map[current_cell] == EMPTY_CHAR)
|
||||||
T.make_ore(1)
|
T.make_ore(1)
|
||||||
get_additional_spawns(map[current_cell],T,get_spawn_dir(x, y))
|
get_additional_spawns(map[current_cell],T,get_spawn_dir(x, y))
|
||||||
|
//VOREStation Edit End
|
||||||
return T
|
return T
|
||||||
Reference in New Issue
Block a user