rq.GameButtonInfo
An entry, as rq.gamebutton.groups lists it.
Fields
| Name | Type | Description |
|---|---|---|
id | string | <mod id>.<id>. |
mod | string | The mod that added it. |
label | string | Its text. |
enabled | boolean | "system-menu": it is in the list now. "skill-window", "status" and "map": it is not greyed now. |
placed (optional) | boolean | "skill-window", "status" and "map": it has a cell on the last build or draw (in "map": a tab on the map now). Since 2.17.0. |
shown (optional) | boolean | "status" and "map": shown said yes on the last draw or ask. Since 2.20.0. |
button (optional) | integer | "skill-window": its T_Button id on the window now, 200101 to 200104; "status": on the page now, 100101 or 100102 in the title row, 100103 or 100104 in the left spot; "map": on the map panel now, 700101 to 700104. Since 2.17.0. |
x (optional) | integer | "skill-window", "status" and "map": its cell's left edge, in game pixels; "status", a row of the MODS list: the row's left edge (since 2.59.0). Since 2.17.0. |
y (optional) | integer | "skill-window", "status" and "map": its cell's top edge, in game pixels; "status", a row of the MODS list: the row's top edge (since 2.59.0). Since 2.17.0. |
spot (optional) | "title"|"left" | "status": where it goes, as added. Since 2.58.0. |
icon (optional) | integer | "status": the CG it shows on the last draw, nil when it has no cell or row (or a row without an icon). Since 2.58.0. |
state (optional) | rq.GameButtonState | "status": where it is on the last draw. Since 2.59.0. |
list (optional) | boolean | "status": its list, as added. Since 2.59.0. |
row (optional) | integer | "status": its row in the MODS list on the last draw, from 1 at the top; nil when it is not a row. Since 2.59.0. |
text (optional) | string | "status": the text of its MODS list row on the last draw. Since 2.59.0. |
