Rubber Ducky (Fenhl's fork)

by Fenhl

A recipe that requires 1 of all craftable items in the game. As everyone knows, rubber duckies are notoriously hard to produce. How many RDPM can you sustain? (Fork: updated for 2.0 and Space Age)

Content
3 months ago
2.0
169
Manufacturing

b Crash on nil

18 days ago

i get the error
Failed to load mods: rubber-ducky-fenhl/data-final-fixes.lua:102: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
rubber-ducky-fenhl/data-final-fixes.lua:102: in main chunk
every time the mod is loaded without the where there are no growable plants, which causes the loop to receive a nil value instead of a table.
im suspecting all of these data raw loops will have the problem to need nil checks because either its from the DLC which may not be enabled or other mods may remove things that are expected to exist, as such the mod needs to check first if the data is of the expected format first.

New response