From 9319e0bdbc4543aae4e05b62af670138e35a6b45 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Tue, 29 May 2018 21:12:33 -0600 Subject: [PATCH] swap defaults --- init.lua | 9 ++++----- settingtypes.txt | 6 +++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/init.lua b/init.lua index f5576f3..48b5b16 100644 --- a/init.lua +++ b/init.lua @@ -2,13 +2,12 @@ local MP = minetest.get_modpath(minetest.get_current_modname()) local S, NS = dofile(MP.."/intllib.lua") -local pontoons_override_logs = minetest.settings:get_bool("pontoons_override_logs") -if pontoons_override_logs == nil then pontoons_override_logs = true end -- default true +local pontoons_override_logs = minetest.settings:get_bool("pontoons_override_logs") -- default false -local pontoons_override_wood = minetest.settings:get_bool("pontoons_override_wood") -if pontoons_override_wood == nil then pontoons_override_wood = true end -- default true +local pontoons_override_wood = minetest.settings:get_bool("pontoons_override_wood") -- default false -local pontoons_wood_pontoons = minetest.settings:get_bool("pontoons_wood_pontoons") -- default false +local pontoons_wood_pontoons = minetest.settings:get_bool("pontoons_wood_pontoons") +if pontoons_wood_pontoons == nil then pontoons_wood_pontoons = true end -- default true local pontoons_steel_pontoons = minetest.settings:get_bool("pontoons_steel_pontoons") if pontoons_steel_pontoons == nil then pontoons_steel_pontoons = true end -- default true diff --git a/settingtypes.txt b/settingtypes.txt index 2202c2a..30ac659 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -1,15 +1,15 @@ #When enabled, all logs can now be built "floating" in liquids. Note that #a log placed in lava will not last for long. -pontoons_override_logs (Logs float) bool true +pontoons_override_logs (Logs float) bool false #When enabled, all wood blocks can now be built "floating" in liquids. #Note that wood blocks placed in lava will not last for long. -pontoons_override_wood (Wood floats) bool true +pontoons_override_wood (Wood floats) bool false #Adds craftable wooden pontoon blocks that can be built on the #surface of liquids. This is only really useful if wood floating #is not enabled, so this feature is disabled by default. -pontoons_wood_pontoons (Wooden pontoons) bool false +pontoons_wood_pontoons (Wooden pontoons) bool true #Adds craftable steel pontoon blocks that can be built on the #surface of liquids. These are are lava-resistant, and so are