File: Boat.md

package info (click to toggle)
vcmi 1.6.5%2Bdfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 32,060 kB
  • sloc: cpp: 238,971; python: 265; sh: 224; xml: 157; ansic: 78; objc: 61; makefile: 49
file content (30 lines) | stat: -rw-r--r-- 1,015 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Boat

```json
{
	// Layer on which this boat moves. Possible values:
	// "land" - same rules as movement of hero on land
	// "sail" - object can move on water and interact with objects on water
	// "water" - object can walk on water but can not interact with objects
	// "air" - object can fly across any terrain but can not interact with objects
	"layer" : "",
	
	// If set to true, it is possible to attack wandering monsters from boat
	"onboardAssaultAllowed" : true;
	
	// If set to true, it is possible to visit object (e.g. pick up resources) from boat
	"onboardVisitAllowed" : true;
	
	// Path to file that contains animated boat movement
	"actualAnimation" : "",
	
	// Path to file that contains animated overlay animation, such as waves around boat
	"overlayAnimation" : "",
	
	// Path to 8 files that contain animated flag of the boat. 8 files, one per each player
	"flagAnimations" : ["", "" ],
	
	// List of bonuses that will be granted to hero located in the boat
	"bonuses" : { BONUS_FORMAT }
}
```