Difference between revisions of "Object instance format"
From VCMI Project Wiki
(→Artifact) |
(→Monster) |
||
Line 26: | Line 26: | ||
== Monster == | == Monster == | ||
− | {{todo}} | + | * since 1.0 |
+ | * editor support {{todo}} | ||
+ | * engine support {{todo}} | ||
+ | |||
+ | <syntaxhighlight lang="javascript"> | ||
+ | { | ||
+ | //mandatory | ||
+ | "character" : 2, | ||
+ | |||
+ | //required if randomCount is false | ||
+ | "count" : 19, | ||
+ | |||
+ | //optional, default false | ||
+ | "noGrowing" : true | ||
+ | |||
+ | //optional, default false | ||
+ | "neverFlees" : false, | ||
+ | |||
+ | //optional, default false | ||
+ | "randomCount" : false, | ||
+ | |||
+ | //optional, artifact id | ||
+ | "rewardArtifact" : "", | ||
+ | |||
+ | //optional, | ||
+ | "rewardMessage" : "", | ||
+ | |||
+ | //all fields optional | ||
+ | "rewardResources" : { | ||
+ | |||
+ | "crystal" : 0, | ||
+ | "gems" : 0, | ||
+ | "gold" : 0, | ||
+ | "mercury" : 0, | ||
+ | "mithril" : 0, | ||
+ | "ore" : 0, | ||
+ | "sulfur" : 0, | ||
+ | "wood" : 0 | ||
+ | } | ||
+ | } | ||
+ | </syntaxhighlight> | ||
== Ocean bottle == | == Ocean bottle == |
Revision as of 12:58, 4 July 2015
Contents
- 1 OH3 objects
- 1.1 Abandoned mine
- 1.2 Artifact
- 1.3 Creature generator
- 1.4 Garrison
- 1.5 Grail
- 1.6 Hero
- 1.7 Event
- 1.8 Mine
- 1.9 Monster
- 1.10 Ocean bottle
- 1.11 Pandoras box
- 1.12 Quest guard
- 1.13 Random dwelling
- 1.14 Resource
- 1.15 Scholar
- 1.16 Seer hut
- 1.17 Shipyard
- 1.18 Shrine of magic
- 1.19 Spell scroll
- 1.20 Town
- 1.21 Witch hut
OH3 objects
Abandoned mine
[Todo]
Artifact
[Todo]
Creature generator
[Todo]
Garrison
[Todo]
Grail
[Todo]
Hero
[Todo]
Event
[Todo]
Mine
[Todo]
Monster
- since 1.0
- editor support [Todo]
- engine support [Todo]
{
//mandatory
"character" : 2,
//required if randomCount is false
"count" : 19,
//optional, default false
"noGrowing" : true
//optional, default false
"neverFlees" : false,
//optional, default false
"randomCount" : false,
//optional, artifact id
"rewardArtifact" : "",
//optional,
"rewardMessage" : "",
//all fields optional
"rewardResources" : {
"crystal" : 0,
"gems" : 0,
"gold" : 0,
"mercury" : 0,
"mithril" : 0,
"ore" : 0,
"sulfur" : 0,
"wood" : 0
}
}
Ocean bottle
[Todo]
Pandoras box
[Todo]
Quest guard
[Todo]
Random dwelling
[Todo]
Resource
[Todo]
Scholar
[Todo]
Seer hut
[Todo]
Shipyard
[Todo]
Shrine of magic
[Todo]
Spell scroll
[Todo]
Town
[Todo]
Witch hut
[Todo]