
# -> If player has low hygiene then display particles
execute if score @s OverlyRealistic.Player.Stats.Hygiene matches 0..15 run \
    particle dust{color:[0.000,0.361,0.047],scale:0.4} ~ ~0.5 ~ 0.3 1 0.3 0.01 5 normal @a[distance=..16]

# -> If player has <= 0 max stamina then reset it
execute if score @s OverlyRealistic.Player.Stats.MaxStamina matches ..0 \
    store result score @s OverlyRealistic.Player.Stats.MaxStamina run \
        random value 60..100
