Skip to content

Map

Represents a map. Used to access the active structure of the map, and to get map info.

See also: Maps.Intro

Type: Instance

The map’s loaded structure, as detailed in Structure.

Type: string

The map name.

Type: string?

The map display name.

Type: string

The map description.

Type: string

The map authors.

Type: Content

The map icon.

Type: number

The map gravity. Defaults to 80.

Type: {[string]: InteractableDefinition}

A map of custom interactable names to their definitions.

Type: {[string]: ItemDefinition}

A map of custom item names to their definitions.

Type: {[string]: AmmoDefinition}

A map of custom ammo names to their definitions.