From 6290e57d8fde124647ec1cd74373217582f4ec86 Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Tue, 10 Oct 2017 22:02:35 +0300 Subject: Support for RE batteries for fuel --- class_layout.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'class_layout.lua') diff --git a/class_layout.lua b/class_layout.lua index f21519b..6094a7d 100644 --- a/class_layout.lua +++ b/class_layout.lua @@ -36,6 +36,7 @@ function DigtronLayout.create(pos, player) self.all = {} self.inventories = {} self.fuelstores = {} + self.battery_holders = {} self.diggers = {} self.builders = {} self.extents = {} @@ -120,6 +121,8 @@ function DigtronLayout.create(pos, player) elseif group_number == 6 then table.insert(self.inventories, node_image) table.insert(self.fuelstores, node_image) + elseif group_number == 7 then + table.insert(self.battery_holders, node_image) end if is_protected then -- cgit v1.2.3