[2.0.72] Runtime ReserachTrigger does not contain item.count for craft-item

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

[2.0.72] Runtime ReserachTrigger does not contain item.count for craft-item

Post by Subject314159 »

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"
Subject314159
Burner Inserter
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

Post by Subject314159 »

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)
Bilka
Factorio Staff
Factorio Staff
Posts: 3691
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [2.0.72] Runtime ReserachTrigger does not contain item.count for craft-item

Post by Bilka »

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"
Added for the next doc release, thanks for the note.
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.
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.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Enderdraak
Inserter
Inserter
Posts: 37
Joined: Mon Jan 14, 2019 2:39 pm
Contact:

Re: [2.0.72] Runtime ReserachTrigger does not contain item.count for craft-item

Post by Enderdraak »

I just ran into this myself.
02-03-2026, 23-25-09.png
02-03-2026, 23-25-09.png (169 KiB) Viewed 25 times
It seems that the trigger item contains both a `name` and `quality`.

Which is not what it suggests on the page at all.

To me it seems like `item` should go [ItemIDFilter](https://lua-api.factorio.com/latest/con ... ilter.html) Just like the `send-item-to-orbit`.
Post Reply

Return to “Resolved Requests”