local S = minetest.get_translator(minetest.get_current_modname())

XBows:register_bow('bow_training', {
    description = S('Training Bow'),
    short_description = S('Training Bow'),
    inventory_image = 'x_bows_extras_bow_training.png',
    custom = {
        inventory_image_charged = 'x_bows_extras_bow_training_charged.png',
        uses = 385,
        crit_chance = 5,
        recipe = {
            { '', 'group:orange', 'farming:string' },
            { 'group:orange', '', 'farming:string' },
            { '', 'group:orange', 'farming:string' }
        },
        fuel_burntime = 5,
        mod_name = 'x_bows_extras',
        allowed_ammunition = {
            'x_bows_extras:arrow_training',
            'x_bows_extras:arrow_rip',
            'x_bows_extras:arrow_flyup',
            'x_bows_extras:arrow_cluster',
            'x_bows_extras:arrow_torch',
            'x_bows_extras:arrow_teleport',
            'x_bows_extras:arrow_healing',
            'x_bows_extras:arrow_knockback',
            'x_bows_extras:arrow_diamond_tipped_poison'
        }
    }
})
