mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
- reordered files in cmake so files with long compile times will be
compiled first. - changed format of modSettings.json, VCMI should properly update file on the first run. - implemented property "defaultTavern" that acts as default value for "tavern" entry in hero class and town formats.
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
"additionalProperties" : false,
|
||||
"required" : [
|
||||
"adventureMap", "buildingsIcons", "buildings", "creatures", "guildWindow", "names",
|
||||
"hallBackground", "hallSlots", "horde", "mageGuild", "moatDamage",
|
||||
"hallBackground", "hallSlots", "horde", "mageGuild", "moatDamage", "defaultTavern",
|
||||
"musicTheme", "siege", "structures", "townBackground", "warMachine"
|
||||
],
|
||||
"description": "town",
|
||||
@@ -158,12 +158,18 @@
|
||||
"additionalProperties" : {
|
||||
"type" : "number"
|
||||
}
|
||||
},
|
||||
"defaultTavern" : {
|
||||
"type" : "number",
|
||||
"description" : "Default chance for hero to appear in tavern, used only when value vas not set in tavern field",
|
||||
"minimum" : 0
|
||||
},
|
||||
"tavern" : {
|
||||
"type" : "object",
|
||||
"description" : "Hero classes available in tavern. Value indicates chance for hero of this class to appear",
|
||||
"additionalProperties" : {
|
||||
"type" : "number"
|
||||
"type" : "number",
|
||||
"minimum" : 0
|
||||
}
|
||||
},
|
||||
"names" : {
|
||||
|
||||
Reference in New Issue
Block a user