Added textures and minor tweaks
21
init.lua
@ -7,24 +7,23 @@ minetest.register_node("vines:rope_block", {
|
||||
paramtype = "light",
|
||||
drops = "",
|
||||
tile_images = {
|
||||
"vines_rope_block.png",
|
||||
"vines_rope_block.png",
|
||||
"default_wood.png",
|
||||
"default_wood.png",
|
||||
"vines_rope_block.png",
|
||||
"vines_rope_block.png"
|
||||
},
|
||||
"vines_rope_block.png",
|
||||
"vines_rope_block.png",
|
||||
"default_wood.png",
|
||||
"default_wood.png",
|
||||
"vines_rope_block.png",
|
||||
"vines_rope_block.png"
|
||||
},
|
||||
drawtype = "cube",
|
||||
groups = { snappy = 3},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
after_place_node = function(pos)
|
||||
|
||||
local p = {x=pos.x, y=pos.y-1, z=pos.z}
|
||||
local n = minetest.env:get_node(p)
|
||||
if n.name == "air" then
|
||||
minetest.env:add_node(p, {name="vines:rope_end"})
|
||||
end
|
||||
end,
|
||||
minetest.env:add_node(p, {name="vines:rope_end"})
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node("vines:rope", {
|
||||
|
BIN
textures/new/bottomvine.png
Normal file
After Width: | Height: | Size: 441 B |
BIN
textures/new/sidevine.png
Normal file
After Width: | Height: | Size: 537 B |
BIN
textures/new/vinesdead.png
Normal file
After Width: | Height: | Size: 386 B |
BIN
textures/new/vineslive.png
Normal file
After Width: | Height: | Size: 363 B |
BIN
textures/old/vines_vine2.png
Normal file
After Width: | Height: | Size: 447 B |
BIN
textures/old/vines_vine_rotten2.png
Normal file
After Width: | Height: | Size: 463 B |
Before Width: | Height: | Size: 447 B After Width: | Height: | Size: 363 B |
Before Width: | Height: | Size: 463 B After Width: | Height: | Size: 386 B |