
# -> Reset timer
scoreboard players reset @s OverlyRealistic.Player.StrengthTimer

# -> If strength has been maximized then return
execute if score @s OverlyRealistic.Player.Stats.Strength matches 20.. run \
    return run \
        scoreboard players set @s OverlyRealistic.Player.Stats.Strength 20

# -> Add to strength
execute store result storage overly_realistic:temp_values generic_value_0 int 1 run \
    scoreboard players add @s OverlyRealistic.Player.Stats.Strength 1

# -> Add strength modifier
function overly_realistic:players/misc/strength/add_strength_modifier with storage overly_realistic:temp_values
