1 -- mods/default/tools.lua
5 minetest
.register_item(":", {
7 wield_image
= "wieldhand.png",
8 wield_scale
= {x
=1,y
=1,z
=2.5},
10 full_punch_interval
= 0.9,
13 crumbly
= {times
={[2]=4.00, [3]=1.10}, uses
=0, maxlevel
=1},
14 snappy
= {times
={[3]=0.40}, uses
=0, maxlevel
=1},
15 oddly_breakable_by_hand
= {times
={[1]=5.50,[2]=4.00,[3]=1.70}, uses
=0}
17 damage_groups
= {fleshy
=1},
27 minetest
.register_tool("default:pick_wood", {
28 description
= "Wooden Pickaxe",
29 inventory_image
= "default_tool_woodpick.png",
31 full_punch_interval
= 1.2,
34 cracky
= {times
={[3]=2.60}, uses
=10, maxlevel
=1},
36 damage_groups
= {fleshy
=2},
39 minetest
.register_tool("default:pick_stone", {
40 description
= "Stone Pickaxe",
41 inventory_image
= "default_tool_stonepick.png",
43 full_punch_interval
= 1.3,
46 cracky
= {times
={[2]=3.00, [3]=1.80}, uses
=15, maxlevel
=1},
48 damage_groups
= {fleshy
=3},
51 minetest
.register_tool("default:pick_steel", {
52 description
= "Steel Pickaxe",
53 inventory_image
= "default_tool_steelpick.png",
55 full_punch_interval
= 1.0,
58 cracky
= {times
={[1]=4.00, [2]=1.60, [3]=0.80}, uses
=15, maxlevel
=2},
60 damage_groups
= {fleshy
=4},
63 minetest
.register_tool("default:pick_bronze", {
64 description
= "Bronze Pickaxe",
65 inventory_image
= "default_tool_bronzepick.png",
67 full_punch_interval
= 1.0,
70 cracky
= {times
={[1]=3.00, [2]=1.60, [3]=0.80}, uses
=25, maxlevel
=2},
72 damage_groups
= {fleshy
=4},
75 minetest
.register_tool("default:pick_mese", {
76 description
= "Mese Pickaxe",
77 inventory_image
= "default_tool_mesepick.png",
79 full_punch_interval
= 0.9,
82 cracky
= {times
={[1]=2.40, [2]=1.20, [3]=0.60}, uses
=40, maxlevel
=3},
84 damage_groups
= {fleshy
=5},
87 minetest
.register_tool("default:pick_diamond", {
88 description
= "Prisma Pickaxe",
89 inventory_image
= "default_tool_diamondpick.png",
91 full_punch_interval
= 0.9,
94 cracky
= {times
={[1]=2.00, [2]=1.00, [3]=0.50}, uses
=90, maxlevel
=3},
96 damage_groups
= {fleshy
=5},
106 minetest
.register_tool("default:shovel_wood", {
107 description
= "Wooden Shovel",
108 inventory_image
= "default_tool_woodshovel.png",
109 wield_image
= "default_tool_woodshovel.png^[transformR90",
110 tool_capabilities
= {
111 full_punch_interval
= 1.2,
114 crumbly
= {times
={[1]=4.00, [2]=2.60, [3]=1.60}, uses
=10, maxlevel
=1},
116 damage_groups
= {fleshy
=2},
119 minetest
.register_tool("default:shovel_stone", {
120 description
= "Stone Shovel",
121 inventory_image
= "default_tool_stoneshovel.png",
122 wield_image
= "default_tool_stoneshovel.png^[transformR90",
123 tool_capabilities
= {
124 full_punch_interval
= 1.4,
127 crumbly
= {times
={[1]=2.80, [2]=1.60, [3]=1.00}, uses
=15, maxlevel
=1},
129 damage_groups
= {fleshy
=2},
132 minetest
.register_tool("default:shovel_steel", {
133 description
= "Steel Shovel",
134 inventory_image
= "default_tool_steelshovel.png",
135 wield_image
= "default_tool_steelshovel.png^[transformR90",
136 tool_capabilities
= {
137 full_punch_interval
= 1.1,
140 crumbly
= {times
={[1]=2.00, [2]=1.00, [3]=0.50}, uses
=25, maxlevel
=2},
142 damage_groups
= {fleshy
=3},
145 minetest
.register_tool("default:shovel_bronze", {
146 description
= "Bronze Shovel",
147 inventory_image
= "default_tool_bronzeshovel.png",
148 wield_image
= "default_tool_bronzeshovel.png^[transformR90",
149 tool_capabilities
= {
150 full_punch_interval
= 1.1,
153 crumbly
= {times
={[1]=1.70, [2]=0.90, [3]=0.40}, uses
=30, maxlevel
=2},
155 damage_groups
= {fleshy
=3},
158 minetest
.register_tool("default:shovel_mese", {
159 description
= "Mese Shovel",
160 inventory_image
= "default_tool_meseshovel.png",
161 wield_image
= "default_tool_meseshovel.png^[transformR90",
162 tool_capabilities
= {
163 full_punch_interval
= 1.0,
166 crumbly
= {times
={[1]=1.20, [2]=0.60, [3]=0.30}, uses
=40, maxlevel
=3},
168 damage_groups
= {fleshy
=4},
171 minetest
.register_tool("default:shovel_diamond", {
172 description
= "Prisma Shovel",
173 inventory_image
= "default_tool_diamondshovel.png",
174 wield_image
= "default_tool_diamondshovel.png^[transformR90",
175 tool_capabilities
= {
176 full_punch_interval
= 1.0,
179 crumbly
= {times
={[1]=0.90, [2]=0.40, [3]=0.30}, uses
=90, maxlevel
=3},
181 damage_groups
= {fleshy
=4},
191 minetest
.register_tool("default:axe_wood", {
192 description
= "Wooden Axe",
193 inventory_image
= "default_tool_woodaxe.png",
194 tool_capabilities
= {
195 full_punch_interval
= 1.0,
198 choppy
= {times
={[2]=4.00, [3]=3.00}, uses
=10, maxlevel
=1},
200 damage_groups
= {fleshy
=2},
203 minetest
.register_tool("default:axe_stone", {
204 description
= "Stone Axe",
205 inventory_image
= "default_tool_stoneaxe.png",
206 tool_capabilities
= {
207 full_punch_interval
= 1.2,
210 choppy
={times
={[1]=3.50, [2]=2.50, [3]=2.00}, uses
=15, maxlevel
=1},
212 damage_groups
= {fleshy
=3},
215 minetest
.register_tool("default:axe_steel", {
216 description
= "Steel Axe",
217 inventory_image
= "default_tool_steelaxe.png",
218 tool_capabilities
= {
219 full_punch_interval
= 1.0,
222 choppy
={times
={[1]=2.50, [2]=1.60, [3]=1.50}, uses
=25, maxlevel
=2},
224 damage_groups
= {fleshy
=4},
227 minetest
.register_tool("default:axe_bronze", {
228 description
= "Bronze Axe",
229 inventory_image
= "default_tool_bronzeaxe.png",
230 tool_capabilities
= {
231 full_punch_interval
= 1.0,
234 choppy
={times
={[1]=2.20, [2]=1.40, [3]=1.20}, uses
=30, maxlevel
=2},
236 damage_groups
= {fleshy
=4},
239 minetest
.register_tool("default:axe_mese", {
240 description
= "Mese Axe",
241 inventory_image
= "default_tool_meseaxe.png",
242 tool_capabilities
= {
243 full_punch_interval
= 0.9,
246 choppy
={times
={[1]=1.90, [2]=1.10, [3]=0.80}, uses
=40, maxlevel
=3},
248 damage_groups
= {fleshy
=6},
251 minetest
.register_tool("default:axe_diamond", {
252 description
= "Prisma Axe",
253 inventory_image
= "default_tool_diamondaxe.png",
254 tool_capabilities
= {
255 full_punch_interval
= 0.9,
258 choppy
={times
={[1]=1.50, [2]=0.90, [3]=0.50}, uses
=90, maxlevel
=2},
260 damage_groups
= {fleshy
=7},
270 minetest
.register_tool("default:sword_wood", {
271 description
= "Wooden Sword",
272 inventory_image
= "default_tool_woodsword.png",
273 tool_capabilities
= {
274 full_punch_interval
= 1,
277 snappy
={times
={[2]=1.6, [3]=0.40}, uses
=10, maxlevel
=1},
279 damage_groups
= {fleshy
=2},
282 minetest
.register_tool("default:sword_stone", {
283 description
= "Stone Sword",
284 inventory_image
= "default_tool_stonesword.png",
285 tool_capabilities
= {
286 full_punch_interval
= 1.2,
289 snappy
={times
={[2]=1.4, [3]=0.40}, uses
=15, maxlevel
=1},
291 damage_groups
= {fleshy
=3},
294 minetest
.register_tool("default:sword_steel", {
295 description
= "Steel Sword",
296 inventory_image
= "default_tool_steelsword.png",
297 tool_capabilities
= {
298 full_punch_interval
= 0.8,
301 snappy
={times
={[1]=2.5, [2]=1.20, [3]=0.35}, uses
=25, maxlevel
=2},
303 damage_groups
= {fleshy
=4},
306 minetest
.register_tool("default:sword_bronze", {
307 description
= "Bronze Sword",
308 inventory_image
= "default_tool_bronzesword.png",
309 tool_capabilities
= {
310 full_punch_interval
= 0.8,
313 snappy
={times
={[1]=2.5, [2]=1.20, [3]=0.35}, uses
=30, maxlevel
=2},
315 damage_groups
= {fleshy
=5},
318 minetest
.register_tool("default:sword_mese", {
319 description
= "Mese Sword",
320 inventory_image
= "default_tool_mesesword.png",
321 tool_capabilities
= {
322 full_punch_interval
= 0.7,
325 snappy
={times
={[1]=2.0, [2]=1.00, [3]=0.35}, uses
=35, maxlevel
=3},
327 damage_groups
= {fleshy
=7},
330 minetest
.register_tool("default:sword_diamond", {
331 description
= "Prisma Sword",
332 inventory_image
= "default_tool_diamondsword.png",
333 tool_capabilities
= {
334 full_punch_interval
= 0.7,
337 snappy
={times
={[1]=1.90, [2]=0.90, [3]=0.30}, uses
=60, maxlevel
=3},
339 damage_groups
= {fleshy
=9},