mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-01-09 18:17:30 +01:00
15 lines
370 B
Lua
15 lines
370 B
Lua
mcl_bows = {}
|
|
local modpath = core.get_modpath("mcl_bows")
|
|
|
|
--Bow
|
|
dofile(modpath.."/arrow.lua")
|
|
dofile(modpath.."/bow.lua")
|
|
dofile(modpath.."/rocket.lua")
|
|
|
|
--Crossbow
|
|
dofile(modpath.."/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")
|