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
11 months ago
2.0
3.29K
Manufacturing

b Crash

a month ago

Updating kry_stdlib from 2.0.9 to 2.0.10 caused a crash in 'Krastorio 2 - Air Purifier Helper' and/or 'Krastorio 2 - Air Purifier':


The mod Krastorio 2 - air purifier helper (2.0.5) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event kr-air-purifier-helper::on_object_destroyed (ID 178)
Unknown item name: kr-used-pollution-filter
stack traceback:
    [C]: in function 'create_entity'
    __kr-air-purifier-helper__/control.lua:196: in function 'try_to_take_out_used_filters'
    __kr-air-purifier-helper__/control.lua:232: in function '?'
    __kr-air-purifier-helper__/control.lua:248: in function <__kr-air-purifier-helper__/control.lua:245>

Rolling kry_stdlib back to 2.0.9 restored functionality.

a month ago

Never mind. It was a problem with the helper mod using kr-used-pollution-filter instead of used-pollution-filter. Removing the first three characters in a single line of a single file in the helper mod made everything work again. :facepalm:

The REAL question is, of course, how the heck the helper mod has been working just fine for over a month with that mistake in it. Go figure.

a month ago
(updated a month ago)

Actually do mind. I found out that raiguard changed Krastorio 2 to include a 'kr-' prefix to every prototype back in April. You'll need to add that to conform to the new naming system.


Krastorio 2 changelog

Version: 2.0.0
Date: 2025-04-30
  Features:

...

    - Renamed almost every prototype in the mod to have a "kr-" prefix.

...

New response