Deadlock's Stacking Beltboxes & Compact Loaders


Adds minimalist 1x1 loaders and stacking beltboxes for 5x belt compression for ores, plates and some intermediate products

Content
12 days ago
0.17 - 2.0
102K
Logistics

b crash when trying to target techs with empty effects

5 years ago
(updated 5 years ago)

getting this error message:
Mods to disable:Failed to load mods: deadlock-beltboxes-loaders/prototypes/create_stack.lua:192: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
deadlock-beltboxes-loaders/prototypes/create_stack.lua:192: in function 'add_stacks_to_tech'
deadlock-beltboxes-loaders/prototypes/public.lua:181: in function 'add_stack'
Deadlock-SE-bridge/data-final-fixes.lua:98: in main chunk

Mods to be disabled:
• Deadlock-SE-bridge

The tech I'm trying to add the recipes to has an empty effect argument (since I created it to hold those recipes, which wern't there yet)
troubleshooting leads me to belive it's the bit where the create-stack code tried to check what the tech does to prevent duplicate recipes, and failing since the tech has an empty recipe line.

At least, this is my suspicion. I'll see if I can figure out more.

Edit:NM, found the issue.
I didn't give my tech 'effects', I gave it 'effect'. let it be a lesson to everyone: every letter matters.

New response