-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswords.lua
61 lines (57 loc) · 1.56 KB
/
swords.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
-- Sharp objects
minetest.register_tool("pirate:cutlass", {
description = "Cutlass",
inventory_image = "pirate_cutlass.png",
wieldview_image = "pirate_cutlass_wield.png",
tool_capabilities = {
full_punch_interval = 1,
max_drop_level=1,
groupcaps={
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=60, maxlevel=2},
},
damage_groups = {fleshy=7},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("pirate:dagger", {
description = "Dagger",
inventory_image = "pirate_dagger_inv.png",
wield_image = "pirate_dagger.png",
tool_capabilities = {
full_punch_interval = 0.6,
max_drop_level=1,
groupcaps={
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=60, maxlevel=2},
},
damage_groups = {fleshy=4},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("pirate:rapier", {
description = "Rapier",
inventory_image = "pirate_rapier.png",
wieldview_image = "pirate_rapier_wield.png",
tool_capabilities = {
full_punch_interval = 1,
max_drop_level=1,
groupcaps={
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=65, maxlevel=2},
},
damage_groups = {fleshy=6},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("pirate:spadroon", {
description = "Spadroon",
inventory_image = "pirate_spadroon.png",
wieldview_image = "pirate_spadroon_wield.png",
tool_capabilities = {
full_punch_interval = 0.8,
max_drop_level=1,
groupcaps={
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=60, maxlevel=2},
},
damage_groups = {fleshy=5},
},
sound = {breaks = "default_tool_breaks"},
})