mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 23:40:01 +07:00
changed requiredTech to revealedBy in tileResources json schema, added deposit amounts and improvedBy
This commit is contained in:
@ -12,7 +12,12 @@
|
|||||||
},
|
},
|
||||||
"improvement": { "type": "string" },
|
"improvement": { "type": "string" },
|
||||||
"resourceType": { "enum": ["Strategic", "Luxury", "Bonus"]},
|
"resourceType": { "enum": ["Strategic", "Luxury", "Bonus"]},
|
||||||
"techRequired": { "type": "string" },
|
"revealedBy": { "type": "string" },
|
||||||
|
"improvedBy": {
|
||||||
|
"type": "array",
|
||||||
|
"items": { "type": "string" },
|
||||||
|
"uniqueItems": true
|
||||||
|
},
|
||||||
"improvementStats": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/stats.json" },
|
"improvementStats": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/stats.json" },
|
||||||
|
|
||||||
"production": { "type": "number" },
|
"production": { "type": "number" },
|
||||||
@ -23,6 +28,9 @@
|
|||||||
"happiness": { "type": "number" },
|
"happiness": { "type": "number" },
|
||||||
"faith": { "type": "number" },
|
"faith": { "type": "number" },
|
||||||
|
|
||||||
|
"majorDepositAmount": {"$ref": "#/definitions/resourceAmount"},
|
||||||
|
"minorDepositAmount": {"$ref": "#/definitions/resourceAmount"},
|
||||||
|
|
||||||
"uniques": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/uniques.json" },
|
"uniques": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/uniques.json" },
|
||||||
|
|
||||||
"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" }
|
"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" }
|
||||||
@ -30,6 +38,17 @@
|
|||||||
"required": [
|
"required": [
|
||||||
"name",
|
"name",
|
||||||
],
|
],
|
||||||
"additionalProperties": false
|
"additionalProperties": false,
|
||||||
|
"definitions": {
|
||||||
|
"resourceAmount": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"sparse": {"type": "number"},
|
||||||
|
"default": {"type": "number"},
|
||||||
|
"abundant": {"type": "number"}
|
||||||
|
},
|
||||||
|
"required": ["sparse","default","abundant"]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user