init.lua 390 B

1234567891011121314151617
  1. local MP = minetest.get_modpath(minetest.get_current_modname())
  2. dofile(MP.."/battleaxe.lua")
  3. minetest.register_craftitem('castle_weapons:crossbow', {
  4. description = 'Crossbow',
  5. inventory_image = 'castle_crossbow_inv1.png',
  6. groups = {not_in_creative_inventory=1},
  7. })
  8. minetest.register_craft({
  9. output = 'bows:crossbow',
  10. recipe = {
  11. {'castle_weapons:crossbow',},
  12. }
  13. })