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

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