DaCyclops / GDIW

Factorio Mod : GDIW - Gah!DarnItWater! A Factorio mod for those people who keep getting annoyed at water....
MIT License
3 stars 5 forks source link

Issue with pyhightech #19

Closed TehFreek closed 5 years ago

TehFreek commented 6 years ago

When Pyanodons HighTech is enabled, GDIW fails to load with the following:

__GDIW__/data-final-fixes.lua:130: attempt to index local 'rawResult' (a nil value)
LovelySanta commented 5 years ago

Hi,

This bug was also reported on my MoreScience mod in the discussion tab.

From a quick look into your code I think the issue is that you only look for recipe outcomes of types item, fluid or ammo. Science packs are tools. And my science packs require multiple input fluids and the resultType is tool as shown in the recipe here and the tool prototype here.

Kind regards, lovely_santa

DaCyclops commented 5 years ago

Updated code to work with MANY more types, and be cleaner.

Should be live in 0.16.3 and 0.17.2