Unlock Location Step
Introduction
The Unlock Location Step makes new locations accessible on the world map, expanding the player’s exploration options. The location must first have been added with the window.modAPI.actions.addLocation
function and connected to the world using the window.modAPI.actions.linkLocations
function
Interface
interface UnlockLocationStep {
kind: 'unlockLocation';
condition?: string;
location: string;
}
Properties
kind
- Always'unlockLocation'
location
- Name of location to unlockcondition
- Conditional execution (optional)
Examples
{
kind: 'unlockLocation',
location: 'Hidden Valley'
}