mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
docs
This commit is contained in:
@@ -47,7 +47,7 @@ VCMI allows overriding HoMM3 .def files with .json replacement. Compared to .def
|
||||
// Group of this image. Optional, default = 0
|
||||
"group" : 0,
|
||||
|
||||
// Imdex of the image in group
|
||||
// Index of the image in group
|
||||
"frame" : 0,
|
||||
|
||||
// Filename for this frame
|
||||
|
||||
@@ -49,6 +49,7 @@ These are object types that are available for modding and have configurable prop
|
||||
- `bank` - see [Creature Bank](Map_Objects/Creature_Bank.md). Object that grants award on defeating guardians. Deprectated in favor of [Rewardable](Map_Objects/Rewardable.md)
|
||||
- `dwelling` - see [Dwelling](Map_Objects/Dwelling.md). Object that allows recruitments of units outside of towns
|
||||
- `market` - see [Market](Map_Objects/Market.md). Trading resources, artifacts, creatures and such
|
||||
- `mine` - see [Mine](Map_Objects/Mine.md). for Mines
|
||||
- `boat` - see [Boat](Map_Objects/Boat.md). Object to move across different terrains, such as water
|
||||
- `flaggable` - see [Flaggable](Map_Objects/Flaggable.md). Object that can be flagged by a player to provide [Bonus](Bonus_Format.md) or resources
|
||||
- `hillFort` - TODO: documentation. See config files in vcmi installation for reference
|
||||
@@ -64,7 +65,6 @@ These are types that don't have configurable properties, however it is possible
|
||||
- `borderGate`
|
||||
- `borderGuard`
|
||||
- `magi`
|
||||
- `mine`
|
||||
- `obelisk`
|
||||
- `subterraneanGate`
|
||||
- `whirlpool`
|
||||
|
||||
24
docs/modders/Map_Objects/Mine.md
Normal file
24
docs/modders/Map_Objects/Mine.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Mine
|
||||
|
||||
Currently only one mine per resource allowed.
|
||||
|
||||
Beside the common parameters from [Map Object Format](../Map_Object_Format.md) there are some additional parameters:
|
||||
|
||||
```json
|
||||
{
|
||||
/// produced resource
|
||||
"resource" : "mithril",
|
||||
|
||||
/// amount of resources produced each day
|
||||
"defaultQuantity" : 1,
|
||||
|
||||
/// displayed name of mine
|
||||
"name" : "name text",
|
||||
|
||||
/// displayed description of mine (for popup)
|
||||
"description" : "description text",
|
||||
|
||||
/// Image showed on kingdom overview (animation; only frame 0 displayed)
|
||||
"kingdomOverviewImage" : "image.def"
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user