
# --> Spoil [shelves]

# -> Do spoilage
execute as @e[type=marker,tag=OverlyRealistic.Block.ContainerIsShelf,x=0] \
    at @s run \
        function overly_realistic:general/food/food_spoilage/spoil_from_loop/spoil_31_b

# -> Schedule next spoilage
schedule function overly_realistic:general/food/food_spoilage/spoil_from_loop/spoil_32_a 1t
