2013-11-10 17:58:23 +01:00
|
|
|
|
2013-10-12 12:24:24 +02:00
|
|
|
|
|
|
|
|
2013-11-13 17:42:48 +01:00
|
|
|
cannons = {}
|
2013-12-02 15:55:22 +01:00
|
|
|
cannons.MODPATH = minetest.get_modpath(minetest.get_current_modname())
|
2013-11-10 17:58:23 +01:00
|
|
|
|
|
|
|
|
2013-12-02 15:55:22 +01:00
|
|
|
dofile(cannons.MODPATH .."/settings.txt")
|
|
|
|
dofile(cannons.MODPATH .."/print_r.lua")
|
|
|
|
dofile(cannons.MODPATH .."/functions.lua")
|
|
|
|
dofile(cannons.MODPATH .."/items.lua")
|
|
|
|
dofile(cannons.MODPATH .."/cannonballs.lua")
|
2013-10-12 12:24:24 +02:00
|
|
|
|
2013-12-02 15:55:22 +01:00
|
|
|
if minetest.get_modpath("locks") ~=nil then
|
|
|
|
minetest.log("locks mod enabled. execute locks.lua")
|
|
|
|
dofile(cannons.MODPATH .."/locks.lua")--if the locks mod is installed execute this file
|
|
|
|
end
|
2013-10-12 12:24:24 +02:00
|
|
|
|
2013-11-12 22:28:21 +01:00
|
|
|
minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- loaded from "..minetest.get_modpath(minetest.get_current_modname()))
|
|
|
|
|