Prototype/Technology: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
 
Line 36: Line 36:
     }</pre>
     }</pre>
Default value is false
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 -# at the end

Revision as of 16:24, 18 May 2013

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 -# at the end