diff --git a/code/modules/clothing/chameleon.dm b/code/modules/clothing/chameleon.dm index a6e25ebec5..40071651c6 100644 --- a/code/modules/clothing/chameleon.dm +++ b/code/modules/clothing/chameleon.dm @@ -288,7 +288,7 @@ /obj/item/clothing/glasses/chameleon name = "Optical Meson Scanner" icon_state = "meson" - item_state = "glasses" + item_state_slots = list(slot_r_hand_str = "meson", slot_l_hand_str = "meson") desc = "It looks like a plain set of mesons, but on closer inspection, it seems to have a small dial inside." origin_tech = list(TECH_ILLEGAL = 3) var/list/global/clothing_choices diff --git a/code/modules/clothing/ears/ears.dm b/code/modules/clothing/ears/ears.dm index de5a301699..151b581f5c 100644 --- a/code/modules/clothing/ears/ears.dm +++ b/code/modules/clothing/ears/ears.dm @@ -5,7 +5,7 @@ name = "earmuffs" desc = "Protects your hearing from loud noises, and quiet ones as well." icon_state = "earmuffs" - item_state = "earmuffs" + item_state_slots = list(slot_r_hand_str = "earmuffs", slot_l_hand_str = "earmuffs") slot_flags = SLOT_EARS | SLOT_TWOEARS ear_protection = 2 @@ -14,7 +14,7 @@ desc = "Unce unce unce unce." var/headphones_on = 0 icon_state = "headphones_off" - item_state = "headphones" + item_state_slots = list(slot_r_hand_str = "headphones", slot_l_hand_str = "headphones") slot_flags = SLOT_EARS | SLOT_TWOEARS /obj/item/clothing/ears/earmuffs/headphones/verb/togglemusic() @@ -52,132 +52,132 @@ name = "Gold headtail chains" desc = "A delicate golden chain worn by female skrell to decorate their head tails." icon_state = "skrell_chain" - item_state = "egg5" //just a small colored item, remove item_state's if undesirable. + item_state_slots = list(slot_r_hand_str = "egg5", slot_l_hand_str = "egg5") /obj/item/clothing/ears/skrell/chain/silver name = "Silver headtail chains" desc = "A delicate silver chain worn by female skrell to decorate their head tails." icon_state = "skrell_chain_sil" - item_state = "egg" + item_state_slots = list(slot_r_hand_str = "egg", slot_l_hand_str = "egg") /obj/item/clothing/ears/skrell/chain/bluejewels name = "Blue jeweled golden headtail chains" desc = "A delicate golden chain adorned with blue jewels worn by female skrell to decorate their head tails." icon_state = "skrell_chain_bjewel" - item_state = "egg2" + item_state_slots = list(slot_r_hand_str = "egg2", slot_l_hand_str = "egg2") /obj/item/clothing/ears/skrell/chain/redjewels name = "Red jeweled golden headtail chains" desc = "A delicate golden chain adorned with red jewels worn by female skrell to decorate their head tails." icon_state = "skrell_chain_rjewel" - item_state = "egg4" + item_state_slots = list(slot_r_hand_str = "egg4", slot_l_hand_str = "egg4") /obj/item/clothing/ears/skrell/chain/ebony name = "Ebony headtail chains" desc = "A delicate ebony chain worn by female skrell to decorate their head tails." icon_state = "skrell_chain_ebony" - item_state = "egg6" + item_state_slots = list(slot_r_hand_str = "egg6", slot_l_hand_str = "egg6") /obj/item/clothing/ears/skrell/band name = "Gold headtail bands" desc = "Golden metallic bands worn by male skrell to adorn their head tails." icon_state = "skrell_band" - item_state = "egg5" + item_state_slots = list(slot_r_hand_str = "egg5", slot_l_hand_str = "egg5") /obj/item/clothing/ears/skrell/band/silver name = "Silver headtail bands" desc = "Silver metallic bands worn by male skrell to adorn their head tails." icon_state = "skrell_band_sil" - item_state = "egg" + item_state_slots = list(slot_r_hand_str = "egg", slot_l_hand_str = "egg") /obj/item/clothing/ears/skrell/band/bluejewels name = "Blue jeweled golden headtail bands" desc = "Golden metallic bands adorned with blue jewels worn by male skrell to adorn their head tails." icon_state = "skrell_band_bjewel" - item_state = "egg2" + item_state_slots = list(slot_r_hand_str = "egg2", slot_l_hand_str = "egg2") /obj/item/clothing/ears/skrell/band/redjewels name = "Red jeweled golden headtail bands" desc = "Golden metallic bands adorned with red jewels worn by male skrell to adorn their head tails." icon_state = "skrell_band_rjewel" - item_state = "egg4" + item_state_slots = list(slot_r_hand_str = "egg4", slot_l_hand_str = "egg4") /obj/item/clothing/ears/skrell/band/ebony name = "Ebony headtail bands" desc = "Ebony bands worn by male skrell to adorn their head tails." icon_state = "skrell_band_ebony" - item_state = "egg6" + item_state_slots = list(slot_r_hand_str = "egg6", slot_l_hand_str = "egg6") /obj/item/clothing/ears/skrell/colored/band name = "Colored headtail bands" desc = "Metallic bands worn by male skrell to adorn their head tails." icon_state = "skrell_band_sil" - item_state = "egg" + item_state_slots = list(slot_r_hand_str = "egg", slot_l_hand_str = "egg") /obj/item/clothing/ears/skrell/colored/chain name = "Colored headtail chains" desc = "A delicate chain worn by female skrell to decorate their head tails." icon_state = "skrell_chain_sil" - item_state = "egg" + item_state_slots = list(slot_r_hand_str = "egg", slot_l_hand_str = "egg") /obj/item/clothing/ears/skrell/cloth_female name = "red headtail cloth" desc = "A cloth shawl worn by female skrell draped around their head tails." icon_state = "skrell_cloth_female" - item_state = "egg4" + item_state_slots = list(slot_r_hand_str = "egg4", slot_l_hand_str = "egg4") /obj/item/clothing/ears/skrell/cloth_female/black name = "black headtail cloth" icon_state = "skrell_cloth_black_female" - item_state = "egg6" + item_state_slots = list(slot_r_hand_str = "egg6", slot_l_hand_str = "egg6") /obj/item/clothing/ears/skrell/cloth_female/blue name = "blue headtail cloth" icon_state = "skrell_cloth_blue_female" - item_state = "egg2" + item_state_slots = list(slot_r_hand_str = "egg2", slot_l_hand_str = "egg2") /obj/item/clothing/ears/skrell/cloth_female/green name = "green headtail cloth" icon_state = "skrell_cloth_green_female" - item_state = "egg3" + item_state_slots = list(slot_r_hand_str = "egg3", slot_l_hand_str = "egg3") /obj/item/clothing/ears/skrell/cloth_female/pink name = "pink headtail cloth" icon_state = "skrell_cloth_pink_female" - item_state = "egg1" + item_state_slots = list(slot_r_hand_str = "egg1", slot_l_hand_str = "egg1") /obj/item/clothing/ears/skrell/cloth_female/lightblue name = "light blue headtail cloth" icon_state = "skrell_cloth_lblue_female" - item_state = "egg2" + item_state_slots = list(slot_r_hand_str = "egg2", slot_l_hand_str = "egg2") /obj/item/clothing/ears/skrell/cloth_male name = "red headtail cloth" desc = "A cloth band worn by male skrell around their head tails." icon_state = "skrell_cloth_male" - item_state = "egg4" + item_state_slots = list(slot_r_hand_str = "egg4", slot_l_hand_str = "egg4") /obj/item/clothing/ears/skrell/cloth_male/black name = "black headtail cloth" icon_state = "skrell_cloth_black_male" - item_state = "egg6" + item_state_slots = list(slot_r_hand_str = "egg6", slot_l_hand_str = "egg6") /obj/item/clothing/ears/skrell/cloth_male/blue name = "blue headtail cloth" icon_state = "skrell_cloth_blue_male" - item_state = "egg2" + item_state_slots = list(slot_r_hand_str = "egg2", slot_l_hand_str = "egg2") /obj/item/clothing/ears/skrell/cloth_male/green name = "green headtail cloth" icon_state = "skrell_cloth_green_male" - item_state = "egg3" + item_state_slots = list(slot_r_hand_str = "egg3", slot_l_hand_str = "egg3") /obj/item/clothing/ears/skrell/cloth_male/pink name = "pink headtail cloth" icon_state = "skrell_cloth_pink_male" - item_state = "egg1" + item_state_slots = list(slot_r_hand_str = "egg1", slot_l_hand_str = "egg1") /obj/item/clothing/ears/skrell/cloth_male/lightblue name = "light blue headtail cloth" icon_state = "skrell_cloth_lblue_male" - item_state = "egg2" \ No newline at end of file + item_state_slots = list(slot_r_hand_str = "egg2", slot_l_hand_str = "egg2") \ No newline at end of file diff --git a/code/modules/clothing/glasses/glasses.dm b/code/modules/clothing/glasses/glasses.dm index 7b06cf4946..27fb0e0fa4 100644 --- a/code/modules/clothing/glasses/glasses.dm +++ b/code/modules/clothing/glasses/glasses.dm @@ -53,7 +53,7 @@ BLIND // can't see anything name = "Optical Meson Scanner" desc = "Used for seeing walls, floors, and stuff through anything." icon_state = "meson" - item_state = "meson" + item_state_slots = list(slot_r_hand_str = "meson", slot_l_hand_str = "meson") action_button_name = "Toggle Goggles" origin_tech = list(TECH_MAGNET = 2, TECH_ENGINEERING = 2) toggleable = 1 @@ -72,7 +72,7 @@ BLIND // can't see anything name = "Science Goggles" desc = "The goggles do nothing!" icon_state = "purple" - item_state = "glasses" + item_state_slots = list(slot_r_hand_str = "glasses", slot_l_hand_str = "glasses") toggleable = 1 action_button_name = "Toggle Goggles" @@ -84,7 +84,7 @@ BLIND // can't see anything name = "Night Vision Goggles" desc = "You can totally see in the dark now!" icon_state = "night" - item_state = "glasses" + item_state_slots = list(slot_r_hand_str = "glasses", slot_l_hand_str = "glasses") origin_tech = list(TECH_MAGNET = 2) darkness_view = 7 toggleable = 1 @@ -100,7 +100,7 @@ BLIND // can't see anything name = "eyepatch" desc = "Yarr." icon_state = "eyepatch" - item_state = "blindfold" + item_state_slots = list(slot_r_hand_str = "blindfold", slot_l_hand_str = "blindfold") body_parts_covered = 0 var/eye = null @@ -122,14 +122,14 @@ BLIND // can't see anything name = "monocle" desc = "Such a dapper eyepiece!" icon_state = "monocle" - item_state = "headset" // lol + item_state_slots = list(slot_r_hand_str = "headset", slot_l_hand_str = "headset") body_parts_covered = 0 /obj/item/clothing/glasses/material name = "Optical Material Scanner" desc = "Very confusing glasses." icon_state = "material" - item_state = "glasses" + item_state_slots = list(slot_r_hand_str = "glasses", slot_l_hand_str = "glasses") origin_tech = list(TECH_MAGNET = 3, TECH_ENGINEERING = 3) toggleable = 1 action_button_name = "Toggle Goggles" @@ -139,7 +139,7 @@ BLIND // can't see anything name = "Prescription Glasses" desc = "Made by Nerd. Co." icon_state = "glasses" - item_state = "glasses" + item_state_slots = list(slot_r_hand_str = "glasses", slot_l_hand_str = "glasses") prescription = 1 body_parts_covered = 0 @@ -157,28 +157,28 @@ BLIND // can't see anything desc = "A long time ago, people used these glasses to makes images from screens threedimensional." name = "3D glasses" icon_state = "3d" - item_state = "glasses" + item_state_slots = list(slot_r_hand_str = "glasses", slot_l_hand_str = "glasses") body_parts_covered = 0 /obj/item/clothing/glasses/gglasses name = "Green Glasses" desc = "Forest green glasses, like the kind you'd wear when hatching a nasty scheme." icon_state = "gglasses" - item_state = "glasses" + item_state_slots = list(slot_r_hand_str = "glasses", slot_l_hand_str = "glasses") body_parts_covered = 0 /obj/item/clothing/glasses/sunglasses desc = "Strangely ancient technology used to help provide rudimentary eye cover. Enhanced shielding blocks many flashes." name = "sunglasses" icon_state = "sun" - item_state = "sunglasses" + item_state_slots = list(slot_r_hand_str = "sunglasses", slot_l_hand_str = "sunglasses") darkness_view = -1 /obj/item/clothing/glasses/welding name = "welding goggles" desc = "Protects the eyes from welders, approved by the mad scientist association." icon_state = "welding-g" - item_state = "welding-g" + item_state_slots = list(slot_r_hand_str = "g", slot_l_hand_str = "g") action_button_name = "Flip Welding Goggles" matter = list(DEFAULT_WALL_MATERIAL = 1500, "glass" = 1000) var/up = 0 @@ -217,7 +217,7 @@ BLIND // can't see anything name = "blindfold" desc = "Covers the eyes, preventing sight." icon_state = "blindfold" - item_state = "blindfold" + item_state_slots = list(slot_r_hand_str = "blindfold", slot_l_hand_str = "blindfold") //vision_flags = BLIND // This flag is only supposed to be used if it causes permanent blindness, not temporary because of glasses /obj/item/clothing/glasses/sunglasses/blindfold/tape @@ -225,7 +225,7 @@ BLIND // can't see anything desc = "It's a robust DIY blindfold!" icon = 'icons/obj/bureaucracy.dmi' icon_state = "tape_cross" - item_state = null + item_state_slots = list(slot_r_hand_str = null, slot_l_hand_str = null) w_class = 1 /obj/item/clothing/glasses/sunglasses/prescription @@ -240,7 +240,7 @@ BLIND // can't see anything desc = "A pair of designer sunglasses. Doesn't seem like it'll block flashes." name = "stylish sunglasses" icon_state = "sun" - item_state = "sunglasses" + item_state_slots = list(slot_r_hand_str = "sunglasses", slot_l_hand_str = "sunglasses") /obj/item/clothing/glasses/sunglasses/sechud name = "HUDSunglasses" @@ -262,7 +262,7 @@ BLIND // can't see anything name = "Optical Thermal Scanner" desc = "Thermals in the shape of glasses." icon_state = "thermal" - item_state = "glasses" + item_state_slots = list(slot_r_hand_str = "glasses", slot_l_hand_str = "glasses") origin_tech = list(TECH_MAGNET = 3) toggleable = 1 action_button_name = "Toggle Goggles" @@ -290,7 +290,7 @@ BLIND // can't see anything name = "Optical Meson Scanner" desc = "Used for seeing walls, floors, and stuff through anything." icon_state = "meson" - item_state = "meson" + item_state_slots = list(slot_r_hand_str = "meson", slot_l_hand_str = "meson") origin_tech = list(TECH_MAGNET = 3, TECH_ILLEGAL = 4) /obj/item/clothing/glasses/thermal/plain @@ -302,7 +302,7 @@ BLIND // can't see anything name = "Thermoncle" desc = "A monocle thermal." icon_state = "thermoncle" - item_state = "sunglasses" + item_state_slots = list(slot_r_hand_str = "sunglasses", slot_l_hand_str = "sunglasses") toggleable = 1 action_button_name = "Toggle Monocle" flags = null //doesn't protect eyes because it's a monocle, duh @@ -313,7 +313,7 @@ BLIND // can't see anything name = "Optical Thermal Eyepatch" desc = "An eyepatch with built-in thermal optics" icon_state = "eyepatch" - item_state = "blindfold" + item_state_slots = list(slot_r_hand_str = "blindfold", slot_l_hand_str = "blindfold") body_parts_covered = 0 toggleable = 1 action_button_name = "Toggle Eyepatch" @@ -322,4 +322,4 @@ BLIND // can't see anything name = "Optical Thermal Implants" desc = "A set of implantable lenses designed to augment your vision" icon_state = "thermalimplants" - item_state = "sunglasses" + item_state_slots = list(slot_r_hand_str = "sunglasses", slot_l_hand_str = "sunglasses") \ No newline at end of file diff --git a/code/modules/clothing/glasses/hud.dm b/code/modules/clothing/glasses/hud.dm index fac2d53d43..edd2db2168 100644 --- a/code/modules/clothing/glasses/hud.dm +++ b/code/modules/clothing/glasses/hud.dm @@ -12,7 +12,7 @@ name = "Health Scanner HUD" desc = "A heads-up display that scans the humans in view and provides accurate data about their health status." icon_state = "healthhud" - item_state = "headset" + item_state_slots = list(slot_r_hand_str = "headset", slot_l_hand_str = "headset") body_parts_covered = 0 /obj/item/clothing/glasses/hud/health/prescription @@ -20,7 +20,7 @@ desc = "A medical HUD integrated with a set of prescription glasses" prescription = 1 icon_state = "healthhudpresc" - item_state = "glasses" + item_state_slots = list(slot_r_hand_str = "glasses", slot_l_hand_str = "glasses") /obj/item/clothing/glasses/hud/health/process_hud(var/mob/M) process_med_hud(M, 1) @@ -29,7 +29,7 @@ name = "Security HUD" desc = "A heads-up display that scans the humans in view and provides accurate data about their ID status and security records." icon_state = "securityhud" - item_state = "headset" + item_state_slots = list(slot_r_hand_str = "headset", slot_l_hand_str = "headset") body_parts_covered = 0 var/global/list/jobs[0] @@ -38,13 +38,13 @@ desc = "A security HUD integrated with a set of prescription glasses" prescription = 1 icon_state = "sechudpresc" - item_state = "glasses" + item_state_slots = list(slot_r_hand_str = "glasses", slot_l_hand_str = "glasses") /obj/item/clothing/glasses/hud/security/jensenshades name = "Augmented shades" desc = "Polarized bioneural eyewear, designed to augment your vision." icon_state = "jensenshades" - item_state = "sunglasses" + item_state_slots = list(slot_r_hand_str = "sunglasses", slot_l_hand_str = "sunglasses") vision_flags = SEE_MOBS see_invisible = SEE_INVISIBLE_NOLIGHTING diff --git a/code/modules/clothing/gloves/arm_guards.dm b/code/modules/clothing/gloves/arm_guards.dm index c28913b6ff..fa9036e2cd 100644 --- a/code/modules/clothing/gloves/arm_guards.dm +++ b/code/modules/clothing/gloves/arm_guards.dm @@ -18,7 +18,7 @@ name = "ablative arm guards" desc = "These arm guards will protect your hands and arms from energy weapons." icon_state = "arm_guards_laser" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") siemens_coefficient = 0.4 //This is worse than the other ablative pieces, to avoid this from becoming the poor warden's insulated gloves. armor = list(melee = 10, bullet = 10, laser = 80, energy = 50, bomb = 0, bio = 0, rad = 0) @@ -26,7 +26,7 @@ name = "bullet resistant arm guards" desc = "These arm guards will protect your hands and arms from ballistic weapons." icon_state = "arm_guards_bullet" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") siemens_coefficient = 0.7 armor = list(melee = 10, bullet = 80, laser = 10, energy = 50, bomb = 0, bio = 0, rad = 0) @@ -34,7 +34,7 @@ name = "riot arm guards" desc = "These arm guards will protect your hands and arms from close combat weapons." icon_state = "arm_guards_riot" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") siemens_coefficient = 0.5 armor = list(melee = 80, bullet = 10, laser = 10, energy = 50, bomb = 0, bio = 0, rad = 0) @@ -42,6 +42,6 @@ name = "combat arm guards" desc = "These arm guards will protect your hands and arms from a variety of weapons." icon_state = "arm_guards_combat" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") siemens_coefficient = 0.6 armor = list(melee = 50, bullet = 50, laser = 50, energy = 30, bomb = 30, bio = 0, rad = 0) \ No newline at end of file diff --git a/code/modules/clothing/gloves/boxing.dm b/code/modules/clothing/gloves/boxing.dm index 0195431a5c..b901862e42 100644 --- a/code/modules/clothing/gloves/boxing.dm +++ b/code/modules/clothing/gloves/boxing.dm @@ -2,7 +2,7 @@ name = "boxing gloves" desc = "Because you really needed another excuse to punch your crewmates." icon_state = "boxing" - item_state = "red" + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") /obj/item/clothing/gloves/boxing/attackby(obj/item/weapon/W, mob/user) if(istype(W, /obj/item/weapon/wirecutters) || istype(W, /obj/item/weapon/scalpel)) @@ -12,18 +12,18 @@ /obj/item/clothing/gloves/boxing/green icon_state = "boxinggreen" - item_state = "green" + item_state_slots = list(slot_r_hand_str = "green", slot_l_hand_str = "green") /obj/item/clothing/gloves/boxing/blue icon_state = "boxingblue" - item_state = "blue" + item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue") /obj/item/clothing/gloves/boxing/yellow icon_state = "boxingyellow" - item_state = "yellow" + item_state_slots = list(slot_r_hand_str = "yellow", slot_l_hand_str = "yellow") /obj/item/clothing/gloves/white name = "white gloves" desc = "These look pretty fancy." icon_state = "latex" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") diff --git a/code/modules/clothing/gloves/miscellaneous.dm b/code/modules/clothing/gloves/miscellaneous.dm index 19ba27b019..1c32617ea9 100644 --- a/code/modules/clothing/gloves/miscellaneous.dm +++ b/code/modules/clothing/gloves/miscellaneous.dm @@ -2,7 +2,7 @@ desc = "Regal blue gloves, with a nice gold trim. Swanky." name = "captain's gloves" icon_state = "captain" - item_state = "blue" + item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue") /obj/item/clothing/gloves/cyborg desc = "beep boop borp" @@ -40,7 +40,7 @@ name = "latex gloves" desc = "Sterile latex gloves." icon_state = "latex" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") siemens_coefficient = 1.0 //thin latex gloves, much more conductive than fabric gloves (basically a capacitor for AC) permeability_coefficient = 0.01 germ_level = 0 @@ -48,6 +48,6 @@ desc = "These leather work gloves protect against thorns, barbs, prickles, spikes and other harmful objects of floral origin." name = "botanist's leather gloves" icon_state = "leather" - item_state = "lightbrown" + item_state_slots = list(slot_r_hand_str = "lightbrown", slot_l_hand_str = "lightbrown") permeability_coefficient = 0.05 siemens_coefficient = 0.50 //thick work gloves diff --git a/code/modules/clothing/head/collectable.dm b/code/modules/clothing/head/collectable.dm index 622f4024a1..55e481d043 100644 --- a/code/modules/clothing/head/collectable.dm +++ b/code/modules/clothing/head/collectable.dm @@ -23,7 +23,7 @@ name = "collectable xenomorph helmet!" desc = "Hiss hiss hiss!" icon_state = "xenom" - item_state = "xenos_helm" + item_state_slots = list(slot_r_hand_str = "xenos_helm", slot_l_hand_str = "xenos_helm") body_parts_covered = HEAD|FACE|EYES /obj/item/clothing/head/collectable/chef @@ -71,13 +71,13 @@ name = "collectable slime hat" desc = "Just like a real Brain Slug!" icon_state = "headslime" - item_state = "greenbandana" + item_state_slots = list(slot_r_hand_str = "greenbandana", slot_l_hand_str = "greenbandana") /obj/item/clothing/head/collectable/flatcap name = "collectable flat cap" desc = "A Collectible farmer's Flat Cap!" icon_state = "flat_cap" - item_state = "detective" + item_state_slots = list(slot_r_hand_str = "detective", slot_l_hand_str = "detective") /obj/item/clothing/head/collectable/pirate name = "collectable pirate hat" diff --git a/code/modules/clothing/head/helmet.dm b/code/modules/clothing/head/helmet.dm index d3ed985cd1..4548b41a24 100644 --- a/code/modules/clothing/head/helmet.dm +++ b/code/modules/clothing/head/helmet.dm @@ -17,7 +17,7 @@ name = "riot helmet" desc = "It's a helmet specifically designed to protect against close range attacks." icon_state = "riot" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") armor = list(melee = 80, bullet = 10, laser = 10, energy = 10, bomb = 0, bio = 0, rad = 0) flags_inv = HIDEEARS siemens_coefficient = 0.7 @@ -36,7 +36,7 @@ name = "ablative helmet" desc = "It's a helmet specifically designed to protect against energy projectiles." icon_state = "helmet_reflec" - item_state = "helmet" + item_state_slots = list(slot_r_hand_str = "helmet", slot_l_hand_str = "helmet") armor = list(melee = 10, bullet = 10, laser = 80 ,energy = 50, bomb = 0, bio = 0, rad = 0) flags_inv = HIDEEARS siemens_coefficient = 0.1 @@ -45,7 +45,7 @@ name = "bullet-resistant helmet" desc = "It's a helmet specifically designed to protect against ballistic projectiles." icon_state = "helmet_bulletproof" - item_state = "helmet" + item_state_slots = list(slot_r_hand_str = "helmet", slot_l_hand_str = "helmet") armor = list(melee = 10, bullet = 80, laser = 10 ,energy = 10, bomb = 0, bio = 0, rad = 0) flags_inv = HIDEEARS siemens_coefficient = 0.7 @@ -54,7 +54,7 @@ name = "combat helmet" desc = "It's a general purpose combat helmet, designed to protect against typical dangers to your head." icon_state = "helmet_combat" - item_state = "helmet" + item_state_slots = list(slot_r_hand_str = "helmet", slot_l_hand_str = "helmet") armor = list(melee = 50, bullet = 50, laser = 50 ,energy = 30, bomb = 30, bio = 0, rad = 0) flags_inv = HIDEEARS siemens_coefficient = 0.6 @@ -82,7 +82,7 @@ name = "gladiator helmet" desc = "Ave, Imperator, morituri te salutant." icon_state = "gladiator" - item_state = "vhelmet" //why not + item_state_slots = list(slot_r_hand_str = "vhelmet", slot_l_hand_str = "vhelmet") flags = BLOCKHAIR flags_inv = HIDEMASK|HIDEEARS|HIDEEYES siemens_coefficient = 1 @@ -91,7 +91,7 @@ name = "tactical helmet" desc = "An armored helmet capable of being fitted with a multitude of attachments." icon_state = "swathelm" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") sprite_sheets = list( "Tajara" = 'icons/mob/species/tajaran/helmet.dmi', "Unathi" = 'icons/mob/species/unathi/helmet.dmi', @@ -105,7 +105,7 @@ name = "Augment Array" desc = "A helmet with optical and cranial augments coupled to it." icon_state = "v62" - item_state = "head_m" + item_state_slots = list(slot_r_hand_str = "head_m", slot_l_hand_str = "head_m") armor = list(melee = 80, bullet = 60, laser = 50,energy = 25, bomb = 50, bio = 10, rad = 0) flags_inv = HIDEEARS|HIDEEYES cold_protection = HEAD @@ -117,7 +117,7 @@ name = "emergency response team helmet" desc = "An in-atmosphere helmet worn by members of the NanoTrasen Emergency Response Team. Protects the head from impacts." icon_state = "erthelmet_cmd" - item_state = "syndicate-helm-green" + item_state_slots = list(slot_r_hand_str = "syndicate-helm-green", slot_l_hand_str = "syndicate-helm-green") armor = list(melee = 62, bullet = 50, laser = 50,energy = 35, bomb = 10, bio = 2, rad = 0) //Commander diff --git a/code/modules/clothing/head/jobs.dm b/code/modules/clothing/head/jobs.dm index 1d63410f7d..6bf0435e59 100644 --- a/code/modules/clothing/head/jobs.dm +++ b/code/modules/clothing/head/jobs.dm @@ -41,7 +41,7 @@ name = "nun hood" desc = "Maximum piety in this star system." icon_state = "nun_hood" - item_state = "beret_black" + item_state_slots = list(slot_r_hand_str = "beret_black", slot_l_hand_str = "beret_black") flags_inv = BLOCKHAIR body_parts_covered = HEAD @@ -57,101 +57,101 @@ name = "security beret" desc = "A beret with the security insignia emblazoned on it. For officers that are more inclined towards style than safety." icon_state = "beret_officer" - item_state = "beret" - + item_state_slots = list(slot_r_hand_str = "beret", slot_l_hand_str = "beret") + /obj/item/clothing/head/beret/sec/navy/officer name = "officer beret" desc = "A navy blue beret with an officer's rank emblem. For officers that are more inclined towards style than safety." icon_state = "beret_navy_officer" - item_state = "beret_navy" - + item_state_slots = list(slot_r_hand_str = "beret_navy", slot_l_hand_str = "beret_navy") + /obj/item/clothing/head/beret/sec/navy/hos name = "officer beret" desc = "A navy blue beret with a head of security's rank emblem. For officers that are more inclined towards style than safety." icon_state = "beret_navy_hos" - item_state = "beret_navy" - + item_state_slots = list(slot_r_hand_str = "beret_navy", slot_l_hand_str = "beret_navy") + /obj/item/clothing/head/beret/sec/navy/warden name = "warden beret" desc = "A navy blue beret with a warden's rank emblem. For officers that are more inclined towards style than safety." icon_state = "beret_navy_warden" - item_state = "beret_navy" - + item_state_slots = list(slot_r_hand_str = "beret_navy", slot_l_hand_str = "beret_navy") + /obj/item/clothing/head/beret/sec/corporate/officer name = "officer beret" desc = "A corporate black beret with an officer's rank emblem. For officers that are more inclined towards style than safety." icon_state = "beret_corporate_officer" - item_state = "beret_black" - + item_state_slots = list(slot_r_hand_str = "beret_black", slot_l_hand_str = "beret_black") + /obj/item/clothing/head/beret/sec/corporate/hos name = "officer beret" desc = "A corporate black beret with a head of security's rank emblem. For officers that are more inclined towards style than safety." icon_state = "beret_corporate_hos" - item_state = "beret_black" - + item_state_slots = list(slot_r_hand_str = "beret_black", slot_l_hand_str = "beret_black") + /obj/item/clothing/head/beret/sec/corporate/warden name = "warden beret" desc = "A corporate black beret with a warden's rank emblem. For officers that are more inclined towards style than safety." icon_state = "beret_corporate_warden" - item_state = "beret_black" - + item_state_slots = list(slot_r_hand_str = "beret_black", slot_l_hand_str = "beret_black") + /obj/item/clothing/head/beret/engineering name = "engineering beret" desc = "A beret with the engineering insignia emblazoned on it. For engineers that are more inclined towards style than safety." icon_state = "beret_engineering" - + /obj/item/clothing/head/beret/purple name = "purple beret" desc = "A stylish, if purple, beret." icon_state = "beret_purple" - + /obj/item/clothing/head/beret/centcom/officer name = "officers beret" desc = "A dark blue beret adorned with a silver patch. Worn by NanoTrasen Officials." icon_state = "beret_centcom_officer" - item_state = "beret_white" - + item_state_slots = list(slot_r_hand_str = "beret_white", slot_l_hand_str = "beret_white") + /obj/item/clothing/head/beret/centcom/captain name = "captains beret" desc = "A white beret adorned with a blue patch. Worn by NanoTrasen command staff." icon_state = "beret_centcom_captain" - item_state = "beret_white" + item_state_slots = list(slot_r_hand_str = "beret_white", slot_l_hand_str = "beret_white") /obj/item/clothing/head/beret/sec/gov name = "officer beret" desc = "A black beret with a gold emblem." icon_state = "beret_corporate_hos" - item_state = "beret_black" + item_state_slots = list(slot_r_hand_str = "beret_black", slot_l_hand_str = "beret_black") //Medical /obj/item/clothing/head/surgery name = "surgical cap" desc = "A cap surgeons wear during operations. Keeps their hair from tickling your internal organs." icon_state = "surgcap_blue" - item_state = "beret_blue" + item_state_slots = list(slot_r_hand_str = "beret_blue", slot_l_hand_str = "beret_blue") flags_inv = BLOCKHEADHAIR /obj/item/clothing/head/surgery/purple desc = "A cap surgeons wear during operations. Keeps their hair from tickling your internal organs. This one is deep purple." icon_state = "surgcap_purple" - item_state = "beret_purple" + item_state_slots = list(slot_r_hand_str = "beret_purple", slot_l_hand_str = "beret_purple") /obj/item/clothing/head/surgery/blue desc = "A cap surgeons wear during operations. Keeps their hair from tickling your internal organs. This one is baby blue." icon_state = "surgcap_blue" - item_state = "beret_blue" + item_state_slots = list(slot_r_hand_str = "beret_blue", slot_l_hand_str = "beret_blue") /obj/item/clothing/head/surgery/green desc = "A cap surgeons wear during operations. Keeps their hair from tickling your internal organs. This one is dark green." icon_state = "surgcap_green" - item_state = "beret_green" + item_state_slots = list(slot_r_hand_str = "beret_green", slot_l_hand_str = "beret_green") /obj/item/clothing/head/surgery/black desc = "A cap surgeons wear during operations. Keeps their hair from tickling your internal organs. This one is black." icon_state = "surgcap_black" - item_state = "beret_black" + item_state_slots = list(slot_r_hand_str = "beret_black", slot_l_hand_str = "beret_black") /obj/item/clothing/head/surgery/navyblue desc = "A cap surgeons wear during operations. Keeps their hair from tickling your internal organs. This one is navy blue." icon_state = "surgcap_navyblue" - item_state = "beret_navy" \ No newline at end of file + item_state_slots = list(slot_r_hand_str = "beret_navy", slot_l_hand_str = "beret_navy") \ No newline at end of file diff --git a/code/modules/clothing/head/misc.dm b/code/modules/clothing/head/misc.dm index 526371a59a..09cc0356ad 100644 --- a/code/modules/clothing/head/misc.dm +++ b/code/modules/clothing/head/misc.dm @@ -42,14 +42,14 @@ /obj/item/clothing/head/redcoat name = "redcoat's hat" icon_state = "redcoat" - item_state = "pirate" + item_state_slots = list(slot_r_hand_str = "pirate", slot_l_hand_str = "pirate") desc = "'I guess it's a redhead.'" body_parts_covered = 0 /obj/item/clothing/head/mailman name = "station cap" icon_state = "mailman" - item_state = "hopcap" + item_state_slots = list(slot_r_hand_str = "hopcap", slot_l_hand_str = "hopcap") desc = "Choo-choo!" body_parts_covered = 0 @@ -57,7 +57,7 @@ name = "plague doctor's hat" desc = "These were once used by Plague doctors. They're pretty much useless." icon_state = "plaguedoctor" - item_state = "tophat" + item_state_slots = list(slot_r_hand_str = "tophat", slot_l_hand_str = "tophat") permeability_coefficient = 0.01 siemens_coefficient = 0.9 body_parts_covered = 0 @@ -66,20 +66,20 @@ name = "hastur's hood" desc = "It's unspeakably stylish" icon_state = "hasturhood" - item_state = "enginering_beret" + item_state_slots = list(slot_r_hand_str = "enginering_beret", slot_l_hand_str = "enginering_beret") flags_inv = BLOCKHAIR body_parts_covered = HEAD|FACE|EYES /obj/item/clothing/head/nursehat name = "nurse's hat" desc = "It allows quick identification of trained medical personnel." - icon_state = "nursehat" + item_state_slots = list(slot_r_hand_str = "nursehat", slot_l_hand_str = "nursehat") siemens_coefficient = 0.9 body_parts_covered = 0 /obj/item/clothing/head/syndicatefake name = "red space-helmet replica" - item_state = "syndicate-helm-black-red" + item_state_slots = list(slot_r_hand_str = "syndicate-helm-black-red", slot_l_hand_str = "syndicate-helm-black-red") icon_state = "syndicate" desc = "A plastic replica of a bloodthirsty mercenary's space helmet, you'll look just like a real murderous criminal operative in this! This is a toy, it is not made for use in space!" flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|BLOCKHAIR @@ -136,7 +136,7 @@ name = "flat cap" desc = "A working man's cap." icon_state = "flat_cap" - item_state = "detective" + item_state_slots = list(slot_r_hand_str = "detective", slot_l_hand_str = "detective") siemens_coefficient = 0.9 //...what? /obj/item/clothing/head/pirate @@ -149,20 +149,20 @@ name = "pirate hat" desc = "Yarr." icon_state = "hgpiratecap" - item_state = "hoscap" + item_state_slots = list(slot_r_hand_str = "hoscap", slot_l_hand_str = "hoscap") body_parts_covered = 0 /obj/item/clothing/head/bandana name = "pirate bandana" desc = "Yarr." icon_state = "bandana" - item_state = "redbandana" + item_state_slots = list(slot_r_hand_str = "redbandana", slot_l_hand_str = "redbandana") /obj/item/clothing/head/bowler name = "bowler-hat" desc = "Gentleman, elite aboard!" icon_state = "bowler" - item_state = "tophat" + item_state_slots = list(slot_r_hand_str = "tophat", slot_l_hand_str = "tophat") body_parts_covered = 0 //stylish bs12 hats @@ -170,32 +170,32 @@ /obj/item/clothing/head/bowlerhat name = "bowler hat" icon_state = "bowler_hat" - item_state = "tophat" + item_state_slots = list(slot_r_hand_str = "tophat", slot_l_hand_str = "tophat") desc = "For the gentleman of distinction." body_parts_covered = 0 /obj/item/clothing/head/beaverhat name = "beaver hat" icon_state = "beaver_hat" - item_state = "tophat" + item_state_slots = list(slot_r_hand_str = "tophat", slot_l_hand_str = "tophat") desc = "Soft felt makes this hat both comfortable and elegant." /obj/item/clothing/head/boaterhat name = "boater hat" icon_state = "boater_hat" - item_state = "tophat" + item_state_slots = list(slot_r_hand_str = "tophat", slot_l_hand_str = "tophat") desc = "The ultimate in summer fashion." /obj/item/clothing/head/fedora name = "fedora" icon_state = "fedora" - item_state = "detective" + item_state_slots = list(slot_r_hand_str = "detective", slot_l_hand_str = "detective") desc = "A sharp, stylish hat." /obj/item/clothing/head/feathertrilby name = "feather trilby" icon_state = "feather_trilby" - item_state = "detective" + item_state_slots = list(slot_r_hand_str = "detective", slot_l_hand_str = "detective") desc = "A sharp, stylish hat with a feather." /obj/item/clothing/head/fez @@ -228,14 +228,14 @@ name = "bear pelt hat" desc = "Fuzzy." icon_state = "bearpelt" - item_state = "beret_black" + item_state_slots = list(slot_r_hand_str = "beret_black", slot_l_hand_str = "beret_black") flags_inv = BLOCKHAIR siemens_coefficient = 0.7 /obj/item/clothing/head/xenos name = "xenos helmet" icon_state = "xenos" - item_state = "xenos_helm" + item_state_slots = list(slot_r_hand_str = "xenos_helm", slot_l_hand_str = "xenos_helm") desc = "A helmet made out of chitinous alien hide." flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|BLOCKHAIR siemens_coefficient = 2.0 @@ -245,7 +245,7 @@ name = "natural philosopher's wig" desc = "A stylish monstrosity unearthed from Earth's Renaissance period. With this most distinguish'd wig, you'll be ready for your next soiree!" icon_state = "philosopher_wig" - item_state = "pwig" + item_state_slots = list(slot_r_hand_str = "pwig", slot_l_hand_str = "pwig") flags_inv = BLOCKHAIR siemens_coefficient = 2.0 //why is it so conductive?! body_parts_covered = 0 @@ -260,7 +260,7 @@ name = "hijab" desc = "A veil that is wrapped to cover the head and chest" icon_state = "hijab" - item_state = "beret_white" + item_state_slots = list(slot_r_hand_str = "beret_white", slot_l_hand_str = "beret_white") body_parts_covered = 0 flags_inv = BLOCKHAIR @@ -274,6 +274,6 @@ name = "turban" desc = "A cloth used to wind around the head" icon_state = "turban" - item_state = "beret_white" + item_state_slots = list(slot_r_hand_str = "beret_white", slot_l_hand_str = "beret_white") body_parts_covered = 0 flags_inv = BLOCKHAIR diff --git a/code/modules/clothing/head/misc_special.dm b/code/modules/clothing/head/misc_special.dm index 2cb7568edf..cc960d17fb 100644 --- a/code/modules/clothing/head/misc_special.dm +++ b/code/modules/clothing/head/misc_special.dm @@ -15,7 +15,7 @@ name = "welding helmet" desc = "A head-mounted face cover designed to protect the wearer completely from space-arc eye." icon_state = "welding" - item_state = "welding" + item_state_slots = list(slot_r_hand_str = "welding", slot_l_hand_str = "welding") matter = list(DEFAULT_WALL_MATERIAL = 3000, "glass" = 1000) var/up = 0 armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) @@ -145,7 +145,7 @@ name = "chicken mask" desc = "You can hear the distant sounds of rhythmic electronica." icon_state = "richard" - item_state = "chickenhead" + item_state_slots = list(slot_r_hand_str = "chickenhead", slot_l_hand_str = "chickenhead") body_parts_covered = HEAD|FACE flags_inv = BLOCKHAIR @@ -153,12 +153,12 @@ name = "santa hat" desc = "It's a festive christmas hat, in red!" icon_state = "santahatnorm" - item_state = "santahat" + item_state_slots = list(slot_r_hand_str = "santahat", slot_l_hand_str = "santahat") body_parts_covered = 0 /obj/item/clothing/head/santa/green name = "green santa hat" desc = "It's a festive christmas hat, in green!" icon_state = "santahatgreen" - item_state = "santahatgreen" + item_state_slots = list(slot_r_hand_str = "santahatgreen", slot_l_hand_str = "santahatgreen") body_parts_covered = 0 \ No newline at end of file diff --git a/code/modules/clothing/head/soft_caps.dm b/code/modules/clothing/head/soft_caps.dm index f34b03e952..0a5a494ecb 100644 --- a/code/modules/clothing/head/soft_caps.dm +++ b/code/modules/clothing/head/soft_caps.dm @@ -2,7 +2,7 @@ name = "cargo cap" desc = "It's a peaked cap in a tasteless yellow color." icon_state = "cargosoft" - item_state = "cargosoft" + item_state_slots = list(slot_r_hand_str = "cargosoft", slot_l_hand_str = "cargosoft") var/flipped = 0 siemens_coefficient = 0.9 body_parts_covered = 0 @@ -26,70 +26,70 @@ name = "red cap" desc = "It's a baseball hat in a tasteless red color." icon_state = "redsoft" - item_state = "redsoft" + item_state_slots = list(slot_r_hand_str = "redsoft", slot_l_hand_str = "redsoft") /obj/item/clothing/head/soft/blue name = "blue cap" desc = "It's a peaked cap in a tasteless blue color." icon_state = "bluesoft" - item_state = "bluesoft" + item_state_slots = list(slot_r_hand_str = "bluesoft", slot_l_hand_str = "bluesoft") /obj/item/clothing/head/soft/green name = "green cap" desc = "It's a peaked cap in a tasteless green color." icon_state = "greensoft" - item_state = "greensoft" + item_state_slots = list(slot_r_hand_str = "greensoft", slot_l_hand_str = "greensoft") /obj/item/clothing/head/soft/yellow name = "yellow cap" desc = "It's a peaked cap in a tasteless yellow color." icon_state = "yellowsoft" - item_state = "yellowsoft" + item_state_slots = list(slot_r_hand_str = "yellowsoft", slot_l_hand_str = "yellowsoft") /obj/item/clothing/head/soft/grey name = "grey cap" desc = "It's a peaked cap in a tasteful grey color." icon_state = "greysoft" - item_state = "greysoft" + item_state_slots = list(slot_r_hand_str = "greysoft", slot_l_hand_str = "greysoft") /obj/item/clothing/head/soft/orange name = "orange cap" desc = "It's a peaked cap in a tasteless orange color." icon_state = "orangesoft" - item_state = "orangesoft" + item_state_slots = list(slot_r_hand_str = "orangesoft", slot_l_hand_str = "orangesoft") /obj/item/clothing/head/soft/mime name = "white cap" desc = "It's a peaked cap in a tasteless white color." icon_state = "mimesoft" - item_state = "mimesoft" + item_state_slots = list(slot_r_hand_str = "mimesoft", slot_l_hand_str = "mimesoft") /obj/item/clothing/head/soft/purple name = "purple cap" desc = "It's a peaked cap in a tasteless purple color." icon_state = "purplesoft" - item_state = "purplesoft" + item_state_slots = list(slot_r_hand_str = "purplesoft", slot_l_hand_str = "purplesoft") /obj/item/clothing/head/soft/rainbow name = "rainbow cap" desc = "It's a peaked cap in a bright rainbow of colors." icon_state = "rainbowsoft" - item_state = "rainbowsoft" + item_state_slots = list(slot_r_hand_str = "rainbowsoft", slot_l_hand_str = "rainbowsoft") /obj/item/clothing/head/soft/sec name = "security cap" desc = "It's a field cap in tasteful red color." icon_state = "secsoft" - item_state = "secsoft" + item_state_slots = list(slot_r_hand_str = "secsoft", slot_l_hand_str = "secsoft") /obj/item/clothing/head/soft/sec/corp name = "corporate security cap" desc = "It's field cap in corporate colors." icon_state = "corpsoft" - item_state = "corpsoft" + item_state_slots = list(slot_r_hand_str = "corpsoft", slot_l_hand_str = "corpsoft") /obj/item/clothing/head/soft/black name = "black cap" desc = "It's a peaked cap in a tasteful black color." icon_state = "blacksoft" - item_state = "blacksoft" \ No newline at end of file + item_state_slots = list(slot_r_hand_str = "blacksoft", slot_l_hand_str = "blacksoft") \ No newline at end of file diff --git a/code/modules/clothing/masks/boxing.dm b/code/modules/clothing/masks/boxing.dm index 8f713509e5..3dabeb99d6 100644 --- a/code/modules/clothing/masks/boxing.dm +++ b/code/modules/clothing/masks/boxing.dm @@ -2,7 +2,7 @@ name = "balaclava" desc = "LOADSAMONEY" icon_state = "balaclava" - item_state = "bandblack" + item_state_slots = list(slot_r_hand_str = "bandblack", slot_l_hand_str = "bandblack") flags_inv = HIDEFACE|BLOCKHAIR body_parts_covered = FACE|HEAD w_class = 2 @@ -15,7 +15,7 @@ name = "green balaclava" desc = "Designed to both hide identities and keep your face comfy and warm." icon_state = "swatclava" - item_state = "bandgreen" + item_state_slots = list(slot_r_hand_str = "bandgreen", slot_l_hand_str = "bandgreen") flags_inv = HIDEFACE|BLOCKHAIR w_class = 2 sprite_sheets = list( diff --git a/code/modules/clothing/masks/breath.dm b/code/modules/clothing/masks/breath.dm index 38e86e5dc9..7568d53b74 100644 --- a/code/modules/clothing/masks/breath.dm +++ b/code/modules/clothing/masks/breath.dm @@ -2,7 +2,7 @@ desc = "A close-fitting mask that can be connected to an air supply." name = "breath mask" icon_state = "breath" - item_state = "breath" + item_state_slots = list(slot_r_hand_str = "breath", slot_l_hand_str = "breath") item_flags = AIRTIGHT|FLEXIBLEMATERIAL body_parts_covered = FACE w_class = 2 @@ -41,5 +41,5 @@ desc = "A close-fitting sterile mask that can be connected to an air supply." name = "medical mask" icon_state = "medical" - item_state = "medical" + item_state_slots = list(slot_r_hand_str = "medical", slot_l_hand_str = "medical") permeability_coefficient = 0.01 diff --git a/code/modules/clothing/masks/gasmask.dm b/code/modules/clothing/masks/gasmask.dm index 5d491f0afd..ad7c9928d2 100644 --- a/code/modules/clothing/masks/gasmask.dm +++ b/code/modules/clothing/masks/gasmask.dm @@ -6,7 +6,7 @@ flags_inv = HIDEEARS|HIDEEYES|HIDEFACE body_parts_covered = FACE|EYES w_class = 3.0 - item_state = "gas_alt" + item_state_slots = list(slot_r_hand_str = "gas_alt", slot_l_hand_str = "gas_alt") gas_transfer_coefficient = 0.01 permeability_coefficient = 0.01 siemens_coefficient = 0.9 @@ -32,7 +32,7 @@ name = "plague doctor mask" desc = "A modernised version of the classic design, this mask will not only filter out phoron but it can also be connected to an air supply." icon_state = "plaguedoctor" - item_state = "gas" + item_state_slots = list(slot_r_hand_str = "gas", slot_l_hand_str = "gas") armor = list(melee = 0, bullet = 0, laser = 2,energy = 2, bomb = 0, bio = 90, rad = 0) body_parts_covered = HEAD|FACE|EYES @@ -53,19 +53,19 @@ name = "clown wig and mask" desc = "A true prankster's facial attire. A clown is incomplete without their wig and mask." icon_state = "clown" - item_state = "clown_hat" + item_state_slots = list(slot_r_hand_str = "clown_hat", slot_l_hand_str = "clown_hat") /obj/item/clothing/mask/gas/sexyclown name = "sexy-clown wig and mask" desc = "A feminine clown mask for the dabbling crossdressers or female entertainers." icon_state = "sexyclown" - item_state = "clown_hat" + item_state_slots = list(slot_r_hand_str = "clown_hat", slot_l_hand_str = "clown_hat") /obj/item/clothing/mask/gas/mime name = "mime mask" desc = "The traditional mime's mask. It has an eerie facial posture." icon_state = "mime" - item_state = "mime" + item_state_slots = list(slot_r_hand_str = "mime", slot_l_hand_str = "mime") /obj/item/clothing/mask/gas/monkeymask name = "monkey mask" @@ -77,12 +77,12 @@ name = "sexy mime mask" desc = "A traditional female mime's mask." icon_state = "sexymime" - item_state = "mime" + item_state_slots = list(slot_r_hand_str = "mime", slot_l_hand_str = "mime") /obj/item/clothing/mask/gas/death_commando name = "Death Commando Mask" icon_state = "death_commando_mask" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") siemens_coefficient = 0.2 /obj/item/clothing/mask/gas/cyborg diff --git a/code/modules/clothing/masks/miscellaneous.dm b/code/modules/clothing/masks/miscellaneous.dm index 4af868783a..fe0cfdebaa 100644 --- a/code/modules/clothing/masks/miscellaneous.dm +++ b/code/modules/clothing/masks/miscellaneous.dm @@ -12,7 +12,7 @@ desc = "It's a robust DIY muzzle!" icon = 'icons/obj/bureaucracy.dmi' icon_state = "tape_cross" - item_state = null + item_state_slots = list(slot_r_hand_str = null, slot_l_hand_str = null) w_class = 1 /obj/item/clothing/mask/muzzle/New() @@ -30,7 +30,7 @@ name = "sterile mask" desc = "A sterile mask designed to help prevent the spread of diseases." icon_state = "sterile" - item_state = "sterile" + item_state_slots = list(slot_r_hand_str = "sterile", slot_l_hand_str = "sterile") w_class = 2 body_parts_covered = FACE item_flags = FLEXIBLEMATERIAL @@ -144,7 +144,7 @@ name = "camera MIU" desc = "Allows for direct mental connection to accessible camera networks." icon_state = "s-ninja" - item_state = "mime" + item_state_slots = list(slot_r_hand_str = "mime", slot_l_hand_str = "mime") flags_inv = HIDEFACE body_parts_covered = 0 var/mob/observer/eye/aiEye/eye @@ -178,7 +178,7 @@ flags_inv = HIDEFACE slot_flags = SLOT_MASK icon_state = "bandblack" - item_state = "bandblack" + item_state_slots = list(slot_r_hand_str = "bandblack", slot_l_hand_str = "bandblack") var/tied = 0 /obj/item/clothing/mask/bandana/proc/adjust_bandana(mob/user) @@ -207,28 +207,28 @@ name = "red bandana" desc = "A fine red bandana with nanotech lining." icon_state = "bandred" - item_state = "bandred" + item_state_slots = list(slot_r_hand_str = "bandred", slot_l_hand_str = "bandred") /obj/item/clothing/mask/bandana/blue name = "blue bandana" desc = "A fine blue bandana with nanotech lining." icon_state = "bandblue" - item_state = "bandblue" + item_state_slots = list(slot_r_hand_str = "bandblue", slot_l_hand_str = "bandblue") /obj/item/clothing/mask/bandana/green name = "green bandana" desc = "A fine green bandana with nanotech lining." icon_state = "bandgreen" - item_state = "bandgreen" + item_state_slots = list(slot_r_hand_str = "bandgreen", slot_l_hand_str = "bandgreen") /obj/item/clothing/mask/bandana/gold name = "gold bandana" desc = "A fine gold bandana with nanotech lining." icon_state = "bandgold" - item_state = "bandgold" + item_state_slots = list(slot_r_hand_str = "bandgold", slot_l_hand_str = "bandgold") /obj/item/clothing/mask/bandana/skull name = "skull bandana" desc = "A fine black bandana with nanotech lining and a skull emblem." icon_state = "bandskull" - item_state = "bandskull" \ No newline at end of file + item_state_slots = list(slot_r_hand_str = "bandskull", slot_l_hand_str = "bandskull") \ No newline at end of file diff --git a/code/modules/clothing/shoes/colour.dm b/code/modules/clothing/shoes/colour.dm index 38bc50379e..f79b7ca4f0 100644 --- a/code/modules/clothing/shoes/colour.dm +++ b/code/modules/clothing/shoes/colour.dm @@ -53,43 +53,43 @@ name = "black flats" desc = "Sleek black flats." icon_state = "flatsblack" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") /obj/item/clothing/shoes/flats/white name = "white flats" desc = "Shiny white flats." icon_state = "flatswhite" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") /obj/item/clothing/shoes/flats/red name = "red flats" desc = "Ruby red flats." icon_state = "flatsred" - item_state = "red" + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") /obj/item/clothing/shoes/flats/purple name = "purple flats" desc = "Royal purple flats." icon_state = "flatspurple" - item_state = "purple" + item_state_slots = list(slot_r_hand_str = "purple", slot_l_hand_str = "purple") /obj/item/clothing/shoes/flats/blue name = "blue flats" desc = "Sleek blue flats." icon_state = "flatsblue" - item_state = "blue" + item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue") /obj/item/clothing/shoes/flats/brown name = "brown flats" desc = "Sleek brown flats." icon_state = "flatsbrown" - item_state = "brown" + item_state_slots = list(slot_r_hand_str = "brown", slot_l_hand_str = "brown") /obj/item/clothing/shoes/flats/orange name = "orange flats" desc = "Radiant orange flats." icon_state = "flatsorange" - item_state = "orange" + item_state_slots = list(slot_r_hand_str = "orange", slot_l_hand_str = "orange") /obj/item/clothing/shoes/orange name = "orange shoes" @@ -122,6 +122,4 @@ /obj/item/clothing/shoes/orange/attackby(H as obj, mob/user as mob) ..() if (istype(H, /obj/item/weapon/handcuffs)) - attach_cuffs(H, user) - - + attach_cuffs(H, user) \ No newline at end of file diff --git a/code/modules/clothing/shoes/jobs.dm b/code/modules/clothing/shoes/jobs.dm index 185f825d0e..b0b93fc1a4 100644 --- a/code/modules/clothing/shoes/jobs.dm +++ b/code/modules/clothing/shoes/jobs.dm @@ -19,7 +19,7 @@ /obj/item/clothing/shoes/jackboots/toeless name = "toe-less jackboots" desc = "Modified pair of jackboots, particularly friendly to those species whose toes hold claws." - item_state = "jackboots" + item_state_slots = list(slot_r_hand_str = "jackboots", slot_l_hand_str = "jackboots") species_restricted = null /obj/item/clothing/shoes/workboots diff --git a/code/modules/clothing/shoes/leg_guards.dm b/code/modules/clothing/shoes/leg_guards.dm index df84a7fe43..b063e2b50a 100644 --- a/code/modules/clothing/shoes/leg_guards.dm +++ b/code/modules/clothing/shoes/leg_guards.dm @@ -18,7 +18,7 @@ name = "ablative leg guards" desc = "These will protect your legs and feet from energy weapons." icon_state = "leg_guards_laser" - item_state = "jackboots" + item_state_slots = list(slot_r_hand_str = "jackboots", slot_l_hand_str = "jackboots") siemens_coefficient = 0.1 armor = list(melee = 10, bullet = 10, laser = 80, energy = 50, bomb = 0, bio = 0, rad = 0) @@ -26,7 +26,7 @@ name = "bullet resistant leg guards" desc = "These will protect your legs and feet from ballistic weapons." icon_state = "leg_guards_bullet" - item_state = "jackboots" + item_state_slots = list(slot_r_hand_str = "jackboots", slot_l_hand_str = "jackboots") siemens_coefficient = 0.7 armor = list(melee = 10, bullet = 80, laser = 10, energy = 10, bomb = 0, bio = 0, rad = 0) @@ -34,7 +34,7 @@ name = "riot leg guards" desc = "These will protect your legs and feet from close combat weapons." icon_state = "leg_guards_riot" - item_state = "jackboots" + item_state_slots = list(slot_r_hand_str = "jackboots", slot_l_hand_str = "jackboots") siemens_coefficient = 0.5 armor = list(melee = 80, bullet = 10, laser = 10, energy = 10, bomb = 0, bio = 0, rad = 0) @@ -42,6 +42,6 @@ name = "combat leg guards" desc = "These will protect your legs and feet from a variety of weapons." icon_state = "leg_guards_combat" - item_state = "jackboots" + item_state_slots = list(slot_r_hand_str = "jackboots", slot_l_hand_str = "jackboots") siemens_coefficient = 0.6 armor = list(melee = 50, bullet = 50, laser = 50, energy = 30, bomb = 30, bio = 0, rad = 0) diff --git a/code/modules/clothing/shoes/magboots.dm b/code/modules/clothing/shoes/magboots.dm index 01ba3395a9..0f862f4c53 100644 --- a/code/modules/clothing/shoes/magboots.dm +++ b/code/modules/clothing/shoes/magboots.dm @@ -2,7 +2,7 @@ desc = "Magnetic boots, often used during extravehicular activity to ensure the user remains safely attached to the vehicle. They're large enough to be worn over other footwear." name = "magboots" icon_state = "magboots0" - item_state = "magboots" + item_state_slots = list(slot_r_hand_str = "magboots", slot_l_hand_str = "magboots") species_restricted = null force = 3 overshoes = 1 diff --git a/code/modules/clothing/shoes/miscellaneous.dm b/code/modules/clothing/shoes/miscellaneous.dm index 80dc45c399..f6423106a5 100644 --- a/code/modules/clothing/shoes/miscellaneous.dm +++ b/code/modules/clothing/shoes/miscellaneous.dm @@ -17,7 +17,7 @@ name = "\improper SWAT shoes" desc = "When you want to turn up the heat." icon_state = "swat" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") force = 3 armor = list(melee = 80, bullet = 60, laser = 50,energy = 25, bomb = 50, bio = 10, rad = 0) item_flags = NOSLIP @@ -58,7 +58,7 @@ name = "combat boots" desc = "Standard issue combat boots for combat scenarios or combat situations. All combat, all the time. It can hold a Strategical knife." icon_state = "jackboots" - item_state = "jackboots" + item_state_slots = list(slot_r_hand_str = "jackboots", slot_l_hand_str = "jackboots") armor = list(melee = 80, bullet = 60, laser = 50,energy = 25, bomb = 50, bio = 10, rad = 0) siemens_coefficient = 0.6 var/obj/item/weapon/material/hatchet/tacknife @@ -144,7 +144,7 @@ name = "boots" desc = "A pair of boots worn by the followers of Nar-Sie." icon_state = "cult" - item_state = "cult" + item_state_slots = list(slot_r_hand_str = "cult", slot_l_hand_str = "cult") force = 2 siemens_coefficient = 0.7 @@ -174,7 +174,7 @@ name = "worn bunny slippers" desc = "Fluffy..." icon_state = "slippers_worn" - item_state = "slippers" + item_state_slots = list(slot_r_hand_str = "slippers", slot_l_hand_str = "slippers") force = 0 w_class = 2 @@ -187,7 +187,7 @@ desc = "Help you swim good." name = "swimming fins" icon_state = "flippers" - item_state = "galoshes" + item_state_slots = list(slot_r_hand_str = "galoshes", slot_l_hand_str = "galoshes") item_flags = NOSLIP slowdown = SHOES_SLOWDOWN+1 species_restricted = null diff --git a/code/modules/clothing/spacesuits/miscellaneous.dm b/code/modules/clothing/spacesuits/miscellaneous.dm index a3b84af358..c8d73b0f3e 100644 --- a/code/modules/clothing/spacesuits/miscellaneous.dm +++ b/code/modules/clothing/spacesuits/miscellaneous.dm @@ -31,7 +31,7 @@ name = "deathsquad helmet" desc = "That's not red paint. That's real blood." icon_state = "deathsquad" - item_state = "syndicate-helm-black-red" + item_state_slots = list(slot_r_hand_str = "syndicate-helm-black-red", slot_l_hand_str = "syndicate-helm-black-red") armor = list(melee = 65, bullet = 55, laser = 35,energy = 20, bomb = 30, bio = 100, rad = 60) item_flags = STOPPRESSUREDAMAGE | THICKMATERIAL flags_inv = BLOCKHAIR @@ -42,7 +42,7 @@ name = "officer's beret" desc = "An armored beret commonly used by special operations officers." icon_state = "beret_badge" - item_state = "beret" + item_state_slots = list(slot_r_hand_str = "beret", slot_l_hand_str = "beret") armor = list(melee = 65, bullet = 55, laser = 35,energy = 20, bomb = 30, bio = 30, rad = 30) item_flags = STOPPRESSUREDAMAGE flags_inv = BLOCKHAIR @@ -93,7 +93,6 @@ icon_state = "syndicate-helm-orange" desc = "A simple helmet with a built in light, smells like mothballs." - /obj/item/clothing/suit/space/emergency name = "Emergency Softsuit" icon_state = "syndicate-orange" diff --git a/code/modules/clothing/spacesuits/void/merc.dm b/code/modules/clothing/spacesuits/void/merc.dm index 5db4e882eb..9e1e3513cc 100644 --- a/code/modules/clothing/spacesuits/void/merc.dm +++ b/code/modules/clothing/spacesuits/void/merc.dm @@ -3,7 +3,7 @@ name = "blood-red voidsuit helmet" desc = "An advanced helmet designed for work in special operations. Property of Gorlex Marauders." icon_state = "rig0-syndie" - item_state = "syndie_helm" + item_state_slots = list(slot_r_hand_str = "syndie_helm", slot_l_hand_str = "syndie_helm") armor = list(melee = 60, bullet = 50, laser = 30,energy = 15, bomb = 35, bio = 100, rad = 60) siemens_coefficient = 0.6 species_restricted = list("Human") @@ -14,7 +14,7 @@ icon_state = "rig-syndie" name = "blood-red voidsuit" desc = "An advanced suit that protects against injuries during special operations. Property of Gorlex Marauders." - item_state = "syndie_voidsuit" + item_state_slots = list(slot_r_hand_str = "syndie_voidsuit", slot_l_hand_str = "syndie_voidsuit") slowdown = 1 w_class = 3 armor = list(melee = 60, bullet = 50, laser = 30, energy = 15, bomb = 35, bio = 100, rad = 60) diff --git a/code/modules/clothing/spacesuits/void/station.dm b/code/modules/clothing/spacesuits/void/station.dm index a15bc7e724..dde178e33d 100644 --- a/code/modules/clothing/spacesuits/void/station.dm +++ b/code/modules/clothing/spacesuits/void/station.dm @@ -4,14 +4,14 @@ name = "engineering voidsuit helmet" desc = "A special helmet designed for work in a hazardous, low-pressure environment. Has radiation shielding." icon_state = "rig0-engineering" - item_state = "eng_helm" + item_state_slots = list(slot_r_hand_str = "eng_helm", slot_l_hand_str = "eng_helm") armor = list(melee = 40, bullet = 5, laser = 20,energy = 5, bomb = 35, bio = 100, rad = 80) /obj/item/clothing/suit/space/void/engineering name = "engineering voidsuit" desc = "A special suit that protects against hazardous, low pressure environments. Has radiation shielding." icon_state = "rig-engineering" - item_state = "eng_voidsuit" + item_state_slots = list(slot_r_hand_str = "eng_voidsuit", slot_l_hand_str = "eng_voidsuit") slowdown = 1 armor = list(melee = 40, bullet = 5, laser = 20,energy = 5, bomb = 35, bio = 100, rad = 80) allowed = list(/obj/item/device/flashlight,/obj/item/weapon/tank,/obj/item/device/suit_cooling_unit,/obj/item/weapon/storage/bag/ore,/obj/item/device/t_scanner,/obj/item/weapon/pickaxe, /obj/item/weapon/rcd) @@ -21,7 +21,7 @@ name = "mining voidsuit helmet" desc = "A special helmet designed for work in a hazardous, low pressure environment. Has reinforced plating." icon_state = "rig0-mining" - item_state = "mining_helm" + item_state_slots = list(slot_r_hand_str = "mining_helm", slot_l_hand_str = "mining_helm") armor = list(melee = 50, bullet = 5, laser = 20,energy = 5, bomb = 55, bio = 100, rad = 20) light_overlay = "helmet_light_dual" @@ -29,7 +29,7 @@ name = "mining voidsuit" desc = "A special suit that protects against hazardous, low pressure environments. Has reinforced plating." icon_state = "rig-mining" - item_state = "mining_voidsuit" + item_state_slots = list(slot_r_hand_str = "mining_voidsuit", slot_l_hand_str = "mining_voidsuit") armor = list(melee = 50, bullet = 5, laser = 20,energy = 5, bomb = 55, bio = 100, rad = 20) //Medical @@ -37,14 +37,14 @@ name = "medical voidsuit helmet" 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" + item_state_slots = list(slot_r_hand_str = "medical_helm", slot_l_hand_str = "medical_helm") armor = list(melee = 30, bullet = 5, laser = 20,energy = 5, bomb = 25, bio = 100, rad = 50) /obj/item/clothing/suit/space/void/medical name = "medical voidsuit" desc = "A special suit that protects against hazardous, low pressure environments. Has minor radiation shielding." icon_state = "rig-medical" - item_state = "medical_voidsuit" + item_state_slots = list(slot_r_hand_str = "medical_voidsuit", slot_l_hand_str = "medical_voidsuit") allowed = list(/obj/item/device/flashlight,/obj/item/weapon/tank,/obj/item/device/suit_cooling_unit,/obj/item/weapon/storage/firstaid,/obj/item/device/healthanalyzer,/obj/item/stack/medical) armor = list(melee = 30, bullet = 5, laser = 20,energy = 5, bomb = 25, bio = 100, rad = 50) @@ -53,7 +53,7 @@ name = "security voidsuit helmet" 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" + item_state_slots = list(slot_r_hand_str = "sec_helm", slot_l_hand_str = "sec_helm") armor = list(melee = 60, bullet = 10, laser = 30, energy = 5, bomb = 45, bio = 100, rad = 10) siemens_coefficient = 0.7 light_overlay = "helmet_light_dual" @@ -62,7 +62,7 @@ name = "security voidsuit" desc = "A special suit that protects against hazardous, low pressure environments. Has an additional layer of armor." icon_state = "rig-sec" - item_state = "sec_voidsuit" + item_state_slots = list(slot_r_hand_str = "sec_voidsuit", slot_l_hand_str = "sec_voidsuit") armor = list(melee = 60, bullet = 10, laser = 30, energy = 5, bomb = 45, bio = 100, rad = 10) allowed = list(/obj/item/weapon/gun,/obj/item/device/flashlight,/obj/item/weapon/tank,/obj/item/device/suit_cooling_unit,/obj/item/weapon/melee/baton) siemens_coefficient = 0.7 @@ -72,7 +72,7 @@ desc = "A special helmet designed for work in a hazardous, low pressure environments. Has improved thermal protection and minor radiation shielding." name = "atmospherics voidsuit helmet" icon_state = "rig0-atmos" - item_state = "atmos_helm" + item_state_slots = list(slot_r_hand_str = "atmos_helm", slot_l_hand_str = "atmos_helm") armor = list(melee = 40, bullet = 5, laser = 20,energy = 5, bomb = 35, bio = 100, rad = 50) max_heat_protection_temperature = FIRE_HELMET_MAX_HEAT_PROTECTION_TEMPERATURE light_overlay = "helmet_light_dual" @@ -81,6 +81,6 @@ name = "atmos voidsuit" desc = "A special suit that protects against hazardous, low pressure environments. Has improved thermal protection and minor radiation shielding." icon_state = "rig-atmos" - item_state = "atmos_voidsuit" + item_state_slots = list(slot_r_hand_str = "atmos_voidsuit", slot_l_hand_str = "atmos_voidsuit") armor = list(melee = 40, bullet = 5, laser = 20,energy = 5, bomb = 35, bio = 100, rad = 50) max_heat_protection_temperature = FIRESUIT_MAX_HEAT_PROTECTION_TEMPERATURE \ No newline at end of file diff --git a/code/modules/clothing/spacesuits/void/void.dm b/code/modules/clothing/spacesuits/void/void.dm index d71d57a564..d1b4a06d23 100644 --- a/code/modules/clothing/spacesuits/void/void.dm +++ b/code/modules/clothing/spacesuits/void/void.dm @@ -3,7 +3,7 @@ name = "void helmet" desc = "A high-tech dark red space suit helmet. Used for AI satellite maintenance." icon_state = "void" - item_state = "syndicate" + item_state_slots = list(slot_r_hand_str = "syndicate", slot_l_hand_str = "syndicate") heat_protection = HEAD armor = list(melee = 40, bullet = 5, laser = 20,energy = 5, bomb = 35, bio = 100, rad = 20) max_heat_protection_temperature = SPACE_SUIT_MAX_HEAT_PROTECTION_TEMPERATURE @@ -30,7 +30,7 @@ /obj/item/clothing/suit/space/void name = "voidsuit" icon_state = "void" - item_state = "space_suit_syndicate" + item_state_slots = list(slot_r_hand_str = "space_suit_syndicate", slot_l_hand_str = "space_suit_syndicate") desc = "A high-tech dark red space suit. Used for AI satellite maintenance." slowdown = 1 armor = list(melee = 40, bullet = 5, laser = 20,energy = 5, bomb = 35, bio = 100, rad = 20) diff --git a/code/modules/clothing/spacesuits/void/wizard.dm b/code/modules/clothing/spacesuits/void/wizard.dm index 2fc0c76dbd..4c2318355f 100644 --- a/code/modules/clothing/spacesuits/void/wizard.dm +++ b/code/modules/clothing/spacesuits/void/wizard.dm @@ -3,7 +3,7 @@ name = "gem-encrusted voidsuit helmet" desc = "A bizarre gem-encrusted helmet that radiates magical energies." icon_state = "rig0-wiz" - item_state = "wiz_helm" + item_state_slots = list(slot_r_hand_str = "wiz_helm", slot_l_hand_str = "wiz_helm") 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 @@ -15,7 +15,7 @@ icon_state = "rig-wiz" name = "gem-encrusted voidsuit" desc = "A bizarre gem-encrusted suit that radiates magical energies." - item_state = "wiz_voidsuit" + item_state_slots = list(slot_r_hand_str = "wiz_voidsuit", slot_l_hand_str = "wiz_voidsuit") slowdown = 1 w_class = 3 unacidable = 1 diff --git a/code/modules/clothing/suits/alien.dm b/code/modules/clothing/suits/alien.dm index 9d16c87484..896b5eed29 100644 --- a/code/modules/clothing/suits/alien.dm +++ b/code/modules/clothing/suits/alien.dm @@ -22,5 +22,5 @@ name = "headscarf" desc = "A scarf of coarse fabric. Seems to have ear-holes." icon_state = "zhan_scarf" - item_state = "beret_white" + item_state_slots = list(slot_r_hand_str = "beret_white", slot_l_hand_str = "beret_white") body_parts_covered = HEAD|FACE \ No newline at end of file diff --git a/code/modules/clothing/suits/armor.dm b/code/modules/clothing/suits/armor.dm index 3e97e0b98f..ed308d418d 100644 --- a/code/modules/clothing/suits/armor.dm +++ b/code/modules/clothing/suits/armor.dm @@ -31,13 +31,13 @@ name = "security armor" desc = "An armored vest that protects against some damage. This one has a NanoTrasen corporate badge." icon_state = "armoralt" - item_state = "armor" + item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor") /obj/item/clothing/suit/armor/vest/security name = "security armor" desc = "An armored vest that protects against some damage. This one has a corporate badge." icon_state = "armorsec" - item_state = "armor" + item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor") /obj/item/clothing/suit/armor/vest/warden name = "Warden's jacket" @@ -51,12 +51,11 @@ icon_state = "warden_alt" body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS - /obj/item/clothing/suit/armor/riot name = "riot vest" desc = "A vest with heavy padding to protect against melee attacks." icon_state = "riot" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") slowdown = 1 armor = list(melee = 80, bullet = 10, laser = 10, energy = 10, bomb = 0, bio = 0, rad = 0) flags_inv = HIDEJUMPSUIT @@ -64,20 +63,20 @@ /obj/item/clothing/suit/armor/riot/alt icon_state = "riot_new" - item_state = "riot_new" + item_state_slots = list(slot_r_hand_str = "riot_new", slot_l_hand_str = "riot_new") /obj/item/clothing/suit/armor/bulletproof name = "bullet resistant vest" desc = "A vest that excels in protecting the wearer against high-velocity solid projectiles." icon_state = "bulletproof" - item_state = "armor" + item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor") blood_overlay_type = "armor" armor = list(melee = 10, bullet = 80, laser = 10, energy = 10, bomb = 0, bio = 0, rad = 0) siemens_coefficient = 0.7 /obj/item/clothing/suit/armor/bulletproof/alt icon_state = "bulletproof_new" - item_state = "bulletproof_new" + item_state_slots = list(slot_r_hand_str = "bulletproof_new", slot_l_hand_str = "bulletproof_new") blood_overlay_type = "armor" /obj/item/clothing/suit/armor/laserproof @@ -121,7 +120,7 @@ name = "tactical armor" desc = "A suit of armor most often used by Special Weapons and Tactics squads. Includes padded vest with pockets along with shoulder and kneeguards." icon_state = "swatarmor" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS slowdown = 1 armor = list(melee = 60, bullet = 60, laser = 60, energy = 40, bomb = 40, bio = 0, rad = 0) @@ -131,7 +130,7 @@ name = "swat suit" desc = "A heavily armored suit that protects against moderate damage. Used in special operations." icon_state = "deathsquad" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") gas_transfer_coefficient = 0.01 permeability_coefficient = 0.01 item_flags = STOPPRESSUREDAMAGE | THICKMATERIAL @@ -150,7 +149,7 @@ name = "officer jacket" desc = "An armored jacket used in special operations." icon_state = "detective" - item_state = "detective" + item_state_slots = list(slot_r_hand_str = "detective", slot_l_hand_str = "detective") blood_overlay_type = "coat" flags_inv = 0 body_parts_covered = UPPER_TORSO|ARMS @@ -160,7 +159,7 @@ name = "armor" desc = "An armored vest with a detective's badge on it." icon_state = "detective-armor" - item_state = "armor" + item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor") blood_overlay_type = "armor" body_parts_covered = UPPER_TORSO|LOWER_TORSO armor = list(melee = 40, bullet = 30, laser = 30, energy = 10, bomb = 10, bio = 0, rad = 0) @@ -173,7 +172,7 @@ desc = "Someone separated our Research Director from their own head!" var/active = 0.0 icon_state = "reactiveoff" - item_state = "armor_reflec_old" + item_state_slots = list(slot_r_hand_str = "armor_reflec_old", slot_l_hand_str = "armor_reflec_old") blood_overlay_type = "armor" slowdown = 1 armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0) @@ -222,7 +221,7 @@ name = "emergency response team armor" desc = "A set of armor worn by members of the Emergency Response Team." icon_state = "ertarmor_cmd" - item_state = "armor" + item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor") body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS armor = list(melee = 60, bullet = 60, laser = 60, energy = 40, bomb = 20, bio = 0, rad = 0) @@ -254,7 +253,7 @@ name = "armor vest" desc = "A simple kevlar plate carrier." icon_state = "kvest" - item_state = "armor" + item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor") armor = list(melee = 40, bullet = 30, laser = 30, energy = 10, bomb = 10, bio = 0, rad = 0) allowed = list(/obj/item/weapon/gun,/obj/item/weapon/reagent_containers/spray/pepper,/obj/item/ammo_magazine,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs,/obj/item/device/flashlight/maglight) @@ -271,7 +270,7 @@ name = "officer armor vest" desc = "A simple kevlar plate carrier. This one has a security holobadge clipped to the chest." icon_state = "officervest_nobadge" - item_state = "armor" + item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor") icon_badge = "officervest_badge" icon_nobadge = "officervest_nobadge" @@ -279,7 +278,7 @@ name = "warden armor vest" desc = "A simple kevlar plate carrier. This one has a silver badge clipped to the chest." icon_state = "wardenvest_nobadge" - item_state = "armor" + item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor") icon_badge = "wardenvest_badge" icon_nobadge = "wardenvest_nobadge" @@ -287,7 +286,7 @@ name = "head of security armor vest" desc = "A simple kevlar plate carrier. This one has a gold badge clipped to the chest." icon_state = "hosvest_nobadge" - item_state = "armor" + item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor") icon_badge = "hosvest_badge" icon_nobadge = "hosvest_nobadge" @@ -295,7 +294,7 @@ name = "PCRC armor vest" desc = "A simple kevlar plate carrier belonging to Proxima Centauri Risk Control. This one has a PCRC crest clipped to the chest." icon_state = "pcrcvest_nobadge" - item_state = "armor" + item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor") icon_badge = "pcrcvest_badge" icon_nobadge = "pcrcvest_nobadge" @@ -303,7 +302,7 @@ name = "detective armor vest" desc = "A simple kevlar plate carrier in a vintage brown, it has a badge clipped to the chest that reads, 'Private investigator'." icon_state = "detectivevest_nobadge" - item_state = "armor" + item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor") icon_badge = "detectivevest_badge" icon_nobadge = "detectivevest_nobadge" @@ -311,7 +310,7 @@ name = "heavy armor vest" desc = "A heavy kevlar plate carrier with webbing attached." icon_state = "webvest" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") armor = list(melee = 50, bullet = 40, laser = 40, energy = 25, bomb = 25, bio = 0, rad = 0) slowdown = 1 @@ -319,7 +318,7 @@ name = "officer heavy armor vest" desc = "A heavy kevlar plate carrier with webbing attached. This one has a security holobadge clipped to the chest." icon_state = "officerwebvest_nobadge" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") icon_badge = "officerwebvest_badge" icon_nobadge = "officerwebvest_nobadge" @@ -327,7 +326,7 @@ name = "warden heavy armor vest" desc = "A heavy kevlar plate carrier with webbing attached. This one has a silver badge clipped to the chest." icon_state = "wardenwebvest_nobadge" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") icon_badge = "wardenwebvest_badge" icon_nobadge = "wardenwebvest_nobadge" @@ -335,7 +334,7 @@ name = "head of security heavy armor vest" desc = "A heavy kevlar plate carrier with webbing attached. This one has a gold badge clipped to the chest." icon_state = "hoswebvest_nobadge" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") icon_badge = "hoswebvest_badge" icon_nobadge = "hoswebvest_nobadge" @@ -343,7 +342,7 @@ name = "PCRC heavy armor vest" desc = "A heavy kevlar plate carrier belonging to Proxima Centauri Risk Control with webbing attached. This one has a PCRC crest clipped to the chest." icon_state = "pcrcwebvest_nobadge" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") icon_badge = "pcrcwebvest_badge" icon_nobadge = "pcrcwebvest_nobadge" @@ -352,7 +351,7 @@ name = "heavy armor vest" desc = "A high-quality heavy kevlar plate carrier in a fetching tan. The vest is surprisingly flexible, and possibly made of an advanced material." icon_state = "mercwebvest" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") armor = list(melee = 60, bullet = 60, laser = 60, energy = 40, bomb = 40, bio = 0, rad = 0) slowdown = 0 @@ -362,7 +361,7 @@ name = "Cent. Com. armor" desc = "A suit that protects against some damage." icon_state = "centcom" - item_state = "armor" + item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor") w_class = 4//bulky item body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs,/obj/item/weapon/tank/emergency_oxygen) @@ -375,7 +374,7 @@ name = "heavy armor" desc = "A heavily armored suit that protects against moderate damage." icon_state = "heavy" - item_state = "swat" + item_state_slots = list(slot_r_hand_str = "swat", slot_l_hand_str = "swat") armor = list(melee = 60, bullet = 60, laser = 60, energy = 40, bomb = 40, bio = 0, rad = 0) w_class = 4//bulky item gas_transfer_coefficient = 0.90 diff --git a/code/modules/clothing/suits/bio.dm b/code/modules/clothing/suits/bio.dm index 06d3062896..227414b0e4 100644 --- a/code/modules/clothing/suits/bio.dm +++ b/code/modules/clothing/suits/bio.dm @@ -26,12 +26,12 @@ //Standard biosuit, orange stripe /obj/item/clothing/head/bio_hood/general icon_state = "bio_general" - item_state = "bio" + item_state_slots = list(slot_r_hand_str = "bio", slot_l_hand_str = "bio") body_parts_covered = HEAD|FACE|EYES /obj/item/clothing/suit/bio_suit/general icon_state = "bio_general" - item_state = "bio" + item_state_slots = list(slot_r_hand_str = "bio", slot_l_hand_str = "bio") body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS flags_inv = HIDEGLOVES|HIDEJUMPSUIT|HIDETAIL @@ -85,5 +85,5 @@ name = "Plague doctor suit" desc = "It protected doctors from the Black Death, back then. You bet your arse it's gonna help you against viruses." icon_state = "plaguedoctor" - item_state = "bio" + item_state_slots = list(slot_r_hand_str = "bio", slot_l_hand_str = "bio") flags_inv = HIDEGLOVES|HIDEJUMPSUIT|HIDETAIL diff --git a/code/modules/clothing/suits/jobs.dm b/code/modules/clothing/suits/jobs.dm index b7b30032f9..cb3f20749b 100644 --- a/code/modules/clothing/suits/jobs.dm +++ b/code/modules/clothing/suits/jobs.dm @@ -7,7 +7,7 @@ name = "apron" desc = "A basic blue apron." icon_state = "apron" - item_state = "overalls" + item_state_slots = list(slot_r_hand_str = "overalls", slot_l_hand_str = "overalls") blood_overlay_type = "armor" body_parts_covered = 0 allowed = list (/obj/item/weapon/reagent_containers/spray/plantbgone,/obj/item/device/analyzer/plant_analyzer,/obj/item/seeds,/obj/item/weapon/reagent_containers/glass/bottle,/obj/item/weapon/material/minihoe) @@ -32,7 +32,7 @@ name = "chaplain hoodie" desc = "This suit says to you 'hush'!" icon_state = "chaplain_hoodie" - item_state = "suit_black" + item_state_slots = list(slot_r_hand_str = "suit_black", slot_l_hand_str = "suit_black") body_parts_covered = UPPER_TORSO|ARMS //Chaplain @@ -66,21 +66,21 @@ name = "security officer's jacket" desc = "This jacket is for those special occasions when a security officer actually feels safe." icon_state = "officerbluejacket" - item_state = "suit_navy" + item_state_slots = list(slot_r_hand_str = "suit_navy", slot_l_hand_str = "suit_navy") body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS /obj/item/clothing/suit/security/navywarden name = "warden's jacket" desc = "Perfectly suited for the warden that wants to leave an impression of style on those who visit the brig." icon_state = "wardenbluejacket" - item_state = "suit_navy" + item_state_slots = list(slot_r_hand_str = "suit_navy", slot_l_hand_str = "suit_navy") body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS /obj/item/clothing/suit/security/navyhos name = "head of security's jacket" desc = "This piece of clothing was specifically designed for asserting superior authority." icon_state = "hosbluejacket" - item_state = "suit_navy" + item_state_slots = list(slot_r_hand_str = "suit_navy", slot_l_hand_str = "suit_navy") body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS //Detective @@ -96,7 +96,7 @@ /obj/item/clothing/suit/storage/det_trench/grey name = "grey trenchcoat" icon_state = "detective2" - item_state = "leather_jacket" + item_state_slots = list(slot_r_hand_str = "leather_jacket", slot_l_hand_str = "leather_jacket") //Forensics /obj/item/clothing/suit/storage/forensics @@ -110,7 +110,7 @@ name = "red jacket" desc = "A red forensics technician jacket." icon_state = "forensics_red" - item_state = "suit_red" + item_state_slots = list(slot_r_hand_str = "suit_red", slot_l_hand_str = "suit_red") /obj/item/clothing/suit/storage/forensics/red/long name = "long red jacket" @@ -121,7 +121,7 @@ name = "blue jacket" desc = "A blue forensics technician jacket." icon_state = "forensics_blue" - item_state = "suit_navy" + item_state_slots = list(slot_r_hand_str = "suit_navy", slot_l_hand_str = "suit_navy") /obj/item/clothing/suit/storage/forensics/blue/long name = "long blue jacket" @@ -144,7 +144,7 @@ name = "blue suit jacket" desc = "A snappy dress jacket." icon_state = "suitjacket_blue_open" - item_state = "suit_blue" + item_state_slots = list(slot_r_hand_str = "suit_blue", slot_l_hand_str = "suit_blue") icon_open = "suitjacket_blue_open" icon_closed = "suitjacket_blue" blood_overlay_type = "coat" @@ -154,7 +154,7 @@ name = "purple suit jacket" desc = "A snappy dress jacket." icon_state = "suitjacket_purp_open" - item_state = "suit_purple" + item_state_slots = list(slot_r_hand_str = "suit_purple", slot_l_hand_str = "suit_purple") icon_open = "suitjacket_purp_open" icon_closed = "suitjacket_purp" blood_overlay_type = "coat" @@ -165,7 +165,7 @@ name = "black suit jacket" desc = "A smooth black jacket." icon_state = "ia_jacket_open" - item_state = "suit_black" + item_state_slots = list(slot_r_hand_str = "suit_black", slot_l_hand_str = "suit_black") icon_open = "ia_jacket_open" icon_closed = "ia_jacket" blood_overlay_type = "coat" @@ -176,7 +176,7 @@ name = "first responder jacket" desc = "A high-visibility jacket worn by medical first responders." icon_state = "fr_jacket_open" - item_state = "fr_jacket" + item_state_slots = list(slot_r_hand_str = "fr_jacket", slot_l_hand_str = "fr_jacket") icon_open = "fr_jacket_open" icon_closed = "fr_jacket" blood_overlay_type = "armor" @@ -188,7 +188,7 @@ name = "\improper EMS jacket" desc = "A dark blue, martian-pattern, EMS jacket. It sports high-visibility reflective stripes and a star of life on the back." icon_state = "ems_jacket_closed" - item_state = "ems_jacket" + item_state_slots = list(slot_r_hand_str = "ems_jacket", slot_l_hand_str = "ems_jacket") icon_open = "ems_jacket_open" icon_closed = "ems_jacket_closed" diff --git a/code/modules/clothing/suits/labcoat.dm b/code/modules/clothing/suits/labcoat.dm index 82bd63e697..2035a86d41 100644 --- a/code/modules/clothing/suits/labcoat.dm +++ b/code/modules/clothing/suits/labcoat.dm @@ -2,7 +2,7 @@ name = "labcoat" desc = "A suit that protects against minor chemical spills." icon_state = "labcoat_open" - item_state = "labcoat" + item_state_slots = list(slot_r_hand_str = "labcoat", slot_l_hand_str = "labcoat") icon_open = "labcoat_open" icon_closed = "labcoat" blood_overlay_type = "coat" @@ -16,7 +16,7 @@ icon_state = "red_labcoat_open" icon_open = "red_labcoat_open" icon_closed = "red_labcoat" - item_state = "red_labcoat" + item_state_slots = list(slot_r_hand_str = "red_labcoat", slot_l_hand_str = "red_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/blue name = "blue labcoat" @@ -24,7 +24,7 @@ icon_state = "blue_labcoat_open" icon_open = "blue_labcoat_open" icon_closed = "blue_labcoat" - item_state = "blue_labcoat" + item_state_slots = list(slot_r_hand_str = "blue_labcoat", slot_l_hand_str = "blue_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/purple name = "purple labcoat" @@ -32,7 +32,7 @@ icon_state = "purple_labcoat_open" icon_open = "purple_labcoat_open" icon_closed = "purple_labcoat" - item_state = "purple_labcoat" + item_state_slots = list(slot_r_hand_str = "purple_labcoat", slot_l_hand_str = "purple_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/orange name = "orange labcoat" @@ -40,7 +40,7 @@ icon_state = "orange_labcoat_open" icon_open = "orange_labcoat_open" icon_closed = "orange_labcoat" - item_state = "orange_labcoat" + item_state_slots = list(slot_r_hand_str = "orange_labcoat", slot_l_hand_str = "orange_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/green name = "green labcoat" @@ -48,7 +48,7 @@ icon_state = "green_labcoat_open" icon_open = "green_labcoat_open" icon_closed = "green_labcoat" - item_state = "green_labcoat" + item_state_slots = list(slot_r_hand_str = "green_labcoat", slot_l_hand_str = "green_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/yellow name = "yellow labcoat" @@ -56,7 +56,7 @@ icon_state = "yellow_labcoat_open" icon_open = "yellow_labcoat_open" icon_closed = "yellow_labcoat" - item_state = "yellow_labcoat" + item_state_slots = list(slot_r_hand_str = "yellow_labcoat", slot_l_hand_str = "yellow_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/pink name = "pink labcoat" @@ -64,7 +64,7 @@ icon_state = "pink_labcoat_open" icon_open = "pink_labcoat_open" icon_closed = "pink_labcoat" - item_state = "pink_labcoat" + item_state_slots = list(slot_r_hand_str = "pink_labcoat", slot_l_hand_str = "pink_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/cmo name = "chief medical officer's labcoat" @@ -72,7 +72,7 @@ icon_state = "labcoat_cmo_open" icon_open = "labcoat_cmo_open" icon_closed = "labcoat_cmo" - item_state = "cmo_labcoat" + item_state_slots = list(slot_r_hand_str = "cmo_labcoat", slot_l_hand_str = "cmo_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/cmoalt name = "chief medical officer labcoat" @@ -80,7 +80,7 @@ icon_state = "labcoat_cmoalt_open" icon_open = "labcoat_cmoalt_open" icon_closed = "labcoat_cmoalt" - item_state = "cmo_labcoat" + item_state_slots = list(slot_r_hand_str = "cmo_labcoat", slot_l_hand_str = "cmo_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/mad name = "The Mad's labcoat" @@ -88,7 +88,7 @@ icon_state = "labgreen_open" icon_open = "labgreen_open" icon_closed = "labgreen" - item_state = "green_labcoat" + item_state_slots = list(slot_r_hand_str = "green_labcoat", slot_l_hand_str = "green_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/genetics name = "Geneticist labcoat" @@ -96,7 +96,7 @@ icon_state = "labcoat_gen_open" icon_open = "labcoat_gen_open" icon_closed = "labcoat_gen" - item_state = "genetics_labcoat" + item_state_slots = list(slot_r_hand_str = "genetics_labcoat", slot_l_hand_str = "genetics_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/chemist name = "Chemist labcoat" @@ -104,7 +104,7 @@ icon_state = "labcoat_chem_open" icon_open = "labcoat_chem_open" icon_closed = "labcoat_chem" - item_state = "chemist_labcoat" + item_state_slots = list(slot_r_hand_str = "chemist_labcoat", slot_l_hand_str = "chemist_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/virologist name = "Virologist labcoat" @@ -112,7 +112,7 @@ icon_state = "labcoat_vir_open" icon_open = "labcoat_vir_open" icon_closed = "labcoat_vir" - item_state = "virologist_labcoat" + item_state_slots = list(slot_r_hand_str = "virologist_labcoat", slot_l_hand_str = "virologist_labcoat") armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 60, rad = 0) /obj/item/clothing/suit/storage/toggle/labcoat/science @@ -121,7 +121,7 @@ icon_state = "labcoat_tox_open" icon_open = "labcoat_tox_open" icon_closed = "labcoat_tox" - item_state = "science_labcoat" + item_state_slots = list(slot_r_hand_str = "science_labcoat", slot_l_hand_str = "science_labcoat") /obj/item/clothing/suit/storage/toggle/labcoat/emt name = "EMT's labcoat" @@ -129,4 +129,4 @@ icon_state = "labcoat_emt_open" icon_open = "labcoat_emt_open" icon_closed = "labcoat_emt" - item_state = "emt_labcoat" \ No newline at end of file + item_state_slots = list(slot_r_hand_str = "emt_labcoat", slot_l_hand_str = "emt_labcoat") \ No newline at end of file diff --git a/code/modules/clothing/suits/miscellaneous.dm b/code/modules/clothing/suits/miscellaneous.dm index 1bebc08ab9..c93bb20760 100644 --- a/code/modules/clothing/suits/miscellaneous.dm +++ b/code/modules/clothing/suits/miscellaneous.dm @@ -14,7 +14,7 @@ name = "blue laser tag armour" desc = "Blue Pride, Station Wide." icon_state = "bluetag" - item_state = "tdblue" + item_state_slots = list(slot_r_hand_str = "tdblue", slot_l_hand_str = "tdblue") blood_overlay_type = "armor" body_parts_covered = UPPER_TORSO allowed = list (/obj/item/weapon/gun/energy/lasertag/blue) @@ -24,7 +24,7 @@ name = "red laser tag armour" desc = "Reputed to go faster." icon_state = "redtag" - item_state = "tdred" + item_state_slots = list(slot_r_hand_str = "tdred", slot_l_hand_str = "tdred") blood_overlay_type = "armor" body_parts_covered = UPPER_TORSO allowed = list (/obj/item/weapon/gun/energy/lasertag/red) @@ -37,14 +37,14 @@ name = "pirate coat" desc = "Yarr." icon_state = "pirate" - item_state = "greatcoat" + item_state_slots = list(slot_r_hand_str = "greatcoat", slot_l_hand_str = "greatcoat") body_parts_covered = UPPER_TORSO|ARMS /obj/item/clothing/suit/hgpirate name = "pirate captain coat" desc = "Yarr." icon_state = "hgpirate" - item_state = "greatcoat" + item_state_slots = list(slot_r_hand_str = "greatcoat", slot_l_hand_str = "greatcoat") flags_inv = HIDEJUMPSUIT body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS @@ -60,19 +60,19 @@ name = "great coat" desc = "A heavy great coat" icon_state = "gentlecoat" - item_state = "greatcoat" + item_state_slots = list(slot_r_hand_str = "greatcoat", slot_l_hand_str = "greatcoat") /obj/item/clothing/suit/johnny_coat name = "johnny~~ coat" desc = "Johnny~~" icon_state = "gentlecoat" - item_state = "johnny_coat" + item_state_slots = list(slot_r_hand_str = "johnny_coat", slot_l_hand_str = "johnny_coat") /obj/item/clothing/suit/justice name = "justice suit" desc = "This pretty much looks ridiculous." icon_state = "gentle_coat" - item_state = "greatcoat" + item_state_slots = list(slot_r_hand_str = "greatcoat", slot_l_hand_str = "greatcoat") flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|HANDS|LEGS|FEET @@ -88,7 +88,7 @@ name = "waistcoat" desc = "For some classy, murderous fun." icon_state = "vest" - item_state = "wcoat" + item_state_slots = list(slot_r_hand_str = "wcoat", slot_l_hand_str = "wcoat") blood_overlay_type = "armor" body_parts_covered = UPPER_TORSO|LOWER_TORSO @@ -111,7 +111,7 @@ name = "Hastur's Robes" desc = "Robes not meant to be worn by man" icon_state = "hastur" - item_state = "rad" + item_state_slots = list(slot_r_hand_str = "rad", slot_l_hand_str = "rad") body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT @@ -134,7 +134,7 @@ name = "Monkey Suit" desc = "A suit that looks like a primate" icon_state = "monkeysuit" - item_state = "brown_jacket" + item_state_slots = list(slot_r_hand_str = "brown_jacket", slot_l_hand_str = "brown_jacket") body_parts_covered = UPPER_TORSO|ARMS|LOWER_TORSO|LEGS|FEET|HANDS flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT siemens_coefficient = 2.0 @@ -143,7 +143,7 @@ name = "Holiday Priest" desc = "This is a nice holiday my son." icon_state = "holidaypriest" - item_state = "labcoat" + item_state_slots = list(slot_r_hand_str = "labcoat", slot_l_hand_str = "labcoat") body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS flags_inv = HIDEJUMPSUIT @@ -168,7 +168,7 @@ name = "worn shirt" desc = "A worn out, curiously comfortable t-shirt with a picture of Ian. You wouldn't go so far as to say it feels like being hugged when you wear it but it's pretty close. Good for sleeping in." icon_state = "ianshirt" - item_state = "labcoat" //placeholder -S2- + item_state_slots = list(slot_r_hand_str = "labcoat", slot_l_hand_str = "labcoat") //placeholder -S2- body_parts_covered = UPPER_TORSO|ARMS /* @@ -178,25 +178,25 @@ name = "leather coat" desc = "A long, thick black leather coat." icon_state = "leathercoat_alt" - item_state = "leather_jacket" + item_state_slots = list(slot_r_hand_str = "leather_jacket", slot_l_hand_str = "leather_jacket") /obj/item/clothing/suit/leathercoat/sec name = "leather coat" desc = "A long, thick black leather coat." icon_state = "leathercoat_sec" - item_state = "leather_jacket" + item_state_slots = list(slot_r_hand_str = "leather_jacket", slot_l_hand_str = "leather_jacket") /obj/item/clothing/suit/browncoat name = "brown leather coat" desc = "A long, brown leather coat." icon_state = "browncoat" - item_state = "brown_jacket" + item_state_slots = list(slot_r_hand_str = "brown_jacket", slot_l_hand_str = "brown_jacket") /obj/item/clothing/suit/neocoat name = "black coat" desc = "A flowing, black coat." icon_state = "neocoat" - item_state = "leather_jacket" + item_state_slots = list(slot_r_hand_str = "leather_jacket", slot_l_hand_str = "leather_jacket") /* * stripper @@ -205,21 +205,21 @@ name = "pink skimpy dress" desc = "A rather skimpy pink dress." icon_state = "stripper_p_over" - item_state = "pink_labcoat" + item_state_slots = list(slot_r_hand_str = "pink_labcoat", slot_l_hand_str = "pink_labcoat") siemens_coefficient = 1 /obj/item/clothing/suit/stripper/stripper_green name = "green skimpy dress" desc = "A rather skimpy green dress." icon_state = "stripper_g_over" - item_state = "green_labcoat" + item_state_slots = list(slot_r_hand_str = "green_labcoat", slot_l_hand_str = "green_labcoat") siemens_coefficient = 1 /obj/item/clothing/suit/xenos name = "xenos suit" desc = "A suit made out of chitinous alien hide." icon_state = "xenos" - item_state = "black_suit" + item_state_slots = list(slot_r_hand_str = "black_suit", slot_l_hand_str = "black_suit") body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT siemens_coefficient = 2.0 @@ -281,37 +281,37 @@ name = "puffer jacket" desc = "A thick jacket with a rubbery, water-resistant shell." icon_state = "pufferjacket" - item_state = "chainmail" + item_state_slots = list(slot_r_hand_str = "chainmail", slot_l_hand_str = "chainmail") /obj/item/clothing/suit/jacket/puffer/vest name = "puffer vest" desc = "A thick vest with a rubbery, water-resistant shell." icon_state = "puffervest" - item_state = "chainmail" + item_state_slots = list(slot_r_hand_str = "chainmail", slot_l_hand_str = "chainmail") /obj/item/clothing/suit/storage/miljacket name = "military jacket" desc = "A canvas jacket styled after classical American military garb. Feels sturdy, yet comfortable." icon_state = "militaryjacket_nobadge" - item_state = "suit_olive" + item_state_slots = list(slot_r_hand_str = "suit_olive", slot_l_hand_str = "suit_olive") /obj/item/clothing/suit/storage/miljacket/alt name = "military jacket" desc = "A canvas jacket styled after classical American military garb. Feels sturdy, yet comfortable." icon_state = "militaryjacket_badge" - item_state = "suit_olive" + item_state_slots = list(slot_r_hand_str = "suit_olive", slot_l_hand_str = "suit_olive") /obj/item/clothing/suit/storage/miljacket/green name = "military jacket" desc = "A dark green canvas jacket. Feels sturdy, yet comfortable." icon_state = "militaryjacket_green" - item_state = "militaryjacket_green" + item_state_slots = list(slot_r_hand_str = "suit_olive", slot_l_hand_str = "suit_olive") /obj/item/clothing/suit/storage/toggle/bomber name = "bomber jacket" desc = "A thick, well-worn WW2 leather bomber jacket." icon_state = "bomber" - item_state = "brown_jacket" + item_state_slots = list(slot_r_hand_str = "brown_jacket", slot_l_hand_str = "brown_jacket") icon_open = "bomber_open" icon_closed = "bomber" body_parts_covered = UPPER_TORSO|ARMS @@ -323,7 +323,7 @@ name = "bomber jacket" desc = "A thick, well-worn WW2 leather bomber jacket." icon_state = "bomberjacket_new" - item_state = "brown_jacket" + item_state_slots = list(slot_r_hand_str = "brown_jacket", slot_l_hand_str = "brown_jacket") body_parts_covered = UPPER_TORSO|ARMS cold_protection = UPPER_TORSO|ARMS min_cold_protection_temperature = T0C - 20 @@ -337,19 +337,19 @@ /obj/item/clothing/suit/storage/leather_jacket/alt icon_state = "leather_jacket_alt" - item_state = "leather_jacket" + item_state_slots = list(slot_r_hand_str = "leather_jacket", slot_l_hand_str = "leather_jacket") /obj/item/clothing/suit/storage/leather_jacket/nanotrasen desc = "A black leather coat. A corporate logo is proudly displayed on the back." icon_state = "leather_jacket_nt" - item_state = "leather_jacket" + item_state_slots = list(slot_r_hand_str = "leather_jacket", slot_l_hand_str = "leather_jacket") //This one has buttons for some reason /obj/item/clothing/suit/storage/toggle/brown_jacket name = "brown jacket" desc = "A brown leather coat." icon_state = "brown_jacket" - item_state = "brown_jacket" + item_state_slots = list(slot_r_hand_str = "brown_jacket", slot_l_hand_str = "brown_jacket") icon_open = "brown_jacket_open" icon_closed = "brown_jacket" body_parts_covered = UPPER_TORSO|ARMS @@ -357,7 +357,7 @@ /obj/item/clothing/suit/storage/toggle/brown_jacket/nanotrasen desc = "A brown leather coat. A corporate logo is proudly displayed on the back." icon_state = "brown_jacket_nt" - item_state = "brown_jacket" + item_state_slots = list(slot_r_hand_str = "brown_jacket", slot_l_hand_str = "brown_jacket") icon_open = "brown_jacket_nt_open" icon_closed = "brown_jacket_nt" @@ -365,7 +365,7 @@ name = "grey hoodie" desc = "A warm, grey sweatshirt." icon_state = "grey_hoodie" - item_state = "suit_grey" + item_state_slots = list(slot_r_hand_str = "suit_grey", slot_l_hand_str = "suit_grey") icon_open = "grey_hoodie_open" icon_closed = "grey_hoodie" min_cold_protection_temperature = T0C - 20 @@ -375,7 +375,7 @@ name = "black hoodie" desc = "A warm, black sweatshirt." icon_state = "black_hoodie" - item_state = "suit_black" + item_state_slots = list(slot_r_hand_str = "suit_black", slot_l_hand_str = "suit_black") icon_open = "black_hoodie_open" icon_closed = "black_hoodie" @@ -383,7 +383,7 @@ name = "red hoodie" desc = "A warm, red sweatshirt." icon_state = "red_hoodie" - item_state = "suit_red" + item_state_slots = list(slot_r_hand_str = "suit_red", slot_l_hand_str = "suit_red") icon_open = "red_hoodie_open" icon_closed = "red_hoodie" @@ -391,7 +391,7 @@ name = "blue hoodie" desc = "A warm, blue sweatshirt." icon_state = "blue_hoodie" - item_state = "suit_blue" + item_state_slots = list(slot_r_hand_str = "suit_blue", slot_l_hand_str = "suit_blue") icon_open = "blue_hoodie_open" icon_closed = "blue_hoodie" @@ -399,7 +399,7 @@ name = "green hoodie" desc = "A warm, green sweatshirt." icon_state = "green_hoodie" - item_state = "suit_olive" //idc + item_state_slots = list(slot_r_hand_str = "suit_olive", slot_l_hand_str = "suit_olive") icon_open = "green_hoodie_open" icon_closed = "green_hoodie" @@ -407,7 +407,7 @@ name = "orange hoodie" desc = "A warm, orange sweatshirt." icon_state = "orange_hoodie" - item_state = "suit_orange" + item_state_slots = list(slot_r_hand_str = "suit_orange", slot_l_hand_str = "suit_orange") icon_open = "orange_hoodie_open" icon_closed = "orange_hoodie" @@ -415,7 +415,7 @@ name = "yellow hoodie" desc = "A warm, yellow sweatshirt." icon_state = "yellow_hoodie" - item_state = "suit_yellow" + item_state_slots = list(slot_r_hand_str = "suit_yellow", slot_l_hand_str = "suit_yellow") icon_open = "yellow_hoodie_open" icon_closed = "yellow_hoodie" @@ -423,7 +423,7 @@ name = "CTI hoodie" desc = "A warm, black sweatshirt. It bears the letters ‘CTI’ on the back, a lettering to the prestigious university in Tau Ceti, Ceti Technical Institute. There is a blue supernova embroidered on the front, the emblem of CTI." icon_state = "cti_hoodie" - item_state = "suit_black" + item_state_slots = list(slot_r_hand_str = "suit_black", slot_l_hand_str = "suit_black") icon_open = "cti_hoodie_open" icon_closed = "cti_hoodie" @@ -431,7 +431,7 @@ name = "mojave university hoodie" desc = "A warm, gray sweatshirt. It bears the letters ‘MU’ on the front, a lettering to the well-known public college, Mojave University." icon_state = "mu_hoodie" - item_state = "suit_grey" + item_state_slots = list(slot_r_hand_str = "suit_grey", slot_l_hand_str = "suit_grey") icon_open = "mu_hoodie_open" icon_closed = "mu_hoodie" @@ -439,7 +439,7 @@ name = "NT hoodie" desc = "A warm, blue sweatshirt. It proudly bears the silver NanoTrasen insignia lettering on the back. The edges are trimmed with silver." icon_state = "nt_hoodie" - item_state = "suit_blue" + item_state_slots = list(slot_r_hand_str = "suit_blue", slot_l_hand_str = "suit_blue") icon_open = "nt_hoodie_open" icon_closed = "nt_hoodie" @@ -447,7 +447,7 @@ name = "Space Mountain Wind hoodie" desc = "A warm, black sweatshirt. It has the logo for the popular softdrink Space Mountain Wind on both the front and the back." icon_state = "smw_hoodie" - item_state = "suit_black" + item_state_slots = list(slot_r_hand_str = "suit_black", slot_l_hand_str = "suit_black") icon_open = "smw_hoodie_open" icon_closed = "smw_hoodie" @@ -455,7 +455,7 @@ name = "white dress" desc = "A fancy white dress." icon_state = "white_dress" - item_state = "white_dress" + item_state_slots = list(slot_r_hand_str = "white_dress", slot_l_hand_str = "white_dress") body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS flags_inv = HIDEJUMPSUIT @@ -463,7 +463,7 @@ name = "carp costume" desc = "A costume made from 'synthetic' carp scales, it smells." icon_state = "carp_casual" - item_state = "carp_casual" //Does not exist -S2- + item_state_slots = list(slot_r_hand_str = "carp_casual", slot_l_hand_str = "carp_casual") //Does not exist -S2- body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS cold_protection = UPPER_TORSO|LOWER_TORSO|ARMS min_cold_protection_temperature = SPACE_SUIT_MIN_COLD_PROTECTION_TEMPERATURE //Space carp like space, so you should too @@ -474,7 +474,8 @@ /obj/item/clothing/head/carp_hood name = "carp hood" desc = "A hood attached to a carp costume." - icon_state = "carp_casual" //Does not exist -S2- + icon_state = "carp_casual" + item_state_slots = list(slot_r_hand_str = "carp_casual", slot_l_hand_str = "carp_casual") //Does not exist -S2- body_parts_covered = HEAD cold_protection = HEAD min_cold_protection_temperature = SPACE_SUIT_MIN_COLD_PROTECTION_TEMPERATURE @@ -483,7 +484,7 @@ name = "corgi costume" desc = "A costume that looks like someone made a human-like corgi, it won't guarantee belly rubs." icon_state = "ian" - item_state = "ian" //Does not exist -S2- + item_state_slots = list(slot_r_hand_str = "ian", slot_l_hand_str = "ian") //Does not exist -S2- body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS //cold_protection = CHEST|GROIN|ARMS //min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT @@ -495,7 +496,7 @@ name = "corgi hood" desc = "A hood that looks just like a corgi's head, it won't guarantee dog biscuits." icon_state = "ian" - item_state = "ian" //Does not exist -S2- + item_state_slots = list(slot_r_hand_str = "ian", slot_l_hand_str = "ian") //Does not exist -S2- body_parts_covered = HEAD //cold_protection = HEAD //min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT @@ -504,7 +505,7 @@ name = "winter coat" desc = "A heavy jacket made from 'synthetic' animal furs." icon_state = "coatwinter" - item_state = "coatwinter" + item_state_slots = list(slot_r_hand_str = "coatwinter", slot_l_hand_str = "coatwinter") body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS cold_protection = UPPER_TORSO|LOWER_TORSO|ARMS min_cold_protection_temperature = SPACE_SUIT_MIN_COLD_PROTECTION_TEMPERATURE @@ -525,59 +526,59 @@ /obj/item/clothing/suit/storage/hooded/wintercoat/captain name = "captain's winter coat" icon_state = "coatcaptain" - item_state = "coatcaptain" + item_state_slots = list(slot_r_hand_str = "coatcaptain", slot_l_hand_str = "coatcaptain") armor = list(melee = 20, bullet = 15, laser = 20, energy = 10, bomb = 15, bio = 0, rad = 0) /obj/item/clothing/suit/storage/hooded/wintercoat/security name = "security winter coat" icon_state = "coatsecurity" - item_state = "coatsecurity" + item_state_slots = list(slot_r_hand_str = "coatsecurity", slot_l_hand_str = "coatsecurity") armor = list(melee = 25, bullet = 20, laser = 20, energy = 15, bomb = 20, bio = 0, rad = 0) /obj/item/clothing/suit/storage/hooded/wintercoat/medical name = "medical winter coat" icon_state = "coatmedical" - item_state = "coatmedical" + item_state_slots = list(slot_r_hand_str = "coatmedical", slot_l_hand_str = "coatmedical") armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 50, rad = 0) /obj/item/clothing/suit/storage/hooded/wintercoat/science name = "science winter coat" icon_state = "coatscience" - item_state = "coatscience" + item_state_slots = list(slot_r_hand_str = "coatscience", slot_l_hand_str = "coatscience") armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 10, bio = 0, rad = 0) /obj/item/clothing/suit/storage/hooded/wintercoat/engineering name = "engineering winter coat" icon_state = "coatengineer" - item_state = "coatengineer" + item_state_slots = list(slot_r_hand_str = "coatengineer", slot_l_hand_str = "coatengineer") armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 20) /obj/item/clothing/suit/storage/hooded/wintercoat/engineering/atmos name = "atmospherics winter coat" icon_state = "coatatmos" - item_state = "coatatmos" + item_state_slots = list(slot_r_hand_str = "coatatmos", slot_l_hand_str = "coatatmos") /obj/item/clothing/suit/storage/hooded/wintercoat/hydro name = "hydroponics winter coat" icon_state = "coathydro" - item_state = "coathydro" + item_state_slots = list(slot_r_hand_str = "coathydro", slot_l_hand_str = "coathydro") /obj/item/clothing/suit/storage/hooded/wintercoat/cargo name = "cargo winter coat" icon_state = "coatcargo" - item_state = "coatcargo" + item_state_slots = list(slot_r_hand_str = "coatcargo", slot_l_hand_str = "coatcargo") /obj/item/clothing/suit/storage/hooded/wintercoat/miner name = "mining winter coat" icon_state = "coatminer" - item_state = "coatminer" + item_state_slots = list(slot_r_hand_str = "coatminer", slot_l_hand_str = "coatminer") armor = list(melee = 10, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0) /obj/item/clothing/suit/varsity name = "black varsity jacket" desc = "A favorite of jocks everywhere from Sol to Nyx." icon_state = "varsity" - item_state = "suit_black" + item_state_slots = list(slot_r_hand_str = "suit_black", slot_l_hand_str = "suit_black") /obj/item/clothing/suit/varsity/red name = "red varsity jacket" @@ -606,35 +607,35 @@ name = "track jacket" desc = "a track jacket, for the athletic." icon_state = "trackjacket" - item_state = "black_labcoat" + item_state_slots = list(slot_r_hand_str = "black_labcoat", slot_l_hand_str = "black_labcoat") icon_open = "trackjacket_open" icon_closed = "trackjacket" /obj/item/clothing/suit/storage/toggle/track/blue name = "blue track jacket" icon_state = "trackjacketblue" - item_state = "blue_labcoat" + item_state_slots = list(slot_r_hand_str = "blue_labcoat", slot_l_hand_str = "blue_labcoat") icon_open = "trackjacketblue_open" icon_closed = "trackjacketblue" /obj/item/clothing/suit/storage/toggle/track/green name = "green track jacket" icon_state = "trackjacketgreen" - item_state = "green_labcoat" + item_state_slots = list(slot_r_hand_str = "green_labcoat", slot_l_hand_str = "green_labcoat") icon_open = "trackjacketgreen_open" icon_closed = "trackjacketgreen" /obj/item/clothing/suit/storage/toggle/track/red name = "red track jacket" icon_state = "trackjacketred" - item_state = "red_labcoat" + item_state_slots = list(slot_r_hand_str = "red_labcoat", slot_l_hand_str = "red_labcoat") icon_open = "trackjacketred_open" icon_closed = "trackjacketred" /obj/item/clothing/suit/storage/toggle/track/white name = "white track jacket" icon_state = "trackjacketwhite" - item_state = "labcoat" + item_state_slots = list(slot_r_hand_str = "labcoat", slot_l_hand_str = "labcoat") icon_open = "trackjacketwhite_open" icon_closed = "trackjacketwhite" @@ -644,7 +645,7 @@ name = "Flannel shirt" desc = "A comfy, grey flannel shirt. Unleash your inner hipster." icon_state = "flannel" - item_state = "black_labcoat" + item_state_slots = list(slot_r_hand_str = "black_labcoat", slot_l_hand_str = "black_labcoat") var/rolled = 0 var/tucked = 0 var/buttoned = 0 @@ -709,17 +710,17 @@ /obj/item/clothing/suit/storage/flannel/red desc = "A comfy, red flannel shirt. Unleash your inner hipster." icon_state = "flannel_red" - item_state = "red_labcoat" + item_state_slots = list(slot_r_hand_str = "red_labcoat", slot_l_hand_str = "red_labcoat") /obj/item/clothing/suit/storage/flannel/aqua desc = "A comfy, aqua flannel shirt. Unleash your inner hipster." icon_state = "flannel_aqua" - item_state = "blue_labcoat" + item_state_slots = list(slot_r_hand_str = "blue_labcoat", slot_l_hand_str = "blue_labcoat") /obj/item/clothing/suit/storage/flannel/brown desc = "A comfy, brown flannel shirt. Unleash your inner hipster." icon_state = "flannel_brown" - item_state = "johnny" + item_state_slots = list(slot_r_hand_str = "johnny", slot_l_hand_str = "johnny") //Green Uniform @@ -727,7 +728,7 @@ name = "green formal jacket" desc = "A sleek proper formal jacket with gold buttons." icon_state = "suitjacket_green_open" - item_state = "suit_olive" + item_state_slots = list(slot_r_hand_str = "suit_olive", slot_l_hand_str = "suit_olive") icon_open = "suitjacket_green_open" icon_closed = "suitjacket_green" blood_overlay_type = "coat" diff --git a/code/modules/clothing/suits/utility.dm b/code/modules/clothing/suits/utility.dm index 4adf81c675..e732a1318e 100644 --- a/code/modules/clothing/suits/utility.dm +++ b/code/modules/clothing/suits/utility.dm @@ -32,7 +32,7 @@ name = "firesuit" desc = "A suit that protects against extreme fire and heat." //icon_state = "thermal" - item_state = "black_suit" + item_state_slots = list(slot_r_hand_str = "black_suit", slot_l_hand_str = "black_suit") w_class = 4//bulky item slowdown = 1.5 diff --git a/code/modules/clothing/suits/wiz_robe.dm b/code/modules/clothing/suits/wiz_robe.dm index 73f142f50d..ba04d4ca36 100644 --- a/code/modules/clothing/suits/wiz_robe.dm +++ b/code/modules/clothing/suits/wiz_robe.dm @@ -42,7 +42,7 @@ name = "Gentlemans Cap" desc = "A checkered gray flat cap woven together with the rarest of threads." icon_state = "gentcap" - item_state = "detective" + item_state_slots = list(slot_r_hand_str = "detective", slot_l_hand_str = "detective") siemens_coefficient = 0.8 /obj/item/clothing/suit/wizrobe @@ -88,14 +88,14 @@ name = "Gentlemans Coat" desc = "A heavy threaded twead gray jacket. For a different sort of Gentleman." icon_state = "gentlecoat" - item_state = "greatcoat" + item_state_slots = list(slot_r_hand_str = "greatcoat", slot_l_hand_str = "greatcoat") body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS /obj/item/clothing/suit/wizrobe/fake name = "wizard robe" desc = "A rather dull, blue robe meant to mimick real wizard robes." icon_state = "wizard-fake" - item_state = "wizard" + item_state_slots = list(slot_r_hand_str = "wizard", slot_l_hand_str = "wizard") armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) siemens_coefficient = 1.0 diff --git a/code/modules/clothing/under/accessories/accessory.dm b/code/modules/clothing/under/accessories/accessory.dm index 611f451f2c..d3e539bad2 100644 --- a/code/modules/clothing/under/accessories/accessory.dm +++ b/code/modules/clothing/under/accessories/accessory.dm @@ -3,7 +3,7 @@ desc = "A neosilk clip-on tie." icon = 'icons/obj/clothing/ties.dmi' icon_state = "bluetie" - item_state = "" //no inhands + item_state_slots = list(slot_r_hand_str = "", slot_l_hand_str = "") slot_flags = SLOT_TIE w_class = 2.0 var/slot = "decor" @@ -173,7 +173,6 @@ return return ..(M,user) - //Medals /obj/item/clothing/accessory/medal name = "bronze medal" diff --git a/code/modules/clothing/under/color.dm b/code/modules/clothing/under/color.dm index 1c5c089a8e..9e6d0cb528 100644 --- a/code/modules/clothing/under/color.dm +++ b/code/modules/clothing/under/color.dm @@ -14,7 +14,7 @@ name = "black jumpskirt" desc = "A slimming black jumpskirt." icon_state = "blackjumpskirt" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "blackjumpskirt" /obj/item/clothing/under/color/blue @@ -78,7 +78,7 @@ name = "lightblue jumpsuit" desc = "A light blue jumpsuit." icon_state = "lightblue" - item_state = "blue" + item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue") worn_state = "lightblue" rolled_sleeves = 0 @@ -86,7 +86,7 @@ name = "aqua jumpsuit" desc = "An aqua jumpsuit." icon_state = "aqua" - item_state = "blue" + item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue") worn_state = "aqua" rolled_sleeves = 0 @@ -101,7 +101,7 @@ name = "lightpurple jumpsuit" desc = "A light purple jumpsuit." icon_state = "lightpurple" - item_state = "purple" + item_state_slots = list(slot_r_hand_str = "purple", slot_l_hand_str = "purple") worn_state = "lightpurple" rolled_sleeves = 0 @@ -109,7 +109,7 @@ name = "lightgreen jumpsuit" desc = "A light green jumpsuit." icon_state = "lightgreen" - item_state = "green" + item_state_slots = list(slot_r_hand_str = "green", slot_l_hand_str = "green") worn_state = "lightgreen" rolled_sleeves = 0 @@ -124,7 +124,7 @@ name = "brown jumpsuit" desc = "A brown jumpsuit." icon_state = "brown" - item_state = "lightbrown" + item_state_slots = list(slot_r_hand_str = "lightbrown", slot_l_hand_str = "lightbrown") worn_state = "brown" rolled_sleeves = 0 @@ -132,7 +132,7 @@ name = "yellowgreen jumpsuit" desc = "A... yellow green jumpsuit?" icon_state = "yellowgreen" - item_state = "yellow" + item_state_slots = list(slot_r_hand_str = "yellow", slot_l_hand_str = "yellow") worn_state = "yellowgreen" rolled_sleeves = 0 @@ -140,7 +140,7 @@ name = "darkblue jumpsuit" desc = "A dark blue jumpsuit." icon_state = "darkblue" - item_state = "blue" + item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue") worn_state = "darkblue" rolled_sleeves = 0 @@ -148,7 +148,7 @@ name = "lightred jumpsuit" desc = "A light red jumpsuit." icon_state = "lightred" - item_state = "red" + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") worn_state = "lightred" rolled_sleeves = 0 @@ -156,6 +156,6 @@ name = "darkred jumpsuit" desc = "A dark red jumpsuit." icon_state = "darkred" - item_state = "red" + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") worn_state = "darkred" rolled_sleeves = 0 diff --git a/code/modules/clothing/under/jobs/civilian.dm b/code/modules/clothing/under/jobs/civilian.dm index cd232f7878..133146783e 100644 --- a/code/modules/clothing/under/jobs/civilian.dm +++ b/code/modules/clothing/under/jobs/civilian.dm @@ -18,7 +18,7 @@ name = "quartermaster's jumpsuit" 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 = "cargo" + item_state_slots = list(slot_r_hand_str = "cargo", slot_l_hand_str = "cargo") worn_state = "qm" rolled_sleeves = 0 @@ -39,7 +39,7 @@ name = "cargo technician's jumpsuit" desc = "Shooooorts! They're comfy and easy to wear!" icon_state = "cargotech" - item_state = "cargo" + item_state_slots = list(slot_r_hand_str = "cargo", slot_l_hand_str = "cargo") worn_state = "cargo" body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS rolled_sleeves = 0 @@ -61,7 +61,7 @@ desc = "It's a black jumpsuit, often worn by religious folk." name = "chaplain's jumpsuit" icon_state = "chaplain" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "chapblack" rolled_sleeves = 0 @@ -90,7 +90,7 @@ desc = "A blue jacket and red tie, with matching red cuffs! Snazzy. Wearing this makes you feel more important than your job title does." name = "head of personnel's suit" icon_state = "hopwhimsy" - item_state = "hop" + item_state_slots = list(slot_r_hand_str = "hop", slot_l_hand_str = "hop") worn_state = "hopwhimsy" rolled_sleeves = -1 @@ -98,7 +98,7 @@ desc = "It's a jumpsuit designed to protect against minor plant-related hazards." name = "botanist's jumpsuit" icon_state = "hydroponics" - item_state = "green" + item_state_slots = list(slot_r_hand_str = "green", slot_l_hand_str = "green") worn_state = "hydroponics" permeability_coefficient = 0.50 rolled_sleeves = 0 @@ -107,7 +107,7 @@ desc = "The plain, professional attire of an Internal Affairs Agent. The collar is immaculately starched." name = "Internal Affairs uniform" icon_state = "internalaffairs" - item_state = "ba_suit" + item_state_slots = list(slot_r_hand_str = "ba_suit", slot_l_hand_str = "ba_suit") worn_state = "internalaffairs" rolled_sleeves = 0 starting_accessories = list(/obj/item/clothing/accessory/black) @@ -131,7 +131,7 @@ /obj/item/clothing/under/lawyer/female name = "black Lawyer suit" icon_state = "black_suit_fem" - item_state = "lawyer_black" + item_state_slots = list(slot_r_hand_str = "lawyer_black", slot_l_hand_str = "lawyer_black") worn_state = "black_suit_fem" /obj/item/clothing/under/lawyer/red @@ -148,28 +148,28 @@ name = "Blue Suit" desc = "A classy suit." icon_state = "bluesuit" - item_state = "lawyer_blue" + item_state_slots = list(slot_r_hand_str = "lawyer_blue", slot_l_hand_str = "lawyer_blue") worn_state = "bluesuit" starting_accessories = list(/obj/item/clothing/accessory/red) /obj/item/clothing/under/lawyer/purpsuit name = "Purple Suit" icon_state = "lawyer_purp" - item_state = "purple" + item_state_slots = list(slot_r_hand_str = "purple", slot_l_hand_str = "purple") worn_state = "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 = "johnny" + item_state_slots = list(slot_r_hand_str = "johnny", slot_l_hand_str = "johnny") worn_state = "oldman" /obj/item/clothing/under/librarian name = "sensible suit" desc = "It's very... sensible." icon_state = "red_suit" - item_state = "lawyer_red" + item_state_slots = list(slot_r_hand_str = "lawyer_red", slot_l_hand_str = "lawyer_red") worn_state = "red_suit" /obj/item/clothing/under/mime diff --git a/code/modules/clothing/under/jobs/medsci.dm b/code/modules/clothing/under/jobs/medsci.dm index c7632b021c..97c672d86a 100644 --- a/code/modules/clothing/under/jobs/medsci.dm +++ b/code/modules/clothing/under/jobs/medsci.dm @@ -12,7 +12,7 @@ desc = "A dress suit and slacks stained with hard work and dedication to science. Perhaps other things as well, but mostly hard work and dedication." name = "head researcher uniform" icon_state = "rdalt" - item_state = "director" + item_state_slots = list(slot_r_hand_str = "director", slot_l_hand_str = "director") worn_state = "rdalt" armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -28,7 +28,7 @@ desc = "It's made of a special fiber that provides minor protection against biohazards. It has markings that denote the wearer as a scientist." name = "scientist's jumpsuit" icon_state = "science" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") worn_state = "sciencewhite" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 10, bio = 0, rad = 0) @@ -38,7 +38,7 @@ desc = "It's made of a special fiber that gives special protection against biohazards. It has a chemist rank stripe on it." name = "chemist's jumpsuit" icon_state = "chemistry" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") worn_state = "chemistrywhite" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -51,7 +51,7 @@ desc = "It's a jumpsuit worn by those with the experience to be \"Chief Medical Officer\". It provides minor biological protection." name = "chief medical officer's jumpsuit" icon_state = "cmo" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") worn_state = "cmo" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -61,7 +61,7 @@ desc = "It's made of a special fiber that gives special protection against biohazards. It has a genetics rank stripe on it." name = "geneticist's jumpsuit" icon_state = "genetics" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") worn_state = "geneticswhite" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -71,7 +71,7 @@ desc = "It's made of a special fiber that gives special protection against biohazards. It has a virologist rank stripe on it." name = "virologist's jumpsuit" icon_state = "virology" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") worn_state = "virologywhite" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -91,7 +91,7 @@ desc = "A dress commonly worn by the nursing staff in the medical department." name = "nurse's dress" icon_state = "nurse" - item_state = "nursesuit" + item_state_slots = list(slot_r_hand_str = "nursesuit", slot_l_hand_str = "nursesuit") worn_state = "nurse" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -102,7 +102,7 @@ desc = "A white suit to be worn by medical attendants." name = "orderly's uniform" icon_state = "orderly" - item_state = "nursesuit" + item_state_slots = list(slot_r_hand_str = "nursesuit", slot_l_hand_str = "nursesuit") worn_state = "orderly" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -112,7 +112,7 @@ desc = "It's made of a special fiber that provides minor protection against biohazards. It has a cross on the chest denoting that the wearer is trained medical personnel." name = "medical doctor's jumpsuit" icon_state = "medical" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") worn_state = "medical" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -122,7 +122,7 @@ name = "short sleeve medical jumpsuit" desc = "It's made of a special fiber that provides minor protection against biohazards. This one has a cross on the chest denoting that the wearer is trained medical personnel." icon_state = "medical_short" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS rolled_sleeves = -1 @@ -130,7 +130,7 @@ 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" - item_state = "blue" + item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue") worn_state = "scrubsblue" rolled_sleeves = -1 @@ -138,7 +138,7 @@ 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" - item_state = "green" + item_state_slots = list(slot_r_hand_str = "green", slot_l_hand_str = "green") worn_state = "scrubsgreen" rolled_sleeves = -1 @@ -146,7 +146,7 @@ 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" - item_state = "purple" + item_state_slots = list(slot_r_hand_str = "purple", slot_l_hand_str = "purple") worn_state = "scrubspurple" rolled_sleeves = -1 @@ -154,7 +154,7 @@ name = "medical scrubs" desc = "It's made of a special fiber that provides minor protection against biohazards. This one is in black." icon_state = "scrubsblack" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "scrubsblack" rolled_sleeves = -1 @@ -162,7 +162,7 @@ name = "medical scrubs" desc = "It's made of a special fiber that provides minor protection against biohazards. This one is in navy blue." icon_state = "scrubsnavyblue" - item_state = "blue" + item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue") worn_state = "scrubsnavyblue" rolled_sleeves = -1 @@ -170,14 +170,14 @@ desc = "A basic white jumpsuit. It has turqouise markings that denote the wearer as a psychiatrist." name = "psychiatrist's jumpsuit" icon_state = "psych" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") worn_state = "psych" /obj/item/clothing/under/rank/psych/turtleneck desc = "A turqouise turtleneck and a pair of dark blue slacks, belonging to a psychologist." name = "psychologist's turtleneck" icon_state = "psychturtle" - item_state = "psyche" + item_state_slots = list(slot_r_hand_str = "psyche", slot_l_hand_str = "psyche") worn_state = "psychturtle" rolled_sleeves = 0 @@ -188,7 +188,7 @@ desc = "It's made of a special fiber which provides minor protection against biohazards." name = "geneticist's jumpsuit" icon_state = "genetics_new" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") worn_state = "genetics_new" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -198,7 +198,7 @@ desc = "It's made of a special fiber which provides minor protection against biohazards." name = "chemist's jumpsuit" icon_state = "chemist_new" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") worn_state = "chemist_new" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) @@ -208,7 +208,7 @@ desc = "Made of a special fiber that gives special protection against biohazards and small explosions." name = "scientist's jumpsuit" icon_state = "scientist_new" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") worn_state = "scientist_new" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 10, bio = 0, rad = 0) @@ -218,7 +218,7 @@ desc = "Made of a special fiber that gives increased protection against biohazards." name = "virologist's jumpsuit" icon_state = "virologist_new" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") worn_state = "virologist_new" permeability_coefficient = 0.50 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 10, rad = 0) diff --git a/code/modules/clothing/under/jobs/security.dm b/code/modules/clothing/under/jobs/security.dm index 961a3022e5..523c12f0e1 100644 --- a/code/modules/clothing/under/jobs/security.dm +++ b/code/modules/clothing/under/jobs/security.dm @@ -12,7 +12,7 @@ desc = "It's made of a slightly sturdier material than standard jumpsuits, to allow for more robust protection. It has the word \"Warden\" written on the shoulders." name = "warden's jumpsuit" icon_state = "warden" - item_state = "red" //Red should be just fine -S2- + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") worn_state = "warden" armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) siemens_coefficient = 0.9 @@ -28,7 +28,7 @@ name = "security officer's jumpsuit" desc = "It's made of a slightly sturdier material than standard jumpsuits, to allow for robust protection." icon_state = "security" - item_state = "red" + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") worn_state = "secred" armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) siemens_coefficient = 0.9 @@ -38,7 +38,7 @@ name = "dispatcher's uniform" desc = "A dress shirt and khakis with a security patch sewn on." icon_state = "dispatch" - item_state = "detective" + item_state_slots = list(slot_r_hand_str = "detective", slot_l_hand_str = "detective") worn_state = "dispatch" armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS @@ -48,7 +48,7 @@ name = "security officer's uniform" desc = "It's made of a slightly sturdier material, to allow for robust protection." icon_state = "redshirt2" - item_state = "red" + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") worn_state = "redshirt2" armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) siemens_coefficient = 0.9 @@ -56,13 +56,13 @@ /obj/item/clothing/under/rank/security/corp icon_state = "sec_corporate" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "sec_corporate" rolled_sleeves = 0 /obj/item/clothing/under/rank/warden/corp icon_state = "warden_corporate" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "warden_corporate" rolled_sleeves = 0 @@ -70,7 +70,7 @@ name = "tactical jumpsuit" desc = "It's made of a slightly sturdier material than standard jumpsuits, to allow for robust protection." icon_state = "swatunder" - item_state = "green" + item_state_slots = list(slot_r_hand_str = "green", slot_l_hand_str = "green") worn_state = "swatunder" armor = list(melee = 10, bullet = 5, laser = 5,energy = 0, bomb = 0, bio = 0, rad = 0) siemens_coefficient = 0.9 @@ -109,14 +109,14 @@ /obj/item/clothing/under/det/black icon_state = "detective3" worn_state = "detective3" - item_state = "sl_suit" + item_state_slots = list(slot_r_hand_str = "sl_suit", slot_l_hand_str = "sl_suit") desc = "An immaculate white dress shirt, paired with a pair of dark grey dress pants, a red tie, and a charcoal vest." starting_accessories = list(/obj/item/clothing/accessory/red_long, /obj/item/clothing/accessory/vest) /obj/item/clothing/under/det/corporate name = "detective's jumpsuit" icon_state = "det_corporate" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "det_corporate" desc = "A more modern uniform for corporate investigators." @@ -141,7 +141,7 @@ /obj/item/clothing/head/det/grey icon_state = "detective2" - item_state = "detective" + item_state_slots = list(slot_r_hand_str = "detective", slot_l_hand_str = "detective") desc = "A grey fedora - either the cornerstone of a detective's style or a poor attempt at looking cool, depending on the person wearing it." /* @@ -151,7 +151,7 @@ desc = "It's a jumpsuit worn by those few with the dedication to achieve the position of \"Head of Security\". It has additional armor to protect the wearer." name = "head of security's jumpsuit" icon_state = "hos" - item_state = "red" + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") worn_state = "hosred" armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) siemens_coefficient = 0.8 @@ -159,7 +159,7 @@ /obj/item/clothing/under/rank/head_of_security/corp icon_state = "hos_corporate" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "hos_corporate" rolled_sleeves = 0 @@ -174,7 +174,7 @@ name = "Dermal Armour Patch" desc = "You're not quite sure how you manage to take it on and off, but it implants nicely in your head." icon_state = "dermal" - item_state = "" + item_state_slots = list(slot_r_hand_str = "", slot_l_hand_str = "") siemens_coefficient = 0.6 /obj/item/clothing/suit/armor/hos @@ -209,7 +209,7 @@ name = "security officer's uniform" desc = "The latest in fashionable security outfits." icon_state = "officerblueclothes" - item_state = "ba_suit" + item_state_slots = list(slot_r_hand_str = "ba_suit", slot_l_hand_str = "ba_suit") worn_state = "officerblueclothes" rolled_sleeves = 0 @@ -217,7 +217,7 @@ desc = "The insignia on this uniform tells you that this uniform belongs to the Head of Security." name = "head of security's uniform" icon_state = "hosblueclothes" - item_state = "ba_suit" + item_state_slots = list(slot_r_hand_str = "ba_suit", slot_l_hand_str = "ba_suit") worn_state = "hosblueclothes" rolled_sleeves = 0 @@ -225,6 +225,6 @@ desc = "The insignia on this uniform tells you that this uniform belongs to the Warden." name = "warden's uniform" icon_state = "wardenblueclothes" - item_state = "ba_suit" + item_state_slots = list(slot_r_hand_str = "ba_suit", slot_l_hand_str = "ba_suit") worn_state = "wardenblueclothes" rolled_sleeves = 0 diff --git a/code/modules/clothing/under/miscellaneous.dm b/code/modules/clothing/under/miscellaneous.dm index b14d7bbb14..751ada4a00 100644 --- a/code/modules/clothing/under/miscellaneous.dm +++ b/code/modules/clothing/under/miscellaneous.dm @@ -3,20 +3,20 @@ desc = "Sleepwear." icon_state = "red_pyjamas" worn_state = "red_pyjamas" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") /obj/item/clothing/under/pj/blue name = "blue pj's" desc = "Sleepwear." icon_state = "blue_pyjamas" worn_state = "blue_pyjamas" - item_state = "white" + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") /obj/item/clothing/under/captain_fly name = "rogue's uniform" desc = "For the man who doesn't care because he's still free." icon_state = "captain_fly" - item_state = "red" + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") worn_state = "captain_fly" /obj/item/clothing/under/scratch @@ -43,7 +43,7 @@ name = "mailman's jumpsuit" desc = "'Special delivery!'" icon_state = "mailman" - item_state = "blue" + item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue") worn_state = "mailman" rolled_sleeves = 0 @@ -51,7 +51,7 @@ name = "sexy-clown suit" desc = "It makes you look HONKable!" icon_state = "sexyclown" - item_state = "clown" + item_state_slots = list(slot_r_hand_str = "clown", slot_l_hand_str = "clown") worn_state = "sexyclown" body_parts_covered = UPPER_TORSO|LOWER_TORSO rolled_sleeves = -1 //Please never @@ -60,7 +60,7 @@ name = "vice officer's jumpsuit" desc = "It's the standard issue pretty-boy outfit, as seen on Holo-Vision." icon_state = "vice" - item_state = "grey" + item_state_slots = list(slot_r_hand_str = "grey", slot_l_hand_str = "grey") worn_state = "vice" //This set of uniforms looks fairly fancy and is generally used for high-ranking NT personnel from what I've seen, so lets give them appropriate ranks. @@ -68,7 +68,7 @@ desc = "Gold trim on space-black cloth, this uniform displays the rank of \"Captain.\"" name = "\improper Officer's Dress Uniform" icon_state = "officer" - item_state = "lawyer_black" + item_state_slots = list(slot_r_hand_str = "lawyer_black", slot_l_hand_str = "lawyer_black") worn_state = "officer" displays_id = 0 @@ -76,7 +76,7 @@ desc = "Gold trim on space-black cloth, this uniform displays the rank of \"Admiral.\"" name = "\improper Officer's Dress Uniform" icon_state = "officer" - item_state = "lawyer_black" + item_state_slots = list(slot_r_hand_str = "lawyer_black", slot_l_hand_str = "lawyer_black") worn_state = "officer" displays_id = 0 @@ -84,7 +84,7 @@ desc = "Gold trim on space-black cloth, this uniform displays the rank of \"Admiral-Executive.\"" name = "\improper Officer's Dress Uniform" icon_state = "centcom" - item_state = "lawyer_black" + item_state_slots = list(slot_r_hand_str = "lawyer_black", slot_l_hand_str = "lawyer_black") worn_state = "centcom" displays_id = 0 @@ -92,14 +92,14 @@ name = "ERT tactical uniform" desc = "A short-sleeved black uniform, paired with grey digital-camo cargo pants. It looks very tactical." icon_state = "ert_uniform" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "ert_uniform" /obj/item/clothing/under/gov desc = "A neat proper uniform of someone on offical business. The plain, professional attire of an Internal Affairs Agent. The collar is immaculately starched." name = "Green formal uniform" icon_state = "greensuit" - item_state = "centcom" + item_state_slots = list(slot_r_hand_str = "centcom", slot_l_hand_str = "centcom") worn_state = "greensuit" rolled_sleeves = 0 starting_accessories = list(/obj/item/clothing/accessory/darkgreen) @@ -120,7 +120,7 @@ /obj/item/clothing/under/acj name = "administrative cybernetic jumpsuit" icon_state = "syndicate" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "syndicate" desc = "it's a cybernetically enhanced jumpsuit used for administrative duties." gas_transfer_coefficient = 0.01 @@ -153,7 +153,7 @@ 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 = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "psysuit" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS @@ -161,7 +161,7 @@ name = "gentlemans suit" desc = "A silk black shirt with a white tie and a matching gray vest and slacks. Feels proper." icon_state = "gentlesuit" - item_state = "grey" + item_state_slots = list(slot_r_hand_str = "grey", slot_l_hand_str = "grey") worn_state = "gentlesuit" rolled_sleeves = 0 @@ -169,49 +169,49 @@ name = "captain's suit" desc = "A green suit and yellow necktie. Exemplifies authority." icon_state = "green_suit" - item_state = "centcom" + item_state_slots = list(slot_r_hand_str = "centcom", slot_l_hand_str = "centcom") worn_state = "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 = "green" + item_state_slots = list(slot_r_hand_str = "green", slot_l_hand_str = "green") worn_state = "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 = "lawyer_black" + item_state_slots = list(slot_r_hand_str = "lawyer_black", slot_l_hand_str = "lawyer_black") worn_state = "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 = "lawyer_black" + item_state_slots = list(slot_r_hand_str = "lawyer_black", slot_l_hand_str = "lawyer_black") worn_state = "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 = "lawyer_black" + item_state_slots = list(slot_r_hand_str = "lawyer_black", slot_l_hand_str = "lawyer_black") worn_state = "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 = "lawyer_red" + item_state_slots = list(slot_r_hand_str = "lawyer_red", slot_l_hand_str = "lawyer_red") worn_state = "red_suit" /obj/item/clothing/under/schoolgirl name = "schoolgirl uniform" desc = "It's just like one of my Japanese animes!" icon_state = "schoolgirl" - item_state = "blue" + item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue") worn_state = "schoolgirl" body_parts_covered = UPPER_TORSO|LOWER_TORSO @@ -219,14 +219,14 @@ name = "laborer's overalls" desc = "A set of durable overalls for getting the job done." icon_state = "overalls" - item_state = "cargo" + item_state_slots = list(slot_r_hand_str = "cargo", slot_l_hand_str = "cargo") worn_state = "overalls" /obj/item/clothing/under/pirate name = "pirate outfit" desc = "Yarr." icon_state = "pirate" - item_state = "sl_suit" + item_state_slots = list(slot_r_hand_str = "sl_suit", slot_l_hand_str = "sl_suit") worn_state = "pirate" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS @@ -234,14 +234,14 @@ name = "soviet uniform" desc = "For the Motherland!" icon_state = "soviet" - item_state = "grey" + item_state_slots = list(slot_r_hand_str = "grey", slot_l_hand_str = "grey") worn_state = "soviet" /obj/item/clothing/under/redcoat name = "redcoat uniform" desc = "Looks old." icon_state = "redcoat" - item_state = "red" + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") worn_state = "redcoat" /obj/item/clothing/under/kilt @@ -255,7 +255,7 @@ name = "sexy mime outfit" desc = "The only time when you DON'T enjoy looking at someone's rack." icon_state = "sexymime" - item_state = "mime" + item_state_slots = list(slot_r_hand_str = "mime", slot_l_hand_str = "mime") worn_state = "sexymime" body_parts_covered = UPPER_TORSO|LOWER_TORSO rolled_sleeves = -1 //Please never @@ -264,7 +264,7 @@ name = "gladiator uniform" desc = "Are you not entertained? Is that not why you are here?" icon_state = "gladiator" - item_state = "yellow" + item_state_slots = list(slot_r_hand_str = "yellow", slot_l_hand_str = "yellow") worn_state = "gladiator" body_parts_covered = LOWER_TORSO @@ -284,7 +284,7 @@ name = "black tango dress" desc = "Filled with Latin fire." icon_state = "black_tango_alt" - item_state = "black_tango" + item_state_slots = list(slot_r_hand_str = "black_tango", slot_l_hand_str = "black_tango") worn_state = "black_tango_alt" /obj/item/clothing/under/dress/stripeddress @@ -351,7 +351,7 @@ name = "saloon girl dress" desc = "A old western inspired gown for the girl who likes to drink." icon_state = "dress_saloon" - item_state = "dress_white" + item_state_slots = list(slot_r_hand_str = "dress_white", slot_l_hand_str = "dress_white") worn_state = "dress_saloon" /obj/item/clothing/under/dress/dress_cap @@ -435,35 +435,35 @@ name = "captain's formal uniform" desc = "A captain's formal-wear, for special occasions." icon_state = "captain_formal" - item_state = "lawyer_blue" + item_state_slots = list(slot_r_hand_str = "lawyer_blue", slot_l_hand_str = "lawyer_blue") worn_state = "captain_formal" /obj/item/clothing/under/hosformalmale name = "head of security's formal uniform" desc = "A male head of security's formal-wear, for special occasions." icon_state = "hos_formal_male" - item_state = "lawyer_red" + item_state_slots = list(slot_r_hand_str = "lawyer_red", slot_l_hand_str = "lawyer_red") worn_state = "hos_formal_male" /obj/item/clothing/under/hosformalfem name = "head of security's formal uniform" desc = "A female head of security's formal-wear, for special occasions." icon_state = "hos_formal_fem" - item_state = "lawyer_red" + item_state_slots = list(slot_r_hand_str = "lawyer_red", slot_l_hand_str = "lawyer_red") worn_state = "hos_formal_fem" /obj/item/clothing/under/assistantformal name = "assistant's formal uniform" desc = "An assistant's formal-wear. Why an assistant needs formal-wear is still unknown." icon_state = "assistant_formal" - item_state = "lawyer_black" + item_state_slots = list(slot_r_hand_str = "lawyer_black", slot_l_hand_str = "lawyer_black") worn_state = "assistant_formal" /obj/item/clothing/under/suit_jacket/charcoal name = "charcoal suit" desc = "A charcoal suit and red tie. Very professional." icon_state = "charcoal_suit" - item_state = "lawyer_black" + item_state_slots = list(slot_r_hand_str = "lawyer_black", slot_l_hand_str = "lawyer_black") worn_state = "charcoal_suit" starting_accessories = list(/obj/item/clothing/accessory/navy, /obj/item/clothing/accessory/charcoal_jacket) @@ -471,7 +471,7 @@ name = "navy suit" desc = "A navy suit and red tie, intended for the station's finest." icon_state = "navy_suit" - item_state = "lawyer_blue" + item_state_slots = list(slot_r_hand_str = "lawyer_blue", slot_l_hand_str = "lawyer_blue") worn_state = "navy_suit" starting_accessories = list(/obj/item/clothing/accessory/red, /obj/item/clothing/accessory/navy_jacket) @@ -479,7 +479,7 @@ name = "burgundy suit" desc = "A burgundy suit and black tie. Somewhat formal." icon_state = "burgundy_suit" - item_state = "lawyer_red" + item_state_slots = list(slot_r_hand_str = "lawyer_red", slot_l_hand_str = "lawyer_red") worn_state = "burgundy_suit" starting_accessories = list(/obj/item/clothing/accessory/black, /obj/item/clothing/accessory/burgundy_jacket) @@ -487,7 +487,7 @@ name = "checkered suit" desc = "That's a very nice suit you have there. Shame if something were to happen to it, eh?" icon_state = "checkered_suit" - item_state = "lawyer_black" + item_state_slots = list(slot_r_hand_str = "lawyer_black", slot_l_hand_str = "lawyer_black") worn_state = "checkered_suit" starting_accessories = list(/obj/item/clothing/accessory/black, /obj/item/clothing/accessory/checkered_jacket) @@ -495,7 +495,7 @@ name = "tan suit" desc = "A tan suit. Smart, but casual." icon_state = "tan_suit" - item_state = "tan_suit" + item_state_slots = list(slot_r_hand_str = "tan_suit", slot_l_hand_str = "tan_suit") worn_state = "tan_suit" starting_accessories = list(/obj/item/clothing/accessory/yellow, /obj/item/clothing/accessory/tan_jacket) @@ -503,7 +503,7 @@ name = "workman outfit" desc = "The very image of a working man. Not that you're probably doing work." icon_state = "mechanic" - item_state = "cargo" + item_state_slots = list(slot_r_hand_str = "cargo", slot_l_hand_str = "cargo") worn_state = "mechanic" rolled_sleeves = 0 @@ -536,42 +536,42 @@ name = "blue blazer" desc = "A bold but yet conservative outfit, red corduroys, navy blazer and a tie." icon_state = "blue_blazer" - item_state = "lawyer_blue" + item_state_slots = list(slot_r_hand_str = "lawyer_blue", slot_l_hand_str = "lawyer_blue") worn_state = "blue_blazer" /obj/item/clothing/under/croptop name = "crop top" desc = "A shirt that has had the top cropped. This one is NT sponsored." icon_state = "croptop" - item_state = "grey" + item_state_slots = list(slot_r_hand_str = "grey", slot_l_hand_str = "grey") worn_state = "croptop" /obj/item/clothing/under/croptop/red name = "red crop top" desc = "A red shirt that has had the top cropped." icon_state = "croptop_red" - item_state = "red" + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") worn_state = "croptop_red" /obj/item/clothing/under/croptop/grey name = "grey crop top" desc = "A grey shirt that has had the top cropped." icon_state = "croptop_grey" - item_state = "grey" + item_state_slots = list(slot_r_hand_str = "grey", slot_l_hand_str = "grey") worn_state = "croptop_grey" /obj/item/clothing/under/cuttop name = "grey cut top" desc = "A grey shirt that has had the top cut low." icon_state = "cuttop" - item_state = "grey" + item_state_slots = list(slot_r_hand_str = "grey", slot_l_hand_str = "grey") worn_state = "cuttop" /obj/item/clothing/under/cuttop/red name = "red cut top" desc = "A red shirt that has had the top cut low." icon_state = "cuttop_red" - item_state = "red" + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") worn_state = "cuttop_red" /obj/item/clothing/under/harness @@ -658,14 +658,14 @@ name = "blue pyjamas" desc = "Slightly old-fashioned sleepwear." icon_state = "blue_pyjamas" - item_state = "blue" + item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue") body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS /obj/item/clothing/under/redpyjamas name = "red pyjamas" desc = "Slightly old-fashioned sleepwear." icon_state = "red_pyjamas" - item_state = "red" + item_state_slots = list(slot_r_hand_str = "red", slot_l_hand_str = "red") body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS /obj/item/clothing/under/stripper diff --git a/code/modules/clothing/under/syndicate.dm b/code/modules/clothing/under/syndicate.dm index 0f40310572..5b6ca2d039 100644 --- a/code/modules/clothing/under/syndicate.dm +++ b/code/modules/clothing/under/syndicate.dm @@ -3,7 +3,7 @@ name = "tactical turtleneck" desc = "It's some non-descript, slightly suspicious looking, civilian clothing." icon_state = "syndicate" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "syndicate" has_sensor = 0 armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) @@ -13,7 +13,7 @@ name = "combat turtleneck" desc = "It's some non-descript, slightly suspicious looking, civilian clothing." icon_state = "combat" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "combat" has_sensor = 1 armor = list(melee = 10, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) @@ -23,7 +23,7 @@ name = "\improper Tacticool turtleneck" desc = "Just looking at it makes you want to buy an SKS, go into the woods, and -operate-." icon_state = "tactifool" - item_state = "black" + item_state_slots = list(slot_r_hand_str = "black", slot_l_hand_str = "black") worn_state = "tactifool" siemens_coefficient = 1 rolled_sleeves = 0 diff --git a/icons/mob/hands.dmi b/icons/mob/hands.dmi index 5d9dbd7ca9..b9fbe70b5e 100644 Binary files a/icons/mob/hands.dmi and b/icons/mob/hands.dmi differ diff --git a/icons/mob/suit.dmi b/icons/mob/suit.dmi index 3abe70cbef..0240f79f89 100644 Binary files a/icons/mob/suit.dmi and b/icons/mob/suit.dmi differ