diff --git a/code/ATMOSPHERICS/atmospherics.dm b/code/ATMOSPHERICS/atmospherics.dm index 3c12e1f9435..1eecab41e19 100644 --- a/code/ATMOSPHERICS/atmospherics.dm +++ b/code/ATMOSPHERICS/atmospherics.dm @@ -20,7 +20,7 @@ obj/machinery/atmospherics obj/machinery/atmospherics/var/initialize_directions = 0 -obj/machinery/atmospherics/var/color +obj/machinery/atmospherics/var/_color obj/machinery/atmospherics/process() build_network() diff --git a/code/ATMOSPHERICS/pipes.dm b/code/ATMOSPHERICS/pipes.dm index 838058ed963..0b206866c58 100644 --- a/code/ATMOSPHERICS/pipes.dm +++ b/code/ATMOSPHERICS/pipes.dm @@ -186,7 +186,7 @@ obj/machinery/atmospherics/pipe update_icon() if(node1&&node2) var/C = "" - switch(color) + switch(_color) if ("red") C = "-r" if ("blue") C = "-b" if ("cyan") C = "-c" @@ -252,22 +252,22 @@ obj/machinery/atmospherics/pipe simple/scrubbers name="Scrubbers pipe" - color="red" + _color="red" icon_state = "" simple/supply name="Air supply pipe" - color="blue" + _color="blue" icon_state = "" simple/supplymain name="Main air supply pipe" - color="purple" + _color="purple" icon_state = "" simple/general name="Pipe" - color="" + _color="" icon_state = "" simple/scrubbers/visible @@ -304,7 +304,7 @@ obj/machinery/atmospherics/pipe simple/yellow name="Pipe" - color="yellow" + _color="yellow" icon_state = "" simple/yellow/visible @@ -697,7 +697,7 @@ obj/machinery/atmospherics/pipe update_icon() if(node1&&node2&&node3) var/C = "" - switch(color) + switch(_color) if ("red") C = "-r" if ("blue") C = "-b" if ("cyan") C = "-c" @@ -769,27 +769,27 @@ obj/machinery/atmospherics/pipe manifold/scrubbers name="Scrubbers pipe" - color="red" + _color="red" icon_state = "" manifold/supply name="Air supply pipe" - color="blue" + _color="blue" icon_state = "" manifold/supplymain name="Main air supply pipe" - color="purple" + _color="purple" icon_state = "" manifold/general name="Air supply pipe" - color="gray" + _color="gray" icon_state = "" manifold/yellow name="Air supply pipe" - color="yellow" + _color="yellow" icon_state = "" manifold/scrubbers/visible @@ -925,7 +925,7 @@ obj/machinery/atmospherics/pipe overlays.Cut() if(node1&&node2&&node3&&node4) var/C = "" - switch(color) + switch(_color) if ("red") C = "-r" if ("blue") C = "-b" if ("cyan") C = "-c" @@ -980,22 +980,22 @@ obj/machinery/atmospherics/pipe manifold4w/scrubbers name="Scrubbers pipe" - color="red" + _color="red" icon_state = "" manifold4w/supply name="Air supply pipe" - color="blue" + _color="blue" icon_state = "" manifold4w/supplymain name="Main air supply pipe" - color="purple" + _color="purple" icon_state = "" manifold4w/general name="Air supply pipe" - color="gray" + _color="gray" icon_state = "" manifold4w/scrubbers/visible diff --git a/code/WorkInProgress/SkyMarshal/officer_stuff.dm b/code/WorkInProgress/SkyMarshal/officer_stuff.dm index 7741a9aa36a..3bfac7e3be7 100644 --- a/code/WorkInProgress/SkyMarshal/officer_stuff.dm +++ b/code/WorkInProgress/SkyMarshal/officer_stuff.dm @@ -23,7 +23,7 @@ name = "\improper NanoTrasen Navy Uniform" icon_state = "officer" item_state = "g_suit" - color = "officer" + _color = "officer" displays_id = 0 /obj/item/clothing/under/rank/centcom/officer @@ -31,7 +31,7 @@ name = "\improper NanoTrasen Officers Uniform" icon_state = "officer" item_state = "g_suit" - color = "officer" + _color = "officer" displays_id = 0 /obj/item/clothing/under/rank/centcom/captain @@ -39,5 +39,5 @@ name = "\improper NanoTrasen Captains Uniform" icon_state = "centcom" item_state = "dg_suit" - color = "centcom" + _color = "centcom" displays_id = 0 \ No newline at end of file diff --git a/code/defines/obj.dm b/code/defines/obj.dm index a4ef521d9d7..68db726b5bf 100644 --- a/code/defines/obj.dm +++ b/code/defines/obj.dm @@ -197,35 +197,35 @@ var/d1 = 0 var/d2 = 1 layer = 2.44 //Just below unary stuff, which is at 2.45 and above pipes, which are at 2.4 - var/color = "red" + var/_color = "red" var/obj/structure/powerswitch/power_switch /obj/structure/cable/yellow - color = "yellow" + _color = "yellow" icon = 'icons/obj/power_cond_yellow.dmi' /obj/structure/cable/green - color = "green" + _color = "green" icon = 'icons/obj/power_cond_green.dmi' /obj/structure/cable/blue - color = "blue" + _color = "blue" icon = 'icons/obj/power_cond_blue.dmi' /obj/structure/cable/pink - color = "pink" + _color = "pink" icon = 'icons/obj/power_cond_pink.dmi' /obj/structure/cable/orange - color = "orange" + _color = "orange" icon = 'icons/obj/power_cond_orange.dmi' /obj/structure/cable/cyan - color = "cyan" + _color = "cyan" icon = 'icons/obj/power_cond_cyan.dmi' /obj/structure/cable/white - color = "white" + _color = "white" icon = 'icons/obj/power_cond_white.dmi' /obj/effect/projection diff --git a/code/game/machinery/atmoalter/canister.dm b/code/game/machinery/atmoalter/canister.dm index 1ee5ac6f42c..64538905c97 100644 --- a/code/game/machinery/atmoalter/canister.dm +++ b/code/game/machinery/atmoalter/canister.dm @@ -9,7 +9,7 @@ var/valve_open = 0 var/release_pressure = ONE_ATMOSPHERE - var/color = "yellow" + var/_color = "yellow" var/can_label = 1 var/filled = 0.5 pressure_resistance = 7*ONE_ATMOSPHERE @@ -21,42 +21,42 @@ /obj/machinery/portable_atmospherics/canister/sleeping_agent name = "Canister: \[N2O\]" icon_state = "redws" - color = "redws" + _color = "redws" can_label = 0 /obj/machinery/portable_atmospherics/canister/nitrogen name = "Canister: \[N2\]" icon_state = "red" - color = "red" + _color = "red" can_label = 0 /obj/machinery/portable_atmospherics/canister/oxygen name = "Canister: \[O2\]" icon_state = "blue" - color = "blue" + _color = "blue" can_label = 0 /obj/machinery/portable_atmospherics/canister/toxins name = "Canister \[Toxin (Bio)\]" icon_state = "orange" - color = "orange" + _color = "orange" can_label = 0 /obj/machinery/portable_atmospherics/canister/carbon_dioxide name = "Canister \[CO2\]" icon_state = "black" - color = "black" + _color = "black" can_label = 0 /obj/machinery/portable_atmospherics/canister/air name = "Canister \[Air\]" icon_state = "grey" - color = "grey" + _color = "grey" can_label = 0 /obj/machinery/portable_atmospherics/canister/update_icon() src.overlays = 0 if (src.destroyed) - src.icon_state = text("[]-1", src.color) + src.icon_state = text("[]-1", src._color) else - icon_state = "[color]" + icon_state = "[_color]" if(holding) overlays += "can-open" @@ -281,7 +281,7 @@ Release Pressure: - 0) return operating = 1 - animate("closing") + door_animate("closing") src.density = 1 explosion_resistance = initial(explosion_resistance) src.layer = 3.1 diff --git a/code/game/machinery/doors/firedoor.dm b/code/game/machinery/doors/firedoor.dm index 4a0777903f7..f1d071c4689 100644 --- a/code/game/machinery/doors/firedoor.dm +++ b/code/game/machinery/doors/firedoor.dm @@ -211,7 +211,7 @@ return - animate(animation) + door_animate(animation) switch(animation) if("opening") flick("door_opening", src) diff --git a/code/game/machinery/transformer.dm b/code/game/machinery/transformer.dm index 262357bb63b..281f9783c52 100644 --- a/code/game/machinery/transformer.dm +++ b/code/game/machinery/transformer.dm @@ -40,9 +40,9 @@ var/mob/living/carbon/human/H = AM if((transform_standing || H.lying) && move_dir == EAST)// || move_dir == WEST) AM.loc = src.loc - transform(AM) + do_transform(AM) -/obj/machinery/transformer/proc/transform(var/mob/living/carbon/human/H) +/obj/machinery/transformer/proc/do_transform(var/mob/living/carbon/human/H) if(stat & (BROKEN|NOPOWER)) return if(cooldown == 1) diff --git a/code/game/machinery/vending.dm b/code/game/machinery/vending.dm index e9396fda0ce..9a9c5ffbf44 100644 --- a/code/game/machinery/vending.dm +++ b/code/game/machinery/vending.dm @@ -760,10 +760,12 @@ product_ads = "We like plants!;Don't you want some?;The greenest thumbs ever.;We like big plants.;Soft soil..." icon_state = "nutri" icon_deny = "nutri-deny" - products = list(/obj/item/beezeez = 45,/obj/item/nutrient/ez = 35,/obj/item/nutrient/l4z = 25,/obj/item/nutrient/rh = 15,/obj/item/weapon/pestspray = 20, + products = list(/obj/item/nutrient/ez = 35,/obj/item/nutrient/l4z = 25,/obj/item/nutrient/rh = 15,/obj/item/weapon/pestspray = 20, /obj/item/weapon/reagent_containers/syringe = 5,/obj/item/weapon/storage/bag/plants = 5) contraband = list(/obj/item/weapon/reagent_containers/glass/bottle/ammonia = 10,/obj/item/weapon/reagent_containers/glass/bottle/diethylamine = 5) +///obj/item/beezeez = 45, + /obj/machinery/vending/hydroseeds name = "MegaSeed Servitor" desc = "When you need seeds fast!" diff --git a/code/game/machinery/washing_machine.dm b/code/game/machinery/washing_machine.dm index 25e3772baf4..f4b332d9fe6 100644 --- a/code/game/machinery/washing_machine.dm +++ b/code/game/machinery/washing_machine.dm @@ -51,15 +51,15 @@ if(crayon) - var/color + var/_color if(istype(crayon,/obj/item/toy/crayon)) var/obj/item/toy/crayon/CR = crayon - color = CR.colourName + _color = CR.colourName else if(istype(crayon,/obj/item/weapon/stamp)) var/obj/item/weapon/stamp/ST = crayon - color = ST.color + _color = ST._color - if(color) + if(_color) var/new_jumpsuit_icon_state = "" var/new_jumpsuit_item_state = "" var/new_jumpsuit_name = "" @@ -76,7 +76,7 @@ for(var/T in typesof(/obj/item/clothing/under)) var/obj/item/clothing/under/J = new T //world << "DEBUG: [color] == [J.color]" - if(color == J.color) + if(_color == J._color) new_jumpsuit_icon_state = J.icon_state new_jumpsuit_item_state = J.item_state new_jumpsuit_name = J.name @@ -87,7 +87,7 @@ for(var/T in typesof(/obj/item/clothing/gloves)) var/obj/item/clothing/gloves/G = new T //world << "DEBUG: [color] == [J.color]" - if(color == G.color) + if(_color == G._color) new_glove_icon_state = G.icon_state new_glove_item_state = G.item_state new_glove_name = G.name @@ -98,7 +98,7 @@ for(var/T in typesof(/obj/item/clothing/shoes)) var/obj/item/clothing/shoes/S = new T //world << "DEBUG: [color] == [J.color]" - if(color == S.color) + if(_color == S._color) new_shoe_icon_state = S.icon_state new_shoe_name = S.name del(S) @@ -108,7 +108,7 @@ for(var/T in typesof(/obj/item/weapon/bedsheet)) var/obj/item/weapon/bedsheet/B = new T //world << "DEBUG: [color] == [J.color]" - if(color == B.color) + if(_color == B._color) new_sheet_icon_state = B.icon_state new_sheet_name = B.name del(B) @@ -118,7 +118,7 @@ for(var/T in typesof(/obj/item/clothing/head/soft)) var/obj/item/clothing/head/soft/H = new T //world << "DEBUG: [color] == [J.color]" - if(color == H.color) + if(_color == H._color) new_softcap_icon_state = H.icon_state new_softcap_name = H.name del(H) @@ -130,7 +130,7 @@ //world << "DEBUG: YUP! FOUND IT!" J.item_state = new_jumpsuit_item_state J.icon_state = new_jumpsuit_icon_state - J.color = color + J._color = _color J.name = new_jumpsuit_name J.desc = new_desc if(new_glove_icon_state && new_glove_item_state && new_glove_name) @@ -138,7 +138,7 @@ //world << "DEBUG: YUP! FOUND IT!" G.item_state = new_glove_item_state G.icon_state = new_glove_icon_state - G.color = color + G._color = _color G.name = new_glove_name G.desc = new_desc if(new_shoe_icon_state && new_shoe_name) @@ -149,21 +149,21 @@ S.slowdown = SHOES_SLOWDOWN new /obj/item/weapon/handcuffs( src ) S.icon_state = new_shoe_icon_state - S.color = color + S._color = _color S.name = new_shoe_name S.desc = new_desc if(new_sheet_icon_state && new_sheet_name) for(var/obj/item/weapon/bedsheet/B in contents) //world << "DEBUG: YUP! FOUND IT!" B.icon_state = new_sheet_icon_state - B.color = color + B._color = _color B.name = new_sheet_name B.desc = new_desc if(new_softcap_icon_state && new_softcap_name) for(var/obj/item/clothing/head/soft/H in contents) //world << "DEBUG: YUP! FOUND IT!" H.icon_state = new_softcap_icon_state - H.color = color + H._color = _color H.name = new_softcap_name H.desc = new_desc del(crayon) diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index df461fbb83b..2f47a344b42 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -27,7 +27,7 @@ //Since any item can now be a piece of clothing, this has to be put here so all items share it. var/flags_inv //This flag is used to determine when items in someone's inventory cover others. IE helmets making it so you can't see glasses, etc. - var/color = null + var/_color = null var/body_parts_covered = 0 //see setup.dm for appropriate bit flags //var/heat_transfer_coefficient = 1 //0 prevents all transfers, 1 is invisible var/gas_transfer_coefficient = 1 // for leaking gas from turf to mask and vice-versa (for masks right now, but at some point, i'd like to include space helmets) diff --git a/code/game/objects/items/devices/pipe_painter.dm b/code/game/objects/items/devices/pipe_painter.dm index da297fbb55b..679e79e002f 100644 --- a/code/game/objects/items/devices/pipe_painter.dm +++ b/code/game/objects/items/devices/pipe_painter.dm @@ -10,7 +10,7 @@ if(!istype(A,/obj/machinery/atmospherics/pipe) || istype(A,/obj/machinery/atmospherics/pipe/tank) || istype(A,/obj/machinery/atmospherics/pipe/vent) || istype(A,/obj/machinery/atmospherics/pipe/simple/heat_exchanging) || istype(A,/obj/machinery/atmospherics/pipe/simple/insulated)) return var/obj/machinery/atmospherics/pipe/P = A - P.color = mode + P._color = mode user.visible_message("[user] paints \the [P] [mode].","You paint \the [P] [mode].") P.update_icon() diff --git a/code/game/objects/items/weapons/implants/implant.dm b/code/game/objects/items/weapons/implants/implant.dm index 1f6b068cdd3..597c428748c 100644 --- a/code/game/objects/items/weapons/implants/implant.dm +++ b/code/game/objects/items/weapons/implants/implant.dm @@ -7,7 +7,7 @@ var/implanted = null var/mob/imp_in = null var/datum/organ/external/part = null - color = "b" + _color = "b" var/allow_reagents = 0 var/malfunction = 0 diff --git a/code/game/objects/items/weapons/implants/implantcase.dm b/code/game/objects/items/weapons/implants/implantcase.dm index dde9668b8cd..0954ac94ee5 100644 --- a/code/game/objects/items/weapons/implants/implantcase.dm +++ b/code/game/objects/items/weapons/implants/implantcase.dm @@ -15,7 +15,7 @@ update() if (src.imp) - src.icon_state = text("implantcase-[]", src.imp.color) + src.icon_state = text("implantcase-[]", src.imp._color) else src.icon_state = "implantcase-0" return diff --git a/code/game/objects/items/weapons/implants/implantfreedom.dm b/code/game/objects/items/weapons/implants/implantfreedom.dm index 26edf0b29cb..9b225ac70fc 100644 --- a/code/game/objects/items/weapons/implants/implantfreedom.dm +++ b/code/game/objects/items/weapons/implants/implantfreedom.dm @@ -3,7 +3,7 @@ /obj/item/weapon/implant/freedom name = "freedom" desc = "Use this to escape from those evil Red Shirts." - color = "r" + _color = "r" var/activation_emote = "chuckle" var/uses = 1.0 diff --git a/code/game/objects/items/weapons/swords_axes_etc.dm b/code/game/objects/items/weapons/swords_axes_etc.dm index 4e8f0bd8216..c6c2981d3a4 100644 --- a/code/game/objects/items/weapons/swords_axes_etc.dm +++ b/code/game/objects/items/weapons/swords_axes_etc.dm @@ -24,7 +24,7 @@ return 0 /obj/item/weapon/melee/energy/sword/New() - color = pick("red","blue","green","purple") + _color = pick("red","blue","green","purple") /obj/item/weapon/melee/energy/sword/attack_self(mob/living/user as mob) if ((CLUMSY in user.mutations) && prob(50)) @@ -36,7 +36,7 @@ if(istype(src,/obj/item/weapon/melee/energy/sword/pirate)) icon_state = "cutlass1" else - icon_state = "sword[color]" + icon_state = "sword[_color]" w_class = 4 playsound(user, 'sound/weapons/saberon.ogg', 50, 1) user << "\blue [src] is now active." @@ -180,11 +180,11 @@ /obj/item/weapon/melee/energy/sword/green New() - color = "green" + _color = "green" /obj/item/weapon/melee/energy/sword/red New() - color = "red" + _color = "red" /obj/item/weapon/melee/energy/blade/New() spark_system = new /datum/effect/effect/system/spark_spread() diff --git a/code/game/objects/structures/bedsheet_bin.dm b/code/game/objects/structures/bedsheet_bin.dm index a14d078878e..8e40a97a89c 100644 --- a/code/game/objects/structures/bedsheet_bin.dm +++ b/code/game/objects/structures/bedsheet_bin.dm @@ -15,7 +15,7 @@ LINEN BINS throw_speed = 1 throw_range = 2 w_class = 1.0 - color = "white" + _color = "white" /obj/item/weapon/bedsheet/attack_self(mob/user as mob) @@ -30,67 +30,67 @@ LINEN BINS /obj/item/weapon/bedsheet/blue icon_state = "sheetblue" - color = "blue" + _color = "blue" /obj/item/weapon/bedsheet/green icon_state = "sheetgreen" - color = "green" + _color = "green" /obj/item/weapon/bedsheet/orange icon_state = "sheetorange" - color = "orange" + _color = "orange" /obj/item/weapon/bedsheet/purple icon_state = "sheetpurple" - color = "purple" + _color = "purple" /obj/item/weapon/bedsheet/rainbow icon_state = "sheetrainbow" - color = "rainbow" + _color = "rainbow" /obj/item/weapon/bedsheet/red icon_state = "sheetred" - color = "red" + _color = "red" /obj/item/weapon/bedsheet/yellow icon_state = "sheetyellow" - color = "yellow" + _color = "yellow" /obj/item/weapon/bedsheet/mime icon_state = "sheetmime" - color = "mime" + _color = "mime" /obj/item/weapon/bedsheet/clown icon_state = "sheetclown" - color = "clown" + _color = "clown" /obj/item/weapon/bedsheet/captain icon_state = "sheetcaptain" - color = "captain" + _color = "captain" /obj/item/weapon/bedsheet/rd icon_state = "sheetrd" - color = "director" + _color = "director" /obj/item/weapon/bedsheet/medical icon_state = "sheetmedical" - color = "medical" + _color = "medical" /obj/item/weapon/bedsheet/hos icon_state = "sheethos" - color = "hosred" + _color = "hosred" /obj/item/weapon/bedsheet/hop icon_state = "sheethop" - color = "hop" + _color = "hop" /obj/item/weapon/bedsheet/ce icon_state = "sheetce" - color = "chief" + _color = "chief" /obj/item/weapon/bedsheet/brown icon_state = "sheetbrown" - color = "brown" + _color = "brown" diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index dd2837165b4..fc4a6fca721 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -2104,7 +2104,7 @@ for(var/obj/item/clothing/under/W in world) W.icon_state = "schoolgirl" W.item_state = "w_suit" - W.color = "schoolgirl" + W._color = "schoolgirl" message_admins("[key_name_admin(usr)] activated Japanese Animes mode") world << sound('sound/AI/animes.ogg') if("eagles")//SCRAW diff --git a/code/modules/clothing/gloves/boxing.dm b/code/modules/clothing/gloves/boxing.dm index 15e7035974a..bc5dff13e4b 100644 --- a/code/modules/clothing/gloves/boxing.dm +++ b/code/modules/clothing/gloves/boxing.dm @@ -21,7 +21,7 @@ desc = "These look pretty fancy." icon_state = "latex" item_state = "lgloves" - color="mime" + _color="mime" redcoat - color = "redcoat" //Exists for washing machines. Is not different from white gloves in any way. + _color = "redcoat" //Exists for washing machines. Is not different from white gloves in any way. diff --git a/code/modules/clothing/gloves/color.dm b/code/modules/clothing/gloves/color.dm index 3bf76b78790..054c7e1cef3 100644 --- a/code/modules/clothing/gloves/color.dm +++ b/code/modules/clothing/gloves/color.dm @@ -5,7 +5,7 @@ item_state = "ygloves" siemens_coefficient = 0 permeability_coefficient = 0.05 - color="yellow" + _color="yellow" /obj/item/clothing/gloves/fyellow //Cheap Chinese Crap desc = "These gloves are cheap copies of the coveted gloves, no way this can end badly." @@ -15,7 +15,7 @@ siemens_coefficient = 1 //Set to a default of 1, gets overridden in New() permeability_coefficient = 0.05 - color="yellow" + _color="yellow" New() siemens_coefficient = pick(0,0.5,0.5,0.5,0.5,0.75,1.5) @@ -25,7 +25,7 @@ name = "black gloves" icon_state = "black" item_state = "bgloves" - color="brown" + _color="brown" cold_protection = HANDS min_cold_protection_temperature = GLOVES_MIN_COLD_PROTECITON_TEMPERATURE @@ -34,82 +34,82 @@ hos - color = "hosred" //Exists for washing machines. Is not different from black gloves in any way. + _color = "hosred" //Exists for washing machines. Is not different from black gloves in any way. ce - color = "chief" //Exists for washing machines. Is not different from black gloves in any way. + _color = "chief" //Exists for washing machines. Is not different from black gloves in any way. /obj/item/clothing/gloves/orange name = "orange gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "orange" item_state = "orangegloves" - color="orange" + _color="orange" /obj/item/clothing/gloves/red name = "red gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "red" item_state = "redgloves" - color = "red" + _color = "red" /obj/item/clothing/gloves/rainbow name = "rainbow gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "rainbow" item_state = "rainbowgloves" - color = "rainbow" + _color = "rainbow" clown - color = "clown" + _color = "clown" /obj/item/clothing/gloves/blue name = "blue gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "blue" item_state = "bluegloves" - color="blue" + _color="blue" /obj/item/clothing/gloves/purple name = "purple gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "purple" item_state = "purplegloves" - color="purple" + _color="purple" /obj/item/clothing/gloves/green name = "green gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "green" item_state = "greengloves" - color="green" + _color="green" /obj/item/clothing/gloves/grey name = "grey gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "gray" item_state = "graygloves" - color="grey" + _color="grey" rd - color = "director" //Exists for washing machines. Is not different from gray gloves in any way. + _color = "director" //Exists for washing machines. Is not different from gray gloves in any way. hop - color = "hop" //Exists for washing machines. Is not different from gray gloves in any way. + _color = "hop" //Exists for washing machines. Is not different from gray gloves in any way. /obj/item/clothing/gloves/light_brown name = "light brown gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "lightbrown" item_state = "lightbrowngloves" - color="light brown" + _color="light brown" /obj/item/clothing/gloves/brown name = "brown gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "brown" item_state = "browngloves" - color="brown" + _color="brown" cargo - color = "cargo" //Exists for washing machines. Is not different from brown gloves in any way. \ No newline at end of file + _color = "cargo" //Exists for washing machines. Is not different from brown gloves in any way. \ No newline at end of file diff --git a/code/modules/clothing/gloves/miscellaneous.dm b/code/modules/clothing/gloves/miscellaneous.dm index a5e99111006..1949b306d55 100644 --- a/code/modules/clothing/gloves/miscellaneous.dm +++ b/code/modules/clothing/gloves/miscellaneous.dm @@ -14,7 +14,7 @@ name = "captain's gloves" icon_state = "captain" item_state = "egloves" - color = "captain" + _color = "captain" cold_protection = HANDS min_cold_protection_temperature = GLOVES_MIN_COLD_PROTECITON_TEMPERATURE heat_protection = HANDS @@ -59,10 +59,10 @@ item_state = "lgloves" siemens_coefficient = 0.30 permeability_coefficient = 0.01 - color="white" + _color="white" cmo - color = "medical" //Exists for washing machines. Is not different from latex gloves in any way. + _color = "medical" //Exists for washing machines. Is not different from latex gloves in any way. /obj/item/clothing/gloves/botanic_leather desc = "These leather gloves protect against thorns, barbs, prickles, spikes and other harmful objects of floral origin." diff --git a/code/modules/clothing/head/hardhat.dm b/code/modules/clothing/head/hardhat.dm index defc0a49ed6..4574b905594 100644 --- a/code/modules/clothing/head/hardhat.dm +++ b/code/modules/clothing/head/hardhat.dm @@ -6,7 +6,7 @@ item_state = "hardhat0_yellow" var/brightness_on = 4 //luminosity when on var/on = 0 - color = "yellow" //Determines used sprites: hardhat[on]_[color] and hardhat[on]_[color]2 (lying down sprite) + _color = "yellow" //Determines used sprites: hardhat[on]_[color] and hardhat[on]_[color]2 (lying down sprite) armor = list(melee = 30, bullet = 5, laser = 20,energy = 10, bomb = 20, bio = 10, rad = 20) flags_inv = 0 icon_action_button = "action_hardhat" @@ -17,8 +17,8 @@ user << "You cannot turn the light on while in this [user.loc]" //To prevent some lighting anomalities. return on = !on - icon_state = "hardhat[on]_[color]" - item_state = "hardhat[on]_[color]" + icon_state = "hardhat[on]_[_color]" + item_state = "hardhat[on]_[_color]" if(on) user.SetLuminosity(user.luminosity + brightness_on) else user.SetLuminosity(user.luminosity - brightness_on) @@ -39,12 +39,12 @@ /obj/item/clothing/head/hardhat/orange icon_state = "hardhat0_orange" item_state = "hardhat0_orange" - color = "orange" + _color = "orange" /obj/item/clothing/head/hardhat/red icon_state = "hardhat0_red" item_state = "hardhat0_red" - color = "red" + _color = "red" name = "firefighter helmet" flags = FPRINT | TABLEPASS | STOPSPRESSUREDMAGE heat_protection = HEAD @@ -53,7 +53,7 @@ /obj/item/clothing/head/hardhat/white icon_state = "hardhat0_white" item_state = "hardhat0_white" - color = "white" + _color = "white" flags = FPRINT | TABLEPASS | STOPSPRESSUREDMAGE heat_protection = HEAD max_heat_protection_temperature = FIRE_HELMET_MAX_HEAT_PROTECITON_TEMPERATURE @@ -61,5 +61,5 @@ /obj/item/clothing/head/hardhat/dblue icon_state = "hardhat0_dblue" item_state = "hardhat0_dblue" - color = "dblue" + _color = "dblue" diff --git a/code/modules/clothing/head/misc_special.dm b/code/modules/clothing/head/misc_special.dm index 1e9f6d4f89a..4b39a1d3807 100644 --- a/code/modules/clothing/head/misc_special.dm +++ b/code/modules/clothing/head/misc_special.dm @@ -120,7 +120,7 @@ desc = "A jack o' lantern! Believed to ward off evil spirits." icon_state = "hardhat0_pumpkin"//Could stand to be renamed item_state = "hardhat0_pumpkin" - color = "pumpkin" + _color = "pumpkin" flags = FPRINT | TABLEPASS | HEADCOVERSEYES | HEADCOVERSMOUTH | BLOCKHAIR flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE var/brightness_on = 2 //luminosity when on @@ -131,8 +131,8 @@ user << "You cannot turn the light on while in this [user.loc]" //To prevent some lighting anomalities. return on = !on - icon_state = "hardhat[on]_[color]" - item_state = "hardhat[on]_[color]" + icon_state = "hardhat[on]_[_color]" + item_state = "hardhat[on]_[_color]" if(on) user.SetLuminosity(user.luminosity + brightness_on) else user.SetLuminosity(user.luminosity - brightness_on) diff --git a/code/modules/clothing/head/soft_caps.dm b/code/modules/clothing/head/soft_caps.dm index 75857f3345a..38d640b8fca 100644 --- a/code/modules/clothing/head/soft_caps.dm +++ b/code/modules/clothing/head/soft_caps.dm @@ -4,12 +4,12 @@ icon_state = "cargosoft" flags = FPRINT|TABLEPASS|HEADCOVERSEYES item_state = "helmet" - color = "cargo" + _color = "cargo" var/flipped = 0 siemens_coefficient = 0.9 dropped() - src.icon_state = "[color]soft" + src.icon_state = "[_color]soft" src.flipped=0 ..() @@ -20,10 +20,10 @@ if(usr.canmove && !usr.stat && !usr.restrained()) src.flipped = !src.flipped if(src.flipped) - icon_state = "[color]soft_flipped" + icon_state = "[_color]soft_flipped" usr << "You flip the hat backwards." else - icon_state = "[color]soft" + icon_state = "[_color]soft" usr << "You flip the hat back in normal position." usr.update_inv_head() //so our mob-overlays update @@ -31,64 +31,64 @@ name = "red cap" desc = "It's a baseball hat in a tasteless red colour." icon_state = "redsoft" - color = "red" + _color = "red" /obj/item/clothing/head/soft/blue name = "blue cap" desc = "It's a baseball hat in a tasteless blue colour." icon_state = "bluesoft" - color = "blue" + _color = "blue" /obj/item/clothing/head/soft/green name = "green cap" desc = "It's a baseball hat in a tasteless green colour." icon_state = "greensoft" - color = "green" + _color = "green" /obj/item/clothing/head/soft/yellow name = "yellow cap" desc = "It's a baseball hat in a tasteless yellow colour." icon_state = "yellowsoft" - color = "yellow" + _color = "yellow" /obj/item/clothing/head/soft/grey name = "grey cap" desc = "It's a baseball hat in a tasteful grey colour." icon_state = "greysoft" - color = "grey" + _color = "grey" /obj/item/clothing/head/soft/orange name = "orange cap" desc = "It's a baseball hat in a tasteless orange colour." icon_state = "orangesoft" - color = "orange" + _color = "orange" /obj/item/clothing/head/soft/mime name = "white cap" desc = "It's a baseball hat in a tasteless white colour." icon_state = "mimesoft" - color = "mime" + _color = "mime" /obj/item/clothing/head/soft/purple name = "purple cap" desc = "It's a baseball hat in a tasteless purple colour." icon_state = "purplesoft" - color = "purple" + _color = "purple" /obj/item/clothing/head/soft/rainbow name = "rainbow cap" desc = "It's a baseball hat in a bright rainbow of colors." icon_state = "rainbowsoft" - color = "rainbow" + _color = "rainbow" /obj/item/clothing/head/soft/sec name = "security cap" desc = "It's baseball hat in tasteful red colour." icon_state = "secsoft" - color = "sec" + _color = "sec" /obj/item/clothing/head/soft/sec/corp name = "corporate security cap" desc = "It's baseball hat in corpotate colours." icon_state = "corpsoft" - color = "corp" \ No newline at end of file + _color = "corp" \ No newline at end of file diff --git a/code/modules/clothing/shoes/colour.dm b/code/modules/clothing/shoes/colour.dm index 4ad3d51ffb3..534542d5c21 100644 --- a/code/modules/clothing/shoes/colour.dm +++ b/code/modules/clothing/shoes/colour.dm @@ -1,7 +1,7 @@ /obj/item/clothing/shoes/black name = "black shoes" icon_state = "black" - color = "black" + _color = "black" desc = "A pair of black shoes." cold_protection = FEET @@ -10,80 +10,80 @@ max_heat_protection_temperature = SHOE_MAX_HEAT_PROTECITON_TEMPERATURE redcoat - color = "redcoat" //Exists for washing machines. Is not different from black shoes in any way. + _color = "redcoat" //Exists for washing machines. Is not different from black shoes in any way. /obj/item/clothing/shoes/brown name = "brown shoes" desc = "A pair of brown shoes." icon_state = "brown" - color = "brown" + _color = "brown" captain - color = "captain" //Exists for washing machines. Is not different from brown shoes in any way. + _color = "captain" //Exists for washing machines. Is not different from brown shoes in any way. hop - color = "hop" //Exists for washing machines. Is not different from brown shoes in any way. + _color = "hop" //Exists for washing machines. Is not different from brown shoes in any way. ce - color = "chief" //Exists for washing machines. Is not different from brown shoes in any way. + _color = "chief" //Exists for washing machines. Is not different from brown shoes in any way. rd - color = "director" //Exists for washing machines. Is not different from brown shoes in any way. + _color = "director" //Exists for washing machines. Is not different from brown shoes in any way. cmo - color = "medical" //Exists for washing machines. Is not different from brown shoes in any way. + _color = "medical" //Exists for washing machines. Is not different from brown shoes in any way. cmo - color = "cargo" //Exists for washing machines. Is not different from brown shoes in any way. + _color = "cargo" //Exists for washing machines. Is not different from brown shoes in any way. /obj/item/clothing/shoes/blue name = "blue shoes" icon_state = "blue" - color = "blue" + _color = "blue" /obj/item/clothing/shoes/green name = "green shoes" icon_state = "green" - color = "green" + _color = "green" /obj/item/clothing/shoes/yellow name = "yellow shoes" icon_state = "yellow" - color = "yellow" + _color = "yellow" /obj/item/clothing/shoes/purple name = "purple shoes" icon_state = "purple" - color = "purple" + _color = "purple" /obj/item/clothing/shoes/brown name = "brown shoes" icon_state = "brown" - color = "brown" + _color = "brown" /obj/item/clothing/shoes/red name = "red shoes" desc = "Stylish red shoes." icon_state = "red" - color = "red" + _color = "red" /obj/item/clothing/shoes/white name = "white shoes" icon_state = "white" permeability_coefficient = 0.01 - color = "white" + _color = "white" /obj/item/clothing/shoes/leather name = "leather shoes" desc = "A sturdy pair of leather shoes." icon_state = "leather" - color = "leather" + _color = "leather" /obj/item/clothing/shoes/rainbow name = "rainbow shoes" desc = "Very gay shoes." icon_state = "rain_bow" - color = "rainbow" + _color = "rainbow" /obj/item/clothing/shoes/orange name = "orange shoes" icon_state = "orange" - color = "orange" + _color = "orange" /obj/item/clothing/shoes/orange/attack_self(mob/user as mob) if (src.chained) diff --git a/code/modules/clothing/shoes/miscellaneous.dm b/code/modules/clothing/shoes/miscellaneous.dm index 9ef24678254..e8e9b81333f 100644 --- a/code/modules/clothing/shoes/miscellaneous.dm +++ b/code/modules/clothing/shoes/miscellaneous.dm @@ -13,7 +13,7 @@ /obj/item/clothing/shoes/mime name = "mime shoes" icon_state = "mime" - color = "mime" + _color = "mime" /obj/item/clothing/shoes/swat name = "\improper SWAT shoes" @@ -77,7 +77,7 @@ icon_state = "clown" item_state = "clown_shoes" slowdown = SHOES_SLOWDOWN+1 - color = "clown" + _color = "clown" var/footstep = 1 //used for squeeks whilst walking species_restricted = null @@ -86,7 +86,7 @@ desc = "Nanotrasen-issue Security combat boots for combat scenarios or combat situations. All combat, all the time." icon_state = "jackboots" item_state = "jackboots" - color = "hosred" + _color = "hosred" siemens_coefficient = 0.7 /obj/item/clothing/shoes/cult @@ -94,7 +94,7 @@ desc = "A pair of boots worn by the followers of Nar-Sie." icon_state = "cult" item_state = "cult" - color = "cult" + _color = "cult" siemens_coefficient = 0.7 cold_protection = FEET diff --git a/code/modules/clothing/spacesuits/alien.dm b/code/modules/clothing/spacesuits/alien.dm index a1247457934..cf03526dbe3 100644 --- a/code/modules/clothing/spacesuits/alien.dm +++ b/code/modules/clothing/spacesuits/alien.dm @@ -3,14 +3,14 @@ desc = "A special helmet designed for work in a hazardous, low-pressure environment. Has radiation shielding. This one doesn't look like it was made for humans." icon_state = "rig0-taj-helmet" item_state = "rig0-taj-helmet" - color = "taj-helmet" + _color = "taj-helmet" species_restricted = list("Tajaran") /obj/item/clothing/suit/space/rig/tajara desc = "A special suit that protects against hazardous, low pressure environments. Has radiation shielding. This one doesn't look like it was made for humans." icon_state = "rig-taj" item_state = "rig-taj" - color = "rig-taj" + _color = "rig-taj" species_restricted = list("Tajaran") //Skrell space gear. Sleek like a wetsuit. @@ -25,12 +25,12 @@ /obj/item/clothing/head/helmet/space/skrell/white icon_state = "skrell_helmet_white" item_state = "skrell_helmet_white" - color = "skrell_helmet_white" + _color = "skrell_helmet_white" /obj/item/clothing/head/helmet/space/skrell/black icon_state = "skrell_helmet_black" item_state = "skrell_helmet_black" - color = "skrell_helmet_black" + _color = "skrell_helmet_black" /obj/item/clothing/suit/space/skrell name = "Skrellian hardsuit" @@ -44,12 +44,12 @@ /obj/item/clothing/suit/space/skrell/white icon_state = "skrell_suit_white" item_state = "skrell_suit_white" - color = "skrell_suit_white" + _color = "skrell_suit_white" /obj/item/clothing/suit/space/skrell/black icon_state = "skrell_suit_black" item_state = "skrell_suit_black" - color = "skrell_suit_black" + _color = "skrell_suit_black" //Unathi space gear. Huge and restrictive. @@ -65,7 +65,7 @@ desc = "Hey! Watch it with that thing! It's a knock-off of a Unathi battle-helm, and that spike could put someone's eye out." icon_state = "unathi_helm_cheap" item_state = "unathi_helm_cheap" - color = "unathi_helm_cheap" + _color = "unathi_helm_cheap" /obj/item/clothing/suit/space/unathi armor = list(melee = 40, bullet = 30, laser = 30,energy = 15, bomb = 35, bio = 100, rad = 50) @@ -86,14 +86,14 @@ desc = "Weathered, ancient and battle-scarred. The helmet is too." icon_state = "unathi_breacher" item_state = "unathi_breacher" - color = "unathi_breacher" + _color = "unathi_breacher" /obj/item/clothing/suit/space/unathi/breacher name = "breacher chassis" desc = "Huge, bulky and absurdly heavy. It must be like wearing a tank." icon_state = "unathi_breacher" item_state = "unathi_breacher" - color = "unathi_breacher" + _color = "unathi_breacher" slowdown = 1 // Vox space gear (vaccuum suit, low pressure armour) @@ -169,14 +169,14 @@ name = "alien clothing" desc = "This doesn't look very comfortable." icon_state = "vox-casual-1" - color = "vox-casual-1" + _color = "vox-casual-1" item_state = "vox-casual-1" /obj/item/clothing/under/vox/vox_robes name = "alien robes" desc = "Weird and flowing!" icon_state = "vox-casual-2" - color = "vox-casual-2" + _color = "vox-casual-2" item_state = "vox-casual-2" /obj/item/clothing/gloves/yellow/vox @@ -186,7 +186,7 @@ item_state = "gloves-vox" siemens_coefficient = 0 permeability_coefficient = 0.05 - color="gloves-vox" + _color="gloves-vox" species_restricted = list("Vox") /obj/item/clothing/shoes/magboots/vox diff --git a/code/modules/clothing/spacesuits/ert.dm b/code/modules/clothing/spacesuits/ert.dm index c3a669f46a8..416282105cb 100644 --- a/code/modules/clothing/spacesuits/ert.dm +++ b/code/modules/clothing/spacesuits/ert.dm @@ -43,7 +43,7 @@ desc = "A helmet worn by the commander of a NanoTrasen Emergency Response Team. Has blue highlights. Armoured and space ready." icon_state = "rig0-ert_commander" item_state = "helm-command" - color = "ert_commander" + _color = "ert_commander" /obj/item/clothing/suit/space/rig/ert/commander name = "emergency response team commander suit" @@ -57,7 +57,7 @@ desc = "A helmet worn by security members of a NanoTrasen Emergency Response Team. Has red highlights. Armoured and space ready." icon_state = "rig0-ert_security" item_state = "syndicate-helm-black-red" - color = "ert_security" + _color = "ert_security" /obj/item/clothing/suit/space/rig/ert/security name = "emergency response team security suit" @@ -70,7 +70,7 @@ name = "emergency response team engineer helmet" desc = "A helmet worn by engineering members of a NanoTrasen Emergency Response Team. Has blue highlights. Armoured and space ready." icon_state = "rig0-ert_engineer" - color = "ert_engineer" + _color = "ert_engineer" /obj/item/clothing/suit/space/rig/ert/engineer name = "emergency response team engineer suit" @@ -82,7 +82,7 @@ name = "emergency response team medical helmet" desc = "A helmet worn by medical members of a NanoTrasen Emergency Response Team. Has white highlights. Armoured and space ready." icon_state = "rig0-ert_medical" - color = "ert_medical" + _color = "ert_medical" /obj/item/clothing/suit/space/rig/ert/medical name = "emergency response team medical suit" diff --git a/code/modules/clothing/spacesuits/rig.dm b/code/modules/clothing/spacesuits/rig.dm index c7f46569b4b..55ba6af4a1c 100644 --- a/code/modules/clothing/spacesuits/rig.dm +++ b/code/modules/clothing/spacesuits/rig.dm @@ -39,7 +39,7 @@ allowed = list(/obj/item/device/flashlight) var/brightness_on = 4 //luminosity when on var/on = 0 - color = "engineering" //Determines used sprites: rig[on]-[color] and rig[on]-[color]2 (lying down sprite) + _color = "engineering" //Determines used sprites: rig[on]-[color] and rig[on]-[color]2 (lying down sprite) icon_action_button = "action_hardhat" heat_protection = HEAD max_heat_protection_temperature = SPACE_SUIT_MAX_HEAT_PROTECITON_TEMPERATURE @@ -50,7 +50,7 @@ user << "You cannot turn the light on while in this [user.loc]" //To prevent some lighting anomalities. return on = !on - icon_state = "rig[on]-[color]" + icon_state = "rig[on]-[_color]" // item_state = "rig[on]-[color]" if(on) user.SetLuminosity(user.luminosity + brightness_on) @@ -86,7 +86,7 @@ desc = "An advanced helmet designed for work in a hazardous, low pressure environment. Shines with a high polish." icon_state = "rig0-white" item_state = "ce_helm" - color = "white" + _color = "white" /obj/item/clothing/suit/space/rig/elite icon_state = "rig-white" @@ -101,7 +101,7 @@ desc = "A special helmet designed for work in a hazardous, low pressure environment. Has reinforced plating." icon_state = "rig0-mining" item_state = "mining_helm" - color = "mining" + _color = "mining" /obj/item/clothing/suit/space/rig/mining icon_state = "rig-mining" @@ -117,7 +117,7 @@ desc = "An advanced helmet designed for work in special operations. Property of Gorlex Marauders." icon_state = "rig0-syndi" item_state = "syndie_helm" - color = "syndi" + _color = "syndi" armor = list(melee = 60, bullet = 50, laser = 30,energy = 15, bomb = 35, bio = 100, rad = 60) siemens_coefficient = 0.6 var/obj/machinery/camera/camera @@ -155,7 +155,7 @@ desc = "A bizarre gem-encrusted helmet that radiates magical energies." icon_state = "rig0-wiz" item_state = "wiz_helm" - color = "wiz" + _color = "wiz" unacidable = 1 //No longer shall our kind be foiled by lone chemists with spray bottles! armor = list(melee = 40, bullet = 20, laser = 20,energy = 20, bomb = 35, bio = 100, rad = 60) siemens_coefficient = 0.7 @@ -178,7 +178,7 @@ desc = "A special helmet designed for work in a hazardous, low pressure environment. Has minor radiation shielding." icon_state = "rig0-medical" item_state = "medical_helm" - color = "medical" + _color = "medical" /obj/item/clothing/suit/space/rig/medical icon_state = "rig-medical" @@ -194,7 +194,7 @@ desc = "A special helmet designed for work in a hazardous, low pressure environment. Has an additional layer of armor." icon_state = "rig0-sec" item_state = "sec_helm" - color = "sec" + _color = "sec" armor = list(melee = 60, bullet = 10, laser = 30, energy = 5, bomb = 45, bio = 100, rad = 10) siemens_coefficient = 0.7 @@ -214,7 +214,7 @@ name = "atmospherics hardsuit helmet" icon_state = "rig0-atmos" item_state = "atmos_helm" - color = "atmos" + _color = "atmos" armor = list(melee = 40, bullet = 0, laser = 0, energy = 0, bomb = 25, bio = 100, rad = 0) max_heat_protection_temperature = FIRE_HELMET_MAX_HEAT_PROTECITON_TEMPERATURE diff --git a/code/modules/clothing/suits/miscellaneous.dm b/code/modules/clothing/suits/miscellaneous.dm index c3f1ce7aa4c..fe00efbb2c0 100644 --- a/code/modules/clothing/suits/miscellaneous.dm +++ b/code/modules/clothing/suits/miscellaneous.dm @@ -272,14 +272,14 @@ name = "pink swimsuit" desc = "A rather skimpy pink swimsuit." icon_state = "stripper_p_under" - color = "stripper_p" + _color = "stripper_p" siemens_coefficient = 1 /obj/item/clothing/under/stripper/stripper_green name = "green swimsuit" desc = "A rather skimpy green swimsuit." icon_state = "stripper_g_under" - color = "stripper_g" + _color = "stripper_g" siemens_coefficient = 1 /obj/item/clothing/suit/stripper/stripper_pink @@ -300,7 +300,7 @@ name = "the mankini" desc = "No honest man would wear this abomination" icon_state = "mankini" - color = "mankini" + _color = "mankini" siemens_coefficient = 1 /obj/item/clothing/suit/xenos @@ -319,33 +319,33 @@ name = "black swimsuit" desc = "An oldfashioned black swimsuit." icon_state = "swim_black" - color = "swim_black" + _color = "swim_black" siemens_coefficient = 1 /obj/item/clothing/under/swimsuit/blue name = "blue swimsuit" desc = "An oldfashioned blue swimsuit." icon_state = "swim_blue" - color = "swim_blue" + _color = "swim_blue" siemens_coefficient = 1 /obj/item/clothing/under/swimsuit/purple name = "purple swimsuit" desc = "An oldfashioned purple swimsuit." icon_state = "swim_purp" - color = "swim_purp" + _color = "swim_purp" siemens_coefficient = 1 /obj/item/clothing/under/swimsuit/green name = "green swimsuit" desc = "An oldfashioned green swimsuit." icon_state = "swim_green" - color = "swim_green" + _color = "swim_green" siemens_coefficient = 1 /obj/item/clothing/under/swimsuit/red name = "red swimsuit" desc = "An oldfashioned red swimsuit." icon_state = "swim_red" - color = "swim_red" + _color = "swim_red" siemens_coefficient = 1 diff --git a/code/modules/clothing/under/chameleon.dm b/code/modules/clothing/under/chameleon.dm index 5a3f34f5524..21147299397 100644 --- a/code/modules/clothing/under/chameleon.dm +++ b/code/modules/clothing/under/chameleon.dm @@ -3,7 +3,7 @@ name = "black jumpsuit" icon_state = "black" item_state = "bl_suit" - color = "black" + _color = "black" desc = "It's a plain jumpsuit. It seems to have a small dial on the wrist." origin_tech = "syndicate=3" siemens_coefficient = 0.8 @@ -38,11 +38,11 @@ name = "psychedelic" desc = "Groovy!" icon_state = "psyche" - color = "psyche" + _color = "psyche" spawn(200) name = "Black Jumpsuit" icon_state = "bl_suit" - color = "black" + _color = "black" desc = null ..() @@ -68,7 +68,7 @@ name = A.name icon_state = A.icon_state item_state = A.item_state - color = A.color + _color = A._color usr.update_inv_w_uniform() //so our overlays update. diff --git a/code/modules/clothing/under/color.dm b/code/modules/clothing/under/color.dm index 68b951798c7..3c19b19696f 100644 --- a/code/modules/clothing/under/color.dm +++ b/code/modules/clothing/under/color.dm @@ -2,7 +2,7 @@ name = "black jumpsuit" icon_state = "black" item_state = "bl_suit" - color = "black" + _color = "black" flags = FPRINT | TABLEPASS /obj/item/clothing/under/color/blackf @@ -10,27 +10,27 @@ desc = "It's very smart and in a ladies-size!" icon_state = "black" item_state = "bl_suit" - color = "blackf" + _color = "blackf" /obj/item/clothing/under/color/blue name = "blue jumpsuit" icon_state = "blue" item_state = "b_suit" - color = "blue" + _color = "blue" flags = FPRINT | TABLEPASS /obj/item/clothing/under/color/green name = "green jumpsuit" icon_state = "green" item_state = "g_suit" - color = "green" + _color = "green" flags = FPRINT | TABLEPASS /obj/item/clothing/under/color/grey name = "grey jumpsuit" icon_state = "grey" item_state = "gy_suit" - color = "grey" + _color = "grey" flags = FPRINT | TABLEPASS /obj/item/clothing/under/color/orange @@ -38,7 +38,7 @@ desc = "It's standardised Nanotrasen prisoner-wear. Its suit sensors are stuck in the \"Fully On\" position." icon_state = "orange" item_state = "o_suit" - color = "orange" + _color = "orange" has_sensor = 2 sensor_mode = 3 flags = FPRINT | TABLEPASS @@ -47,47 +47,47 @@ name = "pink jumpsuit" icon_state = "pink" item_state = "p_suit" - color = "pink" + _color = "pink" flags = FPRINT | TABLEPASS /obj/item/clothing/under/color/red name = "red jumpsuit" icon_state = "red" item_state = "r_suit" - color = "red" + _color = "red" flags = FPRINT | TABLEPASS /obj/item/clothing/under/color/white name = "white jumpsuit" icon_state = "white" item_state = "w_suit" - color = "white" + _color = "white" flags = FPRINT | TABLEPASS /obj/item/clothing/under/color/yellow name = "yellow jumpsuit" icon_state = "yellow" item_state = "y_suit" - color = "yellow" + _color = "yellow" flags = FPRINT | TABLEPASS /obj/item/clothing/under/psyche name = "psychedelic" desc = "Groovy!" icon_state = "psyche" - color = "psyche" + _color = "psyche" /obj/item/clothing/under/lightblue name = "lightblue" desc = "lightblue" icon_state = "lightblue" - color = "lightblue" + _color = "lightblue" /obj/item/clothing/under/aqua name = "aqua" desc = "aqua" icon_state = "aqua" - color = "aqua" + _color = "aqua" flags = FPRINT | TABLEPASS /obj/item/clothing/under/purple @@ -95,62 +95,62 @@ desc = "purple" icon_state = "purple" item_state = "p_suit" - color = "purple" + _color = "purple" /obj/item/clothing/under/lightpurple name = "lightpurple" desc = "lightpurple" icon_state = "lightpurple" - color = "lightpurple" + _color = "lightpurple" /obj/item/clothing/under/lightgreen name = "lightgreen" desc = "lightgreen" icon_state = "lightgreen" - color = "lightgreen" + _color = "lightgreen" /obj/item/clothing/under/lightblue name = "lightblue" desc = "lightblue" icon_state = "lightblue" - color = "lightblue" + _color = "lightblue" /obj/item/clothing/under/lightbrown name = "lightbrown" desc = "lightbrown" icon_state = "lightbrown" - color = "lightbrown" + _color = "lightbrown" flags = FPRINT | TABLEPASS /obj/item/clothing/under/brown name = "brown" desc = "brown" icon_state = "brown" - color = "brown" + _color = "brown" flags = FPRINT | TABLEPASS /obj/item/clothing/under/yellowgreen name = "yellowgreen" desc = "yellowgreen" icon_state = "yellowgreen" - color = "yellowgreen" + _color = "yellowgreen" /obj/item/clothing/under/darkblue name = "darkblue" desc = "darkblue" icon_state = "darkblue" - color = "darkblue" + _color = "darkblue" flags = FPRINT | TABLEPASS /obj/item/clothing/under/lightred name = "lightred" desc = "lightred" icon_state = "lightred" - color = "lightred" + _color = "lightred" /obj/item/clothing/under/darkred name = "darkred" desc = "darkred" icon_state = "darkred" - color = "darkred" + _color = "darkred" flags = FPRINT | TABLEPASS \ No newline at end of file diff --git a/code/modules/clothing/under/jobs/civilian.dm b/code/modules/clothing/under/jobs/civilian.dm index a5bd53d960c..f3cd86c3d5d 100644 --- a/code/modules/clothing/under/jobs/civilian.dm +++ b/code/modules/clothing/under/jobs/civilian.dm @@ -5,7 +5,7 @@ name = "bartender's uniform" icon_state = "ba_suit" item_state = "ba_suit" - color = "ba_suit" + _color = "ba_suit" flags = FPRINT | TABLEPASS @@ -14,7 +14,7 @@ name = "captain's jumpsuit" icon_state = "captain" item_state = "caparmor" - color = "captain" + _color = "captain" flags = FPRINT | TABLEPASS @@ -23,7 +23,7 @@ desc = "It's a jumpsuit worn by the quartermaster. It's specially designed to prevent back injuries caused by pushing paper." icon_state = "qm" item_state = "lb_suit" - color = "qm" + _color = "qm" /obj/item/clothing/under/rank/cargotech @@ -31,7 +31,7 @@ desc = "Shooooorts! They're comfy and easy to wear!" icon_state = "cargotech" item_state = "lb_suit" - color = "cargo" + _color = "cargo" flags = FPRINT | TABLEPASS @@ -40,7 +40,7 @@ name = "chaplain's jumpsuit" icon_state = "chaplain" item_state = "bl_suit" - color = "chapblack" + _color = "chapblack" flags = FPRINT | TABLEPASS @@ -48,7 +48,7 @@ desc = "It's an apron which is given only to the most hardcore chefs in space." name = "chef's uniform" icon_state = "chef" - color = "chef" + _color = "chef" flags = FPRINT | TABLEPASS @@ -57,7 +57,7 @@ desc = "'HONK!'" icon_state = "clown" item_state = "clown" - color = "clown" + _color = "clown" flags = FPRINT | TABLEPASS @@ -66,7 +66,7 @@ name = "head of personnel's jumpsuit" icon_state = "hop" item_state = "b_suit" - color = "hop" + _color = "hop" flags = FPRINT | TABLEPASS /obj/item/clothing/under/rank/head_of_personnel_whimsy @@ -74,7 +74,7 @@ name = "head of personnel's suit" icon_state = "hopwhimsy" item_state = "hopwhimsy" - color = "hopwhimsy" + _color = "hopwhimsy" flags = FPRINT | TABLEPASS @@ -83,7 +83,7 @@ name = "botanist's jumpsuit" icon_state = "hydroponics" item_state = "g_suit" - color = "hydroponics" + _color = "hydroponics" permeability_coefficient = 0.50 flags = FPRINT | TABLEPASS @@ -93,7 +93,7 @@ name = "Internal Affairs uniform" icon_state = "internalaffairs" item_state = "internalaffairs" - color = "internalaffairs" + _color = "internalaffairs" flags = FPRINT | TABLEPASS @@ -101,7 +101,7 @@ desc = "It's the official uniform of the station's janitor. It has minor protection from biohazards." name = "janitor's jumpsuit" icon_state = "janitor" - color = "janitor" + _color = "janitor" armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) flags = FPRINT | TABLEPASS @@ -115,25 +115,25 @@ /obj/item/clothing/under/lawyer/black icon_state = "lawyer_black" item_state = "lawyer_black" - color = "lawyer_black" + _color = "lawyer_black" /obj/item/clothing/under/lawyer/female icon_state = "black_suit_fem" item_state = "black_suit_fem" - color = "black_suit_fem" + _color = "black_suit_fem" /obj/item/clothing/under/lawyer/red icon_state = "lawyer_red" item_state = "lawyer_red" - color = "lawyer_red" + _color = "lawyer_red" /obj/item/clothing/under/lawyer/blue icon_state = "lawyer_blue" item_state = "lawyer_blue" - color = "lawyer_blue" + _color = "lawyer_blue" /obj/item/clothing/under/lawyer/bluesuit @@ -141,21 +141,21 @@ desc = "A classy suit and tie" icon_state = "bluesuit" item_state = "bluesuit" - color = "bluesuit" + _color = "bluesuit" /obj/item/clothing/under/lawyer/purpsuit name = "Purple Suit" icon_state = "lawyer_purp" item_state = "lawyer_purp" - color = "lawyer_purp" + _color = "lawyer_purp" /obj/item/clothing/under/lawyer/oldman name = "Old Man's Suit" desc = "A classic suit for the older gentleman with built in back support." icon_state = "oldman" item_state = "oldman" - color = "oldman" + _color = "oldman" /obj/item/clothing/under/librarian @@ -163,14 +163,14 @@ desc = "It's very... sensible." icon_state = "red_suit" item_state = "red_suit" - color = "red_suit" + _color = "red_suit" /obj/item/clothing/under/mime name = "mime's outfit" desc = "It's not very colourful." icon_state = "mime" item_state = "mime" - color = "mime" + _color = "mime" flags = FPRINT | TABLEPASS /obj/item/clothing/under/rank/miner @@ -178,4 +178,4 @@ name = "shaft miner's jumpsuit" icon_state = "miner" item_state = "miner" - color = "miner" \ No newline at end of file + _color = "miner" \ No newline at end of file diff --git a/code/modules/clothing/under/jobs/engineering.dm b/code/modules/clothing/under/jobs/engineering.dm index fd9b41d33ae..fac888f31ca 100644 --- a/code/modules/clothing/under/jobs/engineering.dm +++ b/code/modules/clothing/under/jobs/engineering.dm @@ -4,7 +4,7 @@ name = "chief engineer's jumpsuit" icon_state = "chiefengineer" item_state = "g_suit" - color = "chief" + _color = "chief" armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 10) flags = FPRINT | TABLEPASS @@ -13,7 +13,7 @@ name = "atmospheric technician's jumpsuit" icon_state = "atmos" item_state = "atmos_suit" - color = "atmos" + _color = "atmos" flags = FPRINT | TABLEPASS /obj/item/clothing/under/rank/engineer @@ -21,7 +21,7 @@ name = "engineer's jumpsuit" icon_state = "engine" item_state = "engi_suit" - color = "engine" + _color = "engine" armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 10) flags = FPRINT | TABLEPASS @@ -30,4 +30,4 @@ name = "roboticist's jumpsuit" icon_state = "robotics" item_state = "robotics" - color = "robotics" \ No newline at end of file + _color = "robotics" \ No newline at end of file diff --git a/code/modules/clothing/under/jobs/medsci.dm b/code/modules/clothing/under/jobs/medsci.dm index 7d1a7038c19..e525af666f9 100644 --- a/code/modules/clothing/under/jobs/medsci.dm +++ b/code/modules/clothing/under/jobs/medsci.dm @@ -6,7 +6,7 @@ name = "research director's jumpsuit" icon_state = "director" item_state = "g_suit" - color = "director" + _color = "director" armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) flags = FPRINT | TABLEPASS @@ -15,7 +15,7 @@ name = "scientist's jumpsuit" icon_state = "toxins" item_state = "w_suit" - color = "toxinswhite" + _color = "toxinswhite" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 10, bio = 0, rad = 0) flags = FPRINT | TABLEPASS @@ -26,7 +26,7 @@ name = "chemist's jumpsuit" icon_state = "chemistry" item_state = "w_suit" - color = "chemistrywhite" + _color = "chemistrywhite" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -38,7 +38,7 @@ name = "chief medical officer's jumpsuit" icon_state = "cmo" item_state = "w_suit" - color = "cmo" + _color = "cmo" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -47,7 +47,7 @@ name = "geneticist's jumpsuit" icon_state = "genetics" item_state = "w_suit" - color = "geneticswhite" + _color = "geneticswhite" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) flags = FPRINT | TABLEPASS @@ -57,7 +57,7 @@ name = "virologist's jumpsuit" icon_state = "virology" item_state = "w_suit" - color = "virologywhite" + _color = "virologywhite" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -66,7 +66,7 @@ name = "nurse's suit" icon_state = "nursesuit" item_state = "nursesuit" - color = "nursesuit" + _color = "nursesuit" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -75,7 +75,7 @@ name = "nurse's dress" icon_state = "nurse" item_state = "nurse" - color = "nurse" + _color = "nurse" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -84,7 +84,7 @@ name = "orderly's uniform" icon_state = "orderly" item_state = "orderly" - color = "orderly" + _color = "orderly" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -93,7 +93,7 @@ name = "medical doctor's jumpsuit" icon_state = "medical" item_state = "w_suit" - color = "medical" + _color = "medical" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) flags = FPRINT | TABLEPASS @@ -102,21 +102,21 @@ name = "medical scrubs" desc = "It's made of a special fiber that provides minor protection against biohazards. This one is in baby blue." icon_state = "scrubsblue" - color = "scrubsblue" + _color = "scrubsblue" flags = FPRINT | TABLEPASS /obj/item/clothing/under/rank/medical/green name = "medical scrubs" desc = "It's made of a special fiber that provides minor protection against biohazards. This one is in dark green." icon_state = "scrubsgreen" - color = "scrubsgreen" + _color = "scrubsgreen" flags = FPRINT | TABLEPASS /obj/item/clothing/under/rank/medical/purple name = "medical scrubs" desc = "It's made of a special fiber that provides minor protection against biohazards. This one is in deep purple." icon_state = "scrubspurple" - color = "scrubspurple" + _color = "scrubspurple" flags = FPRINT | TABLEPASS @@ -130,7 +130,7 @@ name = "geneticist's jumpsuit" icon_state = "genetics_new" item_state = "w_suit" - color = "genetics_new" + _color = "genetics_new" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -139,7 +139,7 @@ name = "chemist's jumpsuit" icon_state = "chemist_new" item_state = "w_suit" - color = "chemist_new" + _color = "chemist_new" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -148,7 +148,7 @@ name = "scientist's jumpsuit" icon_state = "scientist_new" item_state = "w_suit" - color = "scientist_new" + _color = "scientist_new" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 10, bio = 0, rad = 0) @@ -157,6 +157,6 @@ name = "virologist's jumpsuit" icon_state = "virologist_new" item_state = "w_suit" - color = "virologist_new" + _color = "virologist_new" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) \ No newline at end of file diff --git a/code/modules/clothing/under/jobs/security.dm b/code/modules/clothing/under/jobs/security.dm index 510fbac9a70..33f3635a38e 100644 --- a/code/modules/clothing/under/jobs/security.dm +++ b/code/modules/clothing/under/jobs/security.dm @@ -13,7 +13,7 @@ name = "warden's jumpsuit" icon_state = "warden" item_state = "r_suit" - color = "warden" + _color = "warden" armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) flags = FPRINT | TABLEPASS siemens_coefficient = 0.9 @@ -23,7 +23,7 @@ desc = "It's made of a slightly sturdier material than standard jumpsuits, to allow for robust protection." icon_state = "security" item_state = "r_suit" - color = "secred" + _color = "secred" armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) flags = FPRINT | TABLEPASS siemens_coefficient = 0.9 @@ -33,7 +33,7 @@ desc = "A dress shirt and khakis with a security patch sewn on." icon_state = "dispatch" item_state = "dispatch" - color = "dispatch" + _color = "dispatch" armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) flags = FPRINT | TABLEPASS siemens_coefficient = 0.9 @@ -43,7 +43,7 @@ desc = "It's made of a slightly sturdier material, to allow for robust protection." icon_state = "redshirt2" item_state = "r_suit" - color = "redshirt2" + _color = "redshirt2" armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) flags = FPRINT | TABLEPASS siemens_coefficient = 0.9 @@ -51,12 +51,12 @@ /obj/item/clothing/under/rank/security/corp icon_state = "sec_corporate" item_state = "sec_corporate" - color = "sec_corporate" + _color = "sec_corporate" /obj/item/clothing/under/rank/warden/corp icon_state = "warden_corporate" item_state = "warden_corporate" - color = "warden_corporate" + _color = "warden_corporate" /* * Detective @@ -66,7 +66,7 @@ desc = "Someone who wears this means business." icon_state = "detective" item_state = "det" - color = "detective" + _color = "detective" armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) flags = FPRINT | TABLEPASS siemens_coefficient = 0.9 @@ -88,7 +88,7 @@ name = "head of security's jumpsuit" icon_state = "hos" item_state = "r_suit" - color = "hosred" + _color = "hosred" armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) flags = FPRINT | TABLEPASS siemens_coefficient = 0.8 @@ -96,7 +96,7 @@ /obj/item/clothing/under/rank/head_of_security/corp icon_state = "hos_corporate" item_state = "hos_corporate" - color = "hos_corporate" + _color = "hos_corporate" /obj/item/clothing/head/helmet/HoS name = "Head of Security Hat" @@ -132,7 +132,7 @@ name = "head of security's jumpsuit" icon_state = "jensen" item_state = "jensen" - color = "jensen" + _color = "jensen" siemens_coefficient = 0.6 /obj/item/clothing/suit/armor/hos/jensen diff --git a/code/modules/clothing/under/miscellaneous.dm b/code/modules/clothing/under/miscellaneous.dm index 7247fa7408b..c6d65b7aa0a 100644 --- a/code/modules/clothing/under/miscellaneous.dm +++ b/code/modules/clothing/under/miscellaneous.dm @@ -2,14 +2,14 @@ name = "red pj's" desc = "Sleepwear." icon_state = "red_pyjamas" - color = "red_pyjamas" + _color = "red_pyjamas" item_state = "w_suit" /obj/item/clothing/under/pj/blue name = "blue pj's" desc = "Sleepwear." icon_state = "blue_pyjamas" - color = "blue_pyjamas" + _color = "blue_pyjamas" item_state = "w_suit" /obj/item/clothing/under/captain_fly @@ -17,20 +17,20 @@ desc = "For the man who doesn't care because he's still free." icon_state = "captain_fly" item_state = "captain_fly" - color = "captain_fly" + _color = "captain_fly" /obj/item/clothing/under/scratch name = "white suit" desc = "A white suit, suitable for an excellent host" icon_state = "scratch" item_state = "scratch" - color = "scratch" + _color = "scratch" /obj/item/clothing/under/sl_suit desc = "It's a very amish looking suit." name = "amish suit" icon_state = "sl_suit" - color = "sl_suit" + _color = "sl_suit" flags = FPRINT | TABLEPASS /obj/item/clothing/under/waiter @@ -38,7 +38,7 @@ desc = "It's a very smart uniform with a special pocket for tip." icon_state = "waiter" item_state = "waiter" - color = "waiter" + _color = "waiter" flags = FPRINT | TABLEPASS /obj/item/clothing/under/rank/mailman @@ -46,42 +46,42 @@ desc = "'Special delivery!'" icon_state = "mailman" item_state = "b_suit" - color = "mailman" + _color = "mailman" /obj/item/clothing/under/sexyclown name = "sexy-clown suit" desc = "It makes you look HONKable!" icon_state = "sexyclown" item_state = "sexyclown" - color = "sexyclown" + _color = "sexyclown" /obj/item/clothing/under/rank/vice name = "vice officer's jumpsuit" desc = "It's the standard issue pretty-boy outfit, as seen on Holo-Vision." icon_state = "vice" item_state = "gy_suit" - color = "vice" + _color = "vice" /obj/item/clothing/under/rank/centcom_officer desc = "It's a jumpsuit worn by CentCom Officers." name = "\improper CentCom officer's jumpsuit" icon_state = "officer" item_state = "g_suit" - color = "officer" + _color = "officer" /obj/item/clothing/under/rank/centcom_commander desc = "It's a jumpsuit worn by CentCom's highest-tier Commanders." name = "\improper CentCom officer's jumpsuit" icon_state = "centcom" item_state = "dg_suit" - color = "centcom" + _color = "centcom" /obj/item/clothing/under/space name = "\improper NASA jumpsuit" desc = "It has a NASA logo on it and is made of space-proofed materials." icon_state = "black" item_state = "bl_suit" - color = "black" + _color = "black" w_class = 4//bulky item gas_transfer_coefficient = 0.01 permeability_coefficient = 0.02 @@ -94,7 +94,7 @@ name = "administrative cybernetic jumpsuit" icon_state = "syndicate" item_state = "bl_suit" - color = "syndicate" + _color = "syndicate" desc = "it's a cybernetically enhanced jumpsuit used for administrative duties." gas_transfer_coefficient = 0.01 permeability_coefficient = 0.01 @@ -109,82 +109,82 @@ name = "owl uniform" desc = "A jumpsuit with owl wings. Photorealistic owl feathers! Twooooo!" icon_state = "owl" - color = "owl" + _color = "owl" flags = FPRINT | TABLEPASS /obj/item/clothing/under/johnny name = "johnny~~ jumpsuit" desc = "Johnny~~" icon_state = "johnny" - color = "johnny" + _color = "johnny" /obj/item/clothing/under/rainbow name = "rainbow" desc = "rainbow" icon_state = "rainbow" item_state = "rainbow" - color = "rainbow" + _color = "rainbow" /obj/item/clothing/under/cloud name = "cloud" desc = "cloud" icon_state = "cloud" - color = "cloud" + _color = "cloud" /obj/item/clothing/under/psysuit name = "dark undersuit" desc = "A thick, layered grey undersuit lined with power cables. Feels a little like wearing an electrical storm." icon_state = "psysuit" item_state = "psysuit" - color = "psysuit" + _color = "psysuit" /obj/item/clothing/under/gimmick/rank/captain/suit name = "captain's suit" desc = "A green suit and yellow necktie. Exemplifies authority." icon_state = "green_suit" item_state = "dg_suit" - color = "green_suit" + _color = "green_suit" /obj/item/clothing/under/gimmick/rank/head_of_personnel/suit name = "head of personnel's suit" desc = "A teal suit and yellow necktie. An authoritative yet tacky ensemble." icon_state = "teal_suit" item_state = "g_suit" - color = "teal_suit" + _color = "teal_suit" /obj/item/clothing/under/suit_jacket name = "black suit" desc = "A black suit and red tie. Very formal." icon_state = "black_suit" item_state = "bl_suit" - color = "black_suit" + _color = "black_suit" /obj/item/clothing/under/suit_jacket/really_black name = "executive suit" desc = "A formal black suit and red tie, intended for the station's finest." icon_state = "really_black_suit" item_state = "bl_suit" - color = "black_suit" + _color = "black_suit" /obj/item/clothing/under/suit_jacket/female name = "executive suit" desc = "A formal trouser suit for women, intended for the station's finest." icon_state = "black_suit_fem" item_state = "black_suit_fem" - color = "black_suit_fem" + _color = "black_suit_fem" /obj/item/clothing/under/suit_jacket/red name = "red suit" desc = "A red suit and blue tie. Somewhat formal." icon_state = "red_suit" item_state = "r_suit" - color = "red_suit" + _color = "red_suit" /obj/item/clothing/under/blackskirt name = "black skirt" desc = "A black skirt, very fancy!" icon_state = "blackskirt" - color = "blackskirt" + _color = "blackskirt" body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS /obj/item/clothing/under/schoolgirl @@ -192,7 +192,7 @@ desc = "It's just like one of my Japanese animes!" icon_state = "schoolgirl" item_state = "schoolgirl" - color = "schoolgirl" + _color = "schoolgirl" body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS /obj/item/clothing/under/overalls @@ -200,35 +200,35 @@ desc = "A set of durable overalls for getting the job done." icon_state = "overalls" item_state = "lb_suit" - color = "overalls" + _color = "overalls" /obj/item/clothing/under/pirate name = "pirate outfit" desc = "Yarr." icon_state = "pirate" item_state = "pirate" - color = "pirate" + _color = "pirate" /obj/item/clothing/under/soviet name = "soviet uniform" desc = "For the Motherland!" icon_state = "soviet" item_state = "soviet" - color = "soviet" + _color = "soviet" /obj/item/clothing/under/redcoat name = "redcoat uniform" desc = "Looks old." icon_state = "redcoat" item_state = "redcoat" - color = "redcoat" + _color = "redcoat" /obj/item/clothing/under/kilt name = "kilt" desc = "Includes shoes and plaid" icon_state = "kilt" item_state = "kilt" - color = "kilt" + _color = "kilt" body_parts_covered = UPPER_TORSO|LOWER_TORSO|FEET /obj/item/clothing/under/sexymime @@ -236,7 +236,7 @@ desc = "The only time when you DON'T enjoy looking at someone's rack." icon_state = "sexymime" item_state = "sexymime" - color = "sexymime" + _color = "sexymime" body_parts_covered = UPPER_TORSO|LOWER_TORSO /obj/item/clothing/under/gladiator @@ -244,7 +244,7 @@ desc = "Are you not entertained? Is that not why you are here?" icon_state = "gladiator" item_state = "gladiator" - color = "gladiator" + _color = "gladiator" body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS //dress @@ -253,79 +253,79 @@ name = "flame dress" desc = "A small black dress with blue flames print on it." icon_state = "dress_fire" - color = "dress_fire" + _color = "dress_fire" /obj/item/clothing/under/dress/dress_green name = "green dress" desc = "A simple, tight fitting green dress." icon_state = "dress_green" - color = "dress_green" + _color = "dress_green" /obj/item/clothing/under/dress/dress_orange name = "orange dress" desc = "A fancy orange gown for those who like to show leg." icon_state = "dress_orange" - color = "dress_orange" + _color = "dress_orange" /obj/item/clothing/under/dress/dress_pink name = "pink dress" desc = "A simple, tight fitting pink dress." icon_state = "dress_pink" - color = "dress_pink" + _color = "dress_pink" /obj/item/clothing/under/dress/dress_yellow name = "yellow dress" desc = "A flirty, little yellow dress." icon_state = "dress_yellow" - color = "dress_yellow" + _color = "dress_yellow" /obj/item/clothing/under/dress/dress_saloon name = "saloon girl dress" desc = "A old western inspired gown for the girl who likes to drink." icon_state = "dress_saloon" - color = "dress_saloon" + _color = "dress_saloon" /obj/item/clothing/under/dress/dress_rd name = "research director dress uniform" desc = "Feminine fashion for the style concious RD." icon_state = "dress_rd" - color = "dress_rd" + _color = "dress_rd" /obj/item/clothing/under/dress/dress_cap name = "captain dress uniform" desc = "Feminine fashion for the style concious captain." icon_state = "dress_cap" - color = "dress_cap" + _color = "dress_cap" /obj/item/clothing/under/dress/dress_hop name = "head of personal dress uniform" desc = "Feminine fashion for the style concious HoP." icon_state = "dress_hop" - color = "dress_hop" + _color = "dress_hop" /obj/item/clothing/under/dress/dress_hr name = "human resources director uniform" desc = "Superior class for the nosy H.R. Director." icon_state = "huresource" - color = "huresource" + _color = "huresource" /obj/item/clothing/under/dress/plaid_blue name = "blue plaid skirt" desc = "A preppy blue skirt with a white blouse." icon_state = "plaid_blue" - color = "plaid_blue" + _color = "plaid_blue" /obj/item/clothing/under/dress/plaid_red name = "red plaid skirt" desc = "A preppy red skirt with a white blouse." icon_state = "plaid_red" - color = "plaid_red" + _color = "plaid_red" /obj/item/clothing/under/dress/plaid_purple name = "blue purple skirt" desc = "A preppy purple skirt with a white blouse." icon_state = "plaid_purple" - color = "plaid_purple" + _color = "plaid_purple" //wedding stuff @@ -333,35 +333,35 @@ name = "orange wedding dress" desc = "A big and puffy orange dress." icon_state = "bride_orange" - color = "bride_orange" + _color = "bride_orange" flags_inv = HIDESHOES /obj/item/clothing/under/wedding/bride_purple name = "purple wedding dress" desc = "A big and puffy purple dress." icon_state = "bride_purple" - color = "bride_purple" + _color = "bride_purple" flags_inv = HIDESHOES /obj/item/clothing/under/wedding/bride_blue name = "blue wedding dress" desc = "A big and puffy blue dress." icon_state = "bride_blue" - color = "bride_blue" + _color = "bride_blue" flags_inv = HIDESHOES /obj/item/clothing/under/wedding/bride_red name = "red wedding dress" desc = "A big and puffy red dress." icon_state = "bride_red" - color = "bride_red" + _color = "bride_red" flags_inv = HIDESHOES /obj/item/clothing/under/wedding/bride_white name = "orange wedding dress" desc = "A white wedding gown made from the finest silk." icon_state = "bride_white" - color = "bride_white" + _color = "bride_white" flags_inv = HIDESHOES /obj/item/clothing/under/sundress @@ -369,5 +369,5 @@ desc = "Makes you want to frolic in a field of daisies." icon_state = "sundress" item_state = "sundress" - color = "sundress" + _color = "sundress" body_parts_covered = UPPER_TORSO|LOWER_TORSO \ No newline at end of file diff --git a/code/modules/clothing/under/shorts.dm b/code/modules/clothing/under/shorts.dm index f7545801170..92fc9f3f131 100644 --- a/code/modules/clothing/under/shorts.dm +++ b/code/modules/clothing/under/shorts.dm @@ -7,20 +7,20 @@ /obj/item/clothing/under/shorts/red icon_state = "redshorts" - color = "redshorts" + _color = "redshorts" /obj/item/clothing/under/shorts/green icon_state = "greenshorts" - color = "greenshorts" + _color = "greenshorts" /obj/item/clothing/under/shorts/blue icon_state = "blueshorts" - color = "blueshorts" + _color = "blueshorts" /obj/item/clothing/under/shorts/black icon_state = "blackshorts" - color = "blackshorts" + _color = "blackshorts" /obj/item/clothing/under/shorts/grey icon_state = "greyshorts" - color = "greyshorts" \ No newline at end of file + _color = "greyshorts" \ No newline at end of file diff --git a/code/modules/clothing/under/syndicate.dm b/code/modules/clothing/under/syndicate.dm index 413d90e6743..93433f071d8 100644 --- a/code/modules/clothing/under/syndicate.dm +++ b/code/modules/clothing/under/syndicate.dm @@ -3,7 +3,7 @@ desc = "It's some non-descript, slightly suspicious looking, civilian clothing." icon_state = "syndicate" item_state = "bl_suit" - color = "syndicate" + _color = "syndicate" has_sensor = 0 armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) siemens_coefficient = 0.9 @@ -16,7 +16,7 @@ desc = "Just looking at it makes you want to buy an SKS, go into the woods, and -operate-." icon_state = "tactifool" item_state = "bl_suit" - color = "tactifool" + _color = "tactifool" siemens_coefficient = 1 diff --git a/code/modules/clothing/under/ties.dm b/code/modules/clothing/under/ties.dm index 867cfc350f7..fd2fe97550e 100644 --- a/code/modules/clothing/under/ties.dm +++ b/code/modules/clothing/under/ties.dm @@ -4,7 +4,7 @@ icon = 'icons/obj/clothing/ties.dmi' icon_state = "bluetie" item_state = "" //no inhands - color = "bluetie" + _color = "bluetie" flags = FPRINT | TABLEPASS slot_flags = 0 w_class = 2.0 @@ -12,24 +12,24 @@ /obj/item/clothing/tie/blue name = "blue tie" icon_state = "bluetie" - color = "bluetie" + _color = "bluetie" /obj/item/clothing/tie/red name = "red tie" icon_state = "redtie" - color = "redtie" + _color = "redtie" /obj/item/clothing/tie/horrible name = "horrible tie" desc = "A neosilk clip-on tie. This one is disgusting." icon_state = "horribletie" - color = "horribletie" + _color = "horribletie" /obj/item/clothing/tie/stethoscope name = "stethoscope" desc = "An outdated medical apparatus for listening to the sounds of the human body. It also makes you look like you know what you're doing." icon_state = "stethoscope" - color = "stethoscope" + _color = "stethoscope" /obj/item/clothing/tie/stethoscope/attack(mob/living/carbon/human/M, mob/living/user) if(ishuman(M) && isliving(user)) @@ -70,7 +70,7 @@ name = "bronze medal" desc = "A bronze medal." icon_state = "bronze" - color = "bronze" + _color = "bronze" /obj/item/clothing/tie/medal/conduct name = "distinguished conduct medal" @@ -89,7 +89,7 @@ name = "silver medal" desc = "A silver medal." icon_state = "silver" - color = "silver" + _color = "silver" /obj/item/clothing/tie/medal/silver/valor name = "medal of valor" @@ -103,7 +103,7 @@ name = "gold medal" desc = "A prestigious golden medal." icon_state = "gold" - color = "gold" + _color = "gold" /obj/item/clothing/tie/medal/gold/captain name = "medal of captaincy" @@ -118,68 +118,68 @@ name = "red armband" desc = "An fancy red armband!" icon_state = "red" - color = "red" + _color = "red" /obj/item/clothing/tie/armband/cargo name = "cargo bay guard armband" desc = "An armband, worn by the station's security forces to display which department they're assigned to. This one is brown." icon_state = "cargo" - color = "cargo" + _color = "cargo" /obj/item/clothing/tie/armband/engine name = "engineering guard armband" desc = "An armband, worn by the station's security forces to display which department they're assigned to. This one is orange with a reflective strip!" icon_state = "engie" - color = "engie" + _color = "engie" /obj/item/clothing/tie/armband/science name = "science guard armband" desc = "An armband, worn by the station's security forces to display which department they're assigned to. This one is purple." icon_state = "rnd" - color = "rnd" + _color = "rnd" /obj/item/clothing/tie/armband/hydro name = "hydroponics guard armband" desc = "An armband, worn by the station's security forces to display which department they're assigned to. This one is green and blue." icon_state = "hydro" - color = "hydro" + _color = "hydro" /obj/item/clothing/tie/armband/med name = "medical guard armband" desc = "An armband, worn by the station's security forces to display which department they're assigned to. This one is white." icon_state = "med" - color = "med" + _color = "med" /obj/item/clothing/tie/armband/medgreen name = "medical guard armband" desc = "An armband, worn by the station's security forces to display which department they're assigned to. This one is white and green." icon_state = "medgreen" - color = "medgreen" + _color = "medgreen" /obj/item/clothing/tie/holster name = "shoulder holster" desc = "A handgun holster." icon_state = "holster" - color = "holster" + _color = "holster" var/obj/item/weapon/gun/holstered = null /obj/item/clothing/tie/holster/armpit name = "shoulder holster" desc = "A worn-out handgun holster. Perfect for concealed carry" icon_state = "holster" - color = "holster" + _color = "holster" /obj/item/clothing/tie/holster/waist name = "shoulder holster" desc = "A handgun holster. Made of expensive leather." icon_state = "holster" - color = "holster_low" + _color = "holster_low" /obj/item/clothing/tie/storage name = "load bearing equipment" desc = "Used to hold things when you don't have enough hands for that." icon_state = "webbing" - color = "webbing" + _color = "webbing" var/slots = 3 var/obj/item/weapon/storage/pockets/hold @@ -212,20 +212,20 @@ name = "webbing" desc = "Strudy mess of synthcotton belts and buckles, ready to share your burden." icon_state = "webbing" - color = "webbing" + _color = "webbing" /obj/item/clothing/tie/storage/black_vest name = "black webbing vest" desc = "Robust black synthcotton vest with lots of pockets to hold whatever you need, but cannot hold in hands." icon_state = "vest_black" - color = "vest_black" + _color = "vest_black" slots = 5 /obj/item/clothing/tie/storage/brown_vest name = "brown webbing vest" desc = "Worn brownish synthcotton vest with lots of pockets to unload your hands." icon_state = "vest_brown" - color = "vest_brown" + _color = "vest_brown" slots = 5 /* Holobadges are worn on the belt or neck, and can be used to show that the holder is an authorized @@ -238,7 +238,7 @@ name = "holobadge" desc = "This glowing blue badge marks the holder as THE LAW." icon_state = "holobadge" - color = "holobadge" + _color = "holobadge" slot_flags = SLOT_BELT var/emagged = 0 //Emagging removes Sec check. @@ -246,7 +246,7 @@ /obj/item/clothing/tie/holobadge/cord icon_state = "holobadge-cord" - color = "holobadge-cord" + _color = "holobadge-cord" slot_flags = SLOT_MASK /obj/item/clothing/tie/holobadge/attack_self(mob/user as mob) @@ -308,7 +308,7 @@ name = "decorated harness" desc = "A heavily decorated harness of sinew and leather with two knife-loops." icon_state = "unathiharness2" - color = "unathiharness2" + _color = "unathiharness2" slots = 2 /obj/item/clothing/tie/storage/knifeharness/attackby(var/obj/item/O as obj, mob/user as mob) @@ -323,7 +323,7 @@ if(count>2) count = 2 item_state = "unathiharness[count]" icon_state = item_state - color = item_state + _color = item_state if(istype(loc, /obj/item/clothing)) var/obj/item/clothing/U = loc diff --git a/code/modules/customitems/item_defines.dm b/code/modules/customitems/item_defines.dm index a20a310707b..90e81b4ae56 100644 --- a/code/modules/customitems/item_defines.dm +++ b/code/modules/customitems/item_defines.dm @@ -156,7 +156,7 @@ desc = "A faded badge, backed with leather, that reads 'NT Security Force' across the front. It bears the emblem of the Forensic division." icon_state = "ana_badge" item_state = "ana_badge" - color = "ana_badge" + _color = "ana_badge" /obj/item/fluff/ana_issek_2/attack_self(mob/user as mob) if(isliving(user)) @@ -500,7 +500,7 @@ item_state = "lgloves" siemens_coefficient = 0.30 permeability_coefficient = 0.01 - color="white" + _color="white" /obj/item/clothing/gloves/fluff/walter_brooks_1 //botanistpower: Walter Brooks name = "mittens" @@ -508,7 +508,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "walter_brooks_1" item_state = "bluegloves" - color="blue" + _color="blue" /obj/item/clothing/gloves/fluff/chal_appara_1 //furlucis: Chal Appara name = "Left Black Glove" @@ -619,7 +619,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "graycoat" item_state = "graycoat" - color = "graycoat" + _color = "graycoat" /obj/item/clothing/suit/storage/det_suit/fluff/leatherjack //atomicdog92: Seth Sealis name = "leather jacket" @@ -627,7 +627,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "leatherjack" item_state = "leatherjack" - color = "leatherjack" + _color = "leatherjack" /obj/item/clothing/suit/armor/vest/fluff/deus_blueshield //deusdactyl name = "blue shield security armor" @@ -652,7 +652,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "milohachert" item_state = "milohachert" - color = "milohachert" + _color = "milohachert" /obj/item/clothing/under/fluff/jumpsuitdown //searif: Yuki Matsuda name = "rolled down jumpsuit" @@ -660,7 +660,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "jumpsuitdown" item_state = "jumpsuitdown" - color = "jumpsuitdown" + _color = "jumpsuitdown" /obj/item/clothing/under/fluff/lilith_vinous_1 //slyhidden: Lilith Vinous name = "casual security uniform" @@ -668,7 +668,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "lilith_uniform" item_state = "lilith_uniform" - color = "lilith_uniform" + _color = "lilith_uniform" /obj/item/clothing/under/fluff/ana_issek_1 //suethecake: Ana Issek name = "retired uniform" @@ -676,7 +676,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "ana_uniform" item_state = "ana_uniform" - color = "ana_uniform" + _color = "ana_uniform" /obj/item/clothing/under/fluff/olddressuniform //desiderium: Momiji Inubashiri name = "retired dress uniform" @@ -684,14 +684,14 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "olddressuniform" item_state = "olddressuniform" - color = "olddressuniform" + _color = "olddressuniform" /obj/item/clothing/under/rank/security/fluff/jeremy_wolf_1 //whitewolf41: Jeremy Wolf name = "worn officer's uniform" desc = "An old red security jumpsuit. Seems to have some slight modifications." icon = 'icons/obj/custom_items.dmi' icon_state = "jeremy_wolf_1" - color = "jeremy_wolf_1" + _color = "jeremy_wolf_1" /obj/item/clothing/under/fluff/tian_dress //phaux: Tian Yinhu name = "purple dress" @@ -699,7 +699,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "tian_dress" item_state = "tian_dress" - color = "tian_dress" + _color = "tian_dress" /obj/item/clothing/under/rank/bartender/fluff/classy //searif: Ara Al-Jazari name = "classy bartender uniform" @@ -707,7 +707,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "ara_bar_uniform" item_state = "ara_bar_uniform" - color = "ara_bar_uniform" + _color = "ara_bar_uniform" /obj/item/clothing/under/fluff/callum_suit //roaper: Callum Leamus name = "knockoff suit" @@ -715,7 +715,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "callum_suit" item_state = "callum_suit" - color = "callum_suit" + _color = "callum_suit" /obj/item/clothing/under/fluff/solara_light_1 //bluefishie: Solara Born-In-Light name = "Elaborate Purple Dress" @@ -723,7 +723,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "solara_dress" item_state = "solara_dress" - color = "solara_dress" + _color = "solara_dress" /////// NT-SID Suit //Zuhayr: Jane Doe @@ -734,7 +734,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "jane_sid_suit" item_state = "jane_sid_suit" - color = "jane_sid_suit" + _color = "jane_sid_suit" has_sensor = 2 sensor_mode = 3 flags = FPRINT | TABLEPASS @@ -749,14 +749,14 @@ return 0 if(src.icon_state == "jane_sid_suit_down") - src.color = "jane_sid_suit" + src._color = "jane_sid_suit" usr << "You zip up the [src]." else - src.color = "jane_sid_suit_down" + src._color = "jane_sid_suit_down" usr << "You unzip and roll down the [src]." - src.icon_state = "[color]" - src.item_state = "[color]" + src.icon_state = "[_color]" + src.item_state = "[_color]" usr.update_inv_w_uniform() ////// Wyatt's Ex-Commander Jumpsuit - RawrTaicho @@ -767,7 +767,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "wyatt_uniform" item_state = "wyatt_uniform" - color = "wyatt_uniform" + _color = "wyatt_uniform" //////////// Masks //////////// @@ -799,7 +799,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "altair_locket" item_state = "altair_locket" - color = "altair_locket" + _color = "altair_locket" slot_flags = 0 flags = FPRINT|TABLEPASS w_class = 1 @@ -813,7 +813,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "konaahirano" item_state = "konaahirano" - color = "konaahirano" + _color = "konaahirano" slot_flags = 0 flags = FPRINT|TABLEPASS w_class = 1 @@ -883,7 +883,7 @@ desc = "Made of a special fiber that gives special protection against biohazards. Has a cross on the chest denoting that the wearer is trained medical personnel and short sleeves." icon = 'icons/obj/custom_items.dmi' icon_state = "medical_short" - color = "medical_short" + _color = "medical_short" /obj/item/clothing/suit/storage/labcoat/fluff/red name = "red labcoat" @@ -899,7 +899,7 @@ icon = 'icons/obj/custom_items.dmi' icon_state = "retpolcoat" item_state = "retpolcoat" - color = "retpolcoat" + _color = "retpolcoat" /obj/item/clothing/head/det_hat/fluff/retpolcap name = "retired colony patrolman's cap" @@ -912,7 +912,7 @@ desc = "A meticulously clean police uniform belonging to Precinct 31, Outer Light Colony. The word \"RETIRED\" is engraved tastefully and professionally in the badge below the number, 501." icon = 'icons/obj/custom_items.dmi' icon_state = "retpoluniform" - color = "retpoluniform" + _color = "retpoluniform" //////////// Weapons //////////// diff --git a/code/modules/mob/living/carbon/human/update_icons.dm b/code/modules/mob/living/carbon/human/update_icons.dm index 2d17a3373e7..8ef6070debb 100644 --- a/code/modules/mob/living/carbon/human/update_icons.dm +++ b/code/modules/mob/living/carbon/human/update_icons.dm @@ -493,7 +493,7 @@ proc/get_damage_icon_part(damage_state, body_part) /mob/living/carbon/human/update_inv_w_uniform(var/update_icons=1) if(w_uniform && istype(w_uniform, /obj/item/clothing/under) ) w_uniform.screen_loc = ui_iclothing - var/t_color = w_uniform.color + var/t_color = w_uniform._color if(!t_color) t_color = icon_state var/image/lying = image("icon_state" = "[t_color]_l") var/image/standing = image("icon_state" = "[t_color]_s") @@ -507,7 +507,7 @@ proc/get_damage_icon_part(damage_state, body_part) standing.overlays += image("icon" = 'icons/effects/blood.dmi', "icon_state" = "uniformblood") if(w_uniform:hastie) //WE CHECKED THE TYPE ABOVE. THIS REALLY SHOULD BE FINE. - var/tie_color = w_uniform:hastie.color + var/tie_color = w_uniform:hastie._color if(!tie_color) tie_color = w_uniform:hastie.icon_state lying.overlays += image("icon" = 'icons/mob/ties.dmi', "icon_state" = "[tie_color]2") standing.overlays += image("icon" = 'icons/mob/ties.dmi', "icon_state" = "[tie_color]") diff --git a/code/modules/mob/living/carbon/metroid/metroid.dm b/code/modules/mob/living/carbon/metroid/metroid.dm index 24ef8092531..e6b8d0067a6 100644 --- a/code/modules/mob/living/carbon/metroid/metroid.dm +++ b/code/modules/mob/living/carbon/metroid/metroid.dm @@ -900,7 +900,7 @@ mob/living/carbon/slime/var/temperature_resistance = T0C+75 desc = "a golem's skin" icon_state = "golem" item_state = "golem" - color = "golem" + _color = "golem" has_sensor = 0 armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) canremove = 0 @@ -965,7 +965,7 @@ mob/living/carbon/slime/var/temperature_resistance = T0C+75 /obj/item/clothing/head/space/golem icon_state = "golem" item_state = "dermal" - color = "dermal" + _color = "dermal" name = "golem's head" desc = "a golem's head" canremove = 0 diff --git a/code/modules/mob/living/simple_animal/friendly/farm_animals.dm b/code/modules/mob/living/simple_animal/friendly/farm_animals.dm index 0d152cde27e..78a2c83d88a 100644 --- a/code/modules/mob/living/simple_animal/friendly/farm_animals.dm +++ b/code/modules/mob/living/simple_animal/friendly/farm_animals.dm @@ -207,17 +207,17 @@ var/global/chicken_count = 0 attacktext = "kicks" health = 10 var/eggsleft = 0 - var/color + var/_color pass_flags = PASSTABLE small = 1 /mob/living/simple_animal/chicken/New() ..() - if(!color) - color = pick( list("brown","black","white") ) - icon_state = "chicken_[color]" - icon_living = "chicken_[color]" - icon_dead = "chicken_[color]_dead" + if(!_color) + _color = pick( list("brown","black","white") ) + icon_state = "chicken_[_color]" + icon_living = "chicken_[_color]" + icon_dead = "chicken_[_color]_dead" pixel_x = rand(-6, 6) pixel_y = rand(0, 10) chicken_count += 1 diff --git a/code/modules/mob/living/simple_animal/friendly/mouse.dm b/code/modules/mob/living/simple_animal/friendly/mouse.dm index 774810be306..29f4223a8e6 100644 --- a/code/modules/mob/living/simple_animal/friendly/mouse.dm +++ b/code/modules/mob/living/simple_animal/friendly/mouse.dm @@ -21,7 +21,7 @@ response_disarm = "gently pushes aside the" response_harm = "stamps on the" density = 0 - var/color //brown, gray and white, leave blank for random + var/_color //brown, gray and white, leave blank for random layer = MOB_LAYER min_oxy = 16 //Require atleast 16kPA oxygen minbodytemp = 223 //Below -50 Degrees Celcius @@ -36,33 +36,33 @@ if(!ckey && stat == CONSCIOUS && prob(0.5)) stat = UNCONSCIOUS - icon_state = "mouse_[color]_sleep" + icon_state = "mouse_[_color]_sleep" wander = 0 speak_chance = 0 //snuffles else if(stat == UNCONSCIOUS) if(ckey || prob(1)) stat = CONSCIOUS - icon_state = "mouse_[color]" + icon_state = "mouse_[_color]" wander = 1 else if(prob(5)) emote("snuffles") /mob/living/simple_animal/mouse/New() ..() - if(!color) - color = pick( list("brown","gray","white") ) - icon_state = "mouse_[color]" - icon_living = "mouse_[color]" - icon_dead = "mouse_[color]_dead" - desc = "It's a small [color] rodent, often seen hiding in maintenance areas and making a nuisance of itself." + if(!_color) + _color = pick( list("brown","gray","white") ) + icon_state = "mouse_[_color]" + icon_living = "mouse_[_color]" + icon_dead = "mouse_[_color]_dead" + desc = "It's a small [_color] rodent, often seen hiding in maintenance areas and making a nuisance of itself." /mob/living/simple_animal/mouse/proc/splat() src.health = 0 src.stat = DEAD - src.icon_dead = "mouse_[color]_splat" - src.icon_state = "mouse_[color]_splat" + src.icon_dead = "mouse_[_color]_splat" + src.icon_state = "mouse_[_color]_splat" if(client) client.time_died_as_mouse = world.time @@ -188,15 +188,15 @@ */ /mob/living/simple_animal/mouse/white - color = "white" + _color = "white" icon_state = "mouse_white" /mob/living/simple_animal/mouse/gray - color = "gray" + _color = "gray" icon_state = "mouse_gray" /mob/living/simple_animal/mouse/brown - color = "brown" + _color = "brown" icon_state = "mouse_brown" //TOM IS ALIVE! SQUEEEEEEEE~K :) diff --git a/code/modules/paperwork/stamps.dm b/code/modules/paperwork/stamps.dm index f7046974d97..6c1091ab1a6 100644 --- a/code/modules/paperwork/stamps.dm +++ b/code/modules/paperwork/stamps.dm @@ -10,49 +10,49 @@ throw_speed = 7 throw_range = 15 m_amt = 60 - color = "cargo" + _color = "cargo" pressure_resistance = 2 attack_verb = list("stamped") /obj/item/weapon/stamp/captain name = "captain's rubber stamp" icon_state = "stamp-cap" - color = "captain" + _color = "captain" /obj/item/weapon/stamp/hop name = "head of personnel's rubber stamp" icon_state = "stamp-hop" - color = "hop" + _color = "hop" /obj/item/weapon/stamp/hos name = "head of security's rubber stamp" icon_state = "stamp-hos" - color = "hosred" + _color = "hosred" /obj/item/weapon/stamp/ce name = "chief engineer's rubber stamp" icon_state = "stamp-ce" - color = "chief" + _color = "chief" /obj/item/weapon/stamp/rd name = "research director's rubber stamp" icon_state = "stamp-rd" - color = "director" + _color = "director" /obj/item/weapon/stamp/cmo name = "chief medical officer's rubber stamp" icon_state = "stamp-cmo" - color = "cmo" + _color = "cmo" /obj/item/weapon/stamp/denied name = "\improper DENIED rubber stamp" icon_state = "stamp-deny" - color = "redcoat" + _color = "redcoat" /obj/item/weapon/stamp/clown name = "clown's rubber stamp" icon_state = "stamp-clown" - color = "clown" + _color = "clown" /obj/item/weapon/stamp/attack_paw(mob/user as mob) diff --git a/code/modules/power/cable.dm b/code/modules/power/cable.dm index 2c50e4a8bd6..f53b7b0822d 100644 --- a/code/modules/power/cable.dm +++ b/code/modules/power/cable.dm @@ -90,9 +90,9 @@ return if(src.d1) // 0-X cables are 1 unit, X-X cables are 2 units long - new/obj/item/weapon/cable_coil(T, 2, color) + new/obj/item/weapon/cable_coil(T, 2, _color) else - new/obj/item/weapon/cable_coil(T, 1, color) + new/obj/item/weapon/cable_coil(T, 1, _color) for(var/mob/O in viewers(src, null)) O.show_message("\red [user] cuts the cable.", 1) @@ -143,12 +143,12 @@ del(src) if(2.0) if (prob(50)) - new/obj/item/weapon/cable_coil(src.loc, src.d1 ? 2 : 1, color) + new/obj/item/weapon/cable_coil(src.loc, src.d1 ? 2 : 1, _color) del(src) if(3.0) if (prob(25)) - new/obj/item/weapon/cable_coil(src.loc, src.d1 ? 2 : 1, color) + new/obj/item/weapon/cable_coil(src.loc, src.d1 ? 2 : 1, _color) del(src) return @@ -160,7 +160,7 @@ icon = 'icons/obj/power.dmi' icon_state = "coil_red" var/amount = MAXCOIL - color = "red" + _color = "red" desc = "A coil of power cable." throwforce = 10 w_class = 2.0 @@ -182,22 +182,22 @@ ..() src.amount = length if (param_color) - color = param_color + _color = param_color pixel_x = rand(-2,2) pixel_y = rand(-2,2) updateicon() /obj/item/weapon/cable_coil/proc/updateicon() - if (!color) - color = pick("red", "yellow", "blue", "green") + if (!_color) + _color = pick("red", "yellow", "blue", "green") if(amount == 1) - icon_state = "coil_[color]1" + icon_state = "coil_[_color]1" name = "cable piece" else if(amount == 2) - icon_state = "coil_[color]2" + icon_state = "coil_[_color]2" name = "cable piece" else - icon_state = "coil_[color]" + icon_state = "coil_[_color]" name = "cable coil" /obj/item/weapon/cable_coil/examine() @@ -221,7 +221,7 @@ usr << "\red You need at least 15 lengths to make restraints!" return var/obj/item/weapon/handcuffs/cable/B = new /obj/item/weapon/handcuffs/cable(usr.loc) - B.icon_state = "cuff_[color]" + B.icon_state = "cuff_[_color]" usr << "\blue You wind some cable together to make some restraints." src.use(15) else @@ -232,7 +232,7 @@ ..() if( istype(W, /obj/item/weapon/wirecutters) && src.amount > 1) src.amount-- - new/obj/item/weapon/cable_coil(user.loc, 1,color) + new/obj/item/weapon/cable_coil(user.loc, 1,_color) user << "You cut a piece off the cable coil." src.updateicon() return @@ -298,7 +298,7 @@ var/obj/structure/cable/C = new(F) - C.cableColor(color) + C.cableColor(_color) C.d1 = 0 C.d2 = dirn @@ -316,7 +316,7 @@ use(1) if (C.shock(user, 50)) if (prob(50)) //fail - new/obj/item/weapon/cable_coil(C.loc, 1, C.color) + new/obj/item/weapon/cable_coil(C.loc, 1, C._color) del(C) //src.laying = 1 //last = C @@ -361,7 +361,7 @@ return var/obj/structure/cable/NC = new(U) - NC.cableColor(color) + NC.cableColor(_color) NC.d1 = 0 NC.d2 = fdirn @@ -376,7 +376,7 @@ use(1) if (NC.shock(user, 50)) if (prob(50)) //fail - new/obj/item/weapon/cable_coil(NC.loc, 1, NC.color) + new/obj/item/weapon/cable_coil(NC.loc, 1, NC._color) del(NC) return @@ -399,7 +399,7 @@ return - C.cableColor(color) + C.cableColor(_color) C.d1 = nd1 C.d2 = nd2 @@ -415,7 +415,7 @@ use(1) if (C.shock(user, 50)) if (prob(50)) //fail - new/obj/item/weapon/cable_coil(C.loc, 2, C.color) + new/obj/item/weapon/cable_coil(C.loc, 2, C._color) del(C) return @@ -491,7 +491,7 @@ obj/structure/cable/proc/cableColor(var/colorC) var/color_n = "red" if(colorC) color_n = colorC - color = color_n + _color = color_n switch(colorC) if("red") icon = 'icons/obj/power_cond_red.dmi' @@ -521,36 +521,36 @@ obj/structure/cable/proc/cableColor(var/colorC) updateicon() /obj/item/weapon/cable_coil/yellow - color = "yellow" + _color = "yellow" icon_state = "coil_yellow" /obj/item/weapon/cable_coil/blue - color = "blue" + _color = "blue" icon_state = "coil_blue" /obj/item/weapon/cable_coil/green - color = "green" + _color = "green" icon_state = "coil_green" /obj/item/weapon/cable_coil/pink - color = "pink" + _color = "pink" icon_state = "coil_pink" /obj/item/weapon/cable_coil/orange - color = "orange" + _color = "orange" icon_state = "coil_orange" /obj/item/weapon/cable_coil/cyan - color = "cyan" + _color = "cyan" icon_state = "coil_cyan" /obj/item/weapon/cable_coil/white - color = "white" + _color = "white" icon_state = "coil_white" /obj/item/weapon/cable_coil/random/New() - color = pick("red","yellow","green","blue","pink") - icon_state = "coil_[color]" + _color = pick("red","yellow","green","blue","pink") + icon_state = "coil_[_color]" ..() /obj/item/weapon/cable_coil/attack(mob/M as mob, mob/user as mob) diff --git a/code/modules/reagents/reagent_containers/food/snacks.dm b/code/modules/reagents/reagent_containers/food/snacks.dm index 664a4363442..657cb2063aa 100644 --- a/code/modules/reagents/reagent_containers/food/snacks.dm +++ b/code/modules/reagents/reagent_containers/food/snacks.dm @@ -460,41 +460,41 @@ usr << "\blue You color \the [src] [clr]" icon_state = "egg-[clr]" - color = clr + _color = clr else ..() /obj/item/weapon/reagent_containers/food/snacks/egg/blue icon_state = "egg-blue" - color = "blue" + _color = "blue" /obj/item/weapon/reagent_containers/food/snacks/egg/green icon_state = "egg-green" - color = "green" + _color = "green" /obj/item/weapon/reagent_containers/food/snacks/egg/mime icon_state = "egg-mime" - color = "mime" + _color = "mime" /obj/item/weapon/reagent_containers/food/snacks/egg/orange icon_state = "egg-orange" - color = "orange" + _color = "orange" /obj/item/weapon/reagent_containers/food/snacks/egg/purple icon_state = "egg-purple" - color = "purple" + _color = "purple" /obj/item/weapon/reagent_containers/food/snacks/egg/rainbow icon_state = "egg-rainbow" - color = "rainbow" + _color = "rainbow" /obj/item/weapon/reagent_containers/food/snacks/egg/red icon_state = "egg-red" - color = "red" + _color = "red" /obj/item/weapon/reagent_containers/food/snacks/egg/yellow icon_state = "egg-yellow" - color = "yellow" + _color = "yellow" /obj/item/weapon/reagent_containers/food/snacks/friedegg name = "Fried egg"