From 8f972705e80034df8544f670da36d3601d952d57 Mon Sep 17 00:00:00 2001 From: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com> Date: Sun, 22 Jan 2023 16:38:30 -0500 Subject: [PATCH] You can no longer climb ladders from anchored buckleables (#72808) This PR prevents you from climbing ladders while buckled to something that is anchored. You can still climb while buckled to non-anchored things like wheelchairs or people. --- code/game/objects/structures/ladders.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/objects/structures/ladders.dm b/code/game/objects/structures/ladders.dm index 76a6cdadea0..391280745b2 100644 --- a/code/game/objects/structures/ladders.dm +++ b/code/game/objects/structures/ladders.dm @@ -94,6 +94,9 @@ if(going_up ? !up : !down) balloon_alert(user, "can't go any further [going_up ? "up" : "down"]") return + if(user.buckled && user.buckled.anchored) + balloon_alert(user, "buckled to something anchored!") + return if(travel_time) INVOKE_ASYNC(src, PROC_REF(start_travelling), user, going_up) else