2022-10-20 08:13:35 -05:00
|
|
|
XBows:register_bow('bow_wood', {
|
2022-10-16 15:02:04 -05:00
|
|
|
description = 'Wooden Bow',
|
2022-10-21 12:37:35 -05:00
|
|
|
short_description = 'Wooden Bow',
|
2022-10-20 08:13:35 -05:00
|
|
|
custom = {
|
|
|
|
uses = 385,
|
|
|
|
crit_chance = 10,
|
|
|
|
recipe = {
|
|
|
|
{'', 'default:stick', 'farming:string'},
|
|
|
|
{'default:stick', '', 'farming:string'},
|
|
|
|
{'', 'default:stick', 'farming:string'}
|
|
|
|
},
|
|
|
|
fuel_burntime = 3,
|
|
|
|
allowed_ammunition = {
|
|
|
|
'x_bows:arrow_wood',
|
|
|
|
'x_bows:arrow_stone',
|
|
|
|
'x_bows:arrow_bronze',
|
|
|
|
'x_bows:arrow_steel',
|
|
|
|
'x_bows:arrow_mese',
|
2022-10-21 12:37:35 -05:00
|
|
|
'x_bows:arrow_diamond'
|
2022-10-20 08:13:35 -05:00
|
|
|
}
|
2022-10-16 15:02:04 -05:00
|
|
|
}
|
2021-03-13 20:39:42 -06:00
|
|
|
})
|
|
|
|
|
2022-10-20 08:13:35 -05:00
|
|
|
XBows:register_arrow('arrow_wood', {
|
2022-10-16 15:02:04 -05:00
|
|
|
description = 'Arrow Wood',
|
2022-10-26 08:45:59 -05:00
|
|
|
short_description = 'Arrow Wood',
|
2022-10-16 15:02:04 -05:00
|
|
|
inventory_image = 'x_bows_arrow_wood.png',
|
2022-10-20 08:13:35 -05:00
|
|
|
custom = {
|
|
|
|
recipe = {
|
|
|
|
{'default:flint'},
|
|
|
|
{'group:stick'},
|
|
|
|
{'group:wool'}
|
|
|
|
},
|
|
|
|
tool_capabilities = {
|
|
|
|
full_punch_interval = 1,
|
|
|
|
max_drop_level = 0,
|
|
|
|
damage_groups = {fleshy=2}
|
|
|
|
},
|
|
|
|
fuel_burntime = 1
|
2022-10-16 15:02:04 -05:00
|
|
|
}
|
2021-03-13 20:39:42 -06:00
|
|
|
})
|
|
|
|
|
2022-10-20 08:13:35 -05:00
|
|
|
XBows:register_arrow('arrow_stone', {
|
2022-10-16 15:02:04 -05:00
|
|
|
description = 'Arrow Stone',
|
2022-10-26 08:45:59 -05:00
|
|
|
short_description = 'Arrow Stone',
|
2022-10-16 15:02:04 -05:00
|
|
|
inventory_image = 'x_bows_arrow_stone.png',
|
2022-10-20 08:13:35 -05:00
|
|
|
custom = {
|
|
|
|
recipe = {
|
|
|
|
{'default:flint'},
|
|
|
|
{'group:stone'},
|
|
|
|
{'group:wool'}
|
|
|
|
},
|
|
|
|
tool_capabilities = {
|
|
|
|
full_punch_interval = 1.2,
|
|
|
|
max_drop_level = 0,
|
|
|
|
damage_groups = {fleshy=4}
|
|
|
|
}
|
2022-10-16 15:02:04 -05:00
|
|
|
}
|
2021-03-13 20:39:42 -06:00
|
|
|
})
|
|
|
|
|
2022-10-20 08:13:35 -05:00
|
|
|
XBows:register_arrow('arrow_bronze', {
|
2022-10-16 15:02:04 -05:00
|
|
|
description = 'Arrow Bronze',
|
2022-10-26 08:45:59 -05:00
|
|
|
short_description = 'Arrow Bronze',
|
2022-10-16 15:02:04 -05:00
|
|
|
inventory_image = 'x_bows_arrow_bronze.png',
|
2022-10-20 08:13:35 -05:00
|
|
|
custom = {
|
|
|
|
recipe = {
|
|
|
|
{'default:flint'},
|
|
|
|
{'default:bronze_ingot'},
|
|
|
|
{'group:wool'}
|
|
|
|
},
|
|
|
|
tool_capabilities = {
|
|
|
|
full_punch_interval = 0.8,
|
|
|
|
max_drop_level = 1,
|
|
|
|
damage_groups = {fleshy=6}
|
|
|
|
}
|
2022-10-16 15:02:04 -05:00
|
|
|
}
|
2021-03-13 20:39:42 -06:00
|
|
|
})
|
|
|
|
|
2022-10-20 08:13:35 -05:00
|
|
|
XBows:register_arrow('arrow_steel', {
|
2022-10-16 15:02:04 -05:00
|
|
|
description = 'Arrow Steel',
|
2022-10-26 08:45:59 -05:00
|
|
|
short_description = 'Arrow Steel',
|
2022-10-16 15:02:04 -05:00
|
|
|
inventory_image = 'x_bows_arrow_steel.png',
|
2022-10-20 08:13:35 -05:00
|
|
|
custom = {
|
|
|
|
recipe = {
|
|
|
|
{'default:flint'},
|
|
|
|
{'default:steel_ingot'},
|
|
|
|
{'group:wool'}
|
|
|
|
},
|
|
|
|
tool_capabilities = {
|
|
|
|
full_punch_interval = 0.7,
|
|
|
|
max_drop_level = 1,
|
|
|
|
damage_groups = {fleshy=6}
|
|
|
|
}
|
2022-10-16 15:02:04 -05:00
|
|
|
}
|
2021-03-13 20:39:42 -06:00
|
|
|
})
|
|
|
|
|
2022-10-20 08:13:35 -05:00
|
|
|
XBows:register_arrow('arrow_mese', {
|
2022-10-16 15:02:04 -05:00
|
|
|
description = 'Arrow Mese',
|
2022-10-26 08:45:59 -05:00
|
|
|
short_description = 'Arrow Mese',
|
2022-10-16 15:02:04 -05:00
|
|
|
inventory_image = 'x_bows_arrow_mese.png',
|
2022-10-20 08:13:35 -05:00
|
|
|
custom = {
|
|
|
|
recipe = {
|
|
|
|
{'default:flint'},
|
|
|
|
{'default:mese_crystal'},
|
|
|
|
{'group:wool'}
|
|
|
|
},
|
|
|
|
tool_capabilities = {
|
|
|
|
full_punch_interval = 0.7,
|
|
|
|
max_drop_level = 1,
|
|
|
|
damage_groups = {fleshy=7}
|
|
|
|
}
|
2022-10-16 15:02:04 -05:00
|
|
|
}
|
2021-03-13 20:39:42 -06:00
|
|
|
})
|
|
|
|
|
2022-10-20 08:13:35 -05:00
|
|
|
XBows:register_arrow('arrow_diamond', {
|
2022-10-16 15:02:04 -05:00
|
|
|
description = 'Arrow Diamond',
|
2022-10-26 08:45:59 -05:00
|
|
|
short_description = 'Arrow Diamond',
|
2022-10-16 15:02:04 -05:00
|
|
|
inventory_image = 'x_bows_arrow_diamond.png',
|
2022-10-20 08:13:35 -05:00
|
|
|
custom = {
|
|
|
|
recipe = {
|
|
|
|
{'default:flint'},
|
|
|
|
{'default:diamond'},
|
|
|
|
{'group:wool'}
|
|
|
|
},
|
|
|
|
tool_capabilities = {
|
|
|
|
full_punch_interval = 0.7,
|
|
|
|
max_drop_level = 1,
|
|
|
|
damage_groups = {fleshy=8}
|
|
|
|
}
|
2022-10-16 15:02:04 -05:00
|
|
|
}
|
2021-03-13 20:39:42 -06:00
|
|
|
})
|
|
|
|
|
2022-10-20 08:13:35 -05:00
|
|
|
XBows:register_quiver('quiver', {
|
2022-10-16 15:02:04 -05:00
|
|
|
description = 'Quiver \n\n Empty\n',
|
|
|
|
short_description = 'Quiver',
|
2022-10-20 08:13:35 -05:00
|
|
|
custom = {
|
2022-10-21 12:37:35 -05:00
|
|
|
description = 'Quiver \n\n Empty\n',
|
|
|
|
short_description = 'Quiver',
|
2022-10-20 08:13:35 -05:00
|
|
|
recipe = {
|
|
|
|
{'group:arrow', 'group:arrow', 'group:arrow'},
|
|
|
|
{'group:arrow', 'wool:brown', 'group:arrow'},
|
|
|
|
{'group:arrow', 'group:arrow', 'group:arrow'}
|
|
|
|
},
|
|
|
|
recipe_count = 1,
|
|
|
|
faster_arrows = 5,
|
|
|
|
add_damage = 2,
|
2022-10-21 12:37:35 -05:00
|
|
|
fuel_burntime = 3
|
2022-10-20 08:13:35 -05:00
|
|
|
}
|
2021-03-13 20:39:42 -06:00
|
|
|
})
|