Module console

Source
Expand description

Utility functions for visuals that the game API exposes on the console object.

Functions§

add_visual
Add a visual, in json format, or multiple visuals separated by \n. Each line must be:
clear_visual
Clear all of the set visuals for the current tick, either for a given room, None for visuals applied for all rooms, or “map” for map visuals.
get_visual
Get the visuals applied to a given target so far in the current tick separated by \n, with the taget being visuals applied to a given room, None for visuals applied for all rooms, or “map” for map visuals.
get_visual_size
Get the size of the visuals applied for the current tick, either for a given room, None for visuals applied for all rooms, or “map” for map visuals.