MineClone2/mods/ITEMS/mcl_bows/init.lua

12 lines
418 B
Lua
Raw Permalink Normal View History

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")