Skip to content

rq.ConfigPage ​

since 1.8.0

A page in the Mods tab of the game's Config screen.

Fields ​

NameTypeDescription
id (optional)stringKeeps the page across reloads. Default: the title.
titlestringIts row in the list and its heading.
drawfun(ui: rq.uikit , box: {x: integer, y: integer, w: integer, h: integer})Runs on every update the page shows, inside a column at box (738 by 531, under the title). An error is logged once and shown at the bottom of the page.
on_open (optional)fun()The page came on screen.
on_close (optional)fun()It went away: another page, another tab, Config closed.

Used by ​

rq.config.page