Paintings at floor or ceiling can be rotated 90°
New MT 5.9.0 feature
This commit is contained in:
parent
0ecd7a357d
commit
06e4527ad9
@ -685,6 +685,7 @@ xdecor.register("painting_1", {
|
|||||||
inventory_image = "xdecor_painting_empty.png",
|
inventory_image = "xdecor_painting_empty.png",
|
||||||
wield_image = "xdecor_painting_empty.png",
|
wield_image = "xdecor_painting_empty.png",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
wallmounted_rotate_vertical = true,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 2, attached_node = 1},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 2, attached_node = 1},
|
||||||
is_ground_content = false,
|
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"},
|
tiles = {"xdecor_painting_"..i..".png","xdecor_painting_"..i..".png^[transformR180","xdecor_painting_"..i..".png"},
|
||||||
use_texture_alpha = ALPHA_OPAQUE,
|
use_texture_alpha = ALPHA_OPAQUE,
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
|
wallmounted_rotate_vertical = true,
|
||||||
drop = "xdecor:painting_1",
|
drop = "xdecor:painting_1",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {
|
groups = {
|
||||||
|
Loading…
Reference in New Issue
Block a user