
# -> Reset should_drop_compost
scoreboard players set #or.should_drop_compost OverlyRealistic.General.ArbitraryData 0

# -> Operate on player
execute on target run \
    function overly_realistic:general/custom_blocks/composter/player_interact_with_composter_full

# -> If should_drop_compost = 0 then return
execute if score #or.should_drop_compost OverlyRealistic.General.ArbitraryData matches 0 run \
    return fail

# -> Drop compost
function overly_realistic:general/custom_blocks/composter/composter_interact/composter_full/drop_compost
