[pipeworks] Update to Git patch 32b6613:
https://github.com/AntumDeluge/mtmod-pipeworks/tree/32b6613
This commit is contained in:
parent
88e087650f
commit
5ec1e2f3ff
@ -62,7 +62,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
* npc/
|
||||
* [peaceful_npc][] ([WTFPL][lic.wtfpl]) -- version: [2b3a7a5 Git][ver.peaceful_npc] *2015-08-09*
|
||||
* [painting][] (???)
|
||||
* [pipeworks][] ([WTFPL][lic.wtfpl]) -- version: [d822279 Git][ver.pipeworks] *2017-04-13*
|
||||
* [pipeworks][] ([WTFPL][lic.wtfpl]) -- version: [d822279 Git][ver.pipeworks] *2017-04-13* ([patched][patch.pipeworks])
|
||||
* plantlife/
|
||||
* player/
|
||||
* [airtanks][] ([MIT][lic.airtanks]) -- version: [fc01ffb Git][ver.airtanks] *2017-04-01*
|
||||
@ -501,6 +501,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
[patch.moreores]: https://github.com/AntumDeluge/mtmod-moreores/tree/2172c49
|
||||
[patch.mydoors]: https://github.com/AntumDeluge/mtmp-mydoors/tree/e36c9d1
|
||||
[patch.nether]: https://github.com/AntumDeluge/mtmod-nether/tree/f634851
|
||||
[patch.pipeworks]: https://github.com/AntumDeluge/mtmod-pipeworks/tree/32b6613
|
||||
[patch.quartz]: https://github.com/AntumDeluge/mtmod-quartz/tree/d23dabd
|
||||
[patch.rainbow_ore]: https://github.com/AntumDeluge/mtmod-rainbow_ore/tree/60dc35e
|
||||
[patch.signs_lib]: https://github.com/AntumDeluge/mtmod-signs_lib/tree/770978c
|
||||
|
@ -30,7 +30,7 @@ local settings = {
|
||||
for name, value in pairs(settings) do
|
||||
local setting_type = type(value)
|
||||
if setting_type == "boolean" then
|
||||
pipeworks[name] = minetest.setting_getbool(prefix..name)
|
||||
pipeworks[name] = minetest.settings:get_bool(prefix..name)
|
||||
if pipeworks[name] == nil then
|
||||
pipeworks[name] = value
|
||||
end
|
||||
|
@ -4,7 +4,7 @@
|
||||
-- Contributed by mauvebic, 2013-01-03, rewritten a bit by Vanessa Ezekowitz
|
||||
--
|
||||
|
||||
local finitewater = minetest.setting_getbool("liquid_finite")
|
||||
local finitewater = minetest.settings:get_bool("liquid_finite")
|
||||
|
||||
pipeworks.check_for_liquids = function(pos)
|
||||
local coords = {
|
||||
|
@ -26,7 +26,7 @@ end
|
||||
-- Random variables
|
||||
|
||||
pipeworks.expect_infinite_stacks = true
|
||||
if minetest.get_modpath("unified_inventory") or not minetest.setting_getbool("creative_mode") then
|
||||
if minetest.get_modpath("unified_inventory") or not minetest.settings:get_bool("creative_mode") then
|
||||
pipeworks.expect_infinite_stacks = false
|
||||
end
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
local luaentity = pipeworks.luaentity
|
||||
local enable_max_limit = minetest.setting_get("pipeworks_enable_items_per_tube_limit")
|
||||
local max_tube_limit = tonumber(minetest.setting_get("pipeworks_max_items_per_tube")) or 30
|
||||
local enable_max_limit = minetest.settings:get("pipeworks_enable_items_per_tube_limit")
|
||||
local max_tube_limit = tonumber(minetest.settings:get("pipeworks_max_items_per_tube")) or 30
|
||||
if enable_max_limit == nil then enable_max_limit = true end
|
||||
|
||||
function pipeworks.tube_item(pos, item)
|
||||
|
@ -71,7 +71,7 @@ end
|
||||
local active_blocks = {} -- These only contain active blocks near players (i.e., not forceloaded ones)
|
||||
|
||||
local move_entities_globalstep_part1 = function(dtime)
|
||||
local active_block_range = tonumber(minetest.setting_get("active_block_range")) or 2
|
||||
local active_block_range = tonumber(minetest.settings:get("active_block_range")) or 2
|
||||
local new_active_blocks = {}
|
||||
for _, player in ipairs(minetest.get_connected_players()) do
|
||||
local blockpos = get_blockpos(player:getpos())
|
||||
|
@ -1,5 +1,5 @@
|
||||
if pipeworks.enable_detector_tube then
|
||||
local detector_tube_step = 5 * tonumber(minetest.setting_get("dedicated_server_step"))
|
||||
local detector_tube_step = 5 * tonumber(minetest.settings:get("dedicated_server_step"))
|
||||
pipeworks.register_tube("pipeworks:detector_tube_on", {
|
||||
description = "Detecting Pneumatic Tube Segment on (you hacker you)",
|
||||
inventory_image = "pipeworks_detector_tube_inv.png",
|
||||
|
Loading…
x
Reference in New Issue
Block a user