From: paramat Date: Wed, 29 Mar 2017 03:59:19 +0000 (+0100) Subject: Glasslike_framed nodes: Add 'glasslikeliquidlevel' paramtype2 X-Git-Tag: 0.4.16~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2f46103ff8fc6f0e9bf2cf6dc507ccc5f4fb6ea8;p=oweals%2Fminetest_game.git Glasslike_framed nodes: Add 'glasslikeliquidlevel' paramtype2 --- diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index c70f614b..db679830 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -2078,6 +2078,7 @@ minetest.register_node("default:glass", { drawtype = "glasslike_framed_optional", tiles = {"default_glass.png", "default_glass_detail.png"}, paramtype = "light", + paramtype2 = "glasslikeliquidlevel", sunlight_propagates = true, is_ground_content = false, groups = {cracky = 3, oddly_breakable_by_hand = 3}, @@ -2089,6 +2090,7 @@ minetest.register_node("default:obsidian_glass", { drawtype = "glasslike_framed_optional", tiles = {"default_obsidian_glass.png", "default_obsidian_glass_detail.png"}, paramtype = "light", + paramtype2 = "glasslikeliquidlevel", is_ground_content = false, sunlight_propagates = true, sounds = default.node_sound_glass_defaults(),