Types/ProductPrototype

From Official Factorio Wiki
Revision as of 16:31, 10 December 2018 by Bilka (talk | contribs) (Created page with "Class used for Prototype/Recipe prodcuts, it loads as Types/ItemProductPrototype or Types/FluidProductPrototype, depending on the #type. == Optional properties...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Class used for Prototype/Recipe prodcuts, it loads as Types/ItemProductPrototype or Types/FluidProductPrototype, depending on the #type.

Optional properties

type

Type: Types/string

Default: "item"

Either "item" or "fluid". If this is item, the definition is loaded as a Types/ItemProductPrototype, if this is fluid, the definition is loaded as a Types/FluidProductPrototype.