Page 1 of 1
[0.17.4] Modded Productivity modules work with prohibited recipes
Posted: Sat Mar 02, 2019 7:52 pm
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 (1.26 MiB) Viewed 1438 times
But allowed_effects parameter in lua files in other mod works correctly (e.g. Reverse factory mod).

- 20190302225041_1.jpg (1.33 MiB) Viewed 1438 times
Don't know was this before or only in 0.17.
Re: [0.17.4] Modded Productivity modules work with prohibited recipes
Posted: Sat Mar 02, 2019 8:01 pm
by Bilka
Why are you assuming that this is an issue with the base game instead of the mod?
Re: [0.17.4] Modded Productivity modules work with prohibited recipes
Posted: Sat Mar 02, 2019 10:00 pm
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.
Re: [0.17.4] Modded Productivity modules work with prohibited recipes
Posted: Sun Mar 03, 2019 7:05 pm
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.
Re: [0.17.4] Modded Productivity modules work with prohibited recipes
Posted: Sun Mar 03, 2019 7:10 pm
by Bilka
So, all working as intended. Moving to not a bug.