Skip to content

Commit bbb88e6

Browse files
authored
Rebalance bronze and steel tools, swap ore depths
Reduce bronze tool capabilities to be between stone and steel. Swap depths of iron ore and tin / copper ores for corresponding progression.
1 parent 0b025e6 commit bbb88e6

File tree

2 files changed

+65
-65
lines changed

2 files changed

+65
-65
lines changed

mods/default/mapgen.lua

+31-31
Original file line numberDiff line numberDiff line change
@@ -556,48 +556,48 @@ function default.register_ores()
556556
y_min = -31000,
557557
})
558558

559-
-- Iron
559+
-- Tin
560560

561561
minetest.register_ore({
562562
ore_type = "scatter",
563-
ore = "default:stone_with_iron",
563+
ore = "default:stone_with_tin",
564564
wherein = "default:stone",
565-
clust_scarcity = 9 * 9 * 9,
566-
clust_num_ores = 12,
565+
clust_scarcity = 10 * 10 * 10,
566+
clust_num_ores = 5,
567567
clust_size = 3,
568568
y_max = 31000,
569569
y_min = 1025,
570570
})
571571

572572
minetest.register_ore({
573573
ore_type = "scatter",
574-
ore = "default:stone_with_iron",
574+
ore = "default:stone_with_tin",
575575
wherein = "default:stone",
576-
clust_scarcity = 7 * 7 * 7,
577-
clust_num_ores = 5,
576+
clust_scarcity = 13 * 13 * 13,
577+
clust_num_ores = 4,
578578
clust_size = 3,
579579
y_max = -64,
580580
y_min = -127,
581581
})
582582

583583
minetest.register_ore({
584584
ore_type = "scatter",
585-
ore = "default:stone_with_iron",
585+
ore = "default:stone_with_tin",
586586
wherein = "default:stone",
587-
clust_scarcity = 12 * 12 * 12,
588-
clust_num_ores = 29,
589-
clust_size = 5,
587+
clust_scarcity = 10 * 10 * 10,
588+
clust_num_ores = 5,
589+
clust_size = 3,
590590
y_max = -128,
591591
y_min = -31000,
592592
})
593593

594-
-- Tin
594+
-- Copper
595595

596596
minetest.register_ore({
597597
ore_type = "scatter",
598-
ore = "default:stone_with_tin",
598+
ore = "default:stone_with_copper",
599599
wherein = "default:stone",
600-
clust_scarcity = 10 * 10 * 10,
600+
clust_scarcity = 9 * 9 * 9,
601601
clust_num_ores = 5,
602602
clust_size = 3,
603603
y_max = 31000,
@@ -606,57 +606,57 @@ function default.register_ores()
606606

607607
minetest.register_ore({
608608
ore_type = "scatter",
609-
ore = "default:stone_with_tin",
609+
ore = "default:stone_with_copper",
610610
wherein = "default:stone",
611-
clust_scarcity = 13 * 13 * 13,
611+
clust_scarcity = 12 * 12 * 12,
612612
clust_num_ores = 4,
613613
clust_size = 3,
614-
y_max = -128,
615-
y_min = -255,
614+
y_max = -64,
615+
y_min = -127,
616616
})
617617

618618
minetest.register_ore({
619619
ore_type = "scatter",
620-
ore = "default:stone_with_tin",
620+
ore = "default:stone_with_copper",
621621
wherein = "default:stone",
622-
clust_scarcity = 10 * 10 * 10,
622+
clust_scarcity = 9 * 9 * 9,
623623
clust_num_ores = 5,
624624
clust_size = 3,
625-
y_max = -256,
625+
y_max = -128,
626626
y_min = -31000,
627627
})
628628

629-
-- Copper
629+
-- Iron
630630

631631
minetest.register_ore({
632632
ore_type = "scatter",
633-
ore = "default:stone_with_copper",
633+
ore = "default:stone_with_iron",
634634
wherein = "default:stone",
635635
clust_scarcity = 9 * 9 * 9,
636-
clust_num_ores = 5,
636+
clust_num_ores = 12,
637637
clust_size = 3,
638638
y_max = 31000,
639639
y_min = 1025,
640640
})
641641

642642
minetest.register_ore({
643643
ore_type = "scatter",
644-
ore = "default:stone_with_copper",
644+
ore = "default:stone_with_iron",
645645
wherein = "default:stone",
646-
clust_scarcity = 12 * 12 * 12,
647-
clust_num_ores = 4,
646+
clust_scarcity = 7 * 7 * 7,
647+
clust_num_ores = 5,
648648
clust_size = 3,
649649
y_max = -128,
650650
y_min = -255,
651651
})
652652

653653
minetest.register_ore({
654654
ore_type = "scatter",
655-
ore = "default:stone_with_copper",
655+
ore = "default:stone_with_iron",
656656
wherein = "default:stone",
657-
clust_scarcity = 9 * 9 * 9,
658-
clust_num_ores = 5,
659-
clust_size = 3,
657+
clust_scarcity = 12 * 12 * 12,
658+
clust_num_ores = 29,
659+
clust_size = 5,
660660
y_max = -256,
661661
y_min = -31000,
662662
})

mods/default/tools.lua

+34-34
Original file line numberDiff line numberDiff line change
@@ -50,28 +50,28 @@ minetest.register_tool("default:pick_stone", {
5050
sound = {breaks = "default_tool_breaks"},
5151
})
5252

53-
minetest.register_tool("default:pick_steel", {
54-
description = "Steel Pickaxe",
55-
inventory_image = "default_tool_steelpick.png",
53+
minetest.register_tool("default:pick_bronze", {
54+
description = "Bronze Pickaxe",
55+
inventory_image = "default_tool_bronzepick.png",
5656
tool_capabilities = {
5757
full_punch_interval = 1.0,
5858
max_drop_level=1,
5959
groupcaps={
60-
cracky = {times={[1]=4.00, [2]=1.60, [3]=0.80}, uses=20, maxlevel=2},
60+
cracky = {times={[1]=4.50, [2]=1.80, [3]=0.90}, uses=20, maxlevel=2},
6161
},
6262
damage_groups = {fleshy=4},
6363
},
6464
sound = {breaks = "default_tool_breaks"},
6565
})
6666

67-
minetest.register_tool("default:pick_bronze", {
68-
description = "Bronze Pickaxe",
69-
inventory_image = "default_tool_bronzepick.png",
67+
minetest.register_tool("default:pick_steel", {
68+
description = "Steel Pickaxe",
69+
inventory_image = "default_tool_steelpick.png",
7070
tool_capabilities = {
7171
full_punch_interval = 1.0,
7272
max_drop_level=1,
7373
groupcaps={
74-
cracky = {times={[1]=4.00, [2]=1.60, [3]=0.80}, uses=30, maxlevel=2},
74+
cracky = {times={[1]=4.00, [2]=1.60, [3]=0.80}, uses=20, maxlevel=2},
7575
},
7676
damage_groups = {fleshy=4},
7777
},
@@ -141,30 +141,30 @@ minetest.register_tool("default:shovel_stone", {
141141
sound = {breaks = "default_tool_breaks"},
142142
})
143143

144-
minetest.register_tool("default:shovel_steel", {
145-
description = "Steel Shovel",
146-
inventory_image = "default_tool_steelshovel.png",
147-
wield_image = "default_tool_steelshovel.png^[transformR90",
144+
minetest.register_tool("default:shovel_bronze", {
145+
description = "Bronze Shovel",
146+
inventory_image = "default_tool_bronzeshovel.png",
147+
wield_image = "default_tool_bronzeshovel.png^[transformR90",
148148
tool_capabilities = {
149149
full_punch_interval = 1.1,
150150
max_drop_level=1,
151151
groupcaps={
152-
crumbly = {times={[1]=1.50, [2]=0.90, [3]=0.40}, uses=30, maxlevel=2},
152+
crumbly = {times={[1]=1.65, [2]=1.05, [3]=0.45}, uses=25, maxlevel=2},
153153
},
154154
damage_groups = {fleshy=3},
155155
},
156156
sound = {breaks = "default_tool_breaks"},
157157
})
158158

159-
minetest.register_tool("default:shovel_bronze", {
160-
description = "Bronze Shovel",
161-
inventory_image = "default_tool_bronzeshovel.png",
162-
wield_image = "default_tool_bronzeshovel.png^[transformR90",
159+
minetest.register_tool("default:shovel_steel", {
160+
description = "Steel Shovel",
161+
inventory_image = "default_tool_steelshovel.png",
162+
wield_image = "default_tool_steelshovel.png^[transformR90",
163163
tool_capabilities = {
164164
full_punch_interval = 1.1,
165165
max_drop_level=1,
166166
groupcaps={
167-
crumbly = {times={[1]=1.50, [2]=0.90, [3]=0.40}, uses=40, maxlevel=2},
167+
crumbly = {times={[1]=1.50, [2]=0.90, [3]=0.40}, uses=30, maxlevel=2},
168168
},
169169
damage_groups = {fleshy=3},
170170
},
@@ -234,28 +234,28 @@ minetest.register_tool("default:axe_stone", {
234234
sound = {breaks = "default_tool_breaks"},
235235
})
236236

237-
minetest.register_tool("default:axe_steel", {
238-
description = "Steel Axe",
239-
inventory_image = "default_tool_steelaxe.png",
237+
minetest.register_tool("default:axe_bronze", {
238+
description = "Bronze Axe",
239+
inventory_image = "default_tool_bronzeaxe.png",
240240
tool_capabilities = {
241241
full_punch_interval = 1.0,
242242
max_drop_level=1,
243243
groupcaps={
244-
choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=20, maxlevel=2},
244+
choppy={times={[1]=2.75, [2]=1.70, [3]=1.15}, uses=20, maxlevel=2},
245245
},
246246
damage_groups = {fleshy=4},
247247
},
248248
sound = {breaks = "default_tool_breaks"},
249249
})
250250

251-
minetest.register_tool("default:axe_bronze", {
252-
description = "Bronze Axe",
253-
inventory_image = "default_tool_bronzeaxe.png",
251+
minetest.register_tool("default:axe_steel", {
252+
description = "Steel Axe",
253+
inventory_image = "default_tool_steelaxe.png",
254254
tool_capabilities = {
255255
full_punch_interval = 1.0,
256256
max_drop_level=1,
257257
groupcaps={
258-
choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=30, maxlevel=2},
258+
choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=20, maxlevel=2},
259259
},
260260
damage_groups = {fleshy=4},
261261
},
@@ -323,28 +323,28 @@ minetest.register_tool("default:sword_stone", {
323323
sound = {breaks = "default_tool_breaks"},
324324
})
325325

326-
minetest.register_tool("default:sword_steel", {
327-
description = "Steel Sword",
328-
inventory_image = "default_tool_steelsword.png",
326+
minetest.register_tool("default:sword_bronze", {
327+
description = "Bronze Sword",
328+
inventory_image = "default_tool_bronzesword.png",
329329
tool_capabilities = {
330330
full_punch_interval = 0.8,
331331
max_drop_level=1,
332332
groupcaps={
333-
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=30, maxlevel=2},
333+
snappy={times={[1]=2.75, [2]=1.30, [3]=0.375}, uses=25, maxlevel=2},
334334
},
335335
damage_groups = {fleshy=6},
336336
},
337337
sound = {breaks = "default_tool_breaks"},
338338
})
339339

340-
minetest.register_tool("default:sword_bronze", {
341-
description = "Bronze Sword",
342-
inventory_image = "default_tool_bronzesword.png",
340+
minetest.register_tool("default:sword_steel", {
341+
description = "Steel Sword",
342+
inventory_image = "default_tool_steelsword.png",
343343
tool_capabilities = {
344344
full_punch_interval = 0.8,
345345
max_drop_level=1,
346346
groupcaps={
347-
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=40, maxlevel=2},
347+
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=30, maxlevel=2},
348348
},
349349
damage_groups = {fleshy=6},
350350
},

0 commit comments

Comments
 (0)