Afforess / Factorio-Stdlib

Factorio Standard Library Project
ISC License
162 stars 45 forks source link

spidertron-remotes aren't checked as "items" so a recipe result (and more) may fail to find one #153

Open jacobwatkinsgit opened 3 years ago

jacobwatkinsgit commented 3 years ago

Describe the Bug

deadlock's stacking + Spidertron Patrols fails because the spidertron remote isn't found as a result, and convert_results() creates an empty results table. Game has error on start-up from missing icon

To Reproduce

install deadlock_stacked_recipes and SpidertronPatrols

Solution

around line 92 of stdlib\data\modules\groups.lua , add 'spidertron-remote' to groups.item.

Bilka2 commented 3 years ago

Another possible solution: Use the new defines.prototypes, so defines.prototypes.item.