Prototype/Technology: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
 
(Removed old prototype docs)
Tag: Replaced
 
(41 intermediate revisions by 9 users not shown)
Line 1: Line 1:
==Basics==
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/TechnologyPrototype.html https://lua-api.factorio.com/latest/prototypes/TechnologyPrototype.html]
More in [[Research]]


== Mandatory properties ==
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
=== 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.
<pre> {
    type = "technology",
    name = "rocket-damage-2",
    ...
    upgrade = "true"
    }</pre>
Default value is false

Latest revision as of 14:33, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/TechnologyPrototype.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.