/datum/preferences 
Vars | |
| auto_observe | If this client has auto observe enabled, used by /datum/orbit_menu |
|---|---|
| chem_presets | A list of saved presets for the ChemMaster, storing pill bottle color, label, and pill color preferences |
| completed_tutorials | A list of tutorials that the client has completed, saved across rounds |
| custom_cursors | if this client has custom cursors enabled |
| custom_keybinds | The custom keybinds, in an array to associated array of {"keybinding": [], "type": "picksay"|"say"|"me", "contents": "CHARGE!"} |
| errors | This contains any potential issues with the users' preferences, and presents them on the lobby screen |
| gear | Fluff items that the user is equipped with on spawn. |
| key_to_custom_keybind | The same keybinds, but in an array of {"keybinding": /datum/keybinding/custom} |
| loadout | Loadout items that the user is equipped with on spawn. |
| loadout_slot_names | Mapping of jobs to slot numbers to names, to allow users to customise slots |
| pref_job_slots | Holds assignment of character slots to jobs. |
| pref_special_job_options | holds our preferred job options for jobs |
| read_traits | State var to check if traits have been read in to modify. trait points. |
| selected_loadout_slot | Which slot is currently in use |
| show_cooldown_messages | Sends messages in chat when the Xeno Action's cooldown is complete and adds cooldown timers in stat panel |
| tooltips | if this client has tooltips enabled |
| trait_points | State var for preferences to track trait points. Change this value to set the amount of trait points you start with. |
| traits | The list of traits a client will gives its human mob upon spawn. Store as typepaths. |
Procs | |
| SetChoices | Job Preferences: Preferences for role at round start. |
| check_keybindings | checks through keybindings for outdated unbound keys and updates them |
| check_slot_prefs | Checks if any job selected has a loadout, and if this is not selected, prompt the user to select it on the lobby screen |
| close_all_pickers | Closes all the TGUI interfaces inside the character prefs menu |
| copy_all_to | Transfers both physical characteristics and character information to character |
| find_assigned_slot | Loads appropriate character slot for the given job as assigned in preferences. |
| get_active_loadout | Gets the currently selected loadout of the provided job, or the job selected on "High" |
| get_high_priority_job | Returns the role that is selected on High |
| has_loadout_for_role | If the user has any loadout pre-selected for the given role |
| set_job_slots | Job Assignments window: Assign unique characters to a particular job. |
| tutorial_list_to_savestring | Converts a client's list of completed tutorials into a string for saving |
| tutorial_savestring_to_list | Converts a saved string of completed tutorials into a list for in-game use |
| update_all_pickers | Refreshes all open TGUI interfaces inside the character prefs menu |
| update_slot | If the role being equipped into has role-specific loadout, offer the player the option to change their slot |
Var Details
auto_observe 
If this client has auto observe enabled, used by /datum/orbit_menu
chem_presets 
A list of saved presets for the ChemMaster, storing pill bottle color, label, and pill color preferences
completed_tutorials 
A list of tutorials that the client has completed, saved across rounds
custom_cursors 
if this client has custom cursors enabled
custom_keybinds 
The custom keybinds, in an array to associated array of {"keybinding": [], "type": "picksay"|"say"|"me", "contents": "CHARGE!"}
errors 
This contains any potential issues with the users' preferences, and presents them on the lobby screen
gear 
Fluff items that the user is equipped with on spawn.
key_to_custom_keybind 
The same keybinds, but in an array of {"keybinding": /datum/keybinding/custom}
loadout 
Loadout items that the user is equipped with on spawn.
loadout_slot_names 
Mapping of jobs to slot numbers to names, to allow users to customise slots
pref_job_slots 
Holds assignment of character slots to jobs.
pref_special_job_options 
holds our preferred job options for jobs
read_traits 
State var to check if traits have been read in to modify. trait points.
selected_loadout_slot 
Which slot is currently in use
show_cooldown_messages 
Sends messages in chat when the Xeno Action's cooldown is complete and adds cooldown timers in stat panel
tooltips 
if this client has tooltips enabled
trait_points 
State var for preferences to track trait points. Change this value to set the amount of trait points you start with.
traits 
The list of traits a client will gives its human mob upon spawn. Store as typepaths.
Proc Details
SetChoices
Job Preferences: Preferences for role at round start.
Arguments:
- limit - The amount of jobs allowed per column.
- splitJobs - Allows you split the table by job. You can make different tables for each department by including their heads.
- width - Screen' width.
- height - Screen's height.
check_keybindings
checks through keybindings for outdated unbound keys and updates them
check_slot_prefs
Checks if any job selected has a loadout, and if this is not selected, prompt the user to select it on the lobby screen
close_all_pickers
Closes all the TGUI interfaces inside the character prefs menu
copy_all_to
Transfers both physical characteristics and character information to character
find_assigned_slot
Loads appropriate character slot for the given job as assigned in preferences.
get_active_loadout
Gets the currently selected loadout of the provided job, or the job selected on "High"
get_high_priority_job
Returns the role that is selected on High
has_loadout_for_role
If the user has any loadout pre-selected for the given role
set_job_slots
Job Assignments window: Assign unique characters to a particular job.
Arguments:
- limit - The amount of jobs allowed per column.
- splitJobs - Allows you split the table by job. You can make different tables for each department by including their heads.
- width - Screen' width.
- height - Screen's height.
tutorial_list_to_savestring
Converts a client's list of completed tutorials into a string for saving
tutorial_savestring_to_list
Converts a saved string of completed tutorials into a list for in-game use
update_all_pickers
Refreshes all open TGUI interfaces inside the character prefs menu
update_slot
If the role being equipped into has role-specific loadout, offer the player the option to change their slot