scoreboard players remove n_items items_generic 1
function items_py:give/weapon/all/crystal_sword
execute unless score n_items items_generic matches 0 run function items:weapon/crystal_sword/regen_recursive
