
# -> Reset climb count
scoreboard players set @s OverlyRealistic.Player.ClimbLadder 0

# -> Decrease stamina
scoreboard players remove #or.global OverlyRealistic.Player.Stats.Stamina 2

# -> Add to climb ladder
scoreboard players add @s OverlyRealistic.Player.ClimbLadder_Exhaustion 1

# -> Altitude checks
execute if entity @s[y=100,dy=9999] run \
    scoreboard players remove @s OverlyRealistic.Player.Stats.Stamina 1
execute if entity @s[y=200,dy=9999] run \
    scoreboard players remove @s OverlyRealistic.Player.Stats.Stamina 1
execute if entity @s[y=300,dy=9999] run \
    scoreboard players remove @s OverlyRealistic.Player.Stats.Stamina 1
