elepower/elepower_machines/machines/storage.lua

81 lines
2.9 KiB
Lua
Raw Permalink Normal View History

2018-06-22 11:51:27 +00:00
-------------------
-- Power Storage --
-------------------
elepm.register_storage("elepower_machines:power_cell", {
description = "Power Cell",
ele_capacity = 16000,
2018-09-28 16:22:02 +00:00
ele_inrush = 128,
ele_output = 128,
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_power_cell.png",
2018-06-22 11:51:27 +00:00
},
groups = {oddly_breakable_by_hand = 1}
})
elepm.register_storage("elepower_machines:hardened_power_cell", {
description = "Hardened Power Cell",
ele_capacity = 64000,
ele_inrush = 640,
ele_output = 640,
tiles = {
"elepower_machine_top.png^elepower_overlay_hardened.png",
"elepower_machine_base.png^elepower_overlay_hardened.png",
"elepower_machine_side.png^elepower_overlay_hardened.png",
"elepower_machine_side.png^elepower_overlay_hardened.png",
"elepower_machine_side.png^elepower_overlay_hardened.png",
"elepower_machine_side.png^elepower_power_cell.png^elepower_overlay_hardened.png",
},
groups = {oddly_breakable_by_hand = 1}
})
elepm.register_storage("elepower_machines:reinforced_power_cell", {
description = "Reinforced Power Cell",
ele_capacity = 128000,
ele_inrush = 1024,
ele_output = 1024,
tiles = {
"elepower_machine_top.png^elepower_overlay_reinforced.png",
"elepower_machine_base.png^elepower_overlay_reinforced.png",
"elepower_machine_side.png^elepower_overlay_reinforced.png",
"elepower_machine_side.png^elepower_overlay_reinforced.png",
"elepower_machine_side.png^elepower_overlay_reinforced.png",
"elepower_machine_side.png^elepower_power_cell.png^elepower_overlay_reinforced.png",
},
groups = {oddly_breakable_by_hand = 1}
})
elepm.register_storage("elepower_machines:resonant_power_cell", {
description = "Resonant Power Cell",
ele_capacity = 640000,
ele_inrush = 2048,
ele_output = 2048,
tiles = {
"elepower_machine_top.png^elepower_overlay_resonant.png",
"elepower_machine_base.png^elepower_overlay_resonant.png",
"elepower_machine_side.png^elepower_overlay_resonant.png",
"elepower_machine_side.png^elepower_overlay_resonant.png",
"elepower_machine_side.png^elepower_overlay_resonant.png",
"elepower_machine_side.png^elepower_power_cell.png^elepower_overlay_resonant.png",
},
groups = {oddly_breakable_by_hand = 1}
})
elepm.register_storage("elepower_machines:super_power_cell", {
description = "Supercapacitor Cell",
ele_capacity = 1280000,
ele_inrush = 4096,
ele_output = 4096,
tiles = {
"elepower_machine_top.png^elepower_overlay_super.png",
"elepower_machine_base.png^elepower_overlay_super.png",
"elepower_machine_side.png^elepower_overlay_super.png",
"elepower_machine_side.png^elepower_overlay_super.png",
"elepower_machine_side.png^elepower_overlay_super.png",
"elepower_machine_side.png^elepower_power_cell.png^elepower_overlay_super.png",
},
groups = {oddly_breakable_by_hand = 1}
})