mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 01:24:21 +01:00
21b4095dfd
Upstream 04/17/2026 fixes https://github.com/Bubberstation/Bubberstation/issues/5549 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com> Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com> Co-authored-by: rageguy505 <54517726+rageguy505@users.noreply.github.com> Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Aliceee2ch <160794176+Aliceee2ch@users.noreply.github.com> Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com> Co-authored-by: Tsar-Salat <62388554+Tsar-Salat@users.noreply.github.com> Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Co-authored-by: Maxipat <108554989+Maxipat112@users.noreply.github.com> Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com> Co-authored-by: SimplyLogan <47579821+loganuk@users.noreply.github.com> Co-authored-by: loganuk <fakeemail123@aol.com> Co-authored-by: Leland Kemble <70413276+lelandkemble@users.noreply.github.com> Co-authored-by: FalloutFalcon <86381784+FalloutFalcon@users.noreply.github.com> Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com> Co-authored-by: Lucy <lucy@absolucy.moe> Co-authored-by: siliconOpossum <138069572+siliconOpossum@users.noreply.github.com> Co-authored-by: Isratosh <Isratosh@hotmail.com> Co-authored-by: TheRyeGuyWhoWillNowDie <70169560+TheRyeGuyWhoWillNowDie@users.noreply.github.com> Co-authored-by: Neocloudy <88008002+Neocloudy@users.noreply.github.com> Co-authored-by: Alexander V. <volas@ya.ru> Co-authored-by: ElGitificador <168473461+ElGitificador@users.noreply.github.com> Co-authored-by: Twaticus <46540570+Twaticus@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Tim <timothymtorres@gmail.com> Co-authored-by: Iamgoofball <iamgoofball@gmail.com> Co-authored-by: Layzu666 <121319428+Layzu666@users.noreply.github.com> Co-authored-by: Arturlang <24881678+Arturlang@users.noreply.github.com> Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com> Co-authored-by: mrmanlikesbt <99309552+mrmanlikesbt@users.noreply.github.com> Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com> Co-authored-by: John F. Kennedy <54908920+MacaroniCritter@users.noreply.github.com> Co-authored-by: Cursor <102828457+theselfish@users.noreply.github.com> Co-authored-by: Josh <josh.adam.powell@gmail.com> Co-authored-by: Josh Powell <josh.powell@softwire.com> Co-authored-by: Yobrocharlie <Charliemiller5617@gmail.com> Co-authored-by: Hardly3D <66234359+Hardly3D@users.noreply.github.com> Co-authored-by: shayoki <96078776+shayoki@users.noreply.github.com> Co-authored-by: LT3 <83487515+lessthnthree@users.noreply.github.com>
203 lines
7.1 KiB
Plaintext
203 lines
7.1 KiB
Plaintext
|
|
// Legacy preference toggles.
|
|
// !!! DO NOT ADD ANY NEW ONES HERE !!!
|
|
// Use `/datum/preference/toggle` instead.
|
|
#define SOUND_ADMINHELP (1<<0)
|
|
#define MEMBER_PUBLIC (1<<4)
|
|
#define SOUND_PRAYERS (1<<9)
|
|
#define ANNOUNCE_LOGIN (1<<10)
|
|
#define DISABLE_DEATHRATTLE (1<<12)
|
|
#define DISABLE_ARRIVALRATTLE (1<<13)
|
|
#define COMBOHUD_LIGHTING (1<<14)
|
|
#define DEADMIN_ALWAYS (1<<15)
|
|
#define DEADMIN_ANTAGONIST (1<<16)
|
|
#define DEADMIN_POSITION_HEAD (1<<17)
|
|
#define DEADMIN_POSITION_SECURITY (1<<18)
|
|
#define DEADMIN_POSITION_SILICON (1<<19)
|
|
#define ADMIN_IGNORE_CULT_GHOST (1<<21)
|
|
#define SPLIT_ADMIN_TABS (1<<23)
|
|
|
|
#define TOGGLES_DEADMIN_DEFAULT (DEADMIN_ANTAGONIST|DEADMIN_POSITION_HEAD|DEADMIN_POSITION_SECURITY|DEADMIN_POSITION_SILICON)
|
|
#define TOGGLES_DEFAULT (SOUND_ADMINHELP|MEMBER_PUBLIC|SOUND_PRAYERS|TOGGLES_DEADMIN_DEFAULT)
|
|
|
|
// Legacy chat toggles.
|
|
// !!! DO NOT ADD ANY NEW ONES HERE !!!
|
|
// Use `/datum/preference/toggle` instead.
|
|
#define CHAT_OOC (1<<0)
|
|
#define CHAT_DEAD (1<<1)
|
|
#define CHAT_GHOSTEARS (1<<2)
|
|
#define CHAT_GHOSTSIGHT (1<<3)
|
|
#define CHAT_PRAYER (1<<4)
|
|
#define CHAT_PULLR (1<<6)
|
|
#define CHAT_GHOSTWHISPER (1<<7)
|
|
#define CHAT_GHOSTPDA (1<<8)
|
|
#define CHAT_GHOSTRADIO (1<<9)
|
|
#define CHAT_BANKCARD (1<<10)
|
|
#define CHAT_GHOSTLAWS (1<<11)
|
|
#define CHAT_LOGIN_LOGOUT (1<<12)
|
|
|
|
#define TOGGLES_DEFAULT_CHAT (CHAT_OOC|CHAT_DEAD|CHAT_PRAYER|CHAT_PULLR|CHAT_GHOSTPDA|CHAT_GHOSTRADIO|CHAT_BANKCARD|CHAT_GHOSTLAWS|CHAT_LOGIN_LOGOUT)
|
|
|
|
/// File path to where we save backups of preference savefiles when updating them.
|
|
#define PREFS_BACKUP_PATH(base_path) "[base_path].updatebac"
|
|
/// File path to the dev preference json file, which is loaded by guests while localhosting.
|
|
#define DEV_PREFS_PATH "config/dev_preferences.json"
|
|
|
|
#define PARALLAX_INSANE "Insane"
|
|
#define PARALLAX_HIGH "High"
|
|
#define PARALLAX_MED "Medium"
|
|
#define PARALLAX_LOW "Low"
|
|
#define PARALLAX_BOOMER "Old"
|
|
#define PARALLAX_DISABLE "Disabled"
|
|
|
|
#define SCALING_METHOD_NORMAL "normal"
|
|
#define SCALING_METHOD_DISTORT "distort"
|
|
#define SCALING_METHOD_BLUR "blur"
|
|
|
|
#define PARALLAX_DELAY_DEFAULT world.tick_lag
|
|
#define PARALLAX_DELAY_MED 1
|
|
#define PARALLAX_DELAY_LOW 2
|
|
|
|
#define SEC_DEPT_NONE "None"
|
|
#define SEC_DEPT_ENGINEERING "Engineering"
|
|
#define SEC_DEPT_MEDICAL "Medical"
|
|
#define SEC_DEPT_SCIENCE "Science"
|
|
#define SEC_DEPT_SUPPLY "Supply"
|
|
|
|
// Playtime tracking system, see jobs_exp.dm
|
|
#define EXP_TYPE_LIVING "Living"
|
|
#define EXP_TYPE_CREW "Crew"
|
|
#define EXP_TYPE_CENTRAL_COMMAND "Central Command" // SKYRAT EDIT ADD
|
|
#define EXP_TYPE_COMMAND "Command"
|
|
#define EXP_TYPE_ENGINEERING "Engineering"
|
|
#define EXP_TYPE_MEDICAL "Medical"
|
|
#define EXP_TYPE_SCIENCE "Science"
|
|
#define EXP_TYPE_SUPPLY "Supply"
|
|
#define EXP_TYPE_SECURITY "Security"
|
|
#define EXP_TYPE_SILICON "Silicon"
|
|
#define EXP_TYPE_SERVICE "Service"
|
|
#define EXP_TYPE_ANTAG "Antag"
|
|
#define EXP_TYPE_SPECIAL "Special"
|
|
#define EXP_TYPE_GHOST "Ghost"
|
|
#define EXP_TYPE_ADMIN "Admin"
|
|
|
|
//Flags in the players table in the db
|
|
#define DB_FLAG_EXEMPT (1<<0)
|
|
|
|
#define DEFAULT_CYBORG_NAME "Default Cyborg Name"
|
|
|
|
// Choose grid or list TGUI layouts for UI's, when possible.
|
|
/// Force grid layout, even if default is a list.
|
|
#define TGUI_LAYOUT_GRID "grid"
|
|
/// Force list layout, even if default is a grid.
|
|
#define TGUI_LAYOUT_LIST "list"
|
|
|
|
//Job preferences levels
|
|
#define JP_ANY 0
|
|
#define JP_LOW 1
|
|
#define JP_MEDIUM 2
|
|
#define JP_HIGH 3
|
|
|
|
//randomised elements
|
|
#define RANDOM_ANTAG_ONLY 1
|
|
#define RANDOM_DISABLED 2
|
|
#define RANDOM_ENABLED 3
|
|
|
|
//recommened client FPS
|
|
#define RECOMMENDED_FPS 100
|
|
|
|
// randomise_appearance_prefs() and randomize_human_appearance() proc flags
|
|
#define RANDOMIZE_SPECIES (1<<0)
|
|
#define RANDOMIZE_NAME (1<<1)
|
|
|
|
// Values for /datum/preference/savefile_identifier
|
|
/// This preference is character specific.
|
|
#define PREFERENCE_CHARACTER "character"
|
|
/// This preference is account specific.
|
|
#define PREFERENCE_PLAYER "player"
|
|
|
|
// Values for /datum/preferences/current_tab
|
|
/// Open the character preference window
|
|
#define PREFERENCE_TAB_CHARACTER_PREFERENCES 0
|
|
|
|
/// Open the game preferences window
|
|
#define PREFERENCE_TAB_GAME_PREFERENCES 1
|
|
|
|
/// Open the keybindings window
|
|
#define PREFERENCE_TAB_KEYBINDINGS 2
|
|
|
|
/// These will be shown in the character sidebar, but at the bottom.
|
|
#define PREFERENCE_CATEGORY_FEATURES "features"
|
|
|
|
/// Any preferences that will show to the sides of the character in the setup menu.
|
|
#define PREFERENCE_CATEGORY_CLOTHING "clothing"
|
|
|
|
/// Preferences that will be put into the 3rd list, and are not contextual.
|
|
#define PREFERENCE_CATEGORY_NON_CONTEXTUAL "non_contextual"
|
|
|
|
/// Will be put under the game preferences window.
|
|
#define PREFERENCE_CATEGORY_GAME_PREFERENCES "game_preferences"
|
|
|
|
/// These will show in the list to the right of the character preview.
|
|
#define PREFERENCE_CATEGORY_SECONDARY_FEATURES "secondary_features"
|
|
|
|
/// These are preferences that are supplementary for main features,
|
|
/// such as hair color being affixed to hair.
|
|
#define PREFERENCE_CATEGORY_SUPPLEMENTAL_FEATURES "supplemental_features"
|
|
|
|
/// These preferences will not be rendered on the preferences page, and are practically invisible unless specifically rendered. Used for quirks, currently.
|
|
#define PREFERENCE_CATEGORY_MANUALLY_RENDERED "manually_rendered_features"
|
|
|
|
// Playtime is tracked in minutes
|
|
/// The time needed to unlock hardcore random mode in preferences
|
|
#define PLAYTIME_HARDCORE_RANDOM 120 // 2 hours
|
|
/// The time needed to unlock the gamer cloak in preferences
|
|
#define PLAYTIME_VETERAN 300000 // 5,000 hours
|
|
|
|
/// The key used for sprite accessories that should never actually be applied to the player.
|
|
#define SPRITE_ACCESSORY_NONE "None"
|
|
|
|
// Loadout
|
|
/// When equipped, applies a job specific palette to the item. Only applicable to GAGS items.
|
|
#define LOADOUT_FLAG_JOB_GREYSCALING (1<<0)
|
|
/// Prevents GAGS items from being player customizable.
|
|
#define LOADOUT_FLAG_BLOCK_GREYSCALING (1<<1)
|
|
/// Allows the item to be greyscaled by the player, if it's a GAGS item. Automatically set if the item is innately recolorable.
|
|
#define LOADOUT_FLAG_GREYSCALING_ALLOWED (1<<2)
|
|
/// Allows the item to be renamed by the player.
|
|
#define LOADOUT_FLAG_ALLOW_NAMING (1<<3)
|
|
|
|
// Loadout item info keys
|
|
// Changing these will break existing loadouts
|
|
/// Tracks GAGS color information
|
|
#define INFO_GREYSCALE "greyscale"
|
|
/// Used to set custom names
|
|
#define INFO_NAMED "name"
|
|
/// Used for specific alt-reskins, like the pride pin
|
|
#define INFO_RESKIN "reskin"
|
|
/// Handles which layer the item will be on, for accessories
|
|
#define INFO_LAYER "layer"
|
|
|
|
// Lipstick styles
|
|
#define UPPER_LIP "Upper"
|
|
#define MIDDLE_LIP "Middle"
|
|
#define LOWER_LIP "Lower"
|
|
|
|
// Job greyscale colors for loadout items
|
|
#define COLOR_JOB_ASSISTANT /obj/item/clothing/under/color/grey::greyscale_colors
|
|
#define COLOR_JOB_BOTANIST "#33cc33"
|
|
#define COLOR_JOB_CARGO_GENERIC "#824b32"
|
|
#define COLOR_JOB_CE "#d0d0d0"
|
|
#define COLOR_JOB_CHEF "#d0d0d0"
|
|
#define COLOR_JOB_CHEMIST "#ff6600"
|
|
#define COLOR_JOB_CLOWN "#ffbeff"
|
|
#define COLOR_JOB_CMO "#009999"
|
|
#define COLOR_JOB_DEFAULT "#303030"
|
|
#define COLOR_JOB_ENGI_GENERIC "#ff6600"
|
|
#define COLOR_JOB_JANITOR /obj/item/clothing/gloves/color/purple::greyscale_colors
|
|
#define COLOR_JOB_LAWYER "#003399"
|
|
#define COLOR_JOB_SCI_GENERIC "#800080"
|
|
#define COLOR_JOB_SEC_GENERIC "#A53228"
|
|
#define COLOR_JOB_MED_GENERIC "#5B97BC"
|
|
#define COLOR_JOB_COMMAND_GENERIC "#3C5A96"
|