
# -> Increase uses value
item modify entity @s weapon.mainhand overly_realistic:items/sharpened_flint/knapping/increase_uses_0

# -> Set desc lore
item modify entity @s weapon.mainhand overly_realistic:items/sharpened_flint/knapping/add_lore_desc

# -> Set usage value
execute if items entity @s weapon.mainhand *[item_model="overlyrealistic:items/sharpened_flint/sharpened_flint_0"] run \
    item modify entity @s weapon.mainhand overly_realistic:items/sharpened_flint/knapping/set_usage/usage_0/rot_0
execute if items entity @s weapon.mainhand *[item_model="overlyrealistic:items/sharpened_flint/sharpened_flint_1"] run \
    item modify entity @s weapon.mainhand overly_realistic:items/sharpened_flint/knapping/set_usage/usage_0/rot_1
execute if items entity @s weapon.mainhand *[item_model="overlyrealistic:items/sharpened_flint/sharpened_flint_2"] run \
    item modify entity @s weapon.mainhand overly_realistic:items/sharpened_flint/knapping/set_usage/usage_0/rot_2
execute if items entity @s weapon.mainhand *[item_model="overlyrealistic:items/sharpened_flint/sharpened_flint_3"] run \
    item modify entity @s weapon.mainhand overly_realistic:items/sharpened_flint/knapping/set_usage/usage_0/rot_3

# -> Add to lore
execute if items entity @s weapon.mainhand *[item_model="overlyrealistic:items/sharpened_flint/sharpened_flint_0"] run \
    return run \
        item modify entity @s weapon.mainhand overly_realistic:items/sharpened_flint/knapping/add_lore_rot_0
execute if items entity @s weapon.mainhand *[item_model="overlyrealistic:items/sharpened_flint/sharpened_flint_1"] run \
    return run \
        item modify entity @s weapon.mainhand overly_realistic:items/sharpened_flint/knapping/add_lore_rot_1
execute if items entity @s weapon.mainhand *[item_model="overlyrealistic:items/sharpened_flint/sharpened_flint_2"] run \
    return run \
        item modify entity @s weapon.mainhand overly_realistic:items/sharpened_flint/knapping/add_lore_rot_2
execute if items entity @s weapon.mainhand *[item_model="overlyrealistic:items/sharpened_flint/sharpened_flint_3"] run \
    return run \
        item modify entity @s weapon.mainhand overly_realistic:items/sharpened_flint/knapping/add_lore_rot_3
