[0.17.4] Modded Productivity modules work with prohibited recipes

Bugs that are actually features.
vysmirnov
Burner Inserter
Burner Inserter
Posts: 12
Joined: Wed Feb 27, 2019 12:00 am
Contact:

[0.17.4] Modded Productivity modules work with prohibited recipes

Post by vysmirnov »

Using productivity modules from mods is allowed for non intermediate products. For example all alien modules from Alien Loot Economy mod can be used to craft anything in vanilla assembling machines.
20190302224005_1.jpg
20190302224005_1.jpg (1.26 MiB) Viewed 1343 times
But allowed_effects parameter in lua files in other mod works correctly (e.g. Reverse factory mod).
20190302225041_1.jpg
20190302225041_1.jpg (1.33 MiB) Viewed 1343 times
Don't know was this before or only in 0.17.
Bilka
Factorio Staff
Factorio Staff
Posts: 3383
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.17.4] Modded Productivity modules work with prohibited recipes

Post by Bilka »

Why are you assuming that this is an issue with the base game instead of the mod?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
vysmirnov
Burner Inserter
Burner Inserter
Posts: 12
Joined: Wed Feb 27, 2019 12:00 am
Contact:

Re: [0.17.4] Modded Productivity modules work with prohibited recipes

Post by vysmirnov »

I don't know has module entity parameters allows to use it in not-intermediate assembling or not. But as i see in reverse factorio entity description, furnaces or assemblers have module filter option by type. I think that vanilla assemblers also filters module by type and current recepie. If modules have filter too, then ok, it's modded module bug or feature.
vysmirnov
Burner Inserter
Burner Inserter
Posts: 12
Joined: Wed Feb 27, 2019 12:00 am
Contact:

Re: [0.17.4] Modded Productivity modules work with prohibited recipes

Post by vysmirnov »

For all alien modules description in prototypes/item/alien-module.lua in mod archive:

Code: Select all

data:extend({
    {
        type = "module",
        name = "alien-module-2",
        icon = "__alien-module__/graphics/alien-module-2.png",
        icon_size = 32,
        subgroup = "alien-module",
        category = "alien-module",
        tier = 2,
        order = "a-2",
        stack_size = 50,
        effect =
        {
            consumption = { bonus = 0.25 },
            speed = { bonus = 0.1 },
            productivity = { bonus = 0.05 }
        },
    },
})
Here is no one filter parameter. Also it's impossible to put alien modules in beacon. So, beacons have filter by productivity effect.
Bilka
Factorio Staff
Factorio Staff
Posts: 3383
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.17.4] Modded Productivity modules work with prohibited recipes

Post by Bilka »

So, all working as intended. Moving to not a bug.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Not a bug”