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

# -> Add hygiene value
scoreboard players operation @s OverlyRealistic.Player.Stats.Hygiene += #or.central_value_set_hygiene OverlyRealistic.General.ArbitraryData

# -> Function tag
function #overly_realistic:mechanics/player_improve_hygiene

# -> Clamp
execute if score @s OverlyRealistic.Player.Stats.Hygiene matches 101.. run \
    scoreboard players set @s OverlyRealistic.Player.Stats.Hygiene 100
