mirror of
https://github.com/sirrobzeroone/elepower.git
synced 2024-11-30 18:43:49 +01:00
Add an LCD Panel component
This commit is contained in:
parent
88d9b64519
commit
b380197802
@ -233,15 +233,6 @@ if easycrafting then
|
||||
{"group:stone", "elepower_dynamics:fluid_duct", "group:stone"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "elepower_dynamics:battery 2",
|
||||
recipe = {
|
||||
{"elepower_dynamics:zinc_dust", "elepower_dynamics:wound_copper_coil", "elepower_dynamics:lead_dust"},
|
||||
{"elepower_dynamics:tin_plate", "default:mese_crystal_fragment", "elepower_dynamics:tin_plate"},
|
||||
{"elepower_dynamics:tin_plate", "default:mese_crystal_fragment", "elepower_dynamics:tin_plate"},
|
||||
}
|
||||
})
|
||||
else
|
||||
minetest.register_craft({
|
||||
output = "elepower_dynamics:pcb_blank",
|
||||
@ -260,11 +251,11 @@ else
|
||||
"elepower_dynamics:viridisium_dust",
|
||||
"elepower_dynamics:viridisium_dust",
|
||||
"elepower_dynamics:viridisium_dust",
|
||||
"elepower_dynamics:copper_dust",
|
||||
"elepower_dynamics:copper_dust",
|
||||
"elepower_dynamics:copper_dust",
|
||||
"elepower_dynamics:copper_dust",
|
||||
"farming:seed_wheat",
|
||||
"elepower_dynamics:copper_dust",
|
||||
"elepower_dynamics:copper_dust",
|
||||
"elepower_dynamics:copper_dust",
|
||||
"elepower_dynamics:copper_dust",
|
||||
}
|
||||
})
|
||||
|
||||
@ -277,17 +268,26 @@ else
|
||||
{"group:stone", "elepower_dynamics:fluid_duct", "group:stone"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "elepower_dynamics:battery 2",
|
||||
recipe = {
|
||||
{"elepower_dynamics:zinc_dust", "elepower_dynamics:wound_copper_coil", "elepower_dynamics:lead_dust"},
|
||||
{"elepower_dynamics:tin_plate", "default:mese_crystal", "elepower_dynamics:tin_plate"},
|
||||
{"elepower_dynamics:tin_plate", "default:mese_crystal", "elepower_dynamics:tin_plate"},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "elepower_dynamics:battery 2",
|
||||
recipe = {
|
||||
{"elepower_dynamics:zinc_dust", "elepower_dynamics:wound_copper_coil", "elepower_dynamics:lead_dust"},
|
||||
{"elepower_dynamics:tin_plate", "default:mese_crystal_fragment", "elepower_dynamics:tin_plate"},
|
||||
{"elepower_dynamics:tin_plate", "default:mese_crystal_fragment", "elepower_dynamics:tin_plate"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "elepower_dynamics:lcd_panel",
|
||||
recipe = {
|
||||
{"dye:red", "dye:green", "dye:blue"},
|
||||
{"moreores:silver_ingot", "elepower_dynamics:wound_copper_coil", "moreores:silver_ingot"},
|
||||
{"", "default:meselamp", ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "elepower_dynamics:integrated_circuit",
|
||||
recipe = {
|
||||
|
@ -256,6 +256,12 @@ minetest.register_craftitem("elepower_dynamics:micro_circuit", {
|
||||
groups = {circuit = 3, assembled_component = 1, control_circuit = 2}
|
||||
})
|
||||
|
||||
minetest.register_craftitem("elepower_dynamics:lcd_panel", {
|
||||
description = "LCD Panel",
|
||||
inventory_image = "elepower_lcd_panel.png",
|
||||
groups = {lcd = 1, assembled_component = 1}
|
||||
})
|
||||
|
||||
---------------
|
||||
-- Overrides --
|
||||
---------------
|
||||
|
BIN
elepower_dynamics/textures/elepower_lcd_panel.png
Normal file
BIN
elepower_dynamics/textures/elepower_lcd_panel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
@ -31,7 +31,7 @@ minetest.register_craft({
|
||||
recipe = {
|
||||
{"elepower_dynamics:wound_silver_coil", "elepower_dynamics:soc", "elepower_dynamics:wound_silver_coil"},
|
||||
{"elepower_dynamics:wound_copper_coil", "default:steelblock", "elepower_dynamics:wound_copper_coil"},
|
||||
{"elepower_dynamics:electrum_gear", ingot, "elepower_dynamics:electrum_gear"},
|
||||
{"elepower_dynamics:electrum_gear", "elepower_dynamics:lcd_panel", "elepower_dynamics:electrum_gear"},
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user