Files
+37 21b4095dfd [MDB IGNORE] [IDB IGNORE] Upstream Sync - 04/17/2026 (#5453)
Upstream 04/17/2026

fixes https://github.com/Bubberstation/Bubberstation/issues/5549

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com>
Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com>
Co-authored-by: rageguy505 <54517726+rageguy505@users.noreply.github.com>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Aliceee2ch <160794176+Aliceee2ch@users.noreply.github.com>
Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com>
Co-authored-by: Tsar-Salat <62388554+Tsar-Salat@users.noreply.github.com>
Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
Co-authored-by: Maxipat <108554989+Maxipat112@users.noreply.github.com>
Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com>
Co-authored-by: SimplyLogan <47579821+loganuk@users.noreply.github.com>
Co-authored-by: loganuk <fakeemail123@aol.com>
Co-authored-by: Leland Kemble <70413276+lelandkemble@users.noreply.github.com>
Co-authored-by: FalloutFalcon <86381784+FalloutFalcon@users.noreply.github.com>
Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com>
Co-authored-by: Lucy <lucy@absolucy.moe>
Co-authored-by: siliconOpossum <138069572+siliconOpossum@users.noreply.github.com>
Co-authored-by: Isratosh <Isratosh@hotmail.com>
Co-authored-by: TheRyeGuyWhoWillNowDie <70169560+TheRyeGuyWhoWillNowDie@users.noreply.github.com>
Co-authored-by: Neocloudy <88008002+Neocloudy@users.noreply.github.com>
Co-authored-by: Alexander V. <volas@ya.ru>
Co-authored-by: ElGitificador <168473461+ElGitificador@users.noreply.github.com>
Co-authored-by: Twaticus <46540570+Twaticus@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Iamgoofball <iamgoofball@gmail.com>
Co-authored-by: Layzu666 <121319428+Layzu666@users.noreply.github.com>
Co-authored-by: Arturlang <24881678+Arturlang@users.noreply.github.com>
Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com>
Co-authored-by: mrmanlikesbt <99309552+mrmanlikesbt@users.noreply.github.com>
Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com>
Co-authored-by: John F. Kennedy <54908920+MacaroniCritter@users.noreply.github.com>
Co-authored-by: Cursor <102828457+theselfish@users.noreply.github.com>
Co-authored-by: Josh <josh.adam.powell@gmail.com>
Co-authored-by: Josh Powell <josh.powell@softwire.com>
Co-authored-by: Yobrocharlie <Charliemiller5617@gmail.com>
Co-authored-by: Hardly3D <66234359+Hardly3D@users.noreply.github.com>
Co-authored-by: shayoki <96078776+shayoki@users.noreply.github.com>
Co-authored-by: LT3 <83487515+lessthnthree@users.noreply.github.com>
2026-05-16 00:56:00 +02:00

127 lines
3.5 KiB
Plaintext

/turf/open/misc/beach
name = "beach"
desc = "Sandy."
icon = 'icons/turf/sand.dmi'
flags_1 = NONE
bullet_bounce_sound = null
footstep = FOOTSTEP_SAND
barefootstep = FOOTSTEP_SAND
clawfootstep = FOOTSTEP_SAND
heavyfootstep = FOOTSTEP_GENERIC_HEAVY
rust_resistance = RUST_RESISTANCE_REINFORCED
leave_footprints = TRUE
/turf/open/misc/beach/Initialize(mapload)
. = ..()
add_lazy_fishing(/datum/fish_source/sand)
/turf/open/misc/beach/ex_act(severity, target)
if(fish_source)
GLOB.preset_fish_sources[fish_source].spawn_reward_from_explosion(src, severity)
return FALSE
/turf/open/misc/beach/add_footprint(mob/living/carbon/human/walker, movement_direction)
if(!SSmapping.level_trait(z, ZTRAIT_SANDSTORM))
return ..()
// if an active sand storm affecting this turf is currently in its main or wind down stage, skip footprint creation
for(var/datum/weather/sand_storm/active_weather in SSweather.processing)
if(active_weather.stage != MAIN_STAGE && active_weather.stage != WIND_DOWN_STAGE)
continue
if(!(loc in active_weather.impacted_areas))
continue
return
. = ..()
// when a sand storm enters its main stage, clear all of our footprints
for(var/sand_type in typesof(/datum/weather/sand_storm))
RegisterSignal(SSdcs, COMSIG_WEATHER_START(sand_type), PROC_REF(sand_clear_footprints), override = TRUE)
/turf/open/misc/beach/proc/sand_clear_footprints(datum/source, datum/weather/storm)
SIGNAL_HANDLER
if(!(loc in storm.impacted_areas))
return
clear_footprints()
for(var/sand_type in typesof(/datum/weather/sand_storm))
UnregisterSignal(SSdcs, COMSIG_WEATHER_START(sand_type))
/turf/open/misc/beach/sand
gender = PLURAL
name = "sand"
desc = "Surf's up."
icon_state = "sand"
base_icon_state = "sand"
baseturfs = /turf/open/misc/beach/sand
/turf/open/misc/beach/sand/Initialize(mapload)
. = ..()
if(prob(15))
icon_state = "sand[rand(1,4)]"
/turf/open/misc/beach/coast
name = "coastline"
desc = "Tide's high tonight. Charge your batons."
icon = 'icons/turf/beach.dmi'
icon_state = "beach"
base_icon_state = "beach"
footstep = FOOTSTEP_WATER
barefootstep = FOOTSTEP_WATER
clawfootstep = FOOTSTEP_WATER
heavyfootstep = FOOTSTEP_WATER
/turf/open/misc/beach/coast/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_MESSAGE_IN_A_BOTTLE_LOCATION, INNATE_TRAIT)
/turf/open/misc/beach/coast/break_tile()
. = ..()
icon_state = "beach"
/turf/open/misc/beach/coast/corner
icon_state = "beach-corner"
base_icon_state = "beach-corner"
/turf/open/misc/beach/coast/corner/break_tile()
. = ..()
icon_state = "beach-corner"
/turf/open/misc/sandy_dirt
gender = PLURAL
name = "dirt"
desc = "Upon closer examination, it's still dirt."
icon = 'icons/turf/floors.dmi'
damaged_dmi = 'icons/turf/damaged.dmi'
icon_state = "sand"
base_icon_state = "sand"
bullet_bounce_sound = null
footstep = FOOTSTEP_SAND
barefootstep = FOOTSTEP_SAND
clawfootstep = FOOTSTEP_SAND
heavyfootstep = FOOTSTEP_GENERIC_HEAVY
tiled_turf = FALSE
rust_resistance = RUST_RESISTANCE_ORGANIC
/turf/open/misc/sandy_dirt/break_tile()
. = ..()
icon_state = "sand_damaged"
/turf/open/misc/sandy_dirt/broken_states()
return list("sand_damaged")
/turf/open/misc/ironsand
gender = PLURAL
name = "iron sand"
desc = "Like sand, but more <i>iron</i>."
icon_state = "ironsand1"
base_icon_state = "ironsand1"
footstep = FOOTSTEP_SAND
barefootstep = FOOTSTEP_SAND
clawfootstep = FOOTSTEP_SAND
heavyfootstep = FOOTSTEP_GENERIC_HEAVY
/turf/open/misc/ironsand/Initialize(mapload)
. = ..()
icon_state = "ironsand[rand(1,15)]"