Difference between revisions of "Prototype/Technology"

From Official Factorio Wiki
Jump to: navigation, search
m (upgrade)
(added a note about upgradeing technologies)
Line 38: Line 38:
  
 
note from FreeER, it is possible that I am wrong so I figured I'd put my name and that this senctence could mislead you first lol, I believe that all except for the first unresearched technology in the series are hidden, for factorio to know which technologies are in that series the technology names must be the same except for the number at the end
 
note from FreeER, it is possible that I am wrong so I figured I'd put my name and that this senctence could mislead you first lol, I believe that all except for the first unresearched technology in the series are hidden, for factorio to know which technologies are in that series the technology names must be the same except for the number at the end
 +
note from Matjojo, It is currently not possible to have more than one descriptions for a line of upgrades.

Revision as of 18:54, 30 August 2015

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

note from FreeER, it is possible that I am wrong so I figured I'd put my name and that this senctence could mislead you first lol, I believe that all except for the first unresearched technology in the series are hidden, for factorio to know which technologies are in that series the technology names must be the same except for the number at the end note from Matjojo, It is currently not possible to have more than one descriptions for a line of upgrades.