more metals

This commit is contained in:
Evert Prants 2018-06-21 17:35:39 +03:00
parent 8fdb71a602
commit 009bde499a
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
12 changed files with 110 additions and 13 deletions

View File

@ -194,8 +194,14 @@ minetest.register_craft({
minetest.register_craft({
type = "cooking",
output = "elepower_dynamics:lead_lump",
recipe = "elepower_dynamics:lead_ingot"
output = "elepower_dynamics:lead_ingot",
recipe = "elepower_dynamics:lead_lump"
})
minetest.register_craft({
type = "cooking",
output = "elepower_dynamics:nickel_ingot",
recipe = "elepower_dynamics:nickel_lump"
})
minetest.register_craft({

View File

@ -17,6 +17,24 @@ minetest.register_craftitem("elepower_dynamics:iron_ingot", {
groups = {iron = 1, ingot = 1}
})
minetest.register_craftitem("elepower_dynamics:nickel_ingot", {
description = "Nickel Ingot",
inventory_image = "elepower_nickel_ingot.png",
groups = {nickel = 1, ingot = 1}
})
minetest.register_craftitem("elepower_dynamics:invar_ingot", {
description = "Invar Ingot",
inventory_image = "elepower_invar_ingot.png",
groups = {invar = 1, ingot = 1}
})
minetest.register_craftitem("elepower_dynamics:electrum_ingot", {
description = "Electrum Ingot",
inventory_image = "elepower_electrum_ingot.png",
groups = {electrum = 1, ingot = 1}
})
-- Lumps
minetest.register_craftitem("elepower_dynamics:lead_lump", {
@ -25,6 +43,12 @@ minetest.register_craftitem("elepower_dynamics:lead_lump", {
groups = {lead = 1, lump = 1}
})
minetest.register_craftitem("elepower_dynamics:nickel_lump", {
description = "Nickel Lump",
inventory_image = "elepower_nickel_lump.png",
groups = {nickel = 1, lump = 1}
})
-- Other
minetest.register_craftitem("elepower_dynamics:carbon_fiber", {
@ -70,7 +94,7 @@ minetest.register_craftitem("elepower_dynamics:induction_coil", {
})
minetest.register_craftitem("elepower_dynamics:induction_coil_advanced", {
description = "Advanced Induction Coil\nSuitable for high-power operations",
description = "Advanced Induction Coil\nSuitable for high-power applications",
inventory_image = "elepower_induction_coil_advanced.png",
groups = {induction_coil = 1, component = 1}
})

View File

@ -85,9 +85,19 @@ elepd.register_dust("diamond", {
color = "#02c1e8"
})
elepd.register_dust("energium", {
description = "Energium",
color = "#ff1111"
elepd.register_dust("nickel", {
description = "Nickel",
color = "#d6d5ab"
})
elepd.register_dust("invar", {
description = "Invar",
color = "#9fa5b2"
})
elepd.register_dust("electrum", {
description = "Electrum",
color = "#ebeb90"
})
elepd.register_dust("wood", {

View File

@ -76,12 +76,22 @@ elepd.register_gear("diamond", {
color = "#02c1e8"
})
elepd.register_gear("energium", {
description = "Energium",
color = "#ff1111"
})
elepd.register_gear("wood", {
description = "Wood",
color = "#847454"
})
elepd.register_gear("nickel", {
description = "Nickel",
color = "#d6d5ab"
})
elepd.register_gear("invar", {
description = "Invar",
color = "#9fa5b2"
})
elepd.register_gear("electrum", {
description = "Electrum",
color = "#ebeb90"
})

View File

@ -15,6 +15,14 @@ minetest.register_node("elepower_dynamics:stone_with_lead", {
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("elepower_dynamics:stone_with_nickel", {
description = "Nickel Ore",
tiles = {"default_stone.png^elepower_mineral_nickel.png"},
groups = {cracky = 2},
drop = 'elepower_dynamics:nickel_lump',
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("elepower_dynamics:particle_board", {
description = "Particle Board",
tiles = {"elepower_particle_board.png"},

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -9,7 +9,7 @@ minetest.register_ore({
ore_type = "scatter",
ore = "elepower_dynamics:stone_with_lead",
wherein = "default:stone",
clust_scarcity = 5 * 5 * 5,
clust_scarcity = 15 * 15 * 15,
clust_num_ores = 12,
clust_size = 3,
y_max = 31000,
@ -20,7 +20,7 @@ minetest.register_ore({
ore_type = "scatter",
ore = "elepower_dynamics:stone_with_lead",
wherein = "default:stone",
clust_scarcity = 4 * 4 * 4,
clust_scarcity = 14 * 14 * 14,
clust_num_ores = 5,
clust_size = 3,
y_max = 0,
@ -37,3 +37,38 @@ minetest.register_ore({
y_max = -128,
y_min = -31000,
})
-- Nickel
minetest.register_ore({
ore_type = "scatter",
ore = "elepower_dynamics:stone_with_nickel",
wherein = "default:stone",
clust_scarcity = 28 * 28 * 28,
clust_num_ores = 5,
clust_size = 3,
y_max = 31000,
y_min = -31000,
})
minetest.register_ore({
ore_type = "scatter",
ore = "elepower_dynamics:stone_with_nickel",
wherein = "default:stone",
clust_scarcity = 15 * 15 * 15,
clust_num_ores = 5,
clust_size = 3,
y_max = -1028,
y_min = -31000,
})
minetest.register_ore({
ore_type = "scatter",
ore = "elepower_dynamics:stone_with_nickel",
wherein = "default:stone",
clust_scarcity = 12 * 12 * 12,
clust_num_ores = 5,
clust_size = 3,
y_max = -8096,
y_min = -31000,
})

View File

@ -17,6 +17,10 @@ local alloy_recipes = {
{
recipe = { "default:copper_ingot 2", "default:tin_ingot" },
output = "default:bronze_ingot 3",
},
{
recipe = { "default:iron_ingot 3", "elepower_dynamics:nickel_ingot" },
output = "elepower_dynamics:invar_ingot 4",
}
}