trading_card_button
![code/game/objects/items/tcg/tcg_machines.dm 288](git.png)
A button that generates a player manipulable bar of icons, in this case a mana bar.
Vars | |
display_panel_ref | Reference to the display panel generated by this button. |
---|---|
display_panel_type | Typepath of the display panel generated. |
panel_offset_x | Where the panel will be spawned in relation to the button on the X axis. |
panel_offset_y | Where the panel will be spawned in relation to the button on the Y axis. |
Procs | |
setup_global | Proc that determines which global list of radial choices is used. |
Var Details
display_panel_ref
![code/game/objects/items/tcg/tcg_machines.dm 296](git.png)
Reference to the display panel generated by this button.
display_panel_type
![code/game/objects/items/tcg/tcg_machines.dm 298](git.png)
Typepath of the display panel generated.
panel_offset_x
![code/game/objects/items/tcg/tcg_machines.dm 300](git.png)
Where the panel will be spawned in relation to the button on the X axis.
panel_offset_y
![code/game/objects/items/tcg/tcg_machines.dm 302](git.png)
Where the panel will be spawned in relation to the button on the Y axis.
Proc Details
setup_global
Proc that determines which global list of radial choices is used.