
# -> Add value
$scoreboard players add @s OverlyRealistic.Player.Stats.Fats $(amount)

# -> Advancement
advancement grant @s only overly_realistic:advancements/livelyhood/full_of_fats

# -> Clamp amount
execute if score @s OverlyRealistic.Player.Stats.Fats matches 51.. run \
    scoreboard players set @s OverlyRealistic.Player.Stats.Fats 50

# -> Remove debuff
attribute @s movement_speed modifier remove overly_realistic:low_fats_movement_speed_debuff
