mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-28 13:48:49 +07:00
Updated tech schema to answer modder questions
This commit is contained in:
@ -4,7 +4,11 @@
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"columnNumber": { "type": "integer" },
|
||||
"columnNumber": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"description": "The number of this column in the techs matrix - 0 being the leftmost column"
|
||||
},
|
||||
"era": { "type": "string" },
|
||||
"techCost": { "type": "integer" },
|
||||
"buildingCost": { "type": "integer" },
|
||||
@ -15,7 +19,11 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": { "type": "string" },
|
||||
"row": { "type": "integer" },
|
||||
"row": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"description": "The row, within the column, where this tech appears - 1 being the topmost tech"
|
||||
},
|
||||
"cost": {
|
||||
"type": "integer",
|
||||
"description": "Science cost of this tech - overrides the column techCost"
|
||||
@ -24,10 +32,14 @@
|
||||
"prerequisites": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" },
|
||||
"description": "The names of techs which must be researched before this tech can be researched",
|
||||
"uniqueItems": true
|
||||
},
|
||||
"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" },
|
||||
"quote": { "type": "string" }
|
||||
"quote": {
|
||||
"type": "string",
|
||||
"description": "The quote that is displayed when you have researched the tech - flavor text"
|
||||
}
|
||||
},
|
||||
"required": ["name", "row"],
|
||||
"additionalProperties": false
|
||||
|
Reference in New Issue
Block a user