
# -> Reset vars
scoreboard players reset @s OverlyRealistic.Player.WalkOneCm
scoreboard players reset @s OverlyRealistic.Player.SprintOneCm

# -> Return unless RNG passes
execute unless predicate overly_realistic:player/actions/intelligence_gain_from_mapping run \
    return fail

# -> Gain intelligence
function overly_realistic:players/intelligence/add_1_intelligence
