/datum/preferences
Vars | |
auto_observe | If this client has auto observe enabled, used by /datum/orbit_menu |
---|---|
completed_tutorials | A list of tutorials that the client has completed, saved across rounds |
custom_cursors | if this client has custom cursors enabled |
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. |
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 |
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. |
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 |
Var Details
auto_observe
If this client has auto observe enabled, used by /datum/orbit_menu
completed_tutorials
A list of tutorials that the client has completed, saved across rounds
custom_cursors
if this client has custom cursors enabled
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.
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
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.
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