specialistSlots and greatPersonPoints are specifically maps to numbers

This commit is contained in:
Yair Morgenstern
2023-09-22 10:17:00 +03:00
parent 8913b667c8
commit ae18b6d7ad

View File

@ -26,8 +26,14 @@
"cost": { "type": "number" },
"maintenance": { "type": "number" },
"percentStatBonus": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/stats.json" },
"specialistSlots": { "type": "object" },
"greatPersonPoints": { "type": "object" },
"specialistSlots": {
"type": "object",
"additionalProperties": {"type": "integer"}
},
"greatPersonPoints": {
"type": "object",
"additionalProperties": {"type": "integer"}
},
"hurryCostModifier": { "type": "number" },
"isWonder": { "type": "boolean" },
"isNationalWonder": { "type": "boolean" },