Pushing mod to GH
parent
88ae16fac7
commit
414f4d1dc7
|
@ -0,0 +1 @@
|
|||
default
|
|
@ -0,0 +1,3 @@
|
|||
edible_swords = {}
|
||||
|
||||
dofile(minetest.get_modpath("edible_swords").."/swords.lua")
|
|
@ -0,0 +1,31 @@
|
|||
minetest.register_tool("edible_swords:sword_dango", {
|
||||
description = "Dango Sword",
|
||||
inventory_image = "swords_dango.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1,
|
||||
max_drop_level=0,
|
||||
groupcaps={
|
||||
snappy={times={[2]=1.6, [3]=0.40}, uses=10, maxlevel=1},
|
||||
},
|
||||
damage_groups = {fleshy=2},
|
||||
},
|
||||
sound = {breaks = "default_tool_breaks"},
|
||||
groups = {sword = 1, flammable = 2},
|
||||
on_place = minetest.item_eat(1),
|
||||
})
|
||||
|
||||
minetest.register_tool("edible_swords:sword_cc", {
|
||||
description = "Cotton Candy Sword",
|
||||
inventory_image = "swords_cc.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1,
|
||||
max_drop_level=0,
|
||||
groupcaps={
|
||||
snappy={times={[2]=1.6, [3]=0.40}, uses=10, maxlevel=1},
|
||||
},
|
||||
damage_groups = {fleshy=2},
|
||||
},
|
||||
sound = {breaks = "default_tool_breaks"},
|
||||
groups = {sword = 1, flammable = 2},
|
||||
on_place = minetest.item_eat(1),
|
||||
})
|
Binary file not shown.
After Width: | Height: | Size: 345 B |
Binary file not shown.
After Width: | Height: | Size: 474 B |
Loading…
Reference in New Issue