@@ -39,18 +39,24 @@ minetest.register_item(":", {
39
39
crumbly = {times = {[2 ]= 3.00 , [3 ]= 0.70 }, uses = 0 , maxlevel = 1 },
40
40
snappy = {times = {[3 ]= 0.40 }, uses = 0 , maxlevel = 1 },
41
41
oddly_breakable_by_hand = {times = {[1 ]= 7.00 ,[2 ]= 4.00 ,[3 ]= 1.40 }, uses = 0 , maxlevel = 3 },
42
- }
42
+ },
43
+ damage_groups = {fleshy = 1 },
43
44
}
44
45
})
45
46
47
+ --
48
+ -- Picks
49
+ --
50
+
46
51
minetest .register_tool (" default:pick_wood" , {
47
52
description = " Wooden Pickaxe" ,
48
53
inventory_image = " default_tool_woodpick.png" ,
49
54
tool_capabilities = {
50
55
max_drop_level = 0 ,
51
56
groupcaps = {
52
57
cracky = {times = {[2 ]= 2.00 , [3 ]= 1.20 }, uses = 10 , maxlevel = 1 }
53
- }
58
+ },
59
+ damage_groups = {fleshy = 2 },
54
60
},
55
61
})
56
62
minetest .register_tool (" default:pick_stone" , {
@@ -60,7 +66,8 @@ minetest.register_tool("default:pick_stone", {
60
66
max_drop_level = 0 ,
61
67
groupcaps = {
62
68
cracky = {times = {[1 ]= 2.00 , [2 ]= 1.20 , [3 ]= 0.80 }, uses = 20 , maxlevel = 1 }
63
- }
69
+ },
70
+ damage_groups = {fleshy = 3 },
64
71
},
65
72
})
66
73
minetest .register_tool (" default:pick_steel" , {
@@ -70,7 +77,8 @@ minetest.register_tool("default:pick_steel", {
70
77
max_drop_level = 1 ,
71
78
groupcaps = {
72
79
cracky = {times = {[1 ]= 4.00 , [2 ]= 1.60 , [3 ]= 1.00 }, uses = 10 , maxlevel = 2 }
73
- }
80
+ },
81
+ damage_groups = {fleshy = 4 },
74
82
},
75
83
})
76
84
minetest .register_tool (" default:pick_mese" , {
@@ -83,17 +91,24 @@ minetest.register_tool("default:pick_mese", {
83
91
cracky = {times = {[1 ]= 2.0 , [2 ]= 1.0 , [3 ]= 0.5 }, uses = 20 , maxlevel = 3 },
84
92
crumbly = {times = {[1 ]= 2.0 , [2 ]= 1.0 , [3 ]= 0.5 }, uses = 20 , maxlevel = 3 },
85
93
snappy = {times = {[1 ]= 2.0 , [2 ]= 1.0 , [3 ]= 0.5 }, uses = 20 , maxlevel = 3 }
86
- }
94
+ },
95
+ damage_groups = {fleshy = 4 },
87
96
},
88
97
})
98
+
99
+ --
100
+ -- Shovels
101
+ --
102
+
89
103
minetest .register_tool (" default:shovel_wood" , {
90
104
description = " Wooden Shovel" ,
91
105
inventory_image = " default_tool_woodshovel.png" ,
92
106
tool_capabilities = {
93
107
max_drop_level = 0 ,
94
108
groupcaps = {
95
109
crumbly = {times = {[1 ]= 2.00 , [2 ]= 0.80 , [3 ]= 0.50 }, uses = 10 , maxlevel = 1 }
96
- }
110
+ },
111
+ damage_groups = {fleshy = 2 },
97
112
},
98
113
})
99
114
minetest .register_tool (" default:shovel_stone" , {
@@ -103,7 +118,8 @@ minetest.register_tool("default:shovel_stone", {
103
118
max_drop_level = 0 ,
104
119
groupcaps = {
105
120
crumbly = {times = {[1 ]= 1.20 , [2 ]= 0.50 , [3 ]= 0.30 }, uses = 20 , maxlevel = 1 }
106
- }
121
+ },
122
+ damage_groups = {fleshy = 3 },
107
123
},
108
124
})
109
125
minetest .register_tool (" default:shovel_steel" , {
@@ -113,9 +129,15 @@ minetest.register_tool("default:shovel_steel", {
113
129
max_drop_level = 1 ,
114
130
groupcaps = {
115
131
crumbly = {times = {[1 ]= 1.00 , [2 ]= 0.70 , [3 ]= 0.60 }, uses = 10 , maxlevel = 2 }
116
- }
132
+ },
133
+ damage_groups = {fleshy = 4 },
117
134
},
118
135
})
136
+
137
+ --
138
+ -- Axes
139
+ --
140
+
119
141
minetest .register_tool (" default:axe_wood" , {
120
142
description = " Wooden Axe" ,
121
143
inventory_image = " default_tool_woodaxe.png" ,
@@ -124,7 +146,8 @@ minetest.register_tool("default:axe_wood", {
124
146
groupcaps = {
125
147
choppy = {times = {[2 ]= 1.40 , [3 ]= 0.80 }, uses = 10 , maxlevel = 1 },
126
148
fleshy = {times = {[2 ]= 1.50 , [3 ]= 0.80 }, uses = 10 , maxlevel = 1 }
127
- }
149
+ },
150
+ damage_groups = {fleshy = 2 },
128
151
},
129
152
})
130
153
minetest .register_tool (" default:axe_stone" , {
@@ -135,7 +158,8 @@ minetest.register_tool("default:axe_stone", {
135
158
groupcaps = {
136
159
choppy = {times = {[1 ]= 1.50 , [2 ]= 1.00 , [3 ]= 0.60 }, uses = 20 , maxlevel = 1 },
137
160
fleshy = {times = {[2 ]= 1.30 , [3 ]= 0.70 }, uses = 20 , maxlevel = 1 }
138
- }
161
+ },
162
+ damage_groups = {fleshy = 3 },
139
163
},
140
164
})
141
165
minetest .register_tool (" default:axe_steel" , {
@@ -146,9 +170,15 @@ minetest.register_tool("default:axe_steel", {
146
170
groupcaps = {
147
171
choppy = {times = {[1 ]= 2.00 , [2 ]= 1.60 , [3 ]= 1.00 }, uses = 10 , maxlevel = 2 },
148
172
fleshy = {times = {[2 ]= 1.10 , [3 ]= 0.60 }, uses = 40 , maxlevel = 1 }
149
- }
173
+ },
174
+ damage_groups = {fleshy = 3 },
150
175
},
151
176
})
177
+
178
+ --
179
+ -- Swords
180
+ --
181
+
152
182
minetest .register_tool (" default:sword_wood" , {
153
183
description = " Wooden Sword" ,
154
184
inventory_image = " default_tool_woodsword.png" ,
@@ -159,7 +189,8 @@ minetest.register_tool("default:sword_wood", {
159
189
fleshy = {times = {[2 ]= 1.10 , [3 ]= 0.60 }, uses = 10 , maxlevel = 1 },
160
190
snappy = {times = {[2 ]= 1.00 , [3 ]= 0.50 }, uses = 10 , maxlevel = 1 },
161
191
choppy = {times = {[3 ]= 1.00 }, uses = 20 , maxlevel = 0 }
162
- }
192
+ },
193
+ damage_groups = {fleshy = 2 },
163
194
}
164
195
})
165
196
minetest .register_tool (" default:sword_stone" , {
@@ -172,7 +203,8 @@ minetest.register_tool("default:sword_stone", {
172
203
fleshy = {times = {[2 ]= 0.80 , [3 ]= 0.40 }, uses = 20 , maxlevel = 1 },
173
204
snappy = {times = {[2 ]= 0.80 , [3 ]= 0.40 }, uses = 20 , maxlevel = 1 },
174
205
choppy = {times = {[3 ]= 0.90 }, uses = 20 , maxlevel = 0 }
175
- }
206
+ },
207
+ damage_groups = {fleshy = 4 },
176
208
}
177
209
})
178
210
minetest .register_tool (" default:sword_steel" , {
@@ -185,7 +217,8 @@ minetest.register_tool("default:sword_steel", {
185
217
fleshy = {times = {[1 ]= 2.00 , [2 ]= 0.80 , [3 ]= 0.40 }, uses = 10 , maxlevel = 2 },
186
218
snappy = {times = {[2 ]= 0.70 , [3 ]= 0.30 }, uses = 40 , maxlevel = 1 },
187
219
choppy = {times = {[3 ]= 0.70 }, uses = 40 , maxlevel = 0 }
188
- }
220
+ },
221
+ damage_groups = {fleshy = 6 },
189
222
}
190
223
})
191
224
0 commit comments