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
Functions
Section titled “Functions”locations.find(text, map) -> tableThe 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.
| Parameter | Type | Default |
|---|---|---|
text | string | |
map | MapType | string |
Returns table.
locations.node(path?) -> anyOne 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.
| Parameter | Type | Default |
|---|---|---|
path (optional) | string | "" |
Returns any.
Made with ❤️ by Tom
