Fix flipped backside of painting
This commit is contained in:
parent
2b41a41052
commit
0ecd7a357d
@ -680,7 +680,7 @@ local painting_box = {
|
|||||||
|
|
||||||
xdecor.register("painting_1", {
|
xdecor.register("painting_1", {
|
||||||
description = S("Painting"),
|
description = S("Painting"),
|
||||||
tiles = {"xdecor_painting_1.png"},
|
tiles = {"xdecor_painting_1.png","xdecor_painting_1.png^[transformR180","xdecor_painting_1.png"},
|
||||||
use_texture_alpha = ALPHA_OPAQUE,
|
use_texture_alpha = ALPHA_OPAQUE,
|
||||||
inventory_image = "xdecor_painting_empty.png",
|
inventory_image = "xdecor_painting_empty.png",
|
||||||
wield_image = "xdecor_painting_empty.png",
|
wield_image = "xdecor_painting_empty.png",
|
||||||
@ -733,7 +733,7 @@ xdecor.register("painting_1", {
|
|||||||
|
|
||||||
for i = 2, 4 do
|
for i = 2, 4 do
|
||||||
xdecor.register("painting_" .. i, {
|
xdecor.register("painting_" .. i, {
|
||||||
tiles = {"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",
|
||||||
drop = "xdecor:painting_1",
|
drop = "xdecor:painting_1",
|
||||||
|
Loading…
Reference in New Issue
Block a user