/tg/ Station 13 - Modules - TypesVar Details

trading_card_panel

A display panel that renders a set of icons (in this case mana crystals), this is generated by /obj/machinery/trading_card_button and can be manipulated by the button which generates it.

Vars

empty_gem_iconThe icon of an "inactive" gem.
gem_bar_offset_wWhere the gem bar is placed in relation to the centre of the panel on the X axis, useful for multi-column displays.
gem_bar_offset_zWhere the gem bar is placed in relation to the centre of the panel on the Y axis.
gem_iconThe icon of an "active" gem.
gem_icon_fileFile that both icon states for gems are pulled from
gem_slotsHow many "inactive" gems will appear
gem_titleThe name of what this panel tracks, used in the description
gemsHow much "active" gems will appear
individual_gem_offset_xThe gap between each gem on the X axis
individual_gem_offset_yThe gap between each gem on the Y axis
max_gemsThe maximum number of inactive or active gems that can be set.
number_of_columnsThe maximum number of columns that can be displayed on the panel.
number_of_rowsThe maximum number of rows that can be displayed on the panel.

Var Details

empty_gem_icon

The icon of an "inactive" gem.

gem_bar_offset_w

Where the gem bar is placed in relation to the centre of the panel on the X axis, useful for multi-column displays.

gem_bar_offset_z

Where the gem bar is placed in relation to the centre of the panel on the Y axis.

gem_icon

The icon of an "active" gem.

gem_icon_file

File that both icon states for gems are pulled from

gem_slots

How many "inactive" gems will appear

gem_title

The name of what this panel tracks, used in the description

gems

How much "active" gems will appear

individual_gem_offset_x

The gap between each gem on the X axis

individual_gem_offset_y

The gap between each gem on the Y axis

max_gems

The maximum number of inactive or active gems that can be set.

number_of_columns

The maximum number of columns that can be displayed on the panel.

number_of_rows

The maximum number of rows that can be displayed on the panel.