gmtools
Opens the gump of the game master’s tools: a sidebar of tools on the left (weather, season, time and, for administrators, events) and the commands of the selected tool on the right.
| Syntax | Console | In game | Minimum level | Role |
|---|---|---|---|---|
gmtools |
No | Yes | GameMaster | Game |
.gmtoolsIn game only. The gump opens on the first tool of the sidebar; a click on another tool shows its panel.
Weather
Section titled “Weather”The weather tool shows the weather where you stand, the profile of the place and what it does now:
Weather here: temperateNow: rain, density 40, temperature 12Under it are four buttons, none, rain, snow and storm. A click forces that weather on the
profile of the place, as .weather does: every region using the profile gets it, until
the next game hour rolls it again. You read The weather of temperate is now storm until the next hour. and the gump shows the new state.
There is no choice of profile yet: the weather is the one of the place you stand in, so walk or
.go to the place whose sky you want to change.
Season
Section titled “Season”The season tool shows the season the client shows where you stand (the region’s, else the map’s) and the season of your map:
Season here: winterSeason of your map: summerUnder it are six buttons, spring, summer, fall, winter, desolation and auto. A click sets
the season of your map until the restart and sends it at once to every player on the map, as
.season does, except those in a region with a season of its own; auto gives the map
back its maps.toml season, rotated when [ultima.world] season_rotation is on. You read The season of your map is now winter. and the gump shows the new state. The client draws the season by
itself, with a sound on the change: leafless trees and snow in winter, autumn colours in fall.
The season is the look of the ground; the snow that falls is the weather, which the first tool sets. For a snowy world, set both.
The time tool shows what .time prints, the game time and the phases of the two moons at
your position, and the light level where you stand:
Game time here: 07:05Moons: Trammel last quarter, Felucca first quarterLight here: 0, following the time of dayUnder it are five buttons, the levels 0 (brightest), 12, 26 and 31 (darkest), and auto (the time of day). A level gives every player in the world that light at once, as
.globallight does, and the line says Light here: 26, the same for every player;
auto goes back to the light of the time of day. You read The global light is now 26. or The global light follows the time of day again. The override is not saved: a restart goes back to the
time of day. For a level between the buttons, use .globallight <0-31>.
Events
Section titled “Events”The events tool is for administrators, as .event is; a game master does not see it. It lists the
seasonal events with their dates, mode and state:
Seasonal eventsHalloween (10-24 to 11-15): auto, onChristmas (12-24 to 01-01): auto, offUnder each event are three buttons, auto, on and off: auto gives the event back to its dates, on and off
force it. You read Halloween is now off. and the gump opens again; the event starts or ends as it does with
the command, and its mode is kept across restarts. The panel lists four events; the others are left to .event.
Add a tool
Section titled “Add a tool”The gump is templates/gumps/gmtools.xml and its script
scripts/gumps/gmtools.lua, which are yours to change.
A tool is one entry of the table tools in the script and a function that draws its panel. Anyone
who is not a game master sees an empty gump, and a button of the gump does nothing for one who has
lost the rank since it was opened. A tool with admin = true in the table is only for administrators.
See also
Section titled “See also”Made with ❤️ by Tom
