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

# -> If player used nails then operate
execute if items entity 00000001-0000-002b-0000-00010000002b contents *[custom_data~{or_nail_type:"iron_nail"}] \
    unless score @s OverlyRealistic.General.ArbitraryData matches 4.. run \
        function overly_realistic:general/custom_blocks/ship_section/interaction/int_apply_nail
