function svm_ep:player/craft_item
execute at @s run function svm_ep:system/get_coordinates
advancement grant @s only svm_ep:storyline/craft_hardened
advancement grant @s[scores={pos.y=200..}] only svm_ep:storyline/craft_hardened_y200
execute at @s unless entity @s[scores={pos.y=200..}] run loot spawn ~ ~1 ~ loot svm_ep:items/hardened_sword
execute at @s if entity @s[scores={pos.y=200..}] run loot spawn ~ ~1 ~ loot svm_ep:items/mountain_katana