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.
This commit is contained in:
Ryll Ryll
2023-01-22 16:38:30 -05:00
committed by GitHub
parent 51c3dc5082
commit 8f972705e8
+3
View File
@@ -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