execute if entity @s[tag=wool_bomb] run function pctf:logic/items/wool_bomb/main
execute if entity @s[tag=smoke_bomb] run function pctf:logic/items/smoke_bomb/main
execute if entity @s[tag=trap_kit] run function pctf:logic/items/trap_kit/main
execute if entity @s[tag=flame_thrower] run function pctf:logic/items/flamethrower/main

execute if entity @s[tag=fireball_scroll] run function pctf:logic/items/scrolls/fireball/main
execute if entity @s[tag=shield_scroll] run function pctf:logic/items/scrolls/shield/main
execute if entity @s[tag=parry_scroll] run function pctf:logic/items/scrolls/parry/main
execute if entity @s[tag=frost_ray_scroll] run function pctf:logic/items/scrolls/frost_ray/main
execute if entity @s[tag=black_hole_scroll] run function pctf:logic/items/scrolls/black_hole/main
execute if entity @s[tag=magic_missile_scroll] run function pctf:logic/items/scrolls/magic_missile/main
execute if entity @s[tag=poison_ray_scroll] run function pctf:logic/items/scrolls/poison_ray/main
execute if entity @s[tag=blink_scroll] run function pctf:logic/items/scrolls/blink/main
execute if entity @s[tag=ethereal_blade_scroll] run function pctf:logic/items/scrolls/ethereal_blade/main
execute if entity @s[tag=inferno_ray_scroll] run function pctf:logic/items/scrolls/inferno_ray/main
execute if entity @s[tag=silence_beam_scroll] run function pctf:logic/items/scrolls/silence_beam/main
execute if entity @s[tag=time_warp_scroll] run function pctf:logic/items/scrolls/time_warp/trail_main
execute if entity @s[tag=shadow_burst_scroll] run function pctf:logic/items/scrolls/shadow_burst/main
execute if entity @s[tag=illusory_bridge_scroll] run function pctf:logic/items/scrolls/illusory_bridge/main
execute if entity @s[tag=illusory_bridge_marker] run function pctf:logic/items/scrolls/illusory_bridge/marker_main
execute if entity @s[tag=soul_beam_scroll] run function pctf:logic/items/scrolls/soul_beam/main