5.x
This commit is contained in:
parent
8e57c4bc2d
commit
8569eabd0c
@ -1,5 +0,0 @@
|
|||||||
default
|
|
||||||
stairs?
|
|
||||||
farming?
|
|
||||||
lucky_block?
|
|
||||||
toolranks?
|
|
@ -1 +0,0 @@
|
|||||||
Adds pig iron ingots which need to be crafted to make steel, also blocks and stairs.
|
|
1
init.lua
1
init.lua
@ -169,6 +169,7 @@ minetest.register_abm({
|
|||||||
interval = 20,
|
interval = 20,
|
||||||
chance = 300,
|
chance = 300,
|
||||||
catch_up = false,
|
catch_up = false,
|
||||||
|
|
||||||
action = function(pos, node)
|
action = function(pos, node)
|
||||||
|
|
||||||
if node.name == "pigiron:iron_block" then
|
if node.name == "pigiron:iron_block" then
|
||||||
|
32
tools.lua
32
tools.lua
@ -11,9 +11,9 @@ minetest.register_tool("pigiron:pick_iron", {
|
|||||||
cracky = {
|
cracky = {
|
||||||
times = {[1] = 2.5, [2] = 1.40, [3] = 0.95},
|
times = {[1] = 2.5, [2] = 1.40, [3] = 0.95},
|
||||||
uses = 20, maxlevel = 2
|
uses = 20, maxlevel = 2
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
damage_groups = {fleshy = 3}
|
||||||
damage_groups = {fleshy = 3},
|
|
||||||
},
|
},
|
||||||
groups = {pickaxe = 1},
|
groups = {pickaxe = 1},
|
||||||
sound = {breaks = "default_tool_breaks"}
|
sound = {breaks = "default_tool_breaks"}
|
||||||
@ -41,9 +41,9 @@ minetest.register_tool("pigiron:shovel_iron", {
|
|||||||
crumbly = {
|
crumbly = {
|
||||||
times = {[1] = 1.70, [2] = 1.0, [3] = 0.45},
|
times = {[1] = 1.70, [2] = 1.0, [3] = 0.45},
|
||||||
uses = 25, maxlevel = 1
|
uses = 25, maxlevel = 1
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
damage_groups = {fleshy = 2}
|
||||||
damage_groups = {fleshy = 2},
|
|
||||||
},
|
},
|
||||||
groups = {shovel = 1},
|
groups = {shovel = 1},
|
||||||
sound = {breaks = "default_tool_breaks"}
|
sound = {breaks = "default_tool_breaks"}
|
||||||
@ -70,9 +70,9 @@ minetest.register_tool("pigiron:axe_iron", {
|
|||||||
choppy = {
|
choppy = {
|
||||||
times = {[1] = 2.70, [2] = 1.70, [3] = 1.15},
|
times = {[1] = 2.70, [2] = 1.70, [3] = 1.15},
|
||||||
uses = 20, maxlevel = 1
|
uses = 20, maxlevel = 1
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
damage_groups = {fleshy = 3}
|
||||||
damage_groups = {fleshy = 3},
|
|
||||||
},
|
},
|
||||||
groups = {axe = 1},
|
groups = {axe = 1},
|
||||||
sound = {breaks = "default_tool_breaks"}
|
sound = {breaks = "default_tool_breaks"}
|
||||||
@ -99,9 +99,9 @@ minetest.register_tool("pigiron:sword_iron", {
|
|||||||
snappy = {
|
snappy = {
|
||||||
times = {[1] = 2.0, [2] = 1.30, [3] = 0.38},
|
times = {[1] = 2.0, [2] = 1.30, [3] = 0.38},
|
||||||
uses = 25, maxlevel = 1
|
uses = 25, maxlevel = 1
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
damage_groups = {fleshy = 5}
|
||||||
damage_groups = {fleshy = 5},
|
|
||||||
},
|
},
|
||||||
groups = {sword = 1},
|
groups = {sword = 1},
|
||||||
sound = {breaks = "default_tool_breaks"}
|
sound = {breaks = "default_tool_breaks"}
|
||||||
@ -148,7 +148,7 @@ minetest.override_item("default:pick_steel", {
|
|||||||
cracky = {
|
cracky = {
|
||||||
times = {[1] = 4.50, [2] = 1.80, [3] = 0.90},
|
times = {[1] = 4.50, [2] = 1.80, [3] = 0.90},
|
||||||
uses = 20, maxlevel = 2
|
uses = 20, maxlevel = 2
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy = 4}
|
damage_groups = {fleshy = 4}
|
||||||
}
|
}
|
||||||
@ -162,7 +162,7 @@ minetest.override_item("default:pick_bronze", {
|
|||||||
cracky = {
|
cracky = {
|
||||||
times = {[1] = 4.00, [2] = 1.60, [3] = 0.80},
|
times = {[1] = 4.00, [2] = 1.60, [3] = 0.80},
|
||||||
uses = 20, maxlevel = 2
|
uses = 20, maxlevel = 2
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy = 4}
|
damage_groups = {fleshy = 4}
|
||||||
}
|
}
|
||||||
@ -176,7 +176,7 @@ minetest.override_item("default:shovel_steel", {
|
|||||||
crumbly = {
|
crumbly = {
|
||||||
times = {[1] = 1.65, [2] = 1.05, [3] = 0.45},
|
times = {[1] = 1.65, [2] = 1.05, [3] = 0.45},
|
||||||
uses = 25, maxlevel = 2
|
uses = 25, maxlevel = 2
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy = 3}
|
damage_groups = {fleshy = 3}
|
||||||
}
|
}
|
||||||
@ -190,7 +190,7 @@ minetest.override_item("default:shovel_bronze", {
|
|||||||
crumbly = {
|
crumbly = {
|
||||||
times = {[1] = 1.50, [2] = 0.90, [3] = 0.40},
|
times = {[1] = 1.50, [2] = 0.90, [3] = 0.40},
|
||||||
uses = 30, maxlevel = 2
|
uses = 30, maxlevel = 2
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy = 3}
|
damage_groups = {fleshy = 3}
|
||||||
}
|
}
|
||||||
@ -204,7 +204,7 @@ minetest.override_item("default:axe_steel", {
|
|||||||
choppy = {
|
choppy = {
|
||||||
times = {[1] = 2.75, [2] = 1.70, [3] = 1.15},
|
times = {[1] = 2.75, [2] = 1.70, [3] = 1.15},
|
||||||
uses = 20, maxlevel = 2
|
uses = 20, maxlevel = 2
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy = 4}
|
damage_groups = {fleshy = 4}
|
||||||
}
|
}
|
||||||
@ -218,7 +218,7 @@ minetest.override_item("default:axe_bronze", {
|
|||||||
choppy = {
|
choppy = {
|
||||||
times = {[1] = 2.50, [2] = 1.40, [3] = 1.00},
|
times = {[1] = 2.50, [2] = 1.40, [3] = 1.00},
|
||||||
uses = 20, maxlevel = 2
|
uses = 20, maxlevel = 2
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy = 4}
|
damage_groups = {fleshy = 4}
|
||||||
}
|
}
|
||||||
@ -232,7 +232,7 @@ minetest.override_item("default:sword_steel", {
|
|||||||
snappy = {
|
snappy = {
|
||||||
times = {[1] = 2.75, [2] = 1.30, [3] = 0.375},
|
times = {[1] = 2.75, [2] = 1.30, [3] = 0.375},
|
||||||
uses = 25, maxlevel = 2
|
uses = 25, maxlevel = 2
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy = 6}
|
damage_groups = {fleshy = 6}
|
||||||
}
|
}
|
||||||
@ -246,7 +246,7 @@ minetest.override_item("default:sword_bronze", {
|
|||||||
snappy = {
|
snappy = {
|
||||||
times = {[1] = 2.5, [2] = 1.20, [3] = 0.35},
|
times = {[1] = 2.5, [2] = 1.20, [3] = 0.35},
|
||||||
uses = 30, maxlevel = 2
|
uses = 30, maxlevel = 2
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy = 6}
|
damage_groups = {fleshy = 6}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user