[moreblocks] Update to Git patch b52a403:
For compatiblity with stable server build. https://github.com/AntumDeluge/mtmod-moreblocks/tree/b52a403master
parent
fa28e6edb3
commit
34d8128778
|
@ -518,7 +518,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||||
[patch.mobf_core]: https://github.com/AntumDeluge/mtmp-mobf_core/tree/e6fa3b7
|
[patch.mobf_core]: https://github.com/AntumDeluge/mtmp-mobf_core/tree/e6fa3b7
|
||||||
[patch.mobs_goblins]: https://github.com/AntumDeluge/mtmod-mobs_goblins/tree/8813304
|
[patch.mobs_goblins]: https://github.com/AntumDeluge/mtmod-mobs_goblins/tree/8813304
|
||||||
[patch.mobs_redo]: https://github.com/AntumDeluge/mtmod-mobs_redo/tree/58e123a
|
[patch.mobs_redo]: https://github.com/AntumDeluge/mtmod-mobs_redo/tree/58e123a
|
||||||
[patch.moreblocks]: https://github.com/AntumDeluge/mtmod-moreblocks/tree/786f9e4
|
[patch.moreblocks]: https://github.com/AntumDeluge/mtmod-moreblocks/tree/b52a403
|
||||||
[patch.moremesecons]: https://github.com/AntumDeluge/mtmp-moremesecons/tree/cae948e
|
[patch.moremesecons]: https://github.com/AntumDeluge/mtmp-moremesecons/tree/cae948e
|
||||||
[patch.moreores]: https://github.com/AntumDeluge/mtmod-moreores/tree/8b874f6
|
[patch.moreores]: https://github.com/AntumDeluge/mtmod-moreores/tree/8b874f6
|
||||||
[patch.mydoors]: https://github.com/AntumDeluge/mtmp-mydoors/tree/e36c9d1
|
[patch.mydoors]: https://github.com/AntumDeluge/mtmp-mydoors/tree/e36c9d1
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
unused_args = false
|
|
||||||
allow_defined_top = true
|
|
||||||
|
|
||||||
read_globals = {
|
|
||||||
"DIR_DELIM",
|
|
||||||
"minetest", "core",
|
|
||||||
"dump",
|
|
||||||
"vector", "nodeupdate",
|
|
||||||
"VoxelManip", "VoxelArea",
|
|
||||||
"PseudoRandom", "ItemStack",
|
|
||||||
"intllib",
|
|
||||||
"default",
|
|
||||||
}
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ Licensed under the zlib license. See LICENSE.md for more information.
|
||||||
moreblocks.config = {}
|
moreblocks.config = {}
|
||||||
|
|
||||||
local function getbool_default(setting, default)
|
local function getbool_default(setting, default)
|
||||||
local value = minetest.settings:get_bool(setting)
|
local value = minetest.setting_getbool(setting)
|
||||||
if value == nil then
|
if value == nil then
|
||||||
value = default
|
value = default
|
||||||
end
|
end
|
||||||
|
@ -21,7 +21,7 @@ local function setting(settingtype, name, default)
|
||||||
getbool_default("moreblocks." .. name, default)
|
getbool_default("moreblocks." .. name, default)
|
||||||
else
|
else
|
||||||
moreblocks.config[name] =
|
moreblocks.config[name] =
|
||||||
minetest.settings:get("moreblocks." .. name) or default
|
minetest.setting_get("moreblocks." .. name) or default
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -454,7 +454,7 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
if minetest.settings:get_bool("moreblocks.circular_saw_crafting") ~= false then -- “If nil or true then”
|
if minetest.setting_getbool("moreblocks.circular_saw_crafting") ~= false then -- “If nil or true then”
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "moreblocks:circular_saw",
|
output = "moreblocks:circular_saw",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|
|
@ -28,6 +28,6 @@ dofile(modpath .. "/redefinitions.lua")
|
||||||
dofile(modpath .. "/crafting.lua")
|
dofile(modpath .. "/crafting.lua")
|
||||||
dofile(modpath .. "/aliases.lua")
|
dofile(modpath .. "/aliases.lua")
|
||||||
|
|
||||||
if minetest.settings:get_bool("log_mods") then
|
if minetest.setting_getbool("log_mods") then
|
||||||
minetest.log("action", S("[moreblocks] loaded."))
|
minetest.log("action", S("[moreblocks] loaded."))
|
||||||
end
|
end
|
||||||
|
|
|
@ -15,7 +15,7 @@ stairsplus.expect_infinite_stacks = false
|
||||||
stairsplus.shapes_list = {}
|
stairsplus.shapes_list = {}
|
||||||
|
|
||||||
if not minetest.get_modpath("unified_inventory")
|
if not minetest.get_modpath("unified_inventory")
|
||||||
and minetest.settings:get_bool("creative_mode") then
|
and minetest.setting_getbool("creative_mode") then
|
||||||
stairsplus.expect_infinite_stacks = true
|
stairsplus.expect_infinite_stacks = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue