
| Inherits from Prototype « PrototypeBase |
| icons optional | :: array[IconData] | Can't be an empty array. |
Can't be an empty array. | ||
| icon optional | :: FileName | Path to the icon file. [...] |
Path to the icon file. [...] | ||
| icon_size optional | :: SpriteSizeType | The size of the square icon, in pixels. [...] |
The size of the square icon, in pixels. [...] | ||
| upgrade optional | :: boolean | When set to true, and the technology contains several levels, only the relevant one is displayed in the technology screen. |
When set to true, and the technology contains several levels, only the relevant one is displayed in the technology screen. | ||
| enabled optional | :: boolean | |
| essential optional | :: boolean | Whether the technology should be shown in the technology tree GUI when "Show only essential technologies" is enabled. |
Whether the technology should be shown in the technology tree GUI when "Show only essential technologies" is enabled. | ||
| visible_when_disabled optional | :: boolean | Controls whether the technology is shown in the tech GUI when it is not |
Controls whether the technology is shown in the tech GUI when it is not | ||
| ignore_tech_cost_multiplier optional | :: boolean | Controls whether the technology cost ignores the tech cost multiplier set in the DifficultySettings. [...] |
Controls whether the technology cost ignores the tech cost multiplier set in the DifficultySettings. [...] | ||
| allows_productivity optional | :: boolean | |
| research_trigger optional | :: TechnologyTrigger | Mandatory if |
Mandatory if | ||
| unit optional | :: TechnologyUnit | Determines the cost in items and time of the technology. [...] |
Determines the cost in items and time of the technology. [...] | ||
| max_level optional | :: uint32 or "infinite" |
|
| ||
| prerequisites optional | :: array[TechnologyID] | List of technologies needed to be researched before this one can be researched. |
List of technologies needed to be researched before this one can be researched. | ||
| show_levels_info optional | :: boolean | Can be used to enable or disable showing levels info in technology slot. |
Can be used to enable or disable showing levels info in technology slot. | ||
| effects optional | :: array[Modifier] | List of effects of the technology (applied when the technology is researched). |
List of effects of the technology (applied when the technology is researched). | ||
| factoriopedia_alternative optional | :: string | The ID type corresponding to the prototype that inherits from this. [...] |
The ID type corresponding to the prototype that inherits from this. [...] | ||
| custom_tooltip_fields optional | :: array[CustomTooltipField] | Allows to add extra description items to the tooltip and Factoriopedia. |
Allows to add extra description items to the tooltip and Factoriopedia. | ||
| type | :: string | Specifies the kind of prototype this is. [...] |
Specifies the kind of prototype this is. [...] | ||
| name[overridden] | :: string | If this name ends with |
If this name ends with | ||
| order optional | :: Order | Used to order prototypes in inventory, recipes and GUIs. [...] |
Used to order prototypes in inventory, recipes and GUIs. [...] | ||
| localised_name optional | :: LocalisedString | Overwrites the name set in the locale file. [...] |
Overwrites the name set in the locale file. [...] | ||
| localised_description optional | :: LocalisedString | Overwrites the description set in the locale file. [...] |
Overwrites the description set in the locale file. [...] | ||
| factoriopedia_description optional | :: LocalisedString | Provides additional description used in factoriopedia. |
Provides additional description used in factoriopedia. | ||
| subgroup optional | :: ItemSubGroupID | The name of an ItemSubGroup. |
The name of an ItemSubGroup. | ||
| hidden[overridden] optional | :: boolean | Hides the technology from the tech screen. |
Hides the technology from the tech screen. | ||
| hidden_in_factoriopedia optional | :: boolean | |
| parameter optional | :: boolean | Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function. |
Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function. | ||
| factoriopedia_simulation optional | :: SimulationDefinition | The simulation shown when looking at this prototype in the Factoriopedia GUI. |
The simulation shown when looking at this prototype in the Factoriopedia GUI. | ||




{
type = "technology",
name = "physical-projectile-damage-2",
[...]
upgrade = true
}







"infinite" optional 

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


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


{
type = "technology",
name = "steel-processing",
icon_size = 256,
icon = "__base__/graphics/technology/steel-processing.png",
effects =
{
{
type = "unlock-recipe",
recipe = "steel-plate"
},
{
type = "unlock-recipe",
recipe = "steel-chest"
}
},
unit =
{
count = 50,
ingredients = {{"automation-science-pack", 1}},
time = 5
},
order = "c-a"
}