Krastorio 2 - Air Purifier


A mod that copy Krastorio's air purifier in Factorio 2.0 ! All credits go to original dev and creators (raiguard, Krastor and Linver) because code and graphics come from the last version of the mod !

Content
8 months ago
2.0
3.10K
Manufacturing

b [1.2.1] LoadFail: attempt to index global 'mod' (a nil value)

8 months ago

So I've updated to version 1.2.1. I no longer see the 'spores' error (see my other thread).

However, now I have the following error:

Failed to load mods: ...Purifier__/prototypes/entities/air-purifier-building.lua:8: attempt to index global 'mod' (a nil value)
stack traceback:
    ...Purifier__/prototypes/entities/air-purifier-building.lua:8: in main chunk
    [C]: in function 'require'
    __KrastorioAirPurifier__/data.lua:5: in main chunk

Again, my setup is Factorio 2.0 Vanilla + Elevated Rails.

8 months ago

No worries, I'm just dumb and I saw the issue... I just forgot a "s" somewhere
I needed to wait my break to re-upload the mod ! Should be good with 1.2.2 !

New response