Update Map & Journeys add schemas authored by Martin Lehoux's avatar Martin Lehoux
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|
......
......