This commit is contained in:
tenplus1 2023-08-08 15:29:33 +01:00
parent 8e57c4bc2d
commit 8569eabd0c
4 changed files with 17 additions and 22 deletions

View File

@ -1,5 +0,0 @@
default
stairs?
farming?
lucky_block?
toolranks?

View File

@ -1 +0,0 @@
Adds pig iron ingots which need to be crafted to make steel, also blocks and stairs.

View File

@ -169,6 +169,7 @@ minetest.register_abm({
interval = 20,
chance = 300,
catch_up = false,
action = function(pos, node)
if node.name == "pigiron:iron_block" then

View File

@ -11,9 +11,9 @@ minetest.register_tool("pigiron:pick_iron", {
cracky = {
times = {[1] = 2.5, [2] = 1.40, [3] = 0.95},
uses = 20, maxlevel = 2
},
}
},
damage_groups = {fleshy = 3},
damage_groups = {fleshy = 3}
},
groups = {pickaxe = 1},
sound = {breaks = "default_tool_breaks"}
@ -41,9 +41,9 @@ minetest.register_tool("pigiron:shovel_iron", {
crumbly = {
times = {[1] = 1.70, [2] = 1.0, [3] = 0.45},
uses = 25, maxlevel = 1
},
}
},
damage_groups = {fleshy = 2},
damage_groups = {fleshy = 2}
},
groups = {shovel = 1},
sound = {breaks = "default_tool_breaks"}
@ -70,9 +70,9 @@ minetest.register_tool("pigiron:axe_iron", {
choppy = {
times = {[1] = 2.70, [2] = 1.70, [3] = 1.15},
uses = 20, maxlevel = 1
},
}
},
damage_groups = {fleshy = 3},
damage_groups = {fleshy = 3}
},
groups = {axe = 1},
sound = {breaks = "default_tool_breaks"}
@ -99,9 +99,9 @@ minetest.register_tool("pigiron:sword_iron", {
snappy = {
times = {[1] = 2.0, [2] = 1.30, [3] = 0.38},
uses = 25, maxlevel = 1
},
}
},
damage_groups = {fleshy = 5},
damage_groups = {fleshy = 5}
},
groups = {sword = 1},
sound = {breaks = "default_tool_breaks"}
@ -148,7 +148,7 @@ minetest.override_item("default:pick_steel", {
cracky = {
times = {[1] = 4.50, [2] = 1.80, [3] = 0.90},
uses = 20, maxlevel = 2
},
}
},
damage_groups = {fleshy = 4}
}
@ -162,7 +162,7 @@ minetest.override_item("default:pick_bronze", {
cracky = {
times = {[1] = 4.00, [2] = 1.60, [3] = 0.80},
uses = 20, maxlevel = 2
},
}
},
damage_groups = {fleshy = 4}
}
@ -176,7 +176,7 @@ minetest.override_item("default:shovel_steel", {
crumbly = {
times = {[1] = 1.65, [2] = 1.05, [3] = 0.45},
uses = 25, maxlevel = 2
},
}
},
damage_groups = {fleshy = 3}
}
@ -190,7 +190,7 @@ minetest.override_item("default:shovel_bronze", {
crumbly = {
times = {[1] = 1.50, [2] = 0.90, [3] = 0.40},
uses = 30, maxlevel = 2
},
}
},
damage_groups = {fleshy = 3}
}
@ -204,7 +204,7 @@ minetest.override_item("default:axe_steel", {
choppy = {
times = {[1] = 2.75, [2] = 1.70, [3] = 1.15},
uses = 20, maxlevel = 2
},
}
},
damage_groups = {fleshy = 4}
}
@ -218,7 +218,7 @@ minetest.override_item("default:axe_bronze", {
choppy = {
times = {[1] = 2.50, [2] = 1.40, [3] = 1.00},
uses = 20, maxlevel = 2
},
}
},
damage_groups = {fleshy = 4}
}
@ -232,7 +232,7 @@ minetest.override_item("default:sword_steel", {
snappy = {
times = {[1] = 2.75, [2] = 1.30, [3] = 0.375},
uses = 25, maxlevel = 2
},
}
},
damage_groups = {fleshy = 6}
}
@ -246,7 +246,7 @@ minetest.override_item("default:sword_bronze", {
snappy = {
times = {[1] = 2.5, [2] = 1.20, [3] = 0.35},
uses = 30, maxlevel = 2
},
}
},
damage_groups = {fleshy = 6}
}