Removes singularity interaction with snow tiles (#51703)

* Removes singularity interaction with snow tiles

* Makes planetary defs simplier
This commit is contained in:
LemonInTheDark
2020-06-19 11:57:16 -04:00
committed by GitHub
parent faf5ab843a
commit 35e0ccacb4
2 changed files with 18 additions and 17 deletions
+17 -16
View File
@@ -207,23 +207,24 @@
/turf/open/floor/singularity_pull(S, current_size)
..()
if(current_size == STAGE_THREE)
if(prob(30))
if(floor_tile)
new floor_tile(src)
make_plating(TRUE)
else if(current_size == STAGE_FOUR)
if(prob(50))
if(floor_tile)
new floor_tile(src)
make_plating(TRUE)
else if(current_size >= STAGE_FIVE)
if(floor_tile)
var/sheer = FALSE
switch(current_size)
if(STAGE_THREE)
if(prob(30))
sheer = TRUE
if(STAGE_FOUR)
if(prob(50))
sheer = TRUE
if(STAGE_FIVE to INFINITY)
if(prob(70))
new floor_tile(src)
make_plating(TRUE)
else if(prob(50))
ReplaceWithLattice()
sheer = TRUE
else if(prob(50) && (/turf/open/space in baseturfs))
ReplaceWithLattice()
if(sheer)
if(floor_tile)
make_plating(TRUE)
new floor_tile(src)
/turf/open/floor/narsie_act(force, ignore_mobs, probability = 20)
. = ..()
@@ -248,7 +248,7 @@
new floor.floor_tile(floor)
floor.broken = 0
floor.burnt = 0
floor.make_plating(1)
floor.make_plating(TRUE)
if(T.type == /turf/closed/wall && prob(15))
new /obj/effect/temp_visual/revenant(T)
T.ChangeTurf(/turf/closed/wall/rust)