elepower/elepower_machines/machines/generator.lua

23 lines
748 B
Lua
Raw Normal View History

2018-06-22 11:51:27 +00:00
----------------------
-- Power Generation --
----------------------
elepm.register_fuel_generator("elepower_machines:generator", {
description = "Coal-fired Generator",
ele_active_node = true,
ele_capacity = 6400,
2018-09-28 16:22:02 +00:00
ele_usage = 16,
2018-06-22 11:51:27 +00:00
tiles = {
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_generator.png",
2018-06-22 11:51:27 +00:00
},
ele_active_nodedef = {
tiles = {
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_generator_active.png",
2018-06-22 11:51:27 +00:00
}
},
groups = {oddly_breakable_by_hand = 1}
})