> [!column|flex no-title]
>> [!menu-dark-red|ttl-c] [[Obsidian TTRPG Tutorials]] / [[Plugin Tutorials]] / [[TTRPG Calculators]] / [[PF2e Travel Calc]]
> [!column|4 no-title]
>> [!menu-green-1|ttl-c] [[Getting Started]]
>
>> [!menu-green-2|ttl-c] [[Plugin Tutorials]]
>
>> [!menu-green-3|ttl-c] [[Community Supported Games]]
>
>> [!menu-green-4|ttl-c] [[Obsidian TTRPG Tutorials/Templates/Templates\|Templates]]
> [!column|3 no-title]
>> [!patreon|ttl-c] [Patreon](https://www.patreon.com/JPlunkett) ([Starter Vault](https://www.patreon.com/posts/obsidian-patreon-96801399))
>
>> [!discord|ttl-c] [Obsidian TTRPG Community Discord](https://discord.gg/CdM9UCJdwU)
>
>> [!discord|ttl-c] [Obsidian Official Discord](https://discord.gg/8AF29UBUCa)
# Pathfinder 2e Travel Calculator
This calculator can be used to calculate the time it will take to travel between two destinations.
> [!tip]- Example
> ![[Obsidian_eiM5v2CWHH.gif]]
##### Required Plugins
[Meta Bind](obsidian://show-plugin?id=obsidian-meta-bind-plugin) The calculator is coded with Meta Bind and relies on this to function.
##### Recommended Plugins
[Obsidian Leaflet](obsidian://show-plugin?id=obsidian-leaflet-plugin) Useful for calculating the distance between two towns. Check out [[Obsidian Leaflet]]; specifically the regional map tutorials have instructions on setting up the ability to measure distance.
#### Instructions
1. Create a new note and call it `Party Configuration`.
2. Copy the template below into the `Party Configuration` note ensuring that there are no blank lines above the top of the template. The `---` must be at the top of the note.
````
---
BaseSpeed: 80
SpeedMultiplier: 1
HoursPerDay: 8
TravelDistance: 65
MilesPerHour: 3
TemperatureMaxTravelHours: 8
---
# Travel Speed
Updating the calculator below will flows the changes out to any notes that automatically calculate the travel distance. You need to refresh this note in order to see calculated changes.
| PF2e Travel Calculator |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Party Speed (slowest):** `INPUT[inlineSelect(option(1, 10 Feet), option(1.5, 15 Feet), option(2, 20 Feet), option(2.5, 25 Feet), option(3, 30 Feet), option(3.5, 35 Feet), option(4, 40 Feet), option(5, 50 Feet), option(6, 60 Feet)):MilesPerHour]` |
| **Terrain Type:** `INPUT[inlineSelect(option(1, Normal Terrain), option(0.5, Difficult Terrain), option(0.333333, Greater Difficult Terrain)):SpeedMultiplier]` |
| **Temperature:** `INPUT[inlineSelect(option(2 hours, Incredible Cold - Moderate dmg every minute), option(4, Extreme Cold - Minor cold dmg every 10 minutes), option(4, Severe Cold - Minor cold dmg every hour), option(4, Mild Cold - None), option(8, Normal - None), option(4, Mild Heat - None), option(4, Severe Heat - Minor fire dmg every hour), option(4, Extreme Heat - Minor fire dmg every 10 minutes), option(2, Incredible Heat - Moderate fire dmg every minute)):TemperatureMaxTravelHours]` |
| **Max Travel Hours Per Day:** `VIEW[round({TemperatureMaxTravelHours},1)]` |
| **Travel Hours Per Day:** `INPUT[number:HoursPerDay]` `VIEW[{HoursPerDay}>{TemperatureMaxTravelHours} ? "Suffer Fatigue" : "No Fatigue"]` |
| **Miles To Travel:** `INPUT[number:TravelDistance]` |
| **Distance Travelled Per Day:** `VIEW[round({MilesPerHour}*{HoursPerDay},1)]` miles |
| **Days Travel 🕓:** `VIEW[round({TravelDistance} / (({MilesPerHour}*{HoursPerDay})*{SpeedMultiplier}),1)]` |
## Table 10-11: Environmental Damage
| **Category** | **Damage** |
| ------------ | ---------- |
| Minor | 1d6-2d6 |
| Moderate | 4d6-6d6 |
| Major | 8d6-12d6 |
| Massive | 16d6-24d6 |
````
You should now have a working calculator within this note. You can use this calculator in isolation by filling in the calculator and entering in the `Miles to Travel`.
You can also use this calculator in different notes. Copy the code below into a note and change the `88` to match the distance that the party is going to travel.
This is useful in `Location` notes. I like to use it in a note about a town. In this note I list the neighbouring town and use this code to automatically calculate the travel time from the current town to the next town. I will repeat this for every town/location that can be travelled to from the current town.
````
NextTownName 🕓: `VIEW[round(88 / (({Party Configuration#MilesPerHour}*{Party Configuration#HoursPerDay})*{Party Configuration#SpeedMultiplier}),1)]`
````
> [!tip]- Example
> The wiki style table is included with the ITS Theme. If you want the wiki style tables without using the ITS theme you can [[How To - Install Custom CSS]] from [HERE](https://publish.obsidian.md/slrvb-docs/ITS+Theme/Callout+Adjustments)
> ![[Obsidian_eiM5v2CWHH.gif]]