Skip to content

locations

The named places of the loaded maps, from data/locations.toml: the tree of maps and categories the go gump lists, and the places a name finds.

Source: src/Moongate.Server.Ultima/Modules/LocationsModule.cs

locations.find(text, map) -> table

The places the text names, as an array of { name, category, map, x, y, z }: a name, or the last words of the categories and the name, such as "covetous entrance"; a category alone gives its first place. Those of the given map when any fits, else those of the other maps.

ParameterTypeDefault
textstring
mapMapType | string

Returns table.

locations.node(path?) -> any

One level of the named places as { path, name, categories, locations }: "" for the maps, then map/category/..., in any case; each category is { name, path }, each location { name, category, map, x, y, z }. nil for an unknown path.

ParameterTypeDefault
path (optional)string""

Returns any.

Made with ❤️ by Tom

Buy me a coffee