|
@@ -15,7 +15,7 @@ modpol = {}
|
|
|
|
|
|
-- get modpol_minetest's version of directory
|
|
-- get modpol_minetest's version of directory
|
|
modpol.get_script_dir = function()
|
|
modpol.get_script_dir = function()
|
|
- return minetest.get_modpath("modpol")
|
|
|
|
|
|
+ return minetest.get_modpath("modpol").."/modpol"
|
|
end
|
|
end
|
|
|
|
|
|
-- TKTK: Implement minetest settingtypes for this... for now, the default is to use minetest mod storage.
|
|
-- TKTK: Implement minetest settingtypes for this... for now, the default is to use minetest mod storage.
|
|
@@ -24,7 +24,7 @@ end
|
|
|
|
|
|
-- works with cmd line: "/storage/storage-local.lua", works with Minetest 5.0 and up: "/storage/storage-mod_storage.lua"
|
|
-- works with cmd line: "/storage/storage-local.lua", works with Minetest 5.0 and up: "/storage/storage-mod_storage.lua"
|
|
|
|
|
|
-modpol.storage_file_path = minetest.get_modpath("modpol").."/storage/storage-mod_storage.lua"
|
|
|
|
|
|
+modpol.storage_file_path = minetest.get_modpath("modpol").."/modpol_minetest/storage/storage-mod_storage.lua"
|
|
|
|
|
|
-- ===================================================================
|
|
-- ===================================================================
|
|
-- /init.lua
|
|
-- /init.lua
|
|
@@ -35,7 +35,7 @@ modpol.storage_file_path = minetest.get_modpath("modpol").."/storage/storage-mod
|
|
-- ===================================================================
|
|
-- ===================================================================
|
|
-- Load modpol system
|
|
-- Load modpol system
|
|
|
|
|
|
-dofile(minetest.get_modpath("modpol") .. "/modpol.lua")
|
|
|
|
|
|
+dofile(minetest.get_modpath("modpol") .. "/modpol/modpol.lua")
|
|
|
|
|
|
|
|
|
|
-- ===================================================================
|
|
-- ===================================================================
|