Insectitronics

by DemonX3

Spidertron? Nah, they're mere Insectitrons. Early-Mid Tier Spidertrons for all your spider needs.

Content
4 months ago
0.18 - 2.0
3.34K
Transportation Combat

b Burner field of insectitrons missing

4 months ago

Getting this error:

Failed to load mods: __Insectitron__/data-final-fixes/compatibility.lua:182: attempt to index field 'burner' (a nil value)
stack traceback:
    __Insectitron__/data-final-fixes/compatibility.lua:182: in main chunk
    [C]: in function 'require'
    __Insectitron__/data.lua:7: in main chunk

Not sure what mod could be causing it. I have AAI industry but no K2. Not seeing other mods what could be causing problems.

Locally I've fixed it by changing line 182 from

data.raw["spider-vehicle"][fueledTrons[i]].burner.fuel_categories = {"chemical", "processed-chemical"}

to

data.raw["spider-vehicle"][fueledTrons[i]].energy_source.fuel_categories = {"chemical", "processed-chemical"}

I have no clue if it actually fixes or breaks things but at least the game loads. I haven't got to the point where i can actually craft them to see if it works or not.

4 months ago

Oh, right. Since 2.0 changed how burner power is defined to use energy_source, I forgot to change that in the compat file, thanks for reporting, I'll push update momentarily

This thread has been locked.