Added brass, changed some textures

This commit is contained in:
Evert Prants 2018-12-16 00:26:56 +02:00
parent 7a09a5f116
commit 347e5f67d1
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
8 changed files with 26 additions and 8 deletions

View File

@ -111,4 +111,16 @@ if minetest.get_modpath("basic_materials") == nil then
inventory_image = "elepower_silicon.png", inventory_image = "elepower_silicon.png",
groups = {silicon = 1, lump = 1} groups = {silicon = 1, lump = 1}
}) })
-----------
-- BRASS --
-----------
minetest.register_craftitem(":basic_materials:brass_ingot", {
description = "Brass Ingot",
inventory_image = "elepower_brass_ingot.png",
groups = {brass = 1, ingot = 1}
})
else
minetest.clear_craft({output = "basic_materials:brass_ingot"})
end end

View File

@ -2,16 +2,17 @@
local list_def = { local list_def = {
{material = "bronze", description = "Bronze", color = "#fa7b26", dust = true, plate = true, gear = true}, {material = "bronze", description = "Bronze", color = "#fa7b26", dust = true, plate = true, gear = true},
{material = "copper", description = "Copper", color = "#fcb15f", dust = true, plate = true, gear = true}, {material = "copper", description = "Copper", color = "#fcb15f", dust = true, plate = true, gear = true},
{material = "brass", description = "Brass", color = "#cdaf2c", dust = true, plate = true, gear = true},
{material = "gold", description = "Gold", color = "#ffff47", dust = true, plate = true, gear = true}, {material = "gold", description = "Gold", color = "#ffff47", dust = true, plate = true, gear = true},
{material = "steel", description = "Steel", color = "#ffffff", dust = true, plate = true, gear = true}, {material = "steel", description = "Steel", color = "#ffffff", dust = true, plate = true, gear = true},
{material = "tin", description = "Tin", color = "#c1c1c1", dust = true, plate = true, gear = true}, {material = "tin", description = "Tin", color = "#c1c1c1", dust = true, plate = true, gear = true},
{material = "mithril", description = "Mithril", color = "#8686df", dust = true, plate = true, gear = true}, {material = "mithril", description = "Mithril", color = "#8686df", dust = true, plate = true, gear = true},
{material = "silver", description = "Silver", color = "#d7e2e8", dust = true, plate = true, gear = true}, {material = "silver", description = "Silver", color = "#d7e2e8", dust = true, plate = true, gear = true},
{material = "lead", description = "Lead", color = "#aeaedc", dust = true, plate = true, gear = true}, {material = "lead", description = "Lead", color = "#374559", dust = true, plate = true, gear = true},
{material = "iron", description = "Iron", color = "#dddddd", dust = true, plate = true, gear = true}, {material = "iron", description = "Iron", color = "#dddddd", dust = true, plate = true, gear = true},
{material = "diamond", description = "Diamond", color = "#02c1e8", dust = true, plate = true, gear = true}, {material = "diamond", description = "Diamond", color = "#02c1e8", dust = true, plate = true, gear = true},
{material = "nickel", description = "Nickel", color = "#d6d5ab", dust = true, plate = true, gear = true}, {material = "nickel", description = "Nickel", color = "#d6d5ab", dust = true, plate = true, gear = true},
{material = "invar", description = "Invar", color = "#9fa5b2", dust = true, plate = true, gear = true}, {material = "invar", description = "Invar", color = "#71848c", dust = true, plate = true, gear = true},
{material = "electrum", description = "Electrum", color = "#ebeb90", dust = true, plate = true, gear = true}, {material = "electrum", description = "Electrum", color = "#ebeb90", dust = true, plate = true, gear = true},
{material = "viridisium", description = "Viridisium", color = "#5b9751", dust = true, plate = true, gear = true}, {material = "viridisium", description = "Viridisium", color = "#5b9751", dust = true, plate = true, gear = true},
{material = "zinc", description = "Zinc", color = "#598a9e", dust = true, plate = true}, {material = "zinc", description = "Zinc", color = "#598a9e", dust = true, plate = true},

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 490 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -42,6 +42,11 @@ local alloy_recipes = {
output = "elepower_dynamics:hardened_glass 4", output = "elepower_dynamics:hardened_glass 4",
time = 8, time = 8,
}, },
{
recipe = { "default:copper_ingot 2", "moreores:silver_ingot" },
output = "basic_materials:brass_ingot",
time = 8,
},
} }
-- Register alloy furnace recipes -- Register alloy furnace recipes
@ -427,9 +432,9 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = "elepower_machines:machine_block", output = "elepower_machines:machine_block",
recipe = { recipe = {
{"elepower_dynamics:electrum_ingot", "default:steel_ingot", "elepower_dynamics:electrum_ingot"}, {"default:steel_ingot", "default:glass", "default:steel_ingot"},
{"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"}, {"default:glass", "elepower_dynamics:brass_gear", "default:glass"},
{"elepower_dynamics:electrum_ingot", "basic_materials:motor", "elepower_dynamics:electrum_ingot"}, {"default:steel_ingot", "basic_materials:motor", "default:steel_ingot"},
} }
}) })
@ -638,8 +643,8 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = "elepower_machines:advanced_machine_block 8", output = "elepower_machines:advanced_machine_block 8",
recipe = { recipe = {
{"elepower_dynamics:electrum_plate", "elepower_dynamics:lead_ingot", "elepower_dynamics:electrum_plate"}, {"elepower_dynamics:electrum_plate", "elepower_dynamics:brass_plate", "elepower_dynamics:electrum_plate"},
{"elepower_dynamics:lead_ingot", "elepower_machines:machine_block", "elepower_dynamics:lead_ingot"}, {"elepower_dynamics:brass_plate", "elepower_machines:machine_block", "elepower_dynamics:brass_plate"},
{"elepower_dynamics:electrum_plate", "elepower_dynamics:lead_ingot", "elepower_dynamics:electrum_plate"}, {"elepower_dynamics:electrum_plate", "elepower_dynamics:brass_plate", "elepower_dynamics:electrum_plate"},
} }
}) })