Disable treespawning on mapgen
[minetest_hades.git] / mods / default / tools.lua
blob8a13a02f2f16f1aeb7179f79c141e848074fb7b1
1 -- mods/default/tools.lua
4 -- The hand
5 minetest.register_item(":", {
6 type = "none",
7 wield_image = "wieldhand.png",
8 wield_scale = {x=1,y=1,z=2.5},
9 tool_capabilities = {
10 full_punch_interval = 0.9,
11 max_drop_level = 0,
12 groupcaps = {
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},
23 -- Picks
27 minetest.register_tool("default:pick_wood", {
28 description = "Wooden Pickaxe",
29 inventory_image = "default_tool_woodpick.png",
30 tool_capabilities = {
31 full_punch_interval = 1.2,
32 max_drop_level=0,
33 groupcaps={
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",
42 tool_capabilities = {
43 full_punch_interval = 1.3,
44 max_drop_level=0,
45 groupcaps={
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",
54 tool_capabilities = {
55 full_punch_interval = 1.0,
56 max_drop_level=1,
57 groupcaps={
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",
66 tool_capabilities = {
67 full_punch_interval = 1.0,
68 max_drop_level=1,
69 groupcaps={
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",
78 tool_capabilities = {
79 full_punch_interval = 0.9,
80 max_drop_level=3,
81 groupcaps={
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",
90 tool_capabilities = {
91 full_punch_interval = 0.9,
92 max_drop_level=3,
93 groupcaps={
94 cracky = {times={[1]=2.00, [2]=1.00, [3]=0.50}, uses=90, maxlevel=3},
96 damage_groups = {fleshy=5},
102 -- Shovels
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,
112 max_drop_level=0,
113 groupcaps={
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,
125 max_drop_level=0,
126 groupcaps={
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,
138 max_drop_level=1,
139 groupcaps={
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,
151 max_drop_level=1,
152 groupcaps={
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,
164 max_drop_level=3,
165 groupcaps={
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,
177 max_drop_level=1,
178 groupcaps={
179 crumbly = {times={[1]=0.90, [2]=0.40, [3]=0.30}, uses=90, maxlevel=3},
181 damage_groups = {fleshy=4},
187 -- Axes
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,
196 max_drop_level=0,
197 groupcaps={
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,
208 max_drop_level=0,
209 groupcaps={
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,
220 max_drop_level=1,
221 groupcaps={
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,
232 max_drop_level=1,
233 groupcaps={
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,
244 max_drop_level=1,
245 groupcaps={
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,
256 max_drop_level=1,
257 groupcaps={
258 choppy={times={[1]=1.50, [2]=0.90, [3]=0.50}, uses=90, maxlevel=2},
260 damage_groups = {fleshy=7},
266 -- Swords
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,
275 max_drop_level=0,
276 groupcaps={
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,
287 max_drop_level=0,
288 groupcaps={
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,
299 max_drop_level=1,
300 groupcaps={
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,
311 max_drop_level=1,
312 groupcaps={
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,
323 max_drop_level=1,
324 groupcaps={
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,
335 max_drop_level=1,
336 groupcaps={
337 snappy={times={[1]=1.90, [2]=0.90, [3]=0.30}, uses=60, maxlevel=3},
339 damage_groups = {fleshy=9},