فهرست منبع

vcmi: allow loads bonuses info from mods

It is useful for making custom bonus graphics into mods, now
mods just replace game config, which is not good.
Konstantin 2 سال پیش
والد
کامیت
f6695737d6
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      config/schemas/mod.json

+ 6 - 0
config/schemas/mod.json

@@ -141,6 +141,12 @@
 			"description": "List of configuration files for artifacts",
 			"items": { "type":"string", "format" : "textFile" }
 		},
+		"bonuses":{
+			"type":"array",
+			"description": "List of configuration files for bonuses",
+			"items": { "type":"string", "format" : "textFile" }
+
+		},
 		"creatures": {
 			"type":"array",
 			"description": "List of configuration files for creatures",