Better plant pot texture and make it plantlike for simplicity
This commit is contained in:
parent
5f623c4ae7
commit
4894600bb0
10
nodes.lua
10
nodes.lua
@ -407,7 +407,7 @@ local flowers = {"dandelion_white", "dandelion_yellow", "geranium",
|
|||||||
|
|
||||||
for _, f in pairs(flowers) do
|
for _, f in pairs(flowers) do
|
||||||
xdecor.register("potted_"..f, {
|
xdecor.register("potted_"..f, {
|
||||||
description = "Potted Flowers ("..f..")",
|
description = string.gsub("Potted Flowers ("..f..")", "_", " "),
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = {dig_immediate=3, flammable=3, plant=1, flower=1},
|
groups = {dig_immediate=3, flammable=3, plant=1, flower=1},
|
||||||
tiles = {"xdecor_"..f.."_pot.png"},
|
tiles = {"xdecor_"..f.."_pot.png"},
|
||||||
@ -441,10 +441,12 @@ xdecor.register("painting", {
|
|||||||
|
|
||||||
xdecor.register("plant_pot", {
|
xdecor.register("plant_pot", {
|
||||||
description = "Plant Pot",
|
description = "Plant Pot",
|
||||||
|
drawtype = "plantlike",
|
||||||
|
inventory_image = "xdecor_plant_pot.png",
|
||||||
|
wield_image = "xdecor_plant_pot.png",
|
||||||
groups = {snappy=3},
|
groups = {snappy=3},
|
||||||
tiles = {"xdecor_plant_pot_top.png", "xdecor_plant_pot_bottom.png",
|
tiles = {"xdecor_plant_pot.png"},
|
||||||
"xdecor_plant_pot_sides.png"},
|
sounds = default.node_sound_stone_defaults()
|
||||||
sounds = default.node_sound_stone_defaults(),
|
|
||||||
})
|
})
|
||||||
|
|
||||||
xdecor.register("metal_cabinet", {
|
xdecor.register("metal_cabinet", {
|
||||||
|
BIN
textures/xdecor_plant_pot.png
Normal file
BIN
textures/xdecor_plant_pot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 198 B |
Binary file not shown.
Before Width: | Height: | Size: 245 B |
Binary file not shown.
Before Width: | Height: | Size: 258 B |
Binary file not shown.
Before Width: | Height: | Size: 313 B |
Loading…
Reference in New Issue
Block a user