MineClone2/mods/ITEMS/mcl_bows/init.lua

14 lines
433 B
Lua
Raw Normal View History

mcl_bows = {}
2021-10-15 21:00:37 +02:00
--Bow
dofile(minetest.get_modpath("mcl_bows") .. "/arrow.lua")
dofile(minetest.get_modpath("mcl_bows") .. "/bow.lua")
2021-10-15 21:00:37 +02:00
dofile(minetest.get_modpath("mcl_bows") .. "/rocket.lua")
2021-10-15 21:00:37 +02:00
--Crossbow
dofile(minetest.get_modpath("mcl_bows") .. "/crossbow.lua")
--Compatiblility with older MineClone worlds
minetest.register_alias("mcl_throwing:bow", "mcl_bows:bow")
minetest.register_alias("mcl_throwing:arrow", "mcl_bows:arrow")