From 06e4527ad9b729896795dff334bd60de422f946f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 29 Aug 2024 20:45:02 +0200 Subject: [PATCH] =?UTF-8?q?Paintings=20at=20floor=20or=20ceiling=20can=20b?= =?UTF-8?q?e=20rotated=2090=C2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New MT 5.9.0 feature --- src/nodes.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nodes.lua b/src/nodes.lua index 1f7524d..b6d5bbf 100644 --- a/src/nodes.lua +++ b/src/nodes.lua @@ -685,6 +685,7 @@ xdecor.register("painting_1", { inventory_image = "xdecor_painting_empty.png", wield_image = "xdecor_painting_empty.png", paramtype2 = "wallmounted", + wallmounted_rotate_vertical = true, sunlight_propagates = true, groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 2, attached_node = 1}, is_ground_content = false, @@ -736,6 +737,7 @@ for i = 2, 4 do tiles = {"xdecor_painting_"..i..".png","xdecor_painting_"..i..".png^[transformR180","xdecor_painting_"..i..".png"}, use_texture_alpha = ALPHA_OPAQUE, paramtype2 = "wallmounted", + wallmounted_rotate_vertical = true, drop = "xdecor:painting_1", sunlight_propagates = true, groups = {