mod-openable ItemprototypeFlag works for item-with-tags

User avatar
Osmo
Fast Inserter
Fast Inserter
Posts: 151
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

mod-openable ItemprototypeFlag works for item-with-tags

Post by Osmo »

"mod-openable" flag in ItemPrototypeFlags says it only works for SelectionToolPrototoype and its children, but it also works for ItemWithTagsPrototype (and maybe others?), as the on_mod_item_opened event does raise when right clicking an item-with-tags with that flag.
Bilka
Factorio Staff
Factorio Staff
Posts: 3636
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: mod-openable ItemprototypeFlag works for item-with-tags

Post by Bilka »

Looks like it was changed to work for any item. Thanks for the note, docs updated for 2.0.66.
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 “Resolved Requests”