2019-07-01 14:13:07 +02:00
|
|
|
|
|
|
|
pandorabox = {}
|
|
|
|
|
2018-10-02 10:48:33 +02:00
|
|
|
local MP = minetest.get_modpath("pandorabox_custom")
|
|
|
|
|
2019-07-05 09:09:07 +02:00
|
|
|
-- unknown item aliasing
|
2019-06-26 21:34:16 +02:00
|
|
|
dofile(MP.."/alias.lua")
|
2019-07-01 08:57:21 +02:00
|
|
|
|
2019-07-05 09:09:07 +02:00
|
|
|
-- bucket and xp limitation
|
2019-07-01 08:57:21 +02:00
|
|
|
if minetest.get_modpath("bucket") and minetest.get_modpath("xp_redo") then
|
|
|
|
dofile(MP.."/onplace_restriction.lua")
|
|
|
|
end
|
|
|
|
|
2019-07-05 09:09:07 +02:00
|
|
|
-- loot customization
|
2019-07-01 08:57:21 +02:00
|
|
|
if minetest.get_modpath("loot") then
|
|
|
|
dofile(MP.."/loot.lua")
|
|
|
|
end
|
|
|
|
|
2019-07-05 09:09:07 +02:00
|
|
|
-- custom privs
|
2019-02-22 11:43:58 +01:00
|
|
|
dofile(MP.."/privs.lua")
|
2019-07-05 09:09:07 +02:00
|
|
|
|
|
|
|
-- death message
|
2019-02-16 08:47:24 +01:00
|
|
|
dofile(MP.."/death.lua")
|
2019-07-05 09:09:07 +02:00
|
|
|
|
|
|
|
-- travel stuff
|
|
|
|
dofile(MP.."/travel/travel.lua")
|
2019-07-05 18:44:28 +02:00
|
|
|
dofile(MP.."/teleport_back.lua")
|
2019-07-05 09:09:07 +02:00
|
|
|
|
|
|
|
if minetest.get_modpath("jumpdrive") then
|
|
|
|
-- limit jumpdrive travel
|
|
|
|
dofile(MP.."/travel/jumpdrive.lua")
|
|
|
|
|
|
|
|
-- jumppoints (different energy requirements)
|
|
|
|
dofile(MP.."/jumppoints.lua")
|
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("telemosaic") then
|
|
|
|
-- limit telemosaic travel
|
|
|
|
dofile(MP.."/travel/telemosaic.lua")
|
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("travelnet") then
|
|
|
|
-- limit travelnet
|
|
|
|
dofile(MP.."/travel/travelnet.lua")
|
|
|
|
end
|
2019-07-01 08:57:21 +02:00
|
|
|
|
|
|
|
if minetest.get_modpath("skybox") then
|
2019-07-05 09:09:07 +02:00
|
|
|
-- planetary skyboxes
|
2019-07-01 08:57:21 +02:00
|
|
|
dofile(MP.."/skybox.lua")
|
2019-07-05 09:09:07 +02:00
|
|
|
|
|
|
|
-- fly check
|
2019-07-01 08:57:21 +02:00
|
|
|
dofile(MP.."/fly.lua")
|
|
|
|
end
|
|
|
|
|
2019-07-05 09:09:07 +02:00
|
|
|
-- item/nodes stats
|
2019-05-01 19:39:28 +02:00
|
|
|
dofile(MP.."/stats.lua")
|
2019-07-05 09:09:07 +02:00
|
|
|
|
|
|
|
-- join priv set/revoke
|
2019-05-01 19:39:28 +02:00
|
|
|
dofile(MP.."/join.lua")
|
2019-07-05 09:09:07 +02:00
|
|
|
|
|
|
|
-- no_announce priv
|
|
|
|
dofile(MP.."/join_announce.lua")
|
|
|
|
|
|
|
|
-- craft overrides
|
2019-05-01 19:39:28 +02:00
|
|
|
dofile(MP.."/crafts.lua")
|
2019-07-01 08:57:21 +02:00
|
|
|
|
|
|
|
if minetest.get_modpath("technic") then
|
|
|
|
dofile(MP.."/grinder.lua")
|
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("technic_cnc") then
|
|
|
|
dofile(MP.."/cnc.lua")
|
|
|
|
end
|
2019-07-01 08:46:37 +02:00
|
|
|
|
|
|
|
if minetest.get_modpath("mesecons_mvps") then
|
|
|
|
dofile(MP.."/mvps_stopper.lua")
|
|
|
|
end
|
|
|
|
|
2019-07-05 09:09:07 +02:00
|
|
|
-- join-limit bypass
|
2019-05-22 15:07:23 +02:00
|
|
|
dofile(MP.."/userlimit.lua")
|
2019-07-05 09:09:07 +02:00
|
|
|
|
|
|
|
-- protected sethome
|
2019-05-28 13:57:32 +02:00
|
|
|
dofile(MP.."/sethome.lua")
|
2019-07-01 08:57:21 +02:00
|
|
|
|
2019-07-05 09:09:07 +02:00
|
|
|
-- letters mod
|
2019-07-01 08:57:21 +02:00
|
|
|
if minetest.get_modpath("letters") then
|
|
|
|
dofile(MP.."/letters.lua")
|
|
|
|
end
|
|
|
|
|
2019-07-29 11:10:46 +02:00
|
|
|
-- spacecannon mod
|
|
|
|
if minetest.get_modpath("spacecannon") then
|
|
|
|
dofile(MP.."/spacecannon.lua")
|
|
|
|
end
|
|
|
|
|
2019-07-23 07:45:06 +02:00
|
|
|
-- announce chat cmd's
|
|
|
|
dofile(MP.."/announce.lua")
|
2019-07-26 07:37:59 +02:00
|
|
|
|
|
|
|
-- general hacks
|
|
|
|
dofile(MP.."/hacks.lua")
|
|
|
|
|