]> git.scottworley.com Git - gold_sword/blame - init.lua
Gold sword
[gold_sword] / init.lua
CommitLineData
f684a741
SW
1minetest.register_tool("gold_sword:sword_gold", {
2 description = "Gold Sword",
3 inventory_image = "gold_sword_tool_goldsword.png",
4 tool_capabilities = {
5 full_punch_interval = 0.9,
6 max_drop_level=1,
7 groupcaps={
8 snappy={times={[2]=1.40, [3]=0.30}, uses=30, maxlevel=1},
9 },
10 damage_groups = {fleshy=4},
11 },
12 sound = {breaks = "default_tool_breaks"},
13})
14
15minetest.register_craft({
16 output = 'gold_sword:sword_gold',
17 recipe = {
18 {'default:gold_ingot'},
19 {'default:gold_ingot'},
20 {'group:stick'},
21 }
22})