More crafting, crafting, crafting and craftitems!
This commit is contained in:
parent
f3ca1aa0d9
commit
37bd7c9c54
@ -253,6 +253,23 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
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"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "elepower_dynamics:tin_can 8",
|
||||||
|
recipe = {
|
||||||
|
{"elepower_dynamics:tin_plate", ""},
|
||||||
|
{"", "elepower_dynamics:tin_plate"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
-- Smelting --
|
-- Smelting --
|
||||||
--------------
|
--------------
|
||||||
|
@ -123,6 +123,12 @@ minetest.register_craftitem("elepower_dynamics:tree_tap", {
|
|||||||
groups = {treetap = 1, static_component = 1}
|
groups = {treetap = 1, static_component = 1}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("elepower_dynamics:tin_can", {
|
||||||
|
description = "Tin Can",
|
||||||
|
inventory_image = "elepower_tin_can.png",
|
||||||
|
groups = {can = 1, food_grade = 1}
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("elepower_dynamics:pcb_blank", {
|
minetest.register_craftitem("elepower_dynamics:pcb_blank", {
|
||||||
description = "Printed Circuit Board (PCB) Blank\nUse Etching Acid to etch",
|
description = "Printed Circuit Board (PCB) Blank\nUse Etching Acid to etch",
|
||||||
inventory_image = "elepower_blank_pcb.png",
|
inventory_image = "elepower_blank_pcb.png",
|
||||||
@ -220,6 +226,12 @@ minetest.register_craftitem("elepower_dynamics:motor", {
|
|||||||
groups = {motor = 1, component = 1}
|
groups = {motor = 1, component = 1}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("elepower_dynamics:battery", {
|
||||||
|
description = "Battery",
|
||||||
|
inventory_image = "elepower_battery.png",
|
||||||
|
groups = {battery = 1, component = 1}
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("elepower_dynamics:servo_valve", {
|
minetest.register_craftitem("elepower_dynamics:servo_valve", {
|
||||||
description = "Servo Valve",
|
description = "Servo Valve",
|
||||||
inventory_image = "elepower_servo_valve.png",
|
inventory_image = "elepower_servo_valve.png",
|
||||||
|
BIN
elepower_dynamics/textures/elepower_battery.png
Normal file
BIN
elepower_dynamics/textures/elepower_battery.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 292 B |
BIN
elepower_dynamics/textures/elepower_tin_can.png
Normal file
BIN
elepower_dynamics/textures/elepower_tin_can.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 289 B |
@ -232,6 +232,10 @@ for _,i in pairs(soldering_recipes) do
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-------------
|
||||||
|
-- Canning --
|
||||||
|
-------------
|
||||||
|
|
||||||
--******************--
|
--******************--
|
||||||
-- CRAFTING RECIPES --
|
-- CRAFTING RECIPES --
|
||||||
--******************--
|
--******************--
|
||||||
@ -345,7 +349,7 @@ minetest.register_craft({
|
|||||||
recipe = {
|
recipe = {
|
||||||
{"elepower_dynamics:lead_ingot", "elepower_dynamics:control_circuit", "elepower_dynamics:lead_ingot"},
|
{"elepower_dynamics:lead_ingot", "elepower_dynamics:control_circuit", "elepower_dynamics:lead_ingot"},
|
||||||
{"elepower_dynamics:wound_copper_coil", "elepower_machines:machine_block", "elepower_dynamics:wound_copper_coil"},
|
{"elepower_dynamics:wound_copper_coil", "elepower_machines:machine_block", "elepower_dynamics:wound_copper_coil"},
|
||||||
{"elepower_dynamics:lead_ingot", "elepower_dynamics:diamond_gear", "elepower_dynamics:lead_ingot"},
|
{"elepower_dynamics:lead_ingot", "elepower_dynamics:battery", "elepower_dynamics:lead_ingot"},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -431,3 +435,13 @@ minetest.register_craft({
|
|||||||
{"elepower_dynamics:invar_gear", "elepower_machines:turbine_blades", "elepower_dynamics:invar_gear"},
|
{"elepower_dynamics:invar_gear", "elepower_machines:turbine_blades", "elepower_dynamics:invar_gear"},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Canning Machine
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "elepower_machines:canning_machine",
|
||||||
|
recipe = {
|
||||||
|
{"elepower_dynamics:wound_copper_coil", "elepower_dynamics:tree_tap", "elepower_dynamics:wound_copper_coil"},
|
||||||
|
{"elepower_dynamics:tin_can", "elepower_machines:machine_block", "elepower_dynamics:tin_can"},
|
||||||
|
{"elepower_dynamics:steel_gear", "elepower_dynamics:tin_gear", "elepower_dynamics:steel_gear"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
15
elepower_machines/machines/canning_machine.lua
Normal file
15
elepower_machines/machines/canning_machine.lua
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
elepm.register_craft_type("can", {
|
||||||
|
description = "Canning",
|
||||||
|
inputs = 2,
|
||||||
|
})
|
||||||
|
|
||||||
|
elepm.register_crafter("elepower_machines:canning_machine", {
|
||||||
|
description = "Canning Machine",
|
||||||
|
craft_type = "can",
|
||||||
|
tiles = {
|
||||||
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_canning_machine.png",
|
||||||
|
},
|
||||||
|
groups = {ele_user = 1, oddly_breakable_by_hand = 1},
|
||||||
|
})
|
@ -23,6 +23,7 @@ dofile(mp .. "alloy_furnace.lua")
|
|||||||
dofile(mp .. "coal_alloy_furnace.lua")
|
dofile(mp .. "coal_alloy_furnace.lua")
|
||||||
dofile(mp .. "solderer.lua")
|
dofile(mp .. "solderer.lua")
|
||||||
dofile(mp .. "compressor.lua")
|
dofile(mp .. "compressor.lua")
|
||||||
|
dofile(mp .. "canning_machine.lua")
|
||||||
|
|
||||||
-- Other
|
-- Other
|
||||||
dofile(mp .. "accumulator.lua")
|
dofile(mp .. "accumulator.lua")
|
||||||
|
BIN
elepower_machines/textures/elepower_canning_machine.png
Normal file
BIN
elepower_machines/textures/elepower_canning_machine.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.6 KiB |
@ -69,6 +69,28 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Empty Fuel Rod
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "elepower_nuclear:fuel_rod_empty",
|
||||||
|
recipe = {
|
||||||
|
{"elepower_dynamics:graphite_ingot", "", "elepower_dynamics:graphite_ingot"},
|
||||||
|
{"elepower_dynamics:graphite_ingot", "", "elepower_dynamics:graphite_ingot"},
|
||||||
|
{"elepower_dynamics:graphite_ingot", "elepower_dynamics:graphite_ingot", "elepower_dynamics:graphite_ingot"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Graphite Rod
|
||||||
|
elepm.register_craft({
|
||||||
|
type = "grind",
|
||||||
|
recipe = { "elepower_dynamics:graphite_ingot" },
|
||||||
|
output = "elepower_nuclear:graphite_rod 3",
|
||||||
|
time = 6,
|
||||||
|
})
|
||||||
|
|
||||||
|
------------------------
|
||||||
|
-- Enrichment recipes --
|
||||||
|
------------------------
|
||||||
|
|
||||||
elepm.register_craft({
|
elepm.register_craft({
|
||||||
type = "enrichment",
|
type = "enrichment",
|
||||||
output = { "elepower_nuclear:uranium_dust", "elepower_nuclear:depleted_uranium_dust 3"},
|
output = { "elepower_nuclear:uranium_dust", "elepower_nuclear:depleted_uranium_dust 3"},
|
||||||
@ -90,10 +112,13 @@ elepm.register_craft({
|
|||||||
time = 50,
|
time = 50,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Graphite rods
|
-----------
|
||||||
|
-- Other --
|
||||||
|
-----------
|
||||||
|
|
||||||
elepm.register_craft({
|
elepm.register_craft({
|
||||||
type = "grind",
|
type = "can",
|
||||||
recipe = { "elepower_dynamics:graphite_ingot" },
|
recipe = {"elepower_nuclear:uranium_dust 8", "elepower_nuclear:fuel_rod_empty"},
|
||||||
output = "elepower_nuclear:graphite_rod 3",
|
output = "elepower_nuclear:fuel_rod_fissile",
|
||||||
time = 6,
|
time = 16
|
||||||
})
|
})
|
||||||
|
@ -11,7 +11,7 @@ minetest.register_craft({
|
|||||||
output = "elepower_tools:hand_drill",
|
output = "elepower_tools:hand_drill",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "elepower_dynamics:wound_copper_coil", "elepower_tools:drill_bit"},
|
{"", "elepower_dynamics:wound_copper_coil", "elepower_tools:drill_bit"},
|
||||||
{"default:steel_ingot", "elepower_dynamics:wound_copper_coil", "default:steel_ingot"},
|
{"default:steel_ingot", "elepower_dynamics:battery", "default:steel_ingot"},
|
||||||
{"elepower_dynamics:motor", "elepower_dynamics:capacitor", ""},
|
{"elepower_dynamics:motor", "elepower_dynamics:capacitor", ""},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -35,6 +35,6 @@ minetest.register_craft({
|
|||||||
recipe = {
|
recipe = {
|
||||||
{"elepower_dynamics:wound_silver_coil", "elepower_dynamics:xycrone_lump", "elepower_dynamics:wound_silver_coil"},
|
{"elepower_dynamics:wound_silver_coil", "elepower_dynamics:xycrone_lump", "elepower_dynamics:wound_silver_coil"},
|
||||||
{"elepower_dynamics:xycrone_lump", "elepower_dynamics:copper_wire", "elepower_dynamics:xycrone_lump"},
|
{"elepower_dynamics:xycrone_lump", "elepower_dynamics:copper_wire", "elepower_dynamics:xycrone_lump"},
|
||||||
{"elepower_dynamics:wound_silver_coil", "elepower_dynamics:xycrone_lump", "elepower_dynamics:wound_silver_coil"},
|
{"elepower_dynamics:wound_silver_coil", "elepower_dynamics:battery", "elepower_dynamics:wound_silver_coil"},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user