Files
Bubberstation/code/game/turfs/open/ashplanet.dm
FalloutFalconandGitHub c36bcabe8b Non-tiled floor dont have tiled water overlays (#93853)
## About The Pull Request
changes tiled_dirt to just tiled_turf and expands its use slightly to be
the "i have a 2x2 tile sprite"
<img width="864" height="691" alt="image"
src="https://github.com/user-attachments/assets/78a7ba96-fffe-42e1-9eef-35b96b22481b"
/>


https://github.com/user-attachments/assets/7a273302-a331-48b2-a06f-d65bddf13bfd

## Why It's Good For The Game
its silly for things that arent visually tiled to use the tiled water
sprite
## Changelog
🆑
fix: stuff like carpet and wood tiles dont use the 2x2 tiled sprite
fix: similarly, floors that dont use the tiled sprite now can have
permafrost sprites (as they are not tiled)
/🆑
2025-11-09 23:59:27 +01:00

75 lines
2.2 KiB
Plaintext

/turf/open/misc/ashplanet
icon = 'icons/turf/mining.dmi'
gender = PLURAL
name = "ash"
icon_state = "ash"
base_icon_state = "ash"
smoothing_flags = SMOOTH_BITMASK | SMOOTH_BORDER
desc = "The ground is covered in volcanic ash."
baseturfs = /turf/open/misc/ashplanet/wateryrock //I assume this will be a chasm eventually, once this becomes an actual surface
initial_gas_mix = LAVALAND_DEFAULT_ATMOS
planetary_atmos = TRUE
footstep = FOOTSTEP_SAND
barefootstep = FOOTSTEP_SAND
clawfootstep = FOOTSTEP_SAND
heavyfootstep = FOOTSTEP_GENERIC_HEAVY
tiled_turf = FALSE
rust_resistance = RUST_RESISTANCE_ORGANIC
var/smooth_icon = 'icons/turf/floors/ash.dmi'
/turf/open/misc/ashplanet/Initialize(mapload)
. = ..()
if(smoothing_flags & SMOOTH_BITMASK)
var/matrix/M = new
M.Translate(-4, -4)
transform = M
icon = smooth_icon
icon_state = "[icon_state]-[smoothing_junction]"
/turf/open/misc/ashplanet/break_tile()
return
/turf/open/misc/ashplanet/burn_tile()
return
/turf/open/misc/ashplanet/ash
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_FLOOR_ASH
canSmoothWith = SMOOTH_GROUP_FLOOR_ASH + SMOOTH_GROUP_CLOSED_TURFS
layer = HIGH_TURF_LAYER
slowdown = 1
/turf/open/misc/ashplanet/rocky
gender = PLURAL
name = "rocky ground"
icon_state = "rockyash"
base_icon_state = "rocky_ash"
smooth_icon = 'icons/turf/floors/rocky_ash.dmi'
layer = MID_TURF_LAYER
smoothing_groups = SMOOTH_GROUP_TURF_OPEN + SMOOTH_GROUP_FLOOR_ASH_ROCKY
canSmoothWith = SMOOTH_GROUP_FLOOR_ASH_ROCKY + SMOOTH_GROUP_CLOSED_TURFS
footstep = FOOTSTEP_FLOOR
barefootstep = FOOTSTEP_HARD_BAREFOOT
clawfootstep = FOOTSTEP_HARD_CLAW
heavyfootstep = FOOTSTEP_GENERIC_HEAVY
/turf/open/misc/ashplanet/wateryrock
gender = PLURAL
name = "wet rocky ground"
smoothing_flags = NONE
icon_state = "wateryrock"
base_icon_state = "wateryrock"
slowdown = 2
footstep = FOOTSTEP_FLOOR
barefootstep = FOOTSTEP_HARD_BAREFOOT
clawfootstep = FOOTSTEP_HARD_CLAW
heavyfootstep = FOOTSTEP_GENERIC_HEAVY
rust_resistance = RUST_RESISTANCE_ORGANIC
/turf/open/misc/ashplanet/wateryrock/Initialize(mapload)
icon_state = "[icon_state][rand(1, 9)]"
. = ..()
/turf/open/misc/ashplanet/wateryrock/lavaland_atmos
initial_gas_mix = LAVALAND_DEFAULT_ATMOS