mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Adjusted docs layout to fix table of content
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Market schema
|
||||
## Market schema
|
||||
|
||||
Since VCMI-1.3 it's possible to create customizable markets on adventure map.
|
||||
Markets can be added as any other object with special handler called "market".
|
||||
@@ -28,7 +28,7 @@ Here is schema describing such object
|
||||
}
|
||||
```
|
||||
|
||||
# Modes
|
||||
## Modes
|
||||
|
||||
Mode parameter defines a way to exchange different entities. Multiple modes can be specified to support several types of exchange.
|
||||
Following options are supported:
|
||||
@@ -73,7 +73,7 @@ Game logic prohibits using modes unavailable for faction
|
||||
"modes" : ["creature-experience", "artifact-experience"]
|
||||
```
|
||||
|
||||
# Offer
|
||||
## Offer
|
||||
|
||||
This field allows to configure specific items available in the market. It can be used only for `resource-skill` mode
|
||||
|
||||
|
||||
@@ -1,34 +1,3 @@
|
||||
## Table of Contents
|
||||
- [Base object definition](#base-object-definition)
|
||||
- [Configurable object definition](#configurable-object-definition)
|
||||
- [Base object definition](#base-object-definition)
|
||||
- [Variables Parameters definition](#variables-parameters-definition)
|
||||
- [Reset Parameters definition](#reset-parameters-definition)
|
||||
- [Appear Chance definition](#appear-chance-definition)
|
||||
- [Configurable Properties](#configurable-properties)
|
||||
- - [Current Day](#current-day)
|
||||
- - [Resource](#resource)
|
||||
- - [Experience](#experience)
|
||||
- - [Hero Level](#hero-level)
|
||||
- - [Mana Points](#mana-points)
|
||||
- - [Mana Percentage](#mana-percentage)
|
||||
- - [Movement Points](#movement-points)
|
||||
- - [Movement Percentage](#movement-percentage)
|
||||
- - [Primary Skills](#primary-skills)
|
||||
- - [Secondary Skills](#secondary-skills)
|
||||
- - [Can learn skills](#can-learn-skills)
|
||||
- - [Bonus System](#bonus-system)
|
||||
- - [Artifacts](#artifacts)
|
||||
- - [Spells](#spells)
|
||||
- - [Can learn spells](#can-learn-spells)
|
||||
- - [Creatures](#creatures)
|
||||
- - [Creatures Change](#creatures-change)
|
||||
- - [Spell cast](#spell-cast)
|
||||
- - [Fog of War](#fog-of-war)
|
||||
- - [Player color](#player-color)
|
||||
- - [Hero types](#hero-types)
|
||||
- - [Hero classes](#hero-classes)
|
||||
|
||||
## Base object definition
|
||||
Rewardable object is defined similarly to other objects, with key difference being `handler`. This field must be set to `"handler" : "configurable"` in order for vcmi to use this mode.
|
||||
```jsonc
|
||||
|
||||
Reference in New Issue
Block a user