code/__DEFINES/preferences.dm ![code/__DEFINES/preferences.dm0](git.png)
TGUI_LAYOUT_DEFAULT | Default layout will be used. It can be either a grid or a list |
---|---|
TGUI_LAYOUT_GRID | Force grid layout, even if default is a list. |
TGUI_LAYOUT_LIST | Force list layout, even if default is a grid. |
PREFERENCE_CHARACTER | This preference is character specific. |
PREFERENCE_PLAYER | This preference is account specific. |
PREFERENCE_TAB_CHARACTER_PREFERENCES | Open the character preference window |
PREFERENCE_TAB_GAME_PREFERENCES | Open the game preferences window |
PREFERENCE_TAB_KEYBINDINGS | Open the keybindings window |
PREFERENCE_CATEGORY_FEATURES | These will be shown in the character sidebar, but at the bottom. |
PREFERENCE_CATEGORY_CLOTHING | Any preferences that will show to the sides of the character in the setup menu. |
PREFERENCE_CATEGORY_NON_CONTEXTUAL | Preferences that will be put into the 3rd list, and are not contextual. |
PREFERENCE_CATEGORY_GAME_PREFERENCES | Will be put under the game preferences window. |
PREFERENCE_CATEGORY_SECONDARY_FEATURES | These will show in the list to the right of the character preview. |
PREFERENCE_CATEGORY_SUPPLEMENTAL_FEATURES | These are preferences that are supplementary for main features, such as hair color being affixed to hair. |
PREFERENCE_CATEGORY_MANUALLY_RENDERED | These preferences will not be rendered on the preferences page, and are practically invisible unless specifically rendered. Used for quirks, currently. |
PLAYTIME_HARDCORE_RANDOM | The time needed to unlock hardcore random mode in preferences |
PLAYTIME_VETERAN | The time needed to unlock the gamer cloak in preferences |
SPRITE_ACCESSORY_NONE | The key used for sprite accessories that should never actually be applied to the player. |
DONT_GREYSCALE | Used to make something not recolorable even if it's capable |
INFO_GREYSCALE | Tracks GAGS color information |
INFO_NAMED | Used to set custom names |
INFO_RESKIN | Used for specific alt-reskins, like the pride pin |
INFO_LAYER | Handles which layer the item will be on, for accessories |
Define Details
DONT_GREYSCALE ![code/__DEFINES/preferences.dm 157](git.png)
Used to make something not recolorable even if it's capable
INFO_GREYSCALE ![code/__DEFINES/preferences.dm 161](git.png)
Tracks GAGS color information
INFO_LAYER ![code/__DEFINES/preferences.dm 167](git.png)
Handles which layer the item will be on, for accessories
INFO_NAMED ![code/__DEFINES/preferences.dm 163](git.png)
Used to set custom names
INFO_RESKIN ![code/__DEFINES/preferences.dm 165](git.png)
Used for specific alt-reskins, like the pride pin
PLAYTIME_HARDCORE_RANDOM ![code/__DEFINES/preferences.dm 148](git.png)
The time needed to unlock hardcore random mode in preferences
PLAYTIME_VETERAN ![code/__DEFINES/preferences.dm 150](git.png)
The time needed to unlock the gamer cloak in preferences
PREFERENCE_CATEGORY_CLOTHING ![code/__DEFINES/preferences.dm 128](git.png)
Any preferences that will show to the sides of the character in the setup menu.
PREFERENCE_CATEGORY_FEATURES ![code/__DEFINES/preferences.dm 125](git.png)
These will be shown in the character sidebar, but at the bottom.
PREFERENCE_CATEGORY_GAME_PREFERENCES ![code/__DEFINES/preferences.dm 134](git.png)
Will be put under the game preferences window.
PREFERENCE_CATEGORY_MANUALLY_RENDERED ![code/__DEFINES/preferences.dm 144](git.png)
These preferences will not be rendered on the preferences page, and are practically invisible unless specifically rendered. Used for quirks, currently.
PREFERENCE_CATEGORY_NON_CONTEXTUAL ![code/__DEFINES/preferences.dm 131](git.png)
Preferences that will be put into the 3rd list, and are not contextual.
PREFERENCE_CATEGORY_SECONDARY_FEATURES ![code/__DEFINES/preferences.dm 137](git.png)
These will show in the list to the right of the character preview.
PREFERENCE_CATEGORY_SUPPLEMENTAL_FEATURES ![code/__DEFINES/preferences.dm 141](git.png)
These are preferences that are supplementary for main features, such as hair color being affixed to hair.
PREFERENCE_CHARACTER ![code/__DEFINES/preferences.dm 110](git.png)
This preference is character specific.
PREFERENCE_PLAYER ![code/__DEFINES/preferences.dm 112](git.png)
This preference is account specific.
PREFERENCE_TAB_CHARACTER_PREFERENCES ![code/__DEFINES/preferences.dm 116](git.png)
Open the character preference window
PREFERENCE_TAB_GAME_PREFERENCES ![code/__DEFINES/preferences.dm 119](git.png)
Open the game preferences window
PREFERENCE_TAB_KEYBINDINGS ![code/__DEFINES/preferences.dm 122](git.png)
Open the keybindings window
SPRITE_ACCESSORY_NONE ![code/__DEFINES/preferences.dm 153](git.png)
The key used for sprite accessories that should never actually be applied to the player.
TGUI_LAYOUT_DEFAULT ![code/__DEFINES/preferences.dm 84](git.png)
Default layout will be used. It can be either a grid or a list
TGUI_LAYOUT_GRID ![code/__DEFINES/preferences.dm 86](git.png)
Force grid layout, even if default is a list.
TGUI_LAYOUT_LIST ![code/__DEFINES/preferences.dm 88](git.png)
Force list layout, even if default is a grid.