diff options
author | FaceDeer <FaceDeer@users.noreply.github.com> | 2017-10-10 19:01:28 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-10 19:01:28 -0600 |
commit | f10d46d3796d390e5ac5036c8bed93c69926c1c5 (patch) | |
tree | d22294496193285738f330ab84e8bf9be6738e83 /class_layout.lua | |
parent | 19a0f193ad37ddf48741b93eb48aa9f973c7df55 (diff) | |
parent | 6290e57d8fde124647ec1cd74373217582f4ec86 (diff) |
Merge pull request #12 from h-v-smacker/technic-RE-batteries
Support for RE batteries for fuel
Diffstat (limited to 'class_layout.lua')
-rw-r--r-- | class_layout.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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 |