Better cabinet textures
This commit is contained in:
parent
1d24a6eb97
commit
e803784072
20
nodes.lua
20
nodes.lua
@ -35,29 +35,29 @@ xdecor.register("barrel", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
xdecor.register("cabinet", {
|
xdecor.register("cabinet", {
|
||||||
description = "Cabinet",
|
description = "Wood Cabinet",
|
||||||
inventory = {size=24},
|
inventory = {size=24},
|
||||||
infotext = "Cabinet",
|
infotext = "Wood Cabinet",
|
||||||
groups = {choppy=3, flammable=3},
|
groups = {choppy=3, flammable=3},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
tiles = {
|
tiles = {
|
||||||
"default_wood.png", "default_wood.png",
|
"xdecor_cabinet_sides.png", "xdecor_cabinet_sides.png",
|
||||||
"default_wood.png", "default_wood.png",
|
"xdecor_cabinet_sides.png", "xdecor_cabinet_sides.png",
|
||||||
"default_wood.png", "xdecor_cabinet_front.png"
|
"xdecor_cabinet_sides.png", "xdecor_cabinet_front.png"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
xdecor.register("cabinet_half", {
|
xdecor.register("cabinet_half", {
|
||||||
description = "Half Cabinet",
|
description = "Half Wood Cabinet",
|
||||||
inventory = {size=8},
|
inventory = {size=8},
|
||||||
infotext = "Half Cabinet",
|
infotext = "Half Wood Cabinet",
|
||||||
groups = {choppy=3, flammable=3},
|
groups = {choppy=3, flammable=3},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
node_box = xdecor.nodebox.slab_y(0.5, 0.5),
|
node_box = xdecor.nodebox.slab_y(0.5, 0.5),
|
||||||
tiles = {
|
tiles = {
|
||||||
"default_wood.png", "default_wood.png",
|
"xdecor_cabinet_sides.png", "xdecor_cabinet_sides.png",
|
||||||
"default_wood.png", "default_wood.png",
|
"xdecor_half_cabinet_sides.png", "xdecor_half_cabinet_sides.png",
|
||||||
"default_wood.png", "xdecor_cabinet_half_front.png"
|
"xdecor_half_cabinet_sides.png", "xdecor_half_cabinet_front.png"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 270 B |
Binary file not shown.
Before Width: | Height: | Size: 188 B |
BIN
textures/xdecor_cabinet_sides.png
Normal file
BIN
textures/xdecor_cabinet_sides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 245 B |
BIN
textures/xdecor_half_cabinet_front.png
Normal file
BIN
textures/xdecor_half_cabinet_front.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 248 B |
BIN
textures/xdecor_half_cabinet_sides.png
Normal file
BIN
textures/xdecor_half_cabinet_sides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 205 B |
Loading…
Reference in New Issue
Block a user