added shovel and some new ores
This commit is contained in:
parent
990c9ea2d1
commit
774cbc0c19
@ -470,6 +470,9 @@ minetest.register_node("default:stone", {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {'default:flint'},rarity = 5},
|
||||
{items = {'default:stone_with_zinc'},rarity = 40},
|
||||
{items = {'default:stone_with_iron'},rarity = 20},
|
||||
{items = {'default:stone_with_silver'},rarity = 60},
|
||||
{items = {"default:stone_item 5"}},
|
||||
}
|
||||
}
|
||||
@ -526,21 +529,36 @@ minetest.register_node("default:stone_with_coal", {
|
||||
description = "Stone with Coal",
|
||||
tiles = {"default_stone_with_coal.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:coal_lump",
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_iron", {
|
||||
description = "Stone with Iron",
|
||||
tiles = {"default_stone_with_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_copper", {
|
||||
description = "Stone with Copper",
|
||||
tiles = {"default_stone_with_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_zinc", {
|
||||
description = "Stone with Zinc",
|
||||
tiles = {"default_stone_with_zinc.png"},
|
||||
groups = {cracky = 3},
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_silver", {
|
||||
description = "Stone with Silver",
|
||||
tiles = {"default_stone_with_silver.png"},
|
||||
groups = {cracky = 3},
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_gold", {
|
||||
description = "Stone with Gold",
|
||||
tiles = {"default_stone_with_gold.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:gold_lump",
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_diamond", {
|
||||
|
@ -470,6 +470,9 @@ minetest.register_node("default:stone", {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {'default:flint'},rarity = 5},
|
||||
{items = {'default:stone_with_zinc'},rarity = 40},
|
||||
{items = {'default:stone_with_iron'},rarity = 20},
|
||||
{items = {'default:stone_with_silver'},rarity = 60},
|
||||
{items = {"default:stone_item 5"}},
|
||||
}
|
||||
}
|
||||
@ -526,21 +529,36 @@ minetest.register_node("default:stone_with_coal", {
|
||||
description = "Stone with Coal",
|
||||
tiles = {"default_stone_with_coal.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:coal_lump",
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_iron", {
|
||||
description = "Stone with Iron",
|
||||
tiles = {"default_stone_with_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_copper", {
|
||||
description = "Stone with Copper",
|
||||
tiles = {"default_stone_with_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_zinc", {
|
||||
description = "Stone with Zinc",
|
||||
tiles = {"default_stone_with_zinc.png"},
|
||||
groups = {cracky = 3},
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_silver", {
|
||||
description = "Stone with Silver",
|
||||
tiles = {"default_stone_with_silver.png"},
|
||||
groups = {cracky = 3},
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_gold", {
|
||||
description = "Stone with Gold",
|
||||
tiles = {"default_stone_with_gold.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:gold_lump",
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone_with_diamond", {
|
||||
|
BIN
mods/default/textures/default_shovel.png
Normal file
BIN
mods/default/textures/default_shovel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 309 B |
BIN
mods/default/textures/default_stone_with_copper.png
Normal file
BIN
mods/default/textures/default_stone_with_copper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 304 B |
BIN
mods/default/textures/default_stone_with_silver.png
Normal file
BIN
mods/default/textures/default_stone_with_silver.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 298 B |
BIN
mods/default/textures/default_stone_with_zinc.png
Normal file
BIN
mods/default/textures/default_stone_with_zinc.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 305 B |
@ -54,6 +54,18 @@ minetest.register_tool("default:pick", {
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_tool("default:shovel", {
|
||||
description = "Shovel\n For Level: - \n Damage: 7",
|
||||
inventory_image = "default_shovel.png",
|
||||
tool_capabilities = {
|
||||
max_drop_level=3,
|
||||
groupcaps= {
|
||||
crumbly={times={[1]=0.90, [2]=0.40, [3]=0.20}, uses=100, maxlevel=1}
|
||||
},
|
||||
damage_groups = {fleshy=7},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_tool("default:blade", {
|
||||
description = "Blade\n Level: - \n Damage: 10",
|
||||
inventory_image = "default_blade.png",
|
||||
|
@ -54,6 +54,18 @@ minetest.register_tool("default:pick", {
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_tool("default:shovel", {
|
||||
description = "Shovel\n For Level: - \n Damage: 7",
|
||||
inventory_image = "default_shovel.png",
|
||||
tool_capabilities = {
|
||||
max_drop_level=3,
|
||||
groupcaps= {
|
||||
crumbly={times={[1]=0.90, [2]=0.40, [3]=0.20}, uses=100, maxlevel=1}
|
||||
},
|
||||
damage_groups = {fleshy=7},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_tool("default:blade", {
|
||||
description = "Blade\n Level: - \n Damage: 10",
|
||||
inventory_image = "default_blade.png",
|
||||
|
@ -28,4 +28,5 @@ minetest.register_craft({
|
||||
minetest.register_craftitem("fishing:fish", {
|
||||
description = "Fish",
|
||||
inventory_image = "fishing_fish.png",
|
||||
on_use = minetest.item_eat(3),
|
||||
})
|
||||
|
@ -28,4 +28,5 @@ minetest.register_craft({
|
||||
minetest.register_craftitem("fishing:fish", {
|
||||
description = "Fish",
|
||||
inventory_image = "fishing_fish.png",
|
||||
on_use = minetest.item_eat(3),
|
||||
})
|
||||
|
@ -37,19 +37,19 @@ minetest.register_abm({
|
||||
local pattern = minetest.get_node(patternpos).name
|
||||
if pattern == "furnace:pattern_rod" then
|
||||
local myinv = mymeta:get_inventory()
|
||||
if myinv:contains_item("main", {name = "default:iron_lump"}) then
|
||||
if myinv:contains_item("main", {name = "default:stone_with_iron"}) then
|
||||
minetest.get_meta(patternpos):get_inventory():add_item("main", {name = "furnace:iron_rod"})
|
||||
myinv:remove_item("main", {name = "default:iron_lump"})
|
||||
elseif myinv:contains_item("main", {name = "default:gold_lump"}) then
|
||||
myinv:remove_item("main", {name = "default:stone_with_iron"})
|
||||
elseif myinv:contains_item("main", {name = "default:stone_with_gold"}) then
|
||||
minetest.get_meta(patternpos):get_inventory():add_item("main", {name = "furnace:gold_rod"})
|
||||
myinv:remove_item("main", {name = "default:gold_lump"})
|
||||
myinv:remove_item("main", {name = "default:stone_with_gold"})
|
||||
end
|
||||
end
|
||||
if pattern == "furnace:pattern_blade" then
|
||||
local myinv = mymeta:get_inventory()
|
||||
if myinv:contains_item("main", {name = "default:iron_lump"}) then
|
||||
if myinv:contains_item("main", {name = "default:stone_with_iron"}) then
|
||||
minetest.get_meta(patternpos):get_inventory():add_item("main", {name = "default:blade"})
|
||||
myinv:remove_item("main", {name = "default:iron_lump"})
|
||||
myinv:remove_item("main", {name = "default:stone_with_iron"})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -37,19 +37,19 @@ minetest.register_abm({
|
||||
local pattern = minetest.get_node(patternpos).name
|
||||
if pattern == "furnace:pattern_rod" then
|
||||
local myinv = mymeta:get_inventory()
|
||||
if myinv:contains_item("main", {name = "default:iron_lump"}) then
|
||||
if myinv:contains_item("main", {name = "default:stone_with_iron"}) then
|
||||
minetest.get_meta(patternpos):get_inventory():add_item("main", {name = "furnace:iron_rod"})
|
||||
myinv:remove_item("main", {name = "default:iron_lump"})
|
||||
elseif myinv:contains_item("main", {name = "default:gold_lump"}) then
|
||||
myinv:remove_item("main", {name = "default:stone_with_iron"})
|
||||
elseif myinv:contains_item("main", {name = "default:stone_with_gold"}) then
|
||||
minetest.get_meta(patternpos):get_inventory():add_item("main", {name = "furnace:gold_rod"})
|
||||
myinv:remove_item("main", {name = "default:gold_lump"})
|
||||
myinv:remove_item("main", {name = "default:stone_with_gold"})
|
||||
end
|
||||
end
|
||||
if pattern == "furnace:pattern_blade" then
|
||||
local myinv = mymeta:get_inventory()
|
||||
if myinv:contains_item("main", {name = "default:iron_lump"}) then
|
||||
if myinv:contains_item("main", {name = "default:stone_with_iron"}) then
|
||||
minetest.get_meta(patternpos):get_inventory():add_item("main", {name = "default:blade"})
|
||||
myinv:remove_item("main", {name = "default:iron_lump"})
|
||||
myinv:remove_item("main", {name = "default:stone_with_iron"})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user