https://lua-api.factorio.com/latest/Lua ... otype.html
is related to the WIKI-API Prototype page:
https://wiki.factorio.com/Prototype/Technology
But they do not reference eachother.
You may be asking, but aren't LuaTechnologyPrototype and Prototype/Technology the same?
... No.
Code: Select all
research_unit_count_formula :: string [R] The count formula used for this infinite research or nil if this isn't an infinite research.
research_unit_ingredients :: array of Ingredient [R] Ingredients labs will require to research this technology.
Code: Select all
unit
Type: table
table with the following key/value pairs:
count — double — How many units are needed. Must be positive. May not be specified if count_formula is specified.
count_formula — string — Formula that specifies how many units are needed per level of the infinite technology. May not be specified if count is specified. The formula is executed following the BODMAS order.
The main difference is WIKI-API is the prototypes in the data stage (and also has the lua tutorials) and API is everything else.
Why?
Because it's really frustrating working with a particular prototype between all the stages of its lifecycle and needing to maintain tabs which are in distinctly separate "domains", despite being essential documentation of the same subject and of the same topic.