
# -> Spoil hotbar food
execute if items entity @s hotbar.0 #bundles run function overly_realistic:general/food/food_spoilage/spoil_from_loop/item_bundle_modify {slot:"hotbar.0"}
execute if items entity @s hotbar.1 #bundles run function overly_realistic:general/food/food_spoilage/spoil_from_loop/item_bundle_modify {slot:"hotbar.1"}
execute if items entity @s hotbar.2 #bundles run function overly_realistic:general/food/food_spoilage/spoil_from_loop/item_bundle_modify {slot:"hotbar.2"}
execute if items entity @s hotbar.3 #bundles run function overly_realistic:general/food/food_spoilage/spoil_from_loop/item_bundle_modify {slot:"hotbar.3"}
execute if items entity @s hotbar.4 #bundles run function overly_realistic:general/food/food_spoilage/spoil_from_loop/item_bundle_modify {slot:"hotbar.4"}
execute if items entity @s hotbar.5 #bundles run function overly_realistic:general/food/food_spoilage/spoil_from_loop/item_bundle_modify {slot:"hotbar.5"}
execute if items entity @s hotbar.6 #bundles run function overly_realistic:general/food/food_spoilage/spoil_from_loop/item_bundle_modify {slot:"hotbar.6"}
execute if items entity @s hotbar.7 #bundles run function overly_realistic:general/food/food_spoilage/spoil_from_loop/item_bundle_modify {slot:"hotbar.7"}
execute if items entity @s hotbar.8 #bundles run function overly_realistic:general/food/food_spoilage/spoil_from_loop/item_bundle_modify {slot:"hotbar.8"}
