2024-08-31 13:41:42 +02:00
|
|
|
mcl_bows = {}
|
2024-12-05 15:47:52 +01:00
|
|
|
local modpath = core.get_modpath("mcl_bows")
|
2024-08-31 13:41:42 +02:00
|
|
|
|
2021-10-15 21:00:37 +02:00
|
|
|
--Bow
|
2024-12-05 15:47:52 +01:00
|
|
|
dofile(modpath.."/arrow.lua")
|
|
|
|
dofile(modpath.."/bow.lua")
|
|
|
|
dofile(modpath.."/rocket.lua")
|
2018-05-07 23:10:49 +02:00
|
|
|
|
2021-10-15 21:00:37 +02:00
|
|
|
--Crossbow
|
2024-12-05 15:47:52 +01:00
|
|
|
dofile(modpath.."/crossbow.lua")
|
2021-10-15 21:00:37 +02:00
|
|
|
|
|
|
|
--Compatiblility with older MineClone worlds
|
2018-05-07 23:10:49 +02:00
|
|
|
minetest.register_alias("mcl_throwing:bow", "mcl_bows:bow")
|
|
|
|
minetest.register_alias("mcl_throwing:arrow", "mcl_bows:arrow")
|