Version MFF.
0
vines/LICENSE.md
Normal file → Executable file
0
vines/README.md
Normal file → Executable file
0
vines/aliases.lua
Normal file → Executable file
0
vines/crafts.lua
Normal file → Executable file
0
vines/depends.txt
Normal file → Executable file
2
vines/functions.lua
Normal file → Executable file
@ -123,7 +123,7 @@ vines.dig_vine = function( pos, node_name, user )
|
||||
--only dig give the vine if shears are used
|
||||
if not user then return false end
|
||||
local wielded = user:get_wielded_item()
|
||||
if 'vines:shears' == wielded:get_name() then
|
||||
if 'vines:shears' == wielded:get_name() then
|
||||
local inv = user:get_inventory()
|
||||
if inv then
|
||||
inv:add_item("main", ItemStack( node_name ))
|
||||
|
2
vines/init.lua
Normal file → Executable file
@ -11,4 +11,4 @@ dofile( minetest.get_modpath( vines.name ) .. "/nodes.lua" )
|
||||
dofile( minetest.get_modpath( vines.name ) .. "/shear.lua" )
|
||||
dofile( minetest.get_modpath( vines.name ) .. "/vines.lua" )
|
||||
|
||||
print("[Vines] Loaded!")
|
||||
minetest.log("action", "[Vines] Loaded!")
|
||||
|
0
vines/nodes.lua
Normal file → Executable file
5
vines/recipes.lua
Normal file → Executable file
@ -6,7 +6,8 @@ vines.recipes['rope_block'] = {
|
||||
|
||||
vines.recipes['shears'] = {
|
||||
{'', 'default:steel_ingot', ''},
|
||||
{'default:stick', 'default:wood', 'default:steel_ingot'},
|
||||
{'', '', 'default:stick'}
|
||||
{'group:stick', 'group:wood', 'default:steel_ingot'},
|
||||
{'', '', 'group:stick'}
|
||||
-- MODIFICATION MADE FOR MFF ^ (Mg|2/4/15)
|
||||
}
|
||||
|
||||
|
6
vines/shear.lua
Normal file → Executable file
@ -1,5 +1,5 @@
|
||||
minetest.register_tool("vines:shears", {
|
||||
description = "Shears",
|
||||
description = "Shears for Vines",
|
||||
inventory_image = "vines_shears.png",
|
||||
wield_image = "vines_shears.png",
|
||||
stack_max = 1,
|
||||
@ -8,8 +8,8 @@ minetest.register_tool("vines:shears", {
|
||||
full_punch_interval = 1.0,
|
||||
max_drop_level=0,
|
||||
groupcaps={
|
||||
snappy={times={[3]=0.2}, maxwear=0.05, maxlevel=3},
|
||||
wool={times={[3]=0.2}, maxwear=0.05, maxlevel=3}
|
||||
snappy={times={[3]=0.2}, uses = 1/0.05, maxlevel=3},
|
||||
wool={times={[3]=0.2}, uses = 1/0.05, maxlevel=3}
|
||||
}
|
||||
},
|
||||
})
|
||||
|
0
vines/textures/vines_item.png
Normal file → Executable file
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 167 B |
BIN
vines/textures/vines_jungle_end.png
Normal file → Executable file
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 220 B |
BIN
vines/textures/vines_jungle_middle.png
Normal file → Executable file
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 212 B |
BIN
vines/textures/vines_root_end.png
Normal file → Executable file
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 162 B |
0
vines/textures/vines_root_middle.png
Normal file → Executable file
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 201 B |
0
vines/textures/vines_rope.png
Normal file → Executable file
Before Width: | Height: | Size: 106 B After Width: | Height: | Size: 106 B |
0
vines/textures/vines_rope_end.png
Normal file → Executable file
Before Width: | Height: | Size: 118 B After Width: | Height: | Size: 118 B |
BIN
vines/textures/vines_shears.png
Normal file → Executable file
Before Width: | Height: | Size: 194 B After Width: | Height: | Size: 186 B |
BIN
vines/textures/vines_side_end.png
Normal file → Executable file
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 179 B |
0
vines/textures/vines_side_middle.png
Normal file → Executable file
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 225 B |
BIN
vines/textures/vines_vine_end.png
Normal file → Executable file
Before Width: | Height: | Size: 364 B After Width: | Height: | Size: 202 B |
BIN
vines/textures/vines_vine_middle.png
Normal file → Executable file
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 183 B |
BIN
vines/textures/vines_willow_end.png
Normal file → Executable file
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 171 B |
0
vines/textures/vines_willow_middle.png
Normal file → Executable file
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 196 B |