Following the docs: https://lua-api.factorio.com/stable/con ... igger.html
"craft-item" only has members 'item" and "item_quality", but in-game I also get "count"
[2.0.72] Runtime ReserachTrigger does not contain item.count for craft-item
-
Subject314159
- Burner Inserter

- Posts: 17
- Joined: Thu Oct 12, 2023 8:53 pm
- Contact:
-
Subject314159
- Burner Inserter

- Posts: 17
- Joined: Thu Oct 12, 2023 8:53 pm
- Contact:
Re: [2.0.72] Runtime ReserachTrigger does not contain item.count for craft-item
Additionally I see that technology "space-platform" has a trigger "create-space-platform" which is also not mentioned in the docs. Analyzing the data in game it appears that the research trigger only has a type and no additional properties. Looking at the research itself it appears that it uses the locale from core.cfg:
[technology-trigger]
create-space-platform-specific=Create space platform by sending __1__ to space.
I would also expect to be able to get an item from this trigger (but maybe that is more of a mod interface request)
[technology-trigger]
create-space-platform-specific=Create space platform by sending __1__ to space.
I would also expect to be able to get an item from this trigger (but maybe that is more of a mod interface request)
Re: [2.0.72] Runtime ReserachTrigger does not contain item.count for craft-item
Added for the next doc release, thanks for the note.Subject314159 wrote: Sun Jan 18, 2026 1:38 pm "craft-item" only has members 'item" and "item_quality", but in-game I also get "count"
It's already listed as a possible value in type. It's not listed in the list with additional attributes since it doesn't have additional attributes. If you'd like it to have an item, that would also need to be specified in the prototype stage (it doesn't load one currently) so please make a modding interface request for that.Subject314159 wrote: Sun Jan 18, 2026 2:47 pm Additionally I see that technology "space-platform" has a trigger "create-space-platform" which is also not mentioned in the docs.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
