Changes
Page history
Update Map & Journeys add schemas
authored
Feb 12, 2019
by
Martin Lehoux
Show whitespace changes
Inline
Side-by-side
Map-&-Journeys.md
View page @
af7b5545
A journey between two locations is defined by
`ground:weather:motivation:distance:orientation`
but also the character vehicle.
## Location
```
yaml
-
name
:
String
description
:
String
destinations
:
-
placeId
:
ObjectId
ground
:
String | ObjectId
distance
:
Number
toll
:
Number
```
## Grounds
Journey ground has an effect on the actual time of travel, but also on the character stamina.
...
...
@@ -29,6 +40,13 @@ Weather conditions modify the speed and the stamina of the journey.
## Vehicle
Vehicle set the base speed of a journey.
```
yaml
-
name
:
String
description
:
String
speed
:
Number
maxLoad
:
Number
```
|name |base speed (km/h)|stamina duration|load |
|---------------|----------------:|---------------:|------:|
|
`None`
| 4-5| 6-8h|30-50kg|
...
...
...
...