mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Merge pull request #6136 from Laserlicht/resource
Configurable resources
This commit is contained in:
@@ -14,7 +14,7 @@ Difficulty configuration is located in [config/difficulty.json](../../config/dif
|
||||
"pawn": //parameters for specific difficulty
|
||||
{
|
||||
//starting resources
|
||||
"resources": { "wood" : 30, "mercury": 15, "ore": 30, "sulfur": 15, "crystal": 15, "gems": 15, "gold": 30000, "mithril": 0 },
|
||||
"resources": { "wood" : 30, "mercury": 15, "ore": 30, "sulfur": 15, "crystal": 15, "gems": 15, "gold": 30000 },
|
||||
//bonuses will be given to player globally
|
||||
"globalBonuses": [],
|
||||
//bonuses will be given to player every battle
|
||||
|
||||
20
docs/modders/Entities_Format/Resource_Format.md
Normal file
20
docs/modders/Entities_Format/Resource_Format.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Resource Format
|
||||
|
||||
```json
|
||||
// Internal field for H3 resources. Do not use for mods
|
||||
"index" : "",
|
||||
|
||||
// displayed name of the resource
|
||||
"name" : "",
|
||||
|
||||
// Resource icons of varying size
|
||||
"images" : {
|
||||
// 20x18 resource icon
|
||||
"small" : "",
|
||||
// 32x32 resource icon
|
||||
"medium" : "",
|
||||
// 82x93 resource icon
|
||||
"large" : ""
|
||||
}
|
||||
|
||||
```
|
||||
@@ -568,7 +568,6 @@ Deprecated, please use primarySkill instead
|
||||
- resource.gems
|
||||
- resource.gold
|
||||
- resource.mercury
|
||||
- resource.mithril
|
||||
- resource.ore
|
||||
- resource.sulfur
|
||||
- resource.wood
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
// Type of mod, list of all possible values:
|
||||
// "Translation", "Town", "Test", "Templates", "Spells", "Music", "Maps", "Sounds", "Skills", "Other", "Objects",
|
||||
// "Mechanics", "Interface", "Heroes", "Graphical", "Expansion", "Creatures", "Compatibility", "Campaigns", "Artifacts", "AI"
|
||||
// "Mechanics", "Interface", "Heroes", "Graphical", "Expansion", "Creatures", "Compatibility", "Campaigns", "Artifacts", "AI", "Resources"
|
||||
//
|
||||
// Some mod types have additional effects on your mod:
|
||||
// Translation: mod of this type is only active if player uses base language of this mod. See "language" property.
|
||||
|
||||
Reference in New Issue
Block a user