Added iron pick
This commit is contained in:
parent
94664f7938
commit
0f76f3e9a7
@ -14,3 +14,8 @@ This mod exists to add a little progression to the game so that steel isn't so e
|
||||
- A bucket of water surrounded by Iron Blocks returns 8x Rusted Iron Blocks
|
||||
|
||||
Lucky Blocks: 6
|
||||
|
||||
Changelog:
|
||||
|
||||
- 0.1 - Initial Upload
|
||||
- 0.2 - Added Iron Pickaxe
|
||||
|
26
init.lua
26
init.lua
@ -144,6 +144,32 @@ minetest.register_craft({
|
||||
|
||||
-- Pig Iron Tools / Armor
|
||||
|
||||
minetest.register_tool("pigiron:pick_iron", {
|
||||
description = "Iron Pickaxe",
|
||||
inventory_image = "pigiron_iron_pick.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.2,
|
||||
max_drop_level = 0,
|
||||
groupcaps = {
|
||||
cracky = {
|
||||
times = {[1] = 2.5, [2] = 1.40, [3] = 0.95},
|
||||
uses = 20, maxlevel = 2
|
||||
},
|
||||
},
|
||||
damage_groups = {fleshy = 3},
|
||||
},
|
||||
sound = {breaks = "default_tool_breaks"},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "pigiron:pick_iron",
|
||||
recipe = {
|
||||
{"pigiron:iron_ingot", "pigiron:iron_ingot", "pigiron:iron_ingot"},
|
||||
{"", "group:stick", ""},
|
||||
{"", "group:stick", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Abm to turn Iron Block into Rusted Iron Block
|
||||
|
||||
minetest.register_abm({
|
||||
|
@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 TenPlus1
|
||||
Copyright (c) 2018 TenPlus1
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@ -19,3 +19,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
All textures are CC-BY-SA 3.0
|
||||
|
BIN
textures/pigiron_iron_pick.png
Normal file
BIN
textures/pigiron_iron_pick.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 198 B |
Loading…
x
Reference in New Issue
Block a user