Skip to content

Commit

Permalink
Merge branch 'cmss13-devs:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsVyzo committed Jan 14, 2024
2 parents 3b0381b + 392dac2 commit c37fcc5
Show file tree
Hide file tree
Showing 489 changed files with 17,982 additions and 14,321 deletions.
1 change: 1 addition & 0 deletions code/__DEFINES/__game.dm
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ block( \
//toggles_admin
/// Splits admin tabs in Statpanel
#define SPLIT_ADMIN_TABS (1<<0)
#define ADMIN_STEALTHMODE (1<<1)

//=================================================

Expand Down
17 changes: 0 additions & 17 deletions code/__DEFINES/_math.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,6 @@
#define CARDINAL_DIRS list(1,2,4,8)
#define CARDINAL_ALL_DIRS list(1,2,4,5,6,8,9,10)

//some colors
#define COLOR_RED "#FF0000"
#define COLOR_GREEN "#00FF00"
#define COLOR_BLUE "#0000FF"
#define COLOR_CYAN "#00FFFF"
#define COLOR_PINK "#FF00FF"
#define COLOR_YELLOW "#FFFF00"
#define COLOR_ORANGE "#FF9900"
#define COLOR_WHITE "#FFFFFF"
#define COLOR_BLACK "#000000"
#define COLOR_OIL "#030303"

//Grass Colors
#define COLOR_G_ICE "#C7EDDE" //faded cyan
#define COLOR_G_DES "#FF7C1C" //bright orange
#define COLOR_G_JUNG "#64AA6E" //faded green

#define LEFT 1
#define RIGHT 2

Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/access.dm
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ most of them are tied into map-placed objects. This should be reworked in the fu
/// Ancients only
#define ACCESS_YAUTJA_ANCIENT 392

/// Anything in a tutorial sequence that shouldn't be accessed
#define ACCESS_TUTORIAL_LOCKED 998
///Temporary, just so I can flag places I need to change
#define ACCESS_COME_BACK_TO_ME 999

Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/chat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#define MESSAGE_TYPE_SYSTEM "system"
#define MESSAGE_TYPE_LOCALCHAT "localchat"
#define MESSAGE_TYPE_RADIO "radio"
#define MESSAGE_TYPE_HIVEMIND "hivemind"
#define MESSAGE_TYPE_INFO "info"
#define MESSAGE_TYPE_WARNING "warning"
#define MESSAGE_TYPE_DEADCHAT "deadchat"
Expand Down
290 changes: 114 additions & 176 deletions code/__DEFINES/colours.dm
Original file line number Diff line number Diff line change
@@ -1,214 +1,152 @@
// tg port thing

//different types of atom colourations
/// Only used by rare effects like greentext colouring mobs and when admins varedit color
#define ADMIN_COLOUR_PRIORITY 1
//different types of atom colorations
/// Only used by rare effects like greentext coloring mobs and when admins varedit color
#define ADMIN_COLOR_PRIORITY 1
/// e.g. purple effect of the revenant on a mob, black effect when mob electrocuted
#define TEMPORARY_COLOUR_PRIORITY 2
/// Colour splashed onto an atom (e.g. paint on turf)
#define WASHABLE_COLOUR_PRIORITY 3
/// Colour inherent to the atom (e.g. blob color)
#define FIXED_COLOUR_PRIORITY 4
#define TEMPORARY_COLOR_PRIORITY 2
/// Color splashed onto an atom (e.g. paint on turf)
#define WASHABLE_COLOR_PRIORITY 3
/// Color inherent to the atom (e.g. blob color)
#define FIXED_COLOR_PRIORITY 4
///how many color priority levels there are.
#define COLOUR_PRIORITY_AMOUNT 4

#define COLOUR_DARKMODE_BACKGROUND "#202020"
#define COLOUR_DARKMODE_DARKBACKGROUND "#171717"
#define COLOUR_DARKMODE_TEXT "#a4bad6"

#define COLOUR_WHITE "#FFFFFF"
#define COLOUR_VERY_LIGHT_GRAY "#EEEEEE"
#define COLOUR_SILVER "#C0C0C0"
#define COLOUR_GRAY "#808080"
#define COLOUR_FLOORTILE_GRAY "#8D8B8B"
#define COLOUR_DARK "#454545"
#define COLOUR_ALMOST_BLACK "#333333"
#define COLOUR_BLACK "#000000"
#define COLOUR_HALF_TRANSPARENT_BLACK "#0000007A"

#define COLOUR_RED "#FF0000"
#define COLOUR_MOSTLY_PURE_RED "#FF3300"
#define COLOUR_DARK_RED "#A50824"
#define COLOUR_RED_LIGHT "#FF3333"
#define COLOUR_MAROON "#800000"
#define COLOUR_VIVID_RED "#FF3232"
#define COLOUR_LIGHT_GRAYISH_RED "#E4C7C5"
#define COLOUR_SOFT_RED "#FA8282"
#define COLOUR_CULT_RED "#960000"
#define COLOUR_BUBBLEGUM_RED "#950A0A"

#define COLOUR_YELLOW "#FFFF00"
#define COLOUR_VIVID_YELLOW "#FBFF23"
#define COLOUR_VERY_SOFT_YELLOW "#FAE48E"

#define COLOUR_OLIVE "#808000"
#define COLOUR_VIBRANT_LIME "#00FF00"
#define COLOUR_LIME "#32CD32"
#define COLOUR_DARK_LIME "#00aa00"
#define COLOUR_VERY_PALE_LIME_GREEN "#DDFFD3"
#define COLOUR_VERY_DARK_LIME_GREEN "#003300"
#define COLOUR_GREEN "#008000"
#define COLOUR_DARK_MODERATE_LIME_GREEN "#44964A"

#define COLOUR_CYAN "#00FFFF"
#define COLOUR_DARK_CYAN "#00A2FF"
#define COLOUR_TEAL "#008080"
#define COLOUR_BLUE "#0000FF"
#define COLOUR_STRONG_BLUE "#1919c8"
#define COLOUR_BRIGHT_BLUE "#2CB2E8"
#define COLOUR_MODERATE_BLUE "#555CC2"
#define COLOUR_AMETHYST "#822BFF"
#define COLOUR_BLUE_LIGHT "#33CCFF"
#define COLOUR_NAVY "#000080"
#define COLOUR_BLUE_GRAY "#75A2BB"

#define COLOUR_PINK "#FFC0CB"
#define COLOUR_LIGHT_PINK "#ff3cc8"
#define COLOUR_MOSTLY_PURE_PINK "#E4005B"
#define COLOUR_BLUSH_PINK "#DE5D83"
#define COLOUR_MAGENTA "#FF00FF"
#define COLOUR_STRONG_MAGENTA "#B800B8"
#define COLOUR_PURPLE "#800080"
#define COLOUR_VIOLET "#B900F7"
#define COLOUR_STRONG_VIOLET "#6927c5"

#define COLOUR_ORANGE "#FF9900"
#define COLOUR_MOSTLY_PURE_ORANGE "#ff8000"
#define COLOUR_TAN_ORANGE "#FF7B00"
#define COLOUR_BRIGHT_ORANGE "#E2853D"
#define COLOUR_LIGHT_ORANGE "#ffc44d"
#define COLOUR_PALE_ORANGE "#FFBE9D"
#define COLOUR_BEIGE "#CEB689"
#define COLOUR_DARK_ORANGE "#C3630C"
#define COLOUR_DARK_MODERATE_ORANGE "#8B633B"

#define COLOUR_BROWN "#BA9F6D"
#define COLOUR_DARK_BROWN "#997C4F"
#define COLOUR_ORANGE_BROWN "#a9734f"

//Colour defines used by the soapstone (based on readability against grey tiles)
#define COLOUR_SOAPSTONE_PLASTIC "#a19d94"
#define COLOUR_SOAPSTONE_IRON "#b2b2b2"
#define COLOUR_SOAPSTONE_BRONZE "#FE8001"
#define COLOUR_SOAPSTONE_SILVER "#FFFFFF"
#define COLOUR_SOAPSTONE_GOLD "#FFD900"
#define COLOUR_SOAPSTONE_DIAMOND "#00ffee"

#define COLOUR_GREEN_GRAY "#99BB76"
#define COLOUR_RED_GRAY "#B4696A"
#define COLOUR_PALE_BLUE_GRAY "#98C5DF"
#define COLOUR_PALE_GREEN_GRAY "#B7D993"
#define COLOUR_PALE_RED_GRAY "#D59998"
#define COLOUR_PALE_PURPLE_GRAY "#CBB1CA"
#define COLOUR_PURPLE_GRAY "#AE8CA8"

//Colour defines used by the assembly detailer.
#define COLOUR_ASSEMBLY_BLACK "#545454"
#define COLOUR_ASSEMBLY_BGRAY "#9497AB"
#define COLOUR_ASSEMBLY_WHITE "#E2E2E2"
#define COLOUR_ASSEMBLY_RED "#CC4242"
#define COLOUR_ASSEMBLY_ORANGE "#E39751"
#define COLOUR_ASSEMBLY_BEIGE "#AF9366"
#define COLOUR_ASSEMBLY_BROWN "#97670E"
#define COLOUR_ASSEMBLY_GOLD "#AA9100"
#define COLOUR_ASSEMBLY_YELLOW "#CECA2B"
#define COLOUR_ASSEMBLY_GURKHA "#999875"
#define COLOUR_ASSEMBLY_LGREEN "#789876"
#define COLOUR_ASSEMBLY_GREEN "#44843C"
#define COLOUR_ASSEMBLY_LBLUE "#5D99BE"
#define COLOUR_ASSEMBLY_BLUE "#38559E"
#define COLOUR_ASSEMBLY_PURPLE "#6F6192"

///Colours for xenobiology vatgrowing
#define COLOUR_SAMPLE_YELLOW "#c0b823"
#define COLOUR_SAMPLE_PURPLE "#342941"
#define COLOUR_SAMPLE_GREEN "#98b944"
#define COLOUR_SAMPLE_BROWN "#91542d"
#define COLOUR_SAMPLE_GRAY "#5e5856"

///Main colours for UI themes
#define COLOUR_THEME_MIDNIGHT "#6086A0"
#define COLOUR_THEME_PLASMAFIRE "#FFB200"
#define COLOUR_THEME_RETRO "#24CA00"
#define COLOUR_THEME_SLIMECORE "#4FB259"
#define COLOUR_THEME_OPERATIVE "#B8221F"
#define COLOUR_THEME_GLASS "#75A4C4"
#define COLOUR_THEME_CLOCKWORK "#CFBA47"

///Colours for eigenstates
#define COLOUR_PERIWINKLEE "#9999FF"
#define COLOR_PRIORITY_AMOUNT 4

// BLACK AND WHITE COLOR DEFINE.

/// White rgb(255, 255, 255)
#define COLOR_WHITE "#FFFFFF"
/// Black rgb(0, 0, 0)
#define COLOR_BLACK "#000000"

// THE THREE PRIMARIES COLORS DEFINES.

/// Red rgb(255, 0, 0)
#define COLOR_RED "#FF0000"
/// Green rgb(0, 255, 0)
#define COLOR_GREEN "#00FF00"
/// Blue rgb(0, 0, 255)
#define COLOR_BLUE "#0000FF"

//mix of two full primary colors

/// Cyan rgb(0, 255, 255) B + G
#define COLOR_CYAN "#00FFFF"
/// Magenta rgb(255, 0, 255) R+B
#define COLOR_MAGENTA "#FF00FF"
/// Yellow rgb(255, 255, 0) R+G
#define COLOR_YELLOW "#FFFF00"

// colors define in use bellow

/// Olive rgb(128, 128, 0)
#define COLOR_OLIVE "#808000"
/// Silver rgb(192, 192, 192) shade of grey
#define COLOR_SILVER "#C0C0C0"
/// Gray rgb(128, 128, 128)
#define COLOR_GRAY "#808080"

#define COLOR_FLOORTILE_GRAY "#8D8B8B"

#define COLOR_HALF_TRANSPARENT_BLACK "#0000007A"

#define COLOR_DARK_RED "#A50824"

/// Maroon rgb(128, 0, 0) shade of red
#define COLOR_MAROON "#800000"

#define COLOR_VIVID_RED "#FF3232"
#define COLOR_LIGHT_GRAYISH_RED "#E4C7C5"
#define COLOR_SOFT_RED "#FA8282"

#define COLOR_VERY_SOFT_YELLOW "#FAE48E"

///light green rgb( 0, 128, 0)
#define COLOR_LIGHT_GREEN "#008000"
#define COLOR_DARK_MODERATE_LIME_GREEN "#44964A"

#define COLOR_TEAL "#008080"

#define COLOR_MODERATE_BLUE "#555CC2"
/// Purple rgb( 128, 0, 128)
#define COLOR_PURPLE "#800080"
#define COLOR_STRONG_VIOLET "#6927c5"

#define LIGHT_BEIGE "#CEB689"
#define COLOR_DARK_MODERATE_ORANGE "#8B633B"

#define COLOR_BROWN "#BA9F6D"
#define COLOR_DARK_BROWN "#997C4F"

/**
* Some defines to generalise colours used in lighting.
* Some defines to generalise Colors used in lighting.
*
* Important note: colours can end up significantly different from the basic html picture, especially when saturated
* Important note: Colors can end up significantly different from the basic html picture, especially when saturated
*/

/// Full white. rgb(255, 255, 255)
#define LIGHT_COLOR_WHITE "#FFFFFF"
/// Bright but quickly dissipating neon green. rgb(100, 200, 100)
#define LIGHT_COLOUR_GREEN "#64C864"
/// Electric green. rgb(0, 255, 0)
#define LIGHT_COLOUR_ELECTRIC_GREEN "#00FF00"
#define LIGHT_COLOR_GREEN "#64C864"
/// Cold, diluted blue. rgb(100, 150, 250)
#define LIGHT_COLOUR_BLUE "#6496FA"
#define LIGHT_COLOR_BLUE "#6496FA"
/// Light blueish green. rgb(125, 225, 175)
#define LIGHT_COLOUR_BLUEGREEN "#7DE1AF"
#define LIGHT_COLOR_BLUEGREEN "#7DE1AF"
/// Diluted cyan. rgb(125, 225, 225)
#define LIGHT_COLOUR_CYAN "#7DE1E1"
/// Electric cyan rgb(0, 255, 255)
#define LIGHT_COLOUR_ELECTRIC_CYAN "#00FFFF"
#define LIGHT_COLOR_CYAN "#7DE1E1"
/// More-saturated cyan. rgb(64, 206, 255)
#define LIGHT_COLOUR_LIGHT_CYAN "#40CEFF"
#define LIGHT_COLOR_LIGHT_CYAN "#40CEFF"
/// Saturated blue. rgb(51, 117, 248)
#define LIGHT_COLOUR_DARK_BLUE "#6496FA"
#define LIGHT_COLOR_DARK_BLUE "#3375F8"
/// Diluted, mid-warmth pink. rgb(225, 125, 225)
#define LIGHT_COLOUR_PINK "#E17DE1"
#define LIGHT_COLOR_PINK "#E17DE1"
/// Dimmed yellow, leaning kaki. rgb(225, 225, 125)
#define LIGHT_COLOUR_YELLOW "#E1E17D"
#define LIGHT_COLOR_YELLOW "#E1E17D"
/// Clear brown, mostly dim. rgb(150, 100, 50)
#define LIGHT_COLOUR_BROWN "#966432"
#define LIGHT_COLOR_BROWN "#966432"
/// Mostly pure orange. rgb(250, 150, 50)
#define LIGHT_COLOUR_ORANGE "#FA9632"
#define LIGHT_COLOR_ORANGE "#FA9632"
/// Light Purple. rgb(149, 44, 244)
#define LIGHT_COLOUR_PURPLE "#952CF4"
#define LIGHT_COLOR_PURPLE "#952CF4"
/// Less-saturated light purple. rgb(155, 81, 255)
#define LIGHT_COLOUR_LAVENDER "#9B51FF"
#define LIGHT_COLOR_LAVENDER "#9B51FF"
///slightly desaturated bright yellow.
#define LIGHT_COLOUR_HOLY_MAGIC "#FFF743"
#define LIGHT_COLOR_HOLY_MAGIC "#FFF743"
/// deep crimson
#define LIGHT_COLOUR_BLOOD_MAGIC "#D00000"
#define LIGHT_COLOR_BLOOD_MAGIC "#D00000"

/* These ones aren't a direct color like the ones above, because nothing would fit */
/// Warm orange color, leaning strongly towards yellow. rgb(250, 160, 25)
#define LIGHT_COLOUR_FIRE "#FAA019"
#define LIGHT_COLOR_FIRE "#FAA019"
/// Very warm yellow, leaning slightly towards orange. rgb(196, 138, 24)
#define LIGHT_COLOUR_LAVA "#C48A18"
#define LIGHT_COLOR_LAVA "#C48A18"
/// Bright, non-saturated red. Leaning slightly towards pink for visibility. rgb(250, 100, 75)
#define LIGHT_COLOUR_FLARE "#FA644B"
#define LIGHT_COLOR_FLARE "#FA644B"
/// Weird color, between yellow and green, very slimy. rgb(175, 200, 75)
#define LIGHT_COLOUR_SLIME_LAMP "#AFC84B"
#define LIGHT_COLOR_SLIME_LAMP "#AFC84B"
/// Extremely diluted yellow, close to skin color (for some reason). rgb(250, 225, 175)
#define LIGHT_COLOUR_TUNGSTEN "#FAE1AF"
#define LIGHT_COLOR_TUNGSTEN "#FAE1AF"
/// Barely visible cyan-ish hue, as the doctor prescribed. rgb(240, 250, 250)
#define LIGHT_COLOUR_HALOGEN "#F0FAFA"

//The GAGS greyscale_colours for each department's computer/machine circuits
#define CIRCUIT_COLOUR_GENERIC "#1A7A13"
#define CIRCUIT_COLOUR_COMMAND "#1B4594"
#define CIRCUIT_COLOUR_SECURITY "#9A151E"
#define CIRCUIT_COLOUR_SCIENCE "#BC4A9B"
#define CIRCUIT_COLOUR_SERVICE "#92DCBA"
#define CIRCUIT_COLOUR_MEDICAL "#00CCFF"
#define CIRCUIT_COLOUR_ENGINEERING "#F8D700"
#define CIRCUIT_COLOUR_SUPPLY "#C47749"
#define LIGHT_COLOR_HALOGEN "#F0FAFA"

/// The default color for admin say, used as a fallback when the preference is not enabled
#define DEFAULT_ASAY_COLOUR COLOUR_MOSTLY_PURE_RED

#define DEFAULT_HEX_COLOUR_LEN 6
#define COLOR_MOSTLY_PURE_RED "#FF3300"
#define DEFAULT_ASAY_COLOR COLOR_MOSTLY_PURE_RED

#define DEFAULT_HEX_COLOR_LEN 6

// Colour filters
// Color filters
/// Icon filter that creates ambient occlusion
#define AMBIENT_OCCLUSION filter(type="drop_shadow", x=0, y=-2, size=4, border=4, color="#04080FAA")
/// Icon filter that creates gaussian blur
#define GAUSSIAN_BLUR(filter_size) filter(type="blur", size=filter_size)

//some colors coming from _math.dm

#define COLOR_ORANGE "#FF9900"
#define COLOR_OIL "#030303"

//Grass Colors coming from _math.dm

#define COLOR_G_ICE "#C7EDDE" //faded cyan
#define COLOR_G_DES "#FF7C1C" //bright orange
#define COLOR_G_JUNG "#64AA6E" //faded green
3 changes: 3 additions & 0 deletions code/__DEFINES/dcs/signals/atom/mob/living/signals_human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@
#define COMSIG_HUMAN_SURGERY_APPLY_MODIFIERS "human_surgery_apply_modifiers"
/// From /mob/living/carbon/human/proc/get_flags_cold_protection()
#define COMSIG_HUMAN_COLD_PROTECTION_APPLY_MODIFIERS "human_cold_protection_apply_modifiers"

/// From /obj/item/proc/dig_out_shrapnel() : ()
#define COMSIG_HUMAN_SHRAPNEL_REMOVED "human_shrapnel_removed"
Loading

0 comments on commit c37fcc5

Please sign in to comment.