From 71e4afa4f0acc39f6453b6057faa17ef4508b78a Mon Sep 17 00:00:00 2001 From: Will <7099514+Willburd@users.noreply.github.com> Date: Sat, 1 Nov 2025 22:53:48 -0400 Subject: [PATCH] Fix Ice Slipcode (#11896) --- code/game/turfs/simulated/outdoors/snow.dm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/code/game/turfs/simulated/outdoors/snow.dm b/code/game/turfs/simulated/outdoors/snow.dm index 6a0eb3d30e..ce34f5a0f9 100644 --- a/code/game/turfs/simulated/outdoors/snow.dm +++ b/code/game/turfs/simulated/outdoors/snow.dm @@ -52,6 +52,7 @@ desc = "Looks slippery." edge_blending_priority = 0 can_be_plated = FALSE + wet = TURFSLIP_ICE /turf/simulated/floor/outdoors/ice/dark name = "black ice" @@ -63,17 +64,6 @@ icon_state = "ice_dark_smooth" desc = "Dark rock that has been smoothened to be perfectly even. It's coated in a layer of slippey ice" -/turf/simulated/floor/outdoors/ice/Entered(var/mob/living/M) - if(isliving(M)) - if((M.weakened && prob(10)) || (M.m_intent == "walk" && prob(95))) - return ..() - addtimer(CALLBACK(src,TYPE_PROC_REF(/turf/simulated/floor/outdoors/ice,cause_slip),M), 1 * world.tick_lag, TIMER_DELETE_ME) -/turf/simulated/floor/outdoors/ice/cause_slip(var/mob/living/M) - if(M.weakened == 0) - to_chat(M, span_warning("You slide across the ice!")) - M.SetWeakened(3) - step(M,M.dir) - // Ice that is used for, say, areas floating on water or similar. /turf/simulated/floor/outdoors/shelfice name = "ice"