A technology.
PrototypestringfalsetrueIf this name ends with -<number>, that number is ignored for localization purposes. E.g. if the name is technology-3, the game looks for the technology-name.technology localization. The technology tree will also show the number on the technology icon.
Array<IconData>truefalseCan't be an empty array.
FileNametruefalsePath to the icon file.
Only loaded, and mandatory if icons is not defined.
SpriteSizeTypetruefalseThe size of the square icon, in pixels. E.g. 32 for a 32px by 32px icon. Must be larger than 0.
The base game uses 256px icons for technologies.
Only loaded if icons is not defined.
booleantruefalseWhen set to true, and the technology contains several levels, only the relevant one is displayed in the technology screen.
{
type = "technology",
name = "physical-projectile-damage-2",
[...]
upgrade = true
}
booleantruefalsebooleantruefalseWhether the technology should be shown in the technology tree GUI when "Show only essential technologies" is enabled.
booleantruefalseControls whether the technology is shown in the tech GUI when it is not enabled.
booleantruefalseControls whether the technology cost ignores the tech cost multiplier set in the DifficultySettings. E.g. 4 for the default expensive difficulty.
booleantruefalseTechnologyTriggertruefalseMandatory if unit is not defined.
TechnologyUnittruefalseDetermines the cost in items and time of the technology.
Mandatory if research_trigger is not defined.
uint32 | "infinite"truefalse"infinite" for infinite technologies, otherwise uint32.
Defaults to the same level as the technology, which is 0 for non-upgrades, and the level of the upgrade for upgrades.
Array<TechnologyID>truefalseList of technologies needed to be researched before this one can be researched.
prerequisites = {"explosives", "military-2"}
booleantruefalseCan be used to enable or disable showing levels info in technology slot.
Array<Modifier>truefalseList of effects of the technology (applied when the technology is researched).
{
{
type = "unlock-recipe",
recipe = "land-mine"
}
}
booleantruetrueHides the technology from the tech screen.