
# -> Reset adv trigger
advancement revoke @s only overly_realistic:items/consumption/eat_dirty_foods

# -> Sanity RNG
execute if score @s OverlyRealistic.Player.Stats.MentalHealth matches 1.. \
    if predicate overly_realistic:items/foods/rotten_flesh_sanity_decrease_rng run \
        function overly_realistic:players/mental_health/decrease_mental_health_by_1

# -> Food illness value
scoreboard players add @s OverlyRealistic.Player.FoodIllnessAmount 6
