mirror of
https://github.com/minetest-mods/ropes.git
synced 2025-02-15 01:22:24 +01:00
Added textures and minor tweaks
This commit is contained in:
21
init.lua
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
BIN
textures/new/bottomvine.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 441 B |
BIN
textures/new/sidevine.png
Normal file
BIN
textures/new/sidevine.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 537 B |
BIN
textures/new/vinesdead.png
Normal file
BIN
textures/new/vinesdead.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 386 B |
BIN
textures/new/vineslive.png
Normal file
BIN
textures/new/vineslive.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 363 B |
BIN
textures/old/vines_vine2.png
Normal file
BIN
textures/old/vines_vine2.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 447 B |
BIN
textures/old/vines_vine_rotten2.png
Normal file
BIN
textures/old/vines_vine_rotten2.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 463 B |
Binary file not shown.
Before ![]() (image error) Size: 447 B After ![]() (image error) Size: 363 B ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 463 B After ![]() (image error) Size: 386 B ![]() ![]() |
Reference in New Issue
Block a user