Defines.inventory.item_active doesnt work anymore?

Place to get help with not working mods / modding interface.
aober93
Filter Inserter
Filter Inserter
Posts: 453
Joined: Tue Aug 30, 2016 9:07 pm
Contact:

Defines.inventory.item_active doesnt work anymore?

Post by aober93 »

I need help, i tried to adapt a blueprint flipper mod for 0.15.

Only thing that happens is that defines.inventory.item_active doenst work on blueprint books anymore?

I can replace the line with defines.inventory.item_main, but then only the first item in the book can be mirrored. Whats wrong with that? A bug?

Thanks
aober93
Filter Inserter
Filter Inserter
Posts: 453
Joined: Tue Aug 30, 2016 9:07 pm
Contact:

Re: Defines.inventory.item_active doesnt work anymore?

Post by aober93 »

Apparantly not, anyway i found a way to index the active blueprint and type in a working line, and i modded my first mod yay. Finally can flip blueprints again

But maybe someone else will update his on the mod downloader.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16018
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Defines.inventory.item_active doesnt work anymore?

Post by Rseding91 »

"item_active" was removed because the active blueprint is just an index in the blueprint now instead of a different inventory.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Modding help”