
# -> Store building level
scoreboard players set #or.player_interaction_building_level_prep_plate OverlyRealistic.General.ArbitraryData 0
execute on target run \
    scoreboard players operation #or.player_interaction_building_level_prep_plate OverlyRealistic.General.ArbitraryData = @s OverlyRealistic.Player.WisdomStats.Building

# -> Cut log
execute align xyz \
    as @n[type=interaction,tag=OverlyRealistic.Block.PreparationPlate,dx=0,dy=0,dz=0] \
    at @s run \
        function overly_realistic:general/custom_blocks/preparation_plate/interactions/int_remove_all_items_cut_log

# -> Send tip
execute on target \
    unless score @s OverlyRealistic.Player.Tips.HasReceivedTip_ChopLogsIntoPlanks matches 1 \
    if score #or.setting.tips OverlyRealistic.Settings.ArbitrarySetting matches 1 \
    at @s run \
        function overly_realistic:players/tips/send_tip_chop_logs_into_planks
