Map
Represents a map. Used to access the active structure of the map, and to get map info.
See also: Maps.Intro
Properties
Section titled “Properties”Structure
Section titled “Structure”Type: Instance
The map’s loaded structure, as detailed in Structure.
Type: string
The map name.
DisplayName
Section titled “DisplayName”Type: string?
The map display name.
Description
Section titled “Description”Type: string
The map description.
Authors
Section titled “Authors”Type: string
The map authors.
Type: Content
The map icon.
Gravity
Section titled “Gravity”Type: number
The map gravity. Defaults to 80.
InteractableDefinitions
Section titled “InteractableDefinitions”Type: {[string]: InteractableDefinition}
A map of custom interactable names to their definitions.
ItemDefinitions
Section titled “ItemDefinitions”Type: {[string]: ItemDefinition}
A map of custom item names to their definitions.
AmmoDefinitions
Section titled “AmmoDefinitions”Type: {[string]: AmmoDefinition}
A map of custom ammo names to their definitions.