Ruins UT should not randomly allow broken ruins to pass the test anymore (#18406)

* sdfa

* pain

* hb

* sdaf

* hjkb

* fsda

* sdaf

* sdfa

* dfg

* safd

* gdfg

* sadfas

* even in death we serve the omnissiah

* asdf

* sfad

* sadf
This commit is contained in:
Fluffy
2024-02-15 16:21:22 +00:00
committed by GitHub
parent 7cc77777d3
commit ebbe79d457
34 changed files with 2207 additions and 3287 deletions
@@ -0,0 +1,46 @@
/turf/simulated/floor/exoplanet/abyss
name = "abyss"
desc = "It stares back at you."
icon = 'icons/turf/smooth/abyss.dmi'
smoothing_flags = SMOOTH_TRUE | SMOOTH_BORDER | SMOOTH_NO_CLEAR_ICON
smoothing_hints = SMOOTHHINT_CUT_F | SMOOTHHINT_ONLY_MATCH_TURF | SMOOTHHINT_TARGETS_NOT_UNIQUE
icon_state = "smooth"
var/static/list/forbidden_types = typecacheof(list(
/obj/singularity,
/obj/structure/lattice,
/obj/item/projectile,
/obj/effect
))
/turf/simulated/floor/exoplanet/abyss/Initialize()
. = ..()
icon_state = "Fill"
/turf/simulated/floor/exoplanet/abyss/Entered(atom/movable/AM, atom/oldloc)
if(is_type_in_typecache(forbidden_types))
return TRUE
else if(istype(AM, /mob/living))
var/mob/living/L = AM
if(locate(/obj/structure/lattice, src)) // Should be safe to walk upon.
return TRUE
if(!L.CanAvoidGravity())
L.visible_message(SPAN_DANGER("\The [L] falls into \the [src]."), SPAN_DANGER("You plummet down into \the [src]!"))
L.death()
if(L)
L.loc = null
qdel(L)
else
return TRUE
else if(istype(AM, /obj/item))
var/obj/item/I = AM
I.visible_message(SPAN_DANGER("\The [I] falls into \the [src]."))
qdel(I)
else
..()
/turf/simulated/floor/exoplanet/abyss/is_open()
return TRUE
@@ -0,0 +1,9 @@
/turf/simulated/floor/exoplanet/asphalt
name = "asphalt"
desc = "Once-hot asphalt."
icon = 'icons/turf/flooring/urban_turfs.dmi'
icon_state = "asphalt0"
/turf/simulated/floor/exoplanet/asphalt/Initialize(mapload)
. = ..()
icon_state = "asphalt[rand(0,3)]"
@@ -0,0 +1,21 @@
/turf/simulated/floor/exoplanet/carpet
name = "carpet"
icon = 'icons/turf/flooring/carpet.dmi'
icon_state = "carpet"
tile_outline = "carpet"
broken_overlay = "carpet"
initial_flooring = /singleton/flooring/carpet
footstep_sound = /singleton/sound_category/carpet_footstep
/turf/simulated/floor/exoplanet/carpet/art
icon_state = "artcarpet"
initial_flooring = /singleton/flooring/carpet/art
/turf/simulated/floor/exoplanet/carpet/darkblue
icon_state = "blue1"
initial_flooring = /singleton/flooring/carpet/darkblue
/turf/simulated/floor/exoplanet/carpet/rubber
name = "rubber carpet"
icon_state = "rub_carpet"
initial_flooring = /singleton/flooring/carpet/rubber
@@ -4,3 +4,12 @@
icon = 'icons/turf/flooring/concrete.dmi'
icon_state = "concrete0"
does_footprint = FALSE
/turf/simulated/floor/exoplanet/concrete/square
icon_state = "concrete3"
tile_outline = "tiled"
tile_decal_state = "tiled_light"
tile_outline_alpha = 125
broken_overlay = "tiled"
burned_overlay = "tiled"
initial_flooring = /singleton/flooring/concrete/square
@@ -0,0 +1,9 @@
/turf/simulated/floor/exoplanet/foundation
name = "foundation"
desc = "The unclean but highly compacted solid foundation for a building or structure."
icon = 'icons/turf/flooring/urban_turfs.dmi'
icon_state = "rust"
/turf/simulated/floor/exoplanet/foundation/Initialize(mapload)
. = ..()
icon_state = "rust[rand(1,12)]"
@@ -0,0 +1,13 @@
/turf/simulated/floor/exoplanet/lino
name = "linoleum"
icon = 'icons/turf/flooring/linoleum.dmi'
icon_state = "lino_preview"
initial_flooring = /singleton/flooring/linoleum
tile_outline = "linoleum"
/turf/simulated/floor/exoplanet/lino/diamond
icon_state = "lino_diamond_preview"
initial_flooring = /singleton/flooring/linoleum/diamond
tile_outline = "tiled"
broken_overlay = "tiled"
burned_overlay = "tiled"
@@ -0,0 +1,4 @@
/turf/simulated/floor/exoplanet/plating
icon = 'icons/turf/flooring/plating.dmi'
icon_state = "plating"
footstep_sound = /singleton/sound_category/plating_footstep
@@ -0,0 +1,24 @@
/turf/simulated/floor/exoplanet/sidewalk
name = "weathered tiling"
desc = "Great for speeding on."
icon = 'icons/turf/flooring/urban_turfs.dmi'
icon_state = "sidewalk-tile"
/turf/simulated/floor/exoplanet/sidewalk/blocks
name = "blocked sidewalk tiles"
icon_state = "blocks"
/turf/simulated/floor/exoplanet/sidewalk/dark
icon_state = "sidewalk_alt"
/turf/simulated/floor/exoplanet/sidewalk/flat
name = "flat paved tiles"
icon_state = "flat"
/turf/simulated/floor/exoplanet/sidewalk/flat/Initialize(mapload)
. = ..()
icon_state = "flat[rand(1,3)]"
/turf/simulated/floor/exoplanet/sidewalk/paved
name = "paved tiles"
icon_state = "brick-paver"
@@ -0,0 +1,43 @@
/turf/simulated/floor/exoplanet/tiled
name = "steel tiles"
icon = 'icons/turf/flooring/tiles.dmi'
icon_state = "tiled_preview"
initial_flooring = /singleton/flooring/tiling
tile_outline = "tiled"
tile_decal_state = "tiled_light"
tile_outline_alpha = 125
broken_overlay = "tiled"
burned_overlay = "tiled"
/turf/simulated/floor/exoplanet/tiled/dark
name = "plasteel tiles"
icon_state = "dark_preview"
initial_flooring = /singleton/flooring/tiling/dark
tile_decal_state = "dark_light"
/turf/simulated/floor/exoplanet/tiled/dark/full
name = "full plasteel tile"
icon_state = "monotile_dark_preview"
initial_flooring = /singleton/flooring/tiling/dark/full
tile_outline = "monotile"
tile_decal_state = "monotile_dark_light"
broken_overlay = null
burned_overlay = null
/turf/simulated/floor/exoplanet/tiled/full
name = "full steel tile"
icon_state = "monotile_preview"
initial_flooring = /singleton/flooring/tiling/mono
tile_outline = "monotile"
tile_decal_state = "monotile_light"
broken_overlay = null
burned_overlay = null
/turf/simulated/floor/exoplanet/tiled/white
name = "white floor"
icon_state = "white_preview"
tile_outline_alpha = 75
tile_decal_state = "white"
initial_flooring = /singleton/flooring/tiling/white
broken_overlay = null
burned_overlay = null
@@ -0,0 +1,13 @@
/turf/simulated/floor/exoplanet/wood
name = "wooden floor"
icon = 'icons/turf/flooring/tiles.dmi'
icon_state = "wood_preview"
initial_flooring = /singleton/flooring/wood
footstep_sound = /singleton/sound_category/wood_footstep
tile_outline = "wood"
tile_decal_state = "wood"
broken_overlay = "wood"
tile_outline_alpha = 75
/turf/simulated/floor/exoplanet/wood/bamboo
initial_flooring = /singleton/flooring/wood/bamboo