fix texture and add light to frames
parent
9b5bdc1b1a
commit
de596cb978
|
@ -113,9 +113,10 @@ xdecor.register("itemframe", {
|
|||
sunlight_propagates = true,
|
||||
inventory_image = "xdecor_itemframe.png",
|
||||
node_box = xdecor.nodebox.slab_z(0.9375),
|
||||
tiles = {"xdecor_wood.png", "xdecor_wood.png", "xdecor_wood.png",
|
||||
"xdecor_wood.png", "xdecor_wood.png", "xdecor_itemframe.png"},
|
||||
tiles = {"xdecor_itemframe.png",
|
||||
"xdecor_itemframe.png"},
|
||||
after_place_node = itemframe.after_place,
|
||||
light_source = 10,
|
||||
on_timer = itemframe.timer,
|
||||
on_rightclick = itemframe.rightclick,
|
||||
on_punch = itemframe.punch,
|
||||
|
@ -166,6 +167,6 @@ minetest.register_craft({
|
|||
recipe = {
|
||||
{"group:stick", "group:stick", "group:stick"},
|
||||
{"group:stick", "default:paper", "group:stick"},
|
||||
{"group:stick", "group:stick", "group:stick"}
|
||||
{"group:stick", "default:torch", "group:stick"}
|
||||
}
|
||||
})
|
Loading…
Reference in New Issue