Paintings at floor or ceiling can be rotated 90°

New MT 5.9.0 feature
This commit is contained in:
Wuzzy 2024-08-29 20:45:02 +02:00
parent 0ecd7a357d
commit 06e4527ad9

View File

@ -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 = {