Page 1 of 1

List of all Factorio's Types

Posted: Mon Sep 09, 2019 1:13 pm
by Aragas
I'm trying to get a list of all built-in types used by Factorio, not counting the standard Lua's that are defined in the wiki for a modding tool. Is there any place where they are defined like the Prototypes?
I tried seaching Types in the wiki by title, but for some reason it won't show every type defined.

Re: List of all Factorio's Types

Posted: Mon Sep 09, 2019 1:29 pm
by Bilka
What types? Things with a Types/ prefix on the wiki aka classes used in prototype loading? Or classes used in control stage? Both of those? Something else?

Re: List of all Factorio's Types

Posted: Mon Sep 09, 2019 1:31 pm
by Aragas
Bilka wrote: Mon Sep 09, 2019 1:29 pm What types? Things with a Types/ prefix on the wiki aka classes used in prototype loading? Or classes used in control stage? Both of those? Something else?
Yea, the things that start with the Types/ prefix. Like LightDefinition, EnergySource and others

Re: List of all Factorio's Types

Posted: Mon Sep 09, 2019 1:57 pm
by Bilka
I can give you the wiki list. I want to warn you though: Internally, the game uses more types. The documentation simplifies some of them as "string with x options" or "type z with y extra thing" and similar, for ease of use. The doc also makes nearly no distinction between maps and arrays due to them being the same in lua, etc.

Here is the list: https://wiki.factorio.com/index.php?tit ... amespace=0 Any types that are lowercase, except for "vector", are the built-in types.

Re: List of all Factorio's Types

Posted: Mon Sep 09, 2019 2:05 pm
by Aragas
Bilka wrote: Mon Sep 09, 2019 1:57 pm I can give you the wiki list. I want to warn you though: Internally, the game uses more types. The documentation simplifies some of them as "string with x options" or "type z with y extra thing" and similar, for ease of use. The doc also makes nearly no distinction between maps and arrays due to them being the same in lua, etc.

Here is the list: https://wiki.factorio.com/index.php?tit ... amespace=0 Any types that are lowercase, except for "vector", are the built-in types.
Thanks for the link! This should be enough for most of the prototypes, I guess.