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

# -> Add hygiene value
scoreboard players remove @s OverlyRealistic.Player.Stats.Hygiene 1

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

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