Prototype/Technology

From Official Factorio Wiki
Revision as of 15:59, 18 May 2013 by FreeER (talk | contribs) (→‎upgrade)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Basics

More in Research

Mandatory properties

unit

It contains

  • count - How many units are needed
  • time - how much time is needed per one unit, in standard laboratory without upgrades it is is count of seconds
  • ingredients - list of ingredients needed for one units
 unit =
 {
   count = 20,
   time = 5,
   ingredients = { ["science-pack-1"] = 1 }
 }

prerequisites

List of technologies needed to be researched before this one can be researched.

 prerequisites = {"explosives", "military-2"}

effects

List of effects of the technology (applied when the technology is researched).

More on prototype/technology-modifier

 {
   type  = "unlock-recipe",
   recipe = "land-mine"
 }

Optional properties

upgrade

When set to true, and the technology contains several levels, only the relevant one is displayed in the technology screen.

  {
    type = "technology",
    name = "rocket-damage-2",
    ...
    upgrade = "true"
    }

Default value is false