1 line
40 KiB
HTML
1 line
40 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/preferences - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="datum/preferences.html#var">Var Details</a> - <a href="datum/preferences.html#proc">Proc Details</a></header><main><h1>preferences <aside>/<a href="datum.html">datum</a>/<a href="datum/preferences.html">preferences</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L7"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 7"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/preferences.html#var/auto_fit_viewport">auto_fit_viewport</a></th><td>Should we automatically fit the viewport?</td></tr><tr><th><a href="datum/preferences.html#var/blueberry_inflation">blueberry_inflation</a></th><td>Blueberry Inflation</td></tr><tr><th><a href="datum/preferences.html#var/broadcast_login_logout">broadcast_login_logout</a></th><td>If we want to broadcast deadchat connect/disconnect messages</td></tr><tr><th><a href="datum/preferences.html#var/chair_breakage">chair_breakage</a></th><td>At what weight will you start to break chairs?</td></tr><tr><th><a href="datum/preferences.html#var/characters_joined_as">characters_joined_as</a></th><td>Characters they have joined the round under - Lazylist of names</td></tr><tr><th><a href="datum/preferences.html#var/chat_on_map">chat_on_map</a></th><td>Runechat preference. If true, certain messages will be displayed on the map, not ust on the chat area. Boolean.</td></tr><tr><th><a href="datum/preferences.html#var/deadmin">deadmin</a></th><td>A separate variable for deadmin toggles, only deals with those.</td></tr><tr><th><a href="datum/preferences.html#var/dnr_triggered">dnr_triggered</a></th><td>did they DNR? used to prevent respawns.</td></tr><tr><th><a href="datum/preferences.html#var/extreme_fatness_vulnerable">extreme_fatness_vulnerable</a></th><td>Similar to fatness_vulnerable, but with more extreme effects such as transformation/hypno.</td></tr><tr><th><a href="datum/preferences.html#var/fatness_vulnerable">fatness_vulnerable</a></th><td>Are items that only affect those at high weights able to affect the player?</td></tr><tr><th><a href="datum/preferences.html#var/favorite_outfits">favorite_outfits</a></th><td>What outfit typepaths we've favorited in the SelectEquipment menu</td></tr><tr><th><a href="datum/preferences.html#var/gear_points">gear_points</a></th><td>loadout stuff</td></tr><tr><th><a href="datum/preferences.html#var/hardcore_survival_score">hardcore_survival_score</a></th><td>This var stores the amount of points the owner will get for making it out alive.</td></tr><tr><th><a href="datum/preferences.html#var/hearted">hearted</a></th><td>Someone thought we were nice! We get a little heart in OOC until we join the server past the below time (we can keep it until the end of the round otherwise)</td></tr><tr><th><a href="datum/preferences.html#var/hearted_until">hearted_until</a></th><td>If we have a hearted commendations, we honor it every time the player loads preferences until this time has been passed</td></tr><tr><th><a href="datum/preferences.html#var/helplessness_clothing_back">helplessness_clothing_back</a></th><td>What fatness level prevents the user from wearing anything on their back</td></tr><tr><th><a href="datum/preferences.html#var/helplessness_clothing_jumpsuit">helplessness_clothing_jumpsuit</a></th><td>What fatness level prevents the user from wearing jumpsuits</td></tr><tr><th><a href="datum/preferences.html#var/helplessness_clothing_misc">helplessness_clothing_misc</a></th><td>What fatness level prevents the user from wearing non-jumpsuit clothing</td></tr><tr><th><a href="datum/preferences.html#var/helplessness_clumsy">helplessness_clumsy</a></th><td>What fatness level makes the user clumsy?</td></tr><tr><th><a href="datum/preferences.html#var/helplessness_hidden_face">helplessness_hidden_face</a></th><td>What fatness level makes the user's face unrecognizable.</td></tr><tr><th><a href="datum/preferences.html#var/helplessness_immobile_arms">helplessness_immobile_arms</a></th><td>What fatness level, makes the user unable to use their arms?</td></tr><tr><th><a href="datum/preferences.html#var/helplessness_mute">helplessness_mute</a></th><td>What fatness level makes the user unable to speak?</td></tr><tr><th><a href="datum/preferences.html#var/helplessness_nearsighted">helplessness_nearsighted</a></th><td>What fatness level makes the user nearsighted</td></tr><tr><th><a href="datum/preferences.html#var/helplessness_no_buckle">helplessness_no_buckle</a></th><td>What fatness level prevents the user from being buckled to anything?</td></tr><tr><th><a href="datum/preferences.html#var/helplessness_no_movement">helplessness_no_movement</a></th><td>What fatness level disables movement?</td></tr><tr><th><a href="datum/preferences.html#var/key_bindings">key_bindings</a></th><td>Custom Keybindings</td></tr><tr><th><a href="datum/preferences.html#var/last_id">last_id</a></th><td>Last CID the person was seen on</td></tr><tr><th><a href="datum/preferences.html#var/last_ip">last_ip</a></th><td>Last IP the person was seen on</td></tr><tr><th><a href="datum/preferences.html#var/log_clicks">log_clicks</a></th><td>Do we log their clicks to disk?</td></tr><tr><th><a href="datum/preferences.html#var/long_strip_menu">long_strip_menu</a></th><td>Strip menu style</td></tr><tr><th><a href="datum/preferences.html#var/max_chat_length">max_chat_length</a></th><td>Limit preference on the size of the message. Requires chat_on_map to have effect.</td></tr><tr><th><a href="datum/preferences.html#var/max_weight">max_weight</a></th><td>What is the max weight that the person wishes to be? If set to FALSE, there will be no max weight</td></tr><tr><th><a href="datum/preferences.html#var/medical_records">medical_records</a></th><td>Medical record note section</td></tr><tr><th><a href="datum/preferences.html#var/modless_key_bindings">modless_key_bindings</a></th><td>List with a key string associated to a list of keybindings. Unlike key_bindings, this one operates on raw key, allowing for binding a key that triggers regardless of if a modifier is depressed as long as the raw key is sent.</td></tr><tr><th><a href="datum/preferences.html#var/muted">muted</a></th><td>Flags for admin mutes</td></tr><tr><th><a href="datum/preferences.html#var/noncon_weight_gain">noncon_weight_gain</a></th><td>Does the person wish to be involved with non-con weight gain events?</td></tr><tr><th><a href="datum/preferences.html#var/object_tf">object_tf</a></th><td>Can the person be transformed into an object?</td></tr><tr><th><a href="datum/preferences.html#var/persistent_scars">persistent_scars</a></th><td>If we have persistent scars enabled</td></tr><tr><th><a href="datum/preferences.html#var/pixel_size">pixel_size</a></th><td>What size should pixels be displayed as? 0 is strech to fit</td></tr><tr><th><a href="datum/preferences.html#var/playtime_reward_cloak">playtime_reward_cloak</a></th><td>The playtime_reward_cloak variable can be set to TRUE from the prefs menu only once the user has gained over 5K playtime hours. If true, it allows the user to get a cool looking roundstart cloak.</td></tr><tr><th><a href="datum/preferences.html#var/respawn_did_cryo">respawn_did_cryo</a></th><td>did they cryo on their last ghost?</td></tr><tr><th><a href="datum/preferences.html#var/respawn_restrictions_active">respawn_restrictions_active</a></th><td>Are we currently subject to respawn restrictions? Usually set by us using the "respawn" verb, but can be lifted by admins.</td></tr><tr><th><a href="datum/preferences.html#var/respawn_time_of_death">respawn_time_of_death</a></th><td>time of death we consider for respawns</td></tr><tr><th><a href="datum/preferences.html#var/scaling_method">scaling_method</a></th><td>What scaling method should we use?</td></tr><tr><th><a href="datum/preferences.html#var/scars_index">scars_index</a></th><td>Which of the 5 persistent scar slots we randomly roll to load for this round, if enabled. Actually rolled in [/datum/preferences/proc/load_character(slot)]</td></tr><tr><th><a href="datum/preferences.html#var/scars_list">scars_list</a></th><td>We have 5 slots for persistent scars, if enabled we pick a random one to load (empty by default) and scars at the end of the shift if we survived as our original person</td></tr><tr><th><a href="datum/preferences.html#var/security_records">security_records</a></th><td>Security record note section</td></tr><tr><th><a href="datum/preferences.html#var/see_chat_non_mob">see_chat_non_mob</a></th><td>Whether non-mob messages will be displayed, such as machine vendor announcements. Requires chat_on_map to have effect. Boolean.</td></tr><tr><th><a href="datum/preferences.html#var/see_rc_emotes">see_rc_emotes</a></th><td>Whether emotes will be displayed on runechat. Requires chat_on_map to have effect. Boolean.</td></tr><tr><th><a href="datum/preferences.html#var/slots_joined_as">slots_joined_as</a></th><td>Slots they have joined the round under - Lazylist of numbers</td></tr><tr><th><a href="datum/preferences.html#var/stuckage">stuckage</a></th><td>At what weight will you start to get stuck in airlocks?</td></tr><tr><th><a href="datum/preferences.html#var/trouble_seeker">trouble_seeker</a></th><td>Does the person want to get into confrontation?</td></tr><tr><th><a href="datum/preferences.html#var/weight_gain_chems">weight_gain_chems</a></th><td>Weight gain from chems</td></tr><tr><th><a href="datum/preferences.html#var/weight_gain_extreme">weight_gain_extreme</a></th><td>Extreme weight gain</td></tr><tr><th><a href="datum/preferences.html#var/weight_gain_food">weight_gain_food</a></th><td>Weight gain from food</td></tr><tr><th><a href="datum/preferences.html#var/weight_gain_items">weight_gain_items</a></th><td>Weight gain from items</td></tr><tr><th><a href="datum/preferences.html#var/weight_gain_magic">weight_gain_magic</a></th><td>Weight gain from magic</td></tr><tr><th><a href="datum/preferences.html#var/weight_gain_nanites">weight_gain_nanites</a></th><td>Weight gain from nanites</td></tr><tr><th><a href="datum/preferences.html#var/weight_gain_permanent">weight_gain_permanent</a></th><td>Permanent weight gain</td></tr><tr><th><a href="datum/preferences.html#var/weight_gain_persistent">weight_gain_persistent</a></th><td>Persistant fatness</td></tr><tr><th><a href="datum/preferences.html#var/weight_gain_viruses">weight_gain_viruses</a></th><td>Weight gain from viruses</td></tr><tr><th><a href="datum/preferences.html#var/weight_gain_weapons">weight_gain_weapons</a></th><td>Weight gain from weapons</td></tr><tr><th><a href="datum/preferences.html#var/widescreenpref">widescreenpref</a></th><td>Should we be in the widescreen mode set by the config?</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/preferences.html#proc/chose_weight">chose_weight</a></th><td>Prompts the user to choose a weight and returns said weight.</td></tr><tr><th><a href="datum/preferences.html#proc/force_reset_keybindings">force_reset_keybindings</a></th><td>Resets the client's keybindings. Asks them for which</td></tr><tr><th><a href="datum/preferences.html#proc/force_reset_keybindings_direct">force_reset_keybindings_direct</a></th><td>Does the actual reset</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/auto_fit_viewport"><aside class="declaration">var </aside>auto_fit_viewport <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L187"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 187"></a></h3><p>Should we automatically fit the viewport?</p><h3 id="var/blueberry_inflation"><aside class="declaration">var </aside>blueberry_inflation <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L21"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 21"></a></h3><p>Blueberry Inflation</p><h3 id="var/broadcast_login_logout"><aside class="declaration">var </aside>broadcast_login_logout <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L257"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 257"></a></h3><p>If we want to broadcast deadchat connect/disconnect messages</p><h3 id="var/chair_breakage"><aside class="declaration">var </aside>chair_breakage <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L31"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 31"></a></h3><p>At what weight will you start to break chairs?</p><h3 id="var/characters_joined_as"><aside class="declaration">var </aside>characters_joined_as <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L26"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 26"></a></h3><p>Characters they have joined the round under - Lazylist of names</p><h3 id="var/chat_on_map"><aside class="declaration">var </aside>chat_on_map <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L72"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 72"></a></h3><p>Runechat preference. If true, certain messages will be displayed on the map, not ust on the chat area. Boolean.</p><h3 id="var/deadmin"><aside class="declaration">var </aside>deadmin <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L90"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 90"></a></h3><p>A separate variable for deadmin toggles, only deals with those.</p><h3 id="var/dnr_triggered"><aside class="declaration">var </aside>dnr_triggered <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L34"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 34"></a></h3><p>did they DNR? used to prevent respawns.</p><h3 id="var/extreme_fatness_vulnerable"><aside class="declaration">var </aside>extreme_fatness_vulnerable <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L35"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 35"></a></h3><p>Similar to fatness_vulnerable, but with more extreme effects such as transformation/hypno.</p><h3 id="var/fatness_vulnerable"><aside class="declaration">var </aside>fatness_vulnerable <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L33"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 33"></a></h3><p>Are items that only affect those at high weights able to affect the player?</p><h3 id="var/favorite_outfits"><aside class="declaration">var </aside>favorite_outfits <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L259"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 259"></a></h3><p>What outfit typepaths we've favorited in the SelectEquipment menu</p><h3 id="var/gear_points"><aside class="declaration">var </aside>gear_points <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L232"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 232"></a></h3><p>loadout stuff</p><h3 id="var/hardcore_survival_score"><aside class="declaration">var </aside>hardcore_survival_score <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L248"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 248"></a></h3><p>This var stores the amount of points the owner will get for making it out alive.</p><h3 id="var/hearted"><aside class="declaration">var </aside>hearted <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L251"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 251"></a></h3><p>Someone thought we were nice! We get a little heart in OOC until we join the server past the below time (we can keep it until the end of the round otherwise)</p><h3 id="var/hearted_until"><aside class="declaration">var </aside>hearted_until <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L253"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 253"></a></h3><p>If we have a hearted commendations, we honor it every time the player loads preferences until this time has been passed</p><h3 id="var/helplessness_clothing_back"><aside class="declaration">var </aside>helplessness_clothing_back <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L58"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 58"></a></h3><p>What fatness level prevents the user from wearing anything on their back</p><h3 id="var/helplessness_clothing_jumpsuit"><aside class="declaration">var </aside>helplessness_clothing_jumpsuit <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L54"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 54"></a></h3><p>What fatness level prevents the user from wearing jumpsuits</p><h3 id="var/helplessness_clothing_misc"><aside class="declaration">var </aside>helplessness_clothing_misc <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L56"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 56"></a></h3><p>What fatness level prevents the user from wearing non-jumpsuit clothing</p><h3 id="var/helplessness_clumsy"><aside class="declaration">var </aside>helplessness_clumsy <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L43"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 43"></a></h3><p>What fatness level makes the user clumsy?</p><h3 id="var/helplessness_hidden_face"><aside class="declaration">var </aside>helplessness_hidden_face <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L47"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 47"></a></h3><p>What fatness level makes the user's face unrecognizable.</p><h3 id="var/helplessness_immobile_arms"><aside class="declaration">var </aside>helplessness_immobile_arms <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L52"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 52"></a></h3><p>What fatness level, makes the user unable to use their arms?</p><h3 id="var/helplessness_mute"><aside class="declaration">var </aside>helplessness_mute <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L49"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 49"></a></h3><p>What fatness level makes the user unable to speak?</p><h3 id="var/helplessness_nearsighted"><aside class="declaration">var </aside>helplessness_nearsighted <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L45"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 45"></a></h3><p>What fatness level makes the user nearsighted</p><h3 id="var/helplessness_no_buckle"><aside class="declaration">var </aside>helplessness_no_buckle <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L60"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 60"></a></h3><p>What fatness level prevents the user from being buckled to anything?</p><h3 id="var/helplessness_no_movement"><aside class="declaration">var </aside>helplessness_no_movement <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L41"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 41"></a></h3><p>What fatness level disables movement?</p><h3 id="var/key_bindings"><aside class="declaration">var </aside>key_bindings <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L81"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 81"></a></h3><p>Custom Keybindings</p><h3 id="var/last_id"><aside class="declaration">var </aside>last_id <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L22"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 22"></a></h3><p>Last CID the person was seen on</p><h3 id="var/last_ip"><aside class="declaration">var </aside>last_ip <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L20"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 20"></a></h3><p>Last IP the person was seen on</p><h3 id="var/log_clicks"><aside class="declaration">var </aside>log_clicks <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L24"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 24"></a></h3><p>Do we log their clicks to disk?</p><h3 id="var/long_strip_menu"><aside class="declaration">var </aside>long_strip_menu <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L191"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 191"></a></h3><p>Strip menu style</p><h3 id="var/max_chat_length"><aside class="declaration">var </aside>max_chat_length <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L74"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 74"></a></h3><p>Limit preference on the size of the message. Requires chat_on_map to have effect.</p><h3 id="var/max_weight"><aside class="declaration">var </aside>max_weight <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L71"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 71"></a></h3><p>What is the max weight that the person wishes to be? If set to FALSE, there will be no max weight</p><h3 id="var/medical_records"><aside class="declaration">var </aside>medical_records <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L155"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 155"></a></h3><p>Medical record note section</p><h3 id="var/modless_key_bindings"><aside class="declaration">var </aside>modless_key_bindings <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L83"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 83"></a></h3><p>List with a key string associated to a list of keybindings. Unlike key_bindings, this one operates on raw key, allowing for binding a key that triggers regardless of if a modifier is depressed as long as the raw key is sent.</p><h3 id="var/muted"><aside class="declaration">var </aside>muted <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L18"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 18"></a></h3><p>Flags for admin mutes</p><h3 id="var/noncon_weight_gain"><aside class="declaration">var </aside>noncon_weight_gain <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L63"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 63"></a></h3><p>Does the person wish to be involved with non-con weight gain events?</p><h3 id="var/object_tf"><aside class="declaration">var </aside>object_tf <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L37"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 37"></a></h3><p>Can the person be transformed into an object?</p><h3 id="var/persistent_scars"><aside class="declaration">var </aside>persistent_scars <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L255"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 255"></a></h3><p>If we have persistent scars enabled</p><h3 id="var/pixel_size"><aside class="declaration">var </aside>pixel_size <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L193"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 193"></a></h3><p>What size should pixels be displayed as? 0 is strech to fit</p><h3 id="var/playtime_reward_cloak"><aside class="declaration">var </aside>playtime_reward_cloak <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L198"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 198"></a></h3><p>The playtime_reward_cloak variable can be set to TRUE from the prefs menu only once the user has gained over 5K playtime hours. If true, it allows the user to get a cool looking roundstart cloak.</p><h3 id="var/respawn_did_cryo"><aside class="declaration">var </aside>respawn_did_cryo <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L36"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 36"></a></h3><p>did they cryo on their last ghost?</p><h3 id="var/respawn_restrictions_active"><aside class="declaration">var </aside>respawn_restrictions_active <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L30"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 30"></a></h3><p>Are we currently subject to respawn restrictions? Usually set by us using the "respawn" verb, but can be lifted by admins.</p><h3 id="var/respawn_time_of_death"><aside class="declaration">var </aside>respawn_time_of_death <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L32"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 32"></a></h3><p>time of death we consider for respawns</p><h3 id="var/scaling_method"><aside class="declaration">var </aside>scaling_method <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L195"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 195"></a></h3><p>What scaling method should we use?</p><h3 id="var/scars_index"><aside class="declaration">var </aside>scars_index <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L263"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 263"></a></h3><p>Which of the 5 persistent scar slots we randomly roll to load for this round, if enabled. Actually rolled in [/datum/preferences/proc/load_character(slot)]</p><h3 id="var/scars_list"><aside class="declaration">var </aside>scars_list <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L261"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 261"></a></h3><p>We have 5 slots for persistent scars, if enabled we pick a random one to load (empty by default) and scars at the end of the shift if we survived as our original person</p><h3 id="var/security_records"><aside class="declaration">var </aside>security_records <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L153"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 153"></a></h3><p>Security record note section</p><h3 id="var/see_chat_non_mob"><aside class="declaration">var </aside>see_chat_non_mob <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L76"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 76"></a></h3><p>Whether non-mob messages will be displayed, such as machine vendor announcements. Requires chat_on_map to have effect. Boolean.</p><h3 id="var/see_rc_emotes"><aside class="declaration">var </aside>see_rc_emotes <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L78"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 78"></a></h3><p>Whether emotes will be displayed on runechat. Requires chat_on_map to have effect. Boolean.</p><h3 id="var/slots_joined_as"><aside class="declaration">var </aside>slots_joined_as <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L28"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 28"></a></h3><p>Slots they have joined the round under - Lazylist of numbers</p><h3 id="var/stuckage"><aside class="declaration">var </aside>stuckage <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L29"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 29"></a></h3><p>At what weight will you start to get stuck in airlocks?</p><h3 id="var/trouble_seeker"><aside class="declaration">var </aside>trouble_seeker <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L65"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 65"></a></h3><p>Does the person want to get into confrontation?</p><h3 id="var/weight_gain_chems"><aside class="declaration">var </aside>weight_gain_chems <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L7"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 7"></a></h3><p>Weight gain from chems</p><h3 id="var/weight_gain_extreme"><aside class="declaration">var </aside>weight_gain_extreme <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L23"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 23"></a></h3><p>Extreme weight gain</p><h3 id="var/weight_gain_food"><aside class="declaration">var </aside>weight_gain_food <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L5"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 5"></a></h3><p>Weight gain from food</p><h3 id="var/weight_gain_items"><aside class="declaration">var </aside>weight_gain_items <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L9"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 9"></a></h3><p>Weight gain from items</p><h3 id="var/weight_gain_magic"><aside class="declaration">var </aside>weight_gain_magic <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L13"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 13"></a></h3><p>Weight gain from magic</p><h3 id="var/weight_gain_nanites"><aside class="declaration">var </aside>weight_gain_nanites <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L17"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 17"></a></h3><p>Weight gain from nanites</p><h3 id="var/weight_gain_permanent"><aside class="declaration">var </aside>weight_gain_permanent <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L27"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 27"></a></h3><p>Permanent weight gain</p><h3 id="var/weight_gain_persistent"><aside class="declaration">var </aside>weight_gain_persistent <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L25"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 25"></a></h3><p>Persistant fatness</p><h3 id="var/weight_gain_viruses"><aside class="declaration">var </aside>weight_gain_viruses <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L15"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 15"></a></h3><p>Weight gain from viruses</p><h3 id="var/weight_gain_weapons"><aside class="declaration">var </aside>weight_gain_weapons <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L11"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 11"></a></h3><p>Weight gain from weapons</p><h3 id="var/widescreenpref"><aside class="declaration">var </aside>widescreenpref <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L189"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 189"></a></h3><p>Should we be in the widescreen mode set by the config?</p><h2 id="proc">Proc Details</h2><h3 id="proc/chose_weight"><aside class="declaration">proc </aside>chose_weight<aside>(input_text, /<a href="mob.html">mob</a>/user) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/GainStation13/code/modules/client/preferences/preferences.dm#L81"><img src="git.png" width="16" height="16" title="GainStation13/code/modules/client/preferences/preferences.dm 81"></a></aside></h3><p>Prompts the user to choose a weight and returns said weight.</p><h3 id="proc/force_reset_keybindings"><aside class="declaration">proc </aside>force_reset_keybindings<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L3947"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 3947"></a></aside></h3><p>Resets the client's keybindings. Asks them for which</p><h3 id="proc/force_reset_keybindings_direct"><aside class="declaration">proc </aside>force_reset_keybindings_direct<aside>(hotkeys) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/client/preferences.dm#L3953"><img src="git.png" width="16" height="16" title="code/modules/client/preferences.dm 3953"></a></aside></h3><p>Does the actual reset</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html> |