summaryrefslogtreecommitdiff
path: root/maptools
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-04-24 18:59:36 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-04-24 18:59:36 -0400
commita5eef1c5de77fa7770877802e66c3e1c53f9a0da (patch)
tree0f36e64a58e5f5bb7d95be6ae692f58f2ebfe483 /maptools
parentdda854cf06f90a04a03844e19c4d4ad220e38fe4 (diff)
downloaddreambuilder_modpack-a5eef1c5de77fa7770877802e66c3e1c53f9a0da.tar
dreambuilder_modpack-a5eef1c5de77fa7770877802e66c3e1c53f9a0da.tar.gz
dreambuilder_modpack-a5eef1c5de77fa7770877802e66c3e1c53f9a0da.tar.bz2
dreambuilder_modpack-a5eef1c5de77fa7770877802e66c3e1c53f9a0da.tar.xz
dreambuilder_modpack-a5eef1c5de77fa7770877802e66c3e1c53f9a0da.zip
update castles, areas, homedecor, plantlife,
gloopblocks, hotbar, inspector, maptools, mesecons, moreblocks, moreores, technic, teleport_request, and worldedit switched to caverealms_lite (with minor fixes by me) switched to CWz's fork of player_textures The homedecor update brings in the big split, and will require you to re-enable all modpack components in order to avoid loss of content.
Diffstat (limited to 'maptools')
-rw-r--r--maptools/CHANGELOG.md4
-rw-r--r--maptools/config.lua4
-rw-r--r--maptools/depends.txt2
-rw-r--r--maptools/description.txt1
-rw-r--r--maptools/init.lua4
-rw-r--r--maptools/mod.conf3
6 files changed, 9 insertions, 9 deletions
diff --git a/maptools/CHANGELOG.md b/maptools/CHANGELOG.md
index 2892512..900458e 100644
--- a/maptools/CHANGELOG.md
+++ b/maptools/CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
+### Changed
+
+- The minimum supported Minetest version is now 5.0.0.
+
## [1.1.0] - 2019-03-23
### Changed
diff --git a/maptools/config.lua b/maptools/config.lua
index 56d0e2d..466491e 100644
--- a/maptools/config.lua
+++ b/maptools/config.lua
@@ -8,7 +8,7 @@ Licensed under the zlib license. See LICENSE.md for more information.
maptools.config = {}
local function getbool_default(setting, default)
- local value = minetest.setting_getbool(setting)
+ local value = minetest.settings:get_bool(setting)
if value == nil then
value = default
end
@@ -21,7 +21,7 @@ local function setting(settingtype, name, default)
getbool_default("maptools." .. name, default)
else
maptools.config[name] =
- minetest.setting_get("maptools." .. name) or default
+ minetest.settings:get("maptools." .. name) or default
end
end
diff --git a/maptools/depends.txt b/maptools/depends.txt
deleted file mode 100644
index 9207dab..0000000
--- a/maptools/depends.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-default
-intllib?
diff --git a/maptools/description.txt b/maptools/description.txt
deleted file mode 100644
index 43bbfde..0000000
--- a/maptools/description.txt
+++ /dev/null
@@ -1 +0,0 @@
-Adds various special versions of normal blocks, tools, and other map maintainer tools.
diff --git a/maptools/init.lua b/maptools/init.lua
index a7ae4a5..c8d5336 100644
--- a/maptools/init.lua
+++ b/maptools/init.lua
@@ -27,7 +27,3 @@ maptools.drop_msg = function(itemstack, player)
local name = player:get_player_name()
minetest.chat_send_player(name, S("[maptools] tools/nodes do not drop!"))
end
-
-if minetest.setting_getbool("log_mods") then
- minetest.log("action", S("[maptools] loaded."))
-end
diff --git a/maptools/mod.conf b/maptools/mod.conf
index a77ffe2..363f651 100644
--- a/maptools/mod.conf
+++ b/maptools/mod.conf
@@ -1 +1,4 @@
name = maptools
+description = Adds various special versions of normal blocks, tools, and other map maintainer tools.
+depends = default
+optional_depends = intllib