2018-07-08 09:33:35 +00:00
|
|
|
|
2021-08-11 10:25:00 +00:00
|
|
|
-- see elepower_papi >> external_nodes_items.lua for explanation
|
|
|
|
-- shorten table ref
|
|
|
|
local epi = ele.external.ref
|
|
|
|
|
2018-07-11 19:01:31 +00:00
|
|
|
ele.register_fluid_generator("elepower_machines:lava_generator", {
|
2018-07-08 09:33:35 +00:00
|
|
|
description = "Lava Generator",
|
|
|
|
ele_usage = 64,
|
|
|
|
tiles = {
|
|
|
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
2020-04-28 17:52:57 +00:00
|
|
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_lava_generator.png",
|
2018-07-08 09:33:35 +00:00
|
|
|
},
|
|
|
|
ele_active_node = true,
|
|
|
|
ele_active_nodedef = {
|
|
|
|
tiles = {
|
|
|
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
2020-04-28 17:52:57 +00:00
|
|
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_lava_generator_active.png",
|
2018-07-08 09:33:35 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
fluid_buffers = {
|
|
|
|
lava = {
|
|
|
|
capacity = 8000,
|
2021-08-11 10:25:00 +00:00
|
|
|
accepts = {epi.lava_source},
|
2018-07-08 09:33:35 +00:00
|
|
|
drainable = false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
tube = false,
|
|
|
|
})
|