summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-01 20:24:56 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-01 20:47:15 -0400
commitd8650130c06100834f7ec74babde5f796ad5eae2 (patch)
treebc95cfcb379b71a9c94e3e507c454f914d5c385b
parent44b82511a2e1f888550856ec51eb8b17683d521a (diff)
downloaddreambuilder_modpack-d8650130c06100834f7ec74babde5f796ad5eae2.tar
dreambuilder_modpack-d8650130c06100834f7ec74babde5f796ad5eae2.tar.gz
dreambuilder_modpack-d8650130c06100834f7ec74babde5f796ad5eae2.tar.bz2
dreambuilder_modpack-d8650130c06100834f7ec74babde5f796ad5eae2.tar.xz
dreambuilder_modpack-d8650130c06100834f7ec74babde5f796ad5eae2.zip
disable default lavacooling code and set interval + chance to 5, 15.
-rw-r--r--dreambuilder_mp_extras/init.lua31
1 files changed, 31 insertions, 0 deletions
diff --git a/dreambuilder_mp_extras/init.lua b/dreambuilder_mp_extras/init.lua
index 168bcf5..05fa712 100644
--- a/dreambuilder_mp_extras/init.lua
+++ b/dreambuilder_mp_extras/init.lua
@@ -1,3 +1,7 @@
+-- This mod contains a number of features specific to dreambuilder
+-- such as mesh-based apples, 16-slot hotbar, some color settings, etc.
+--
+-- by Vanessa Ezekowitz
local hotbar_size = minetest.setting_get("hotbar_size") or 16
@@ -26,3 +30,30 @@ minetest.register_chatcommand("hotbar", {
end,
})
+default.gui_bg = "bgcolor[#08080899;false]"
+
+default.gui_survival_form = "size[8,8.5]"..
+ default.gui_bg..
+ default.gui_bg_img..
+ default.gui_slots..
+ "list[current_player;main;0,4.25;8,1;]"..
+ "list[current_player;main;0,5.5;8,3;8]"..
+ "list[current_player;craft;1.75,0.5;3,3;]"..
+ "list[current_player;craftpreview;5.75,1.5;1,1;]"..
+ "image[4.75,1.5;1,1;gui_furnace_arrow_bg.png^[transformR270]"..
+ "listring[current_player;main]"..
+ "listring[current_player;craft]"..
+ default.get_hotbar_bg(0,4.25)
+
+default.cool_lava = function (pos, node) end
+
+minetest.register_abm({
+ nodenames = {"default:lava_source", "default:lava_flowing"},
+ neighbors = {"group:water"},
+ interval = 5,
+ chance = 15,
+ catch_up = false,
+ action = function(...)
+ default.cool_lava(...)
+ end,
+})