Skip to content

Commit

Permalink
Glasslike_framed nodes: Add 'glasslikeliquidlevel' paramtype2
Browse files Browse the repository at this point in the history
  • Loading branch information
paramat committed Mar 30, 2017
1 parent 077316b commit 2f46103
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mods/default/nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -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(),
Expand Down

0 comments on commit 2f46103

Please sign in to comment.