-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
939686c
commit fd5ac4a
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,53 @@ | ||
types = { | ||
type[technology] = { | ||
path = "game/common/technology/technologies" | ||
localisation = { | ||
name = "$" | ||
} | ||
images = { | ||
## primary | ||
texture = texture | ||
} | ||
} | ||
type[era] = { | ||
path = "game/common/technology/eras" | ||
} | ||
} | ||
|
||
era = { | ||
### innovation cost to research technologies of this era | ||
technology_cost = value_field | ||
} | ||
|
||
technology = { | ||
### era of this technology | ||
era = <era> | ||
|
||
### technology icon | ||
texture = filepath | ||
|
||
### Category/Tab this technology is shown in | ||
category = enum[technology_category] | ||
|
||
## cardinality = 0..1 | ||
### can this technology be researched normally\nit can still be given using scripts | ||
can_research = bool | ||
|
||
## cardinality = 0..1 | ||
### optional list of required technologies to be able to research this technology | ||
unlocking_technologies = { | ||
## cardinality = 0..inf | ||
<technology> | ||
} | ||
|
||
## cardinality = 0..1 | ||
### these modifiers are applied to the country if this technology is researched | ||
modifier = single_alias_right[modifier_clause] | ||
|
||
## cardinality = 0..1 | ||
### base AI weight, default 1.0 | ||
ai_weight = { | ||
## cardinality = 0..1 | ||
value = value_field | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -178,4 +178,10 @@ enums = { | |
most_productive | ||
most_profitable | ||
} | ||
|
||
enum[technology_category] = { | ||
production | ||
military | ||
society | ||
} | ||
} |