Skip to content

Commit

Permalink
Rebalance bronze and steel tools, swap ore depths
Browse files Browse the repository at this point in the history
Reduce bronze tool capabilities to be between stone and steel.
Swap depths of iron ore and tin / copper ores for corresponding
progression.
  • Loading branch information
paramat committed Apr 20, 2018
1 parent 0b025e6 commit bbb88e6
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 65 deletions.
62 changes: 31 additions & 31 deletions mods/default/mapgen.lua
Expand Up @@ -556,48 +556,48 @@ function default.register_ores()
y_min = -31000,
})

-- Iron
-- Tin

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_iron",
ore = "default:stone_with_tin",
wherein = "default:stone",
clust_scarcity = 9 * 9 * 9,
clust_num_ores = 12,
clust_scarcity = 10 * 10 * 10,
clust_num_ores = 5,
clust_size = 3,
y_max = 31000,
y_min = 1025,
})

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_iron",
ore = "default:stone_with_tin",
wherein = "default:stone",
clust_scarcity = 7 * 7 * 7,
clust_num_ores = 5,
clust_scarcity = 13 * 13 * 13,
clust_num_ores = 4,
clust_size = 3,
y_max = -64,
y_min = -127,
})

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_iron",
ore = "default:stone_with_tin",
wherein = "default:stone",
clust_scarcity = 12 * 12 * 12,
clust_num_ores = 29,
clust_size = 5,
clust_scarcity = 10 * 10 * 10,
clust_num_ores = 5,
clust_size = 3,
y_max = -128,
y_min = -31000,
})

-- Tin
-- Copper

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_tin",
ore = "default:stone_with_copper",
wherein = "default:stone",
clust_scarcity = 10 * 10 * 10,
clust_scarcity = 9 * 9 * 9,
clust_num_ores = 5,
clust_size = 3,
y_max = 31000,
Expand All @@ -606,57 +606,57 @@ function default.register_ores()

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_tin",
ore = "default:stone_with_copper",
wherein = "default:stone",
clust_scarcity = 13 * 13 * 13,
clust_scarcity = 12 * 12 * 12,
clust_num_ores = 4,
clust_size = 3,
y_max = -128,
y_min = -255,
y_max = -64,
y_min = -127,
})

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_tin",
ore = "default:stone_with_copper",
wherein = "default:stone",
clust_scarcity = 10 * 10 * 10,
clust_scarcity = 9 * 9 * 9,
clust_num_ores = 5,
clust_size = 3,
y_max = -256,
y_max = -128,
y_min = -31000,
})

-- Copper
-- Iron

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_copper",
ore = "default:stone_with_iron",
wherein = "default:stone",
clust_scarcity = 9 * 9 * 9,
clust_num_ores = 5,
clust_num_ores = 12,
clust_size = 3,
y_max = 31000,
y_min = 1025,
})

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_copper",
ore = "default:stone_with_iron",
wherein = "default:stone",
clust_scarcity = 12 * 12 * 12,
clust_num_ores = 4,
clust_scarcity = 7 * 7 * 7,
clust_num_ores = 5,
clust_size = 3,
y_max = -128,
y_min = -255,
})

minetest.register_ore({
ore_type = "scatter",
ore = "default:stone_with_copper",
ore = "default:stone_with_iron",
wherein = "default:stone",
clust_scarcity = 9 * 9 * 9,
clust_num_ores = 5,
clust_size = 3,
clust_scarcity = 12 * 12 * 12,
clust_num_ores = 29,
clust_size = 5,
y_max = -256,
y_min = -31000,
})
Expand Down
68 changes: 34 additions & 34 deletions mods/default/tools.lua
Expand Up @@ -50,28 +50,28 @@ minetest.register_tool("default:pick_stone", {
sound = {breaks = "default_tool_breaks"},
})

minetest.register_tool("default:pick_steel", {
description = "Steel Pickaxe",
inventory_image = "default_tool_steelpick.png",
minetest.register_tool("default:pick_bronze", {
description = "Bronze Pickaxe",
inventory_image = "default_tool_bronzepick.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
cracky = {times={[1]=4.00, [2]=1.60, [3]=0.80}, uses=20, maxlevel=2},
cracky = {times={[1]=4.50, [2]=1.80, [3]=0.90}, uses=20, maxlevel=2},
},
damage_groups = {fleshy=4},
},
sound = {breaks = "default_tool_breaks"},
})

minetest.register_tool("default:pick_bronze", {
description = "Bronze Pickaxe",
inventory_image = "default_tool_bronzepick.png",
minetest.register_tool("default:pick_steel", {
description = "Steel Pickaxe",
inventory_image = "default_tool_steelpick.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
cracky = {times={[1]=4.00, [2]=1.60, [3]=0.80}, uses=30, maxlevel=2},
cracky = {times={[1]=4.00, [2]=1.60, [3]=0.80}, uses=20, maxlevel=2},
},
damage_groups = {fleshy=4},
},
Expand Down Expand Up @@ -141,30 +141,30 @@ minetest.register_tool("default:shovel_stone", {
sound = {breaks = "default_tool_breaks"},
})

minetest.register_tool("default:shovel_steel", {
description = "Steel Shovel",
inventory_image = "default_tool_steelshovel.png",
wield_image = "default_tool_steelshovel.png^[transformR90",
minetest.register_tool("default:shovel_bronze", {
description = "Bronze Shovel",
inventory_image = "default_tool_bronzeshovel.png",
wield_image = "default_tool_bronzeshovel.png^[transformR90",
tool_capabilities = {
full_punch_interval = 1.1,
max_drop_level=1,
groupcaps={
crumbly = {times={[1]=1.50, [2]=0.90, [3]=0.40}, uses=30, maxlevel=2},
crumbly = {times={[1]=1.65, [2]=1.05, [3]=0.45}, uses=25, maxlevel=2},
},
damage_groups = {fleshy=3},
},
sound = {breaks = "default_tool_breaks"},
})

minetest.register_tool("default:shovel_bronze", {
description = "Bronze Shovel",
inventory_image = "default_tool_bronzeshovel.png",
wield_image = "default_tool_bronzeshovel.png^[transformR90",
minetest.register_tool("default:shovel_steel", {
description = "Steel Shovel",
inventory_image = "default_tool_steelshovel.png",
wield_image = "default_tool_steelshovel.png^[transformR90",
tool_capabilities = {
full_punch_interval = 1.1,
max_drop_level=1,
groupcaps={
crumbly = {times={[1]=1.50, [2]=0.90, [3]=0.40}, uses=40, maxlevel=2},
crumbly = {times={[1]=1.50, [2]=0.90, [3]=0.40}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=3},
},
Expand Down Expand Up @@ -234,28 +234,28 @@ minetest.register_tool("default:axe_stone", {
sound = {breaks = "default_tool_breaks"},
})

minetest.register_tool("default:axe_steel", {
description = "Steel Axe",
inventory_image = "default_tool_steelaxe.png",
minetest.register_tool("default:axe_bronze", {
description = "Bronze Axe",
inventory_image = "default_tool_bronzeaxe.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=20, maxlevel=2},
choppy={times={[1]=2.75, [2]=1.70, [3]=1.15}, uses=20, maxlevel=2},
},
damage_groups = {fleshy=4},
},
sound = {breaks = "default_tool_breaks"},
})

minetest.register_tool("default:axe_bronze", {
description = "Bronze Axe",
inventory_image = "default_tool_bronzeaxe.png",
minetest.register_tool("default:axe_steel", {
description = "Steel Axe",
inventory_image = "default_tool_steelaxe.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=30, maxlevel=2},
choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=20, maxlevel=2},
},
damage_groups = {fleshy=4},
},
Expand Down Expand Up @@ -323,28 +323,28 @@ minetest.register_tool("default:sword_stone", {
sound = {breaks = "default_tool_breaks"},
})

minetest.register_tool("default:sword_steel", {
description = "Steel Sword",
inventory_image = "default_tool_steelsword.png",
minetest.register_tool("default:sword_bronze", {
description = "Bronze Sword",
inventory_image = "default_tool_bronzesword.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=30, maxlevel=2},
snappy={times={[1]=2.75, [2]=1.30, [3]=0.375}, uses=25, maxlevel=2},
},
damage_groups = {fleshy=6},
},
sound = {breaks = "default_tool_breaks"},
})

minetest.register_tool("default:sword_bronze", {
description = "Bronze Sword",
inventory_image = "default_tool_bronzesword.png",
minetest.register_tool("default:sword_steel", {
description = "Steel Sword",
inventory_image = "default_tool_steelsword.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=40, maxlevel=2},
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=6},
},
Expand Down

0 comments on commit bbb88e6

Please sign in to comment.