mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-16 07:20:41 +01:00
dd65a68ce9
The centrifuge, currently only existing in an MV variety, is a machine that separates a mixed substance into its constituents. Currently the main use is to reverse alloying of metals. The alloy separation recipes intentionally only operate on the dust form of metals, making this less convenient than the original alloying. It also only recovers metal constituents, not the carbon that went into cast iron or carbon steel. This change incidentally generalises the technic recipe and machine infrastructure to handle recipes with multiple outputs. As unified_inventory's craft guide can't yet handle that, these recipes are not registered there.
9 lines
214 B
Lua
9 lines
214 B
Lua
local S = technic.getter
|
|
|
|
function technic.register_centrifuge(data)
|
|
data.typename = "separating"
|
|
data.machine_name = "centrifuge"
|
|
data.machine_desc = S("%s Centrifuge")
|
|
technic.register_base_machine(data)
|
|
end
|