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

# -> Sanity RNG
execute if predicate overly_realistic:items/foods/spoiled_food_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

# -> Add hunger
effect give @s hunger 3 1 true
