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

# -> Increase carbs (precision)
scoreboard players set #or.central_value_set_carbs_precision OverlyRealistic.General.ArbitraryData 500
function overly_realistic:players/macronutrients/add_carbs_precision


# -> On RNG, hyrdrate player
scoreboard players set #or.central_value_set_thirst OverlyRealistic.General.ArbitraryData 1
execute if predicate overly_realistic:items/foods/sweet_berries_hydration_rng run \
    function overly_realistic:players/thirst/remove_hydration_from_generic

# -> On RNG, give player an illness
execute if predicate overly_realistic:player/illness/sweet_berries_illness_rng run \
    scoreboard players add @s OverlyRealistic.Player.FoodIllnessAmount 18
