diff --git a/code/defines/obj.dm b/code/defines/obj.dm index 3300da0cebf..291cef46822 100644 --- a/code/defines/obj.dm +++ b/code/defines/obj.dm @@ -190,9 +190,8 @@ var/global/list/PDA_Manifest = list() /obj/item/weapon/beach_ball icon = 'icons/misc/beach.dmi' - icon_state = "ball" + icon_state = "beachball" name = "beach ball" - item_state = "beachball" density = 0 anchored = 0 w_class = 4 diff --git a/code/defines/obj/weapon.dm b/code/defines/obj/weapon.dm index 77779bafcfd..bcf0573367b 100644 --- a/code/defines/obj/weapon.dm +++ b/code/defines/obj/weapon.dm @@ -79,7 +79,10 @@ desc = "A cane used by a true gentlemen. Or a clown." icon = 'icons/obj/weapons.dmi' icon_state = "cane" - item_state = "stick" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_melee.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_melee.dmi', + ) flags = CONDUCT force = 5.0 throwforce = 7.0 @@ -135,7 +138,6 @@ desc = "A cane used by the blind." icon = 'icons/obj/weapons.dmi' icon_state = "whitecane" - item_state = "whitecane" /obj/item/weapon/disk name = "disk" @@ -245,6 +247,10 @@ desc = "Apparently a staff used by the wizard." icon = 'icons/obj/wizard.dmi' icon_state = "staff" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_melee.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_melee.dmi', + ) force = 3.0 throwforce = 5.0 throw_speed = 1 @@ -263,14 +269,13 @@ desc = "An ebony can with an ivory tip." icon = 'icons/obj/weapons.dmi' icon_state = "cane" - item_state = "stick" /obj/item/weapon/staff/stick name = "stick" desc = "A great tool to drag someone else's drinks across the bar." icon = 'icons/obj/weapons.dmi' icon_state = "stick" - item_state = "stick" + item_state = "cane" force = 3.0 throwforce = 5.0 throw_speed = 1 @@ -380,7 +385,6 @@ name = "rapid part exchange device" desc = "Special mechanical module made to store, sort, and apply standard machine parts." icon_state = "RPED" - item_state = "RPED" w_class = 5 can_hold = list(/obj/item/weapon/stock_parts) storage_slots = 50 diff --git a/code/game/gamemodes/changeling/powers/armblade.dm b/code/game/gamemodes/changeling/powers/armblade.dm index 7ab1cdda3b7..f3f177dca16 100644 --- a/code/game/gamemodes/changeling/powers/armblade.dm +++ b/code/game/gamemodes/changeling/powers/armblade.dm @@ -27,7 +27,6 @@ desc = "A grotesque blade made out of bone and flesh that cleaves through people as a hot knife through butter." icon = 'icons/obj/weapons.dmi' icon_state = "arm_blade" - item_state = "arm_blade" w_class = 5.0 force = 40 sharp = 1 diff --git a/code/game/gamemodes/changeling/powers/armor.dm b/code/game/gamemodes/changeling/powers/armor.dm index 87de25135ac..7df170977a3 100644 --- a/code/game/gamemodes/changeling/powers/armor.dm +++ b/code/game/gamemodes/changeling/powers/armor.dm @@ -70,7 +70,6 @@ name = "chitinous mass" desc = "A tough, hard covering of black chitin." icon_state = "lingarmor" - item_state = "lingarmor" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS armor = list(melee = 75, bullet = 60, laser = 60, energy = 60, bomb = 60, bio = 0, rad = 0) //It costs 3 points, so it should be very protective. siemens_coefficient = 0.3 @@ -91,7 +90,6 @@ name = "chitinous mass" desc = "A tough, hard covering of black chitin with transparent chitin in front." icon_state = "lingarmorhelmet" - item_state = "lingarmorhelmet" armor = list(melee = 75, bullet = 60, laser = 60,energy = 60, bomb = 60, bio = 0, rad = 0) siemens_coefficient = 0.3 max_heat_protection_temperature = FIRE_HELMET_MAX_HEAT_PROTECTION_TEMPERATURE diff --git a/code/game/gamemodes/changeling/powers/fabricate_clothing.dm b/code/game/gamemodes/changeling/powers/fabricate_clothing.dm index 0bf73474eb3..6aa416b5cc3 100644 --- a/code/game/gamemodes/changeling/powers/fabricate_clothing.dm +++ b/code/game/gamemodes/changeling/powers/fabricate_clothing.dm @@ -32,6 +32,10 @@ var/global/list/changeling_fabricated_clothing = list( /obj/item/clothing/under/chameleon/changeling name = "malformed flesh" icon_state = "lingchameleon" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_uniforms.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_uniforms.dmi', + ) item_state = "lingchameleon" worn_state = "lingchameleon" desc = "The flesh all around us has grown a new layer of cells that can shift appearance and create a biological fabric that cannot be distinguished from \ @@ -78,6 +82,10 @@ var/global/list/changeling_fabricated_clothing = list( /obj/item/clothing/suit/chameleon/changeling name = "chitinous chest" icon_state = "lingchameleon" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_suits.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_suits.dmi', + ) item_state = "armor" desc = "The cells in our chest are rapidly shifting, ready to reform into material that can resemble most pieces of clothing." origin_tech = list() @@ -100,6 +108,10 @@ var/global/list/changeling_fabricated_clothing = list( /obj/item/clothing/shoes/chameleon/changeling name = "malformed feet" icon_state = "lingchameleon" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_shoes.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_shoes.dmi', + ) item_state = "black" desc = "Our feet are overlayed with another layer of flesh and bone on top. We can reform our feet to resemble various boots and shoes." origin_tech = list() @@ -122,6 +134,10 @@ var/global/list/changeling_fabricated_clothing = list( /obj/item/weapon/storage/backpack/chameleon/changeling name = "backpack" icon_state = "backpack" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_storage.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_storage.dmi', + ) item_state = "backpack" desc = "A large pouch imbedded in our back, it can shift form to resemble many common backpacks that other biologicals are fond of using." origin_tech = list() @@ -146,6 +162,10 @@ var/global/list/changeling_fabricated_clothing = list( /obj/item/clothing/gloves/chameleon/changeling name = "malformed hands" icon_state = "lingchameleon" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_gloves.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_gloves.dmi', + ) item_state = "lingchameleon" desc = "Our hands have a second layer of flesh on top. We can reform our hands to resemble a large variety of fabrics and materials that biologicals \ tend to wear on their hands. Remember that these won't protect your hands from harm." @@ -170,6 +190,10 @@ var/global/list/changeling_fabricated_clothing = list( /obj/item/clothing/mask/chameleon/changeling name = "chitin visor" icon_state = "lingchameleon" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_masks.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_masks.dmi', + ) item_state = "gas_alt" desc = "A transparent visor of brittle chitin covers our face. We can reform it to resemble various masks that biologicals use. It can also utilize internal \ tanks.." @@ -216,6 +240,10 @@ var/global/list/changeling_fabricated_clothing = list( name = "waist pouch" desc = "We can store objects in this, as well as shift it's appearance, so that it resembles various common belts." icon_state = "lingchameleon" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_storage.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_storage.dmi', + ) item_state = "utility" origin_tech = list() canremove = 0 diff --git a/code/game/gamemodes/cult/cult_items.dm b/code/game/gamemodes/cult/cult_items.dm index 3cd2a496cb4..20b49bb7f8a 100644 --- a/code/game/gamemodes/cult/cult_items.dm +++ b/code/game/gamemodes/cult/cult_items.dm @@ -2,7 +2,6 @@ name = "cult blade" desc = "An arcane weapon wielded by the followers of Nar-Sie." icon_state = "cultblade" - item_state = "cultblade" w_class = 4 force = 30 throwforce = 10 @@ -72,7 +71,6 @@ name = "cult robes" desc = "A set of armored robes worn by the followers of Nar-Sie." icon_state = "cultrobes" - item_state = "cultrobes" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS allowed = list(/obj/item/weapon/book/tome,/obj/item/weapon/melee/cultblade) armor = list(melee = 50, bullet = 30, laser = 50, energy = 20, bomb = 25, bio = 10, rad = 0) @@ -84,13 +82,12 @@ /obj/item/clothing/suit/cultrobes/alt icon_state = "cultrobesalt" - item_state = "cultrobesalt" + item_state = "cultrobes" /obj/item/clothing/suit/cultrobes/magusred name = "magus robes" desc = "A set of armored robes worn by the followers of Nar-Sie." icon_state = "magusred" - item_state = "magusred" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT @@ -107,7 +104,6 @@ /obj/item/clothing/suit/space/cult name = "cult armour" icon_state = "cult_armour" - item_state = "cult_armour" desc = "A bulky suit of armour, bristling with spikes. It looks space-worthy." w_class = 3 allowed = list(/obj/item/weapon/book/tome,/obj/item/weapon/melee/cultblade,/obj/item/weapon/tank/emergency_oxygen,/obj/item/device/suit_cooling_unit) diff --git a/code/game/machinery/computer3/laptop.dm b/code/game/machinery/computer3/laptop.dm index 48e0c48ff00..e093f4d5f6c 100644 --- a/code/game/machinery/computer3/laptop.dm +++ b/code/game/machinery/computer3/laptop.dm @@ -22,7 +22,6 @@ desc = "A clamshell portable computer. It is closed." icon = 'icons/obj/computer3.dmi' icon_state = "laptop-closed" - item_state = "laptop-inhand" pixel_x = 2 pixel_y = -3 w_class = 3 diff --git a/code/game/objects/items/devices/flashlight.dm b/code/game/objects/items/devices/flashlight.dm index 6a68d555b0c..dc042b2a6b6 100644 --- a/code/game/objects/items/devices/flashlight.dm +++ b/code/game/objects/items/devices/flashlight.dm @@ -3,7 +3,6 @@ desc = "A hand-held emergency light." icon = 'icons/obj/lighting.dmi' icon_state = "flashlight" - item_state = "flashlight" w_class = 2 flags = CONDUCT slot_flags = SLOT_BELT @@ -89,7 +88,7 @@ name = "penlight" desc = "A pen-sized light, used by medical staff." icon_state = "penlight" - item_state = "" + item_state = "pen" flags = CONDUCT slot_flags = SLOT_EARS brightness_on = 2 @@ -99,7 +98,6 @@ name = "maglight" desc = "A very, very heavy duty flashlight." icon_state = "maglight" - item_state = "maglight" force = 10 flags = CONDUCT brightness_on = 4 @@ -113,7 +111,7 @@ name = "low-power flashlight" desc = "A miniature lamp, that might be used by small robots." icon_state = "penlight" - item_state = "" + item_state = null flags = CONDUCT brightness_on = 2 w_class = 1 @@ -124,7 +122,6 @@ name = "desk lamp" desc = "A desk lamp with an adjustable mount." icon_state = "lamp" - item_state = "lamp" brightness_on = 5 w_class = 4 flags = CONDUCT @@ -136,7 +133,6 @@ /obj/item/device/flashlight/lamp/green desc = "A classic green-shaded desk lamp." icon_state = "lampgreen" - item_state = "lampgreen" brightness_on = 5 light_color = "#FFC58F" diff --git a/code/game/objects/items/devices/floor_painter.dm b/code/game/objects/items/devices/floor_painter.dm index 92515407d0b..6cf3545524f 100644 --- a/code/game/objects/items/devices/floor_painter.dm +++ b/code/game/objects/items/devices/floor_painter.dm @@ -2,7 +2,6 @@ name = "floor painter" icon = 'icons/obj/bureaucracy.dmi' icon_state = "labeler1" - item_state = "flight" var/decal = "remove all decals" var/paint_dir = "precise" diff --git a/code/game/objects/items/devices/locker_painter.dm b/code/game/objects/items/devices/locker_painter.dm index 567e2963482..d7fb37050f2 100644 --- a/code/game/objects/items/devices/locker_painter.dm +++ b/code/game/objects/items/devices/locker_painter.dm @@ -2,7 +2,6 @@ name = "closet painter" icon = 'icons/obj/bureaucracy.dmi' icon_state = "labeler1" - item_state = "flight" var/colour = "plain" var/colour_secure = "plain" diff --git a/code/game/objects/items/devices/pipe_painter.dm b/code/game/objects/items/devices/pipe_painter.dm index ccba1fc168b..7dc64a88986 100644 --- a/code/game/objects/items/devices/pipe_painter.dm +++ b/code/game/objects/items/devices/pipe_painter.dm @@ -2,7 +2,6 @@ name = "pipe painter" icon = 'icons/obj/bureaucracy.dmi' icon_state = "labeler1" - item_state = "flight" var/list/modes var/mode diff --git a/code/game/objects/items/devices/radio/electropack.dm b/code/game/objects/items/devices/radio/electropack.dm index 5b769ed8034..f945fd89e60 100644 --- a/code/game/objects/items/devices/radio/electropack.dm +++ b/code/game/objects/items/devices/radio/electropack.dm @@ -2,6 +2,10 @@ name = "electropack" desc = "Dance my monkeys! DANCE!!!" icon_state = "electropack0" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_storage.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_storage.dmi', + ) item_state = "electropack" frequency = 1449 flags = CONDUCT diff --git a/code/game/objects/items/devices/radio/encryptionkey.dm b/code/game/objects/items/devices/radio/encryptionkey.dm index 9b5dffdd37b..fe288b470b3 100644 --- a/code/game/objects/items/devices/radio/encryptionkey.dm +++ b/code/game/objects/items/devices/radio/encryptionkey.dm @@ -4,7 +4,6 @@ desc = "An encryption key for a radio headset. Contains cypherkeys." icon = 'icons/obj/radio.dmi' icon_state = "cypherkey" - item_state = "" w_class = 1 slot_flags = SLOT_EARS var/translate_binary = 0 diff --git a/code/game/objects/items/devices/radio/headset.dm b/code/game/objects/items/devices/radio/headset.dm index ad9b9e8f8cc..ce7eba21d8a 100644 --- a/code/game/objects/items/devices/radio/headset.dm +++ b/code/game/objects/items/devices/radio/headset.dm @@ -3,7 +3,6 @@ desc = "An updated, modular intercom that fits over the head. Takes encryption keys" var/radio_desc = "" icon_state = "headset" - item_state = "headset" matter = list(DEFAULT_WALL_MATERIAL = 75) subspace_transmission = 1 canhear_range = 0 // can't hear headsets from very far away @@ -71,7 +70,7 @@ /obj/item/device/radio/headset/syndicate/alt icon_state = "syndie_headset" - item_state = "syndie_headset" + item_state = "headset" origin_tech = list(TECH_ILLEGAL = 3) syndie = 1 ks1type = /obj/item/device/encryptionkey/syndicate @@ -91,7 +90,7 @@ name = "security bowman headset" desc = "This is used by your elite security force." icon_state = "sec_headset_alt" - item_state = "sec_headset_alt" + item_state = "headset" ks2type = /obj/item/device/encryptionkey/headset_sec /obj/item/device/radio/headset/headset_eng @@ -105,7 +104,7 @@ name = "engineering bowman headset" desc = "When the engineers wish to chat like girls." icon_state = "eng_headset_alt" - item_state = "eng_headset_alt" + item_state = "headset" ks2type = /obj/item/device/encryptionkey/headset_eng /obj/item/device/radio/headset/headset_rob @@ -126,7 +125,7 @@ name = "medical bowman headset" desc = "A headset for the trained staff of the medbay." icon_state = "med_headset_alt" - item_state = "med_headset_alt" + item_state = "headset" ks2type = /obj/item/device/encryptionkey/headset_med /obj/item/device/radio/headset/headset_sci @@ -154,7 +153,7 @@ name = "command bowman headset" desc = "A headset with a commanding channel." icon_state = "com_headset_alt" - item_state = "com_headset_alt" + item_state = "headset" ks2type = /obj/item/device/encryptionkey/headset_com @@ -169,7 +168,7 @@ name = "captain's bowman headset" desc = "The headset of the boss." icon_state = "com_headset_alt" - item_state = "com_headset_alt" + item_state = "headset" ks2type = /obj/item/device/encryptionkey/heads/captain /obj/item/device/radio/headset/heads/ai_integrated //No need to care about icons, it should be hidden inside the AI anyway. @@ -198,7 +197,7 @@ name = "research director's bowman headset" desc = "Headset of the researching God." icon_state = "com_headset_alt" - item_state = "com_headset_alt" + item_state = "headset" ks2type = /obj/item/device/encryptionkey/heads/rd /obj/item/device/radio/headset/heads/hos @@ -212,7 +211,7 @@ name = "head of security's bowman headset" desc = "The headset of the man who protects your worthless lifes." icon_state = "com_headset_alt" - item_state = "com_headset_alt" + item_state = "headset" ks2type = /obj/item/device/encryptionkey/heads/hos /obj/item/device/radio/headset/heads/ce @@ -226,7 +225,7 @@ name = "chief engineer's bowman headset" desc = "The headset of the guy who is in charge of morons" icon_state = "com_headset_alt" - item_state = "com_headset_alt" + item_state = "headset" ks2type = /obj/item/device/encryptionkey/heads/ce /obj/item/device/radio/headset/heads/cmo @@ -240,7 +239,7 @@ name = "chief medical officer's bowman headset" desc = "The headset of the highly trained medical chief." icon_state = "com_headset_alt" - item_state = "com_headset_alt" + item_state = "headset" ks2type = /obj/item/device/encryptionkey/heads/cmo /obj/item/device/radio/headset/heads/hop @@ -254,7 +253,7 @@ name = "head of personnel's bowman headset" desc = "The headset of the guy who will one day be captain." icon_state = "com_headset_alt" - item_state = "com_headset_alt" + item_state = "headset" ks2type = /obj/item/device/encryptionkey/heads/hop /* /obj/item/device/radio/headset/headset_mine @@ -275,7 +274,7 @@ name = "supply bowman headset" desc = "A bowman headset used by the QM and his slaves." icon_state = "cargo_headset_alt" - item_state = "cargo_headset_alt" + item_state = "headset" ks2type = /obj/item/device/encryptionkey/headset_cargo /obj/item/device/radio/headset/headset_service @@ -297,7 +296,7 @@ name = "emergency response team bowman headset" desc = "The headset of the boss's boss." icon_state = "com_headset_alt" - item_state = "com_headset_alt" + item_state = "headset" // freerange = 1 ks2type = /obj/item/device/encryptionkey/ert diff --git a/code/game/objects/items/devices/radio/radio.dm b/code/game/objects/items/devices/radio/radio.dm index e1332dda1e2..93353ca1edb 100644 --- a/code/game/objects/items/devices/radio/radio.dm +++ b/code/game/objects/items/devices/radio/radio.dm @@ -25,7 +25,7 @@ var/global/list/default_medbay_channels = list( name = "station bounced radio" suffix = "\[3\]" icon_state = "walkietalkie" - item_state = "walkietalkie" + item_state = "radio" var/on = 1 // 0 for off var/last_transmission diff --git a/code/game/objects/items/devices/scanners.dm b/code/game/objects/items/devices/scanners.dm index 8c9452ea491..7b70216330d 100644 --- a/code/game/objects/items/devices/scanners.dm +++ b/code/game/objects/items/devices/scanners.dm @@ -13,7 +13,7 @@ REAGENT SCANNER name = "health analyzer" desc = "A hand-held body scanner able to distinguish vital signs of the subject." icon_state = "health" - item_state = "analyzer" + item_state = "healthanalyzer" flags = CONDUCT slot_flags = SLOT_BELT throwforce = 3 diff --git a/code/game/objects/items/devices/telecrystal.dm b/code/game/objects/items/devices/telecrystal.dm index aa7b6335903..0d2c71384b3 100644 --- a/code/game/objects/items/devices/telecrystal.dm +++ b/code/game/objects/items/devices/telecrystal.dm @@ -8,7 +8,6 @@ For new antags, make sure to add "player.mind.accept_tcrystals = 1" if you want desc = "A strange, red, glowing crystal." icon = 'icons/obj/stock_parts.dmi' icon_state = "telecrystal" - item_state = "telecrystal" force = 5 origin_tech = list(TECH_MATERIAL = 2, TECH_BLUESPACE = 1, TECH_ILLEGAL = 1) diff --git a/code/game/objects/items/devices/violin.dm b/code/game/objects/items/devices/violin.dm index 6d195bd2bd7..683c74bd020 100644 --- a/code/game/objects/items/devices/violin.dm +++ b/code/game/objects/items/devices/violin.dm @@ -5,7 +5,6 @@ desc = "A wooden musical instrument with four strings and a bow. \"The devil went down to space, he was looking for an assistant to grief.\"" icon = 'icons/obj/musician.dmi' icon_state = "violin" - item_state = "violin" force = 10 var/datum/song/song var/playing = 0 diff --git a/code/game/objects/items/latexballoon.dm b/code/game/objects/items/latexballoon.dm index a37352c7d36..009248dec11 100644 --- a/code/game/objects/items/latexballoon.dm +++ b/code/game/objects/items/latexballoon.dm @@ -2,6 +2,10 @@ name = "latex glove" desc = "A latex glove, usually used as a balloon." icon_state = "latexballon" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_gloves.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_gloves.dmi', + ) item_state = "lgloves" force = 0 throwforce = 0 diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index 63a88dadbb8..7710cec5f6d 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -34,7 +34,6 @@ desc = "A translucent balloon. There's nothing in it." icon = 'icons/obj/toy.dmi' icon_state = "waterballoon-e" - item_state = "balloon-empty" /obj/item/toy/balloon/New() var/datum/reagents/R = new/datum/reagents(10) @@ -85,10 +84,8 @@ /obj/item/toy/balloon/update_icon() if(src.reagents.total_volume >= 1) icon_state = "waterballoon" - item_state = "balloon" else icon_state = "waterballoon-e" - item_state = "balloon-empty" /obj/item/toy/syndicateballoon name = "criminal balloon" @@ -99,7 +96,6 @@ force = 0 icon = 'icons/obj/weapons.dmi' icon_state = "syndballoon" - item_state = "syndballoon" w_class = 4.0 /obj/item/toy/nanotrasenballoon @@ -111,7 +107,6 @@ force = 0 icon = 'icons/obj/weapons.dmi' icon_state = "ntballoon" - item_state = "ntballoon" w_class = 4.0 /* @@ -142,7 +137,6 @@ desc = "A weapon favored by many overactive children. Ages 8 and up." icon = 'icons/obj/gun.dmi' icon_state = "crossbow" - item_state = "crossbow" item_icons = list( icon_l_hand = 'icons/mob/items/lefthand_guns.dmi', icon_r_hand = 'icons/mob/items/righthand_guns.dmi', @@ -251,7 +245,6 @@ anchored = 1 density = 0 - /* * Toy swords */ @@ -260,7 +253,10 @@ desc = "A cheap, plastic replica of an energy sword. Realistic sounds! Ages 8 and up." icon = 'icons/obj/weapons.dmi' icon_state = "sword0" - item_state = "sword0" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_melee.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_melee.dmi', + ) var/active = 0.0 w_class = 2.0 attack_verb = list("attacked", "struck", "hit") @@ -271,13 +267,11 @@ user << "You extend the plastic blade with a quick flick of your wrist." playsound(user, 'sound/weapons/saberon.ogg', 50, 1) src.icon_state = "swordblue" - src.item_state = "swordblue" src.w_class = 4 else user << "You push the plastic blade back down into the handle." playsound(user, 'sound/weapons/saberoff.ogg', 50, 1) src.icon_state = "sword0" - src.item_state = "sword0" src.w_class = 2 if(istype(user,/mob/living/carbon/human)) @@ -293,7 +287,10 @@ desc = "Woefully underpowered in D20." icon = 'icons/obj/weapons.dmi' icon_state = "katana" - item_state = "katana" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_material.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_material.dmi', + ) flags = CONDUCT slot_flags = SLOT_BELT | SLOT_BACK force = 5 @@ -863,7 +860,10 @@ desc = "An arcane weapon (made of foam) wielded by the followers of the hit Saturday morning cartoon \"King Nursee and the Acolytes of Heroism\"." icon = 'icons/obj/weapons.dmi' icon_state = "cultblade" - item_state = "cultblade" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_melee.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_melee.dmi', + ) w_class = 4 attack_verb = list("attacked", "slashed", "stabbed", "poked") @@ -883,7 +883,6 @@ name = "inflatable duck" desc = "No bother to sink or swim when you can just float!" icon_state = "inflatable" - item_state = "inflatable" icon = 'icons/obj/clothing/belts.dmi' slot_flags = SLOT_BELT diff --git a/code/game/objects/items/weapons/candle.dm b/code/game/objects/items/weapons/candle.dm index 421bb55a6a5..740b5e5a129 100644 --- a/code/game/objects/items/weapons/candle.dm +++ b/code/game/objects/items/weapons/candle.dm @@ -3,7 +3,6 @@ desc = "a small pillar candle. Its specially-formulated fuel-oxidizer wax mixture allows continued combustion in airless environments." icon = 'icons/obj/candle.dmi' icon_state = "candle1" - item_state = "candle1" w_class = 1 light_color = "#E09D37" var/wax = 2000 diff --git a/code/game/objects/items/weapons/cosmetics.dm b/code/game/objects/items/weapons/cosmetics.dm index d92ad00babb..c23af3192be 100644 --- a/code/game/objects/items/weapons/cosmetics.dm +++ b/code/game/objects/items/weapons/cosmetics.dm @@ -75,7 +75,6 @@ slot_flags = SLOT_EARS icon = 'icons/obj/items.dmi' icon_state = "purplecomb" - item_state = "purplecomb" /obj/item/weapon/haircomb/attack_self(mob/living/user) user.visible_message(text("[] uses [] to comb their hair with incredible style and sophistication. What a [].", user, src, user.gender == FEMALE ? "lady" : "guy")) diff --git a/code/game/objects/items/weapons/flamethrower.dm b/code/game/objects/items/weapons/flamethrower.dm index 8cd4c373e90..37018e85768 100644 --- a/code/game/objects/items/weapons/flamethrower.dm +++ b/code/game/objects/items/weapons/flamethrower.dm @@ -3,6 +3,10 @@ desc = "You are a firestarter!" icon = 'icons/obj/flamethrower.dmi' icon_state = "flamethrowerbase" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_guns.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_guns.dmi', + ) item_state = "flamethrower_0" flags = CONDUCT force = 3.0 diff --git a/code/game/objects/items/weapons/grenades/anti_photon_grenade.dm b/code/game/objects/items/weapons/grenades/anti_photon_grenade.dm index 4a051099254..2e16eb4106e 100644 --- a/code/game/objects/items/weapons/grenades/anti_photon_grenade.dm +++ b/code/game/objects/items/weapons/grenades/anti_photon_grenade.dm @@ -3,7 +3,6 @@ name = "photon disruption grenade" icon = 'icons/obj/grenade.dmi' icon_state = "emp" - item_state = "emp" det_time = 20 origin_tech = list(TECH_BLUESPACE = 4, TECH_MATERIAL = 4) diff --git a/code/game/objects/items/weapons/grenades/emgrenade.dm b/code/game/objects/items/weapons/grenades/emgrenade.dm index 91b2d8f7e1b..43b954c76ab 100644 --- a/code/game/objects/items/weapons/grenades/emgrenade.dm +++ b/code/game/objects/items/weapons/grenades/emgrenade.dm @@ -14,7 +14,6 @@ name = "low yield emp grenade" desc = "A weaker variant of the EMP grenade" icon_state = "lyemp" - item_state = "lyempgrenade" origin_tech = list(TECH_MATERIAL = 2, TECH_MAGNET = 3) prime() diff --git a/code/game/objects/items/weapons/grenades/explosive.dm b/code/game/objects/items/weapons/grenades/explosive.dm index ee1342d1cc5..e3e2ecdd750 100644 --- a/code/game/objects/items/weapons/grenades/explosive.dm +++ b/code/game/objects/items/weapons/grenades/explosive.dm @@ -4,7 +4,6 @@ //icon = 'icons/obj/grenade.dmi' //det_time = 50 //icon_state = "frggrenade" - //item_state = "frggrenade" //origin_tech = list(TECH_MATERIAL = 2, TECH_COMBAT = 3) //obj/item/weapon/grenade/explosive/prime() @@ -31,7 +30,7 @@ name = "fragmentation grenade" desc = "A fragmentation grenade, optimized for harming personnel without causing massive structural damage." icon_state = "frggrenade" - item_state = "frggrenade" + item_state = "grenade" var/num_fragments = 50 //total number of fragments produced by the grenade var/fragment_damage = 10 diff --git a/code/game/objects/items/weapons/material/bats.dm b/code/game/objects/items/weapons/material/bats.dm index d622cc2f280..484ce5c9038 100644 --- a/code/game/objects/items/weapons/material/bats.dm +++ b/code/game/objects/items/weapons/material/bats.dm @@ -3,7 +3,6 @@ desc = "HOME RUN!" icon_state = "metalbat0" base_icon = "metalbat" - item_state = "metalbat" throwforce = 7 attack_verb = list("smashed", "beaten", "slammed", "smacked", "struck", "battered", "bonked") hitsound = 'sound/weapons/genhit3.ogg' diff --git a/code/game/objects/items/weapons/material/kitchen.dm b/code/game/objects/items/weapons/material/kitchen.dm index 6672d488ded..7b70013a0d5 100644 --- a/code/game/objects/items/weapons/material/kitchen.dm +++ b/code/game/objects/items/weapons/material/kitchen.dm @@ -1,6 +1,6 @@ /obj/item/weapon/material/kitchen icon = 'icons/obj/kitchen.dmi' - + /* * Utensils */ diff --git a/code/game/objects/items/weapons/material/knives.dm b/code/game/objects/items/weapons/material/knives.dm index 0ddf3fa8943..f49d16c0348 100644 --- a/code/game/objects/items/weapons/material/knives.dm +++ b/code/game/objects/items/weapons/material/knives.dm @@ -72,7 +72,6 @@ name = "meat hook" desc = "A sharp, metal hook what sticks into things." icon_state = "hook_knife" - item_state = "hook_knife" /obj/item/weapon/material/knife/ritual name = "ritual knife" diff --git a/code/game/objects/items/weapons/material/material_weapons.dm b/code/game/objects/items/weapons/material/material_weapons.dm index fc9ac7eb32d..73f8b573206 100644 --- a/code/game/objects/items/weapons/material/material_weapons.dm +++ b/code/game/objects/items/weapons/material/material_weapons.dm @@ -10,6 +10,10 @@ w_class = 3 sharp = 0 edge = 0 + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_material.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_material.dmi', + ) var/applies_material_colour = 1 var/unbreakable diff --git a/code/game/objects/items/weapons/material/misc.dm b/code/game/objects/items/weapons/material/misc.dm index 91d97274f66..604a4e83acc 100644 --- a/code/game/objects/items/weapons/material/misc.dm +++ b/code/game/objects/items/weapons/material/misc.dm @@ -64,7 +64,6 @@ desc = "It's used for removing weeds or scratching your back." icon = 'icons/obj/weapons.dmi' icon_state = "hoe" - item_state = "hoe" force_divisor = 0.25 // 5 with weight 20 (steel) thrown_force_divisor = 0.25 // as above w_class = 2 diff --git a/code/game/objects/items/weapons/material/swords.dm b/code/game/objects/items/weapons/material/swords.dm index a8b0ea19a3b..e73bcc8f9c9 100644 --- a/code/game/objects/items/weapons/material/swords.dm +++ b/code/game/objects/items/weapons/material/swords.dm @@ -2,7 +2,6 @@ name = "claymore" desc = "What are you standing around staring at this for? Get to killing!" icon_state = "claymore" - item_state = "claymore" slot_flags = SLOT_BELT force_divisor = 0.7 // 42 when wielded with hardnes 60 (steel) thrown_force_divisor = 0.5 // 10 when thrown with weight 20 (steel) @@ -27,7 +26,6 @@ name = "katana" desc = "Woefully underpowered in D20. This one looks pretty sharp." icon_state = "katana" - item_state = "katana" slot_flags = SLOT_BELT | SLOT_BACK /obj/item/weapon/material/sword/katana/suicide_act(mob/user) diff --git a/code/game/objects/items/weapons/melee/misc.dm b/code/game/objects/items/weapons/melee/misc.dm index deed1aa2196..ae8250dd02c 100644 --- a/code/game/objects/items/weapons/melee/misc.dm +++ b/code/game/objects/items/weapons/melee/misc.dm @@ -2,7 +2,6 @@ name = "chain of command" desc = "A tool used by great men to placate the frothing masses." icon_state = "chain" - item_state = "chain" flags = CONDUCT slot_flags = SLOT_BELT force = 10 diff --git a/code/game/objects/items/weapons/shields.dm b/code/game/objects/items/weapons/shields.dm index 7f7c75e8177..2903c7f9715 100644 --- a/code/game/objects/items/weapons/shields.dm +++ b/code/game/objects/items/weapons/shields.dm @@ -32,6 +32,10 @@ /obj/item/weapon/shield name = "shield" var/base_block_chance = 50 + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_melee.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_melee.dmi', + ) /obj/item/weapon/shield/handle_shield(mob/user, var/damage, atom/damage_source = null, mob/attacker = null, var/def_zone = null, var/attack_text = "the attack") if(user.incapacitated()) diff --git a/code/game/objects/items/weapons/storage/backpack.dm b/code/game/objects/items/weapons/storage/backpack.dm index 9eebc7b3f02..3b6be1f60a4 100644 --- a/code/game/objects/items/weapons/storage/backpack.dm +++ b/code/game/objects/items/weapons/storage/backpack.dm @@ -1,4 +1,3 @@ - /* * Backpack */ @@ -6,17 +5,8 @@ /obj/item/weapon/storage/backpack name = "backpack" desc = "You wear this on your back and put items into it." - item_icons = list( - slot_l_hand_str = 'icons/mob/items/lefthand_backpacks.dmi', - slot_r_hand_str = 'icons/mob/items/righthand_backpacks.dmi', - ) icon_state = "backpack" - item_state = null - //most backpacks use the default backpack state for inhand overlays - item_state_slots = list( - slot_l_hand_str = "backpack", - slot_r_hand_str = "backpack", - ) + item_state = "backpack" sprite_sheets = list( "Teshari" = 'icons/mob/species/seromi/back.dmi' ) @@ -91,31 +81,26 @@ name = "Giggles von Honkerton" desc = "It's a backpack made by Honk! Co." icon_state = "clownpack" - item_state_slots = null /obj/item/weapon/storage/backpack/medic name = "medical backpack" desc = "It's a backpack especially designed for use in a sterile environment." icon_state = "medicalpack" - item_state_slots = null /obj/item/weapon/storage/backpack/security name = "security backpack" desc = "It's a very robust backpack." icon_state = "securitypack" - item_state_slots = null /obj/item/weapon/storage/backpack/captain name = "captain's backpack" desc = "It's a special backpack made exclusively for officers." icon_state = "captainpack" - item_state_slots = null /obj/item/weapon/storage/backpack/industrial name = "industrial backpack" desc = "It's a tough backpack for the daily grind of station life." icon_state = "engiepack" - item_state_slots = null /obj/item/weapon/storage/backpack/toxins name = "laboratory backpack" @@ -150,10 +135,6 @@ name = "dufflebag" desc = "A large dufflebag for holding extra things." icon_state = "duffle" - item_state_slots = list( - slot_l_hand_str = "duffle", - slot_r_hand_str = "duffle", - ) slowdown = 1 max_storage_space = 36 @@ -161,74 +142,42 @@ name = "black dufflebag" desc = "A large dufflebag for holding extra tactical supplies." icon_state = "duffle_syndie" - item_state_slots = list( - slot_l_hand_str = "duffle_syndiemed", - slot_r_hand_str = "duffle_syndiemed", - ) slowdown = 0 /obj/item/weapon/storage/backpack/dufflebag/syndie/med name = "medical dufflebag" desc = "A large dufflebag for holding extra tactical medical supplies." icon_state = "duffle_syndiemed" - item_state_slots = list( - slot_l_hand_str = "duffle_syndiemed", - slot_r_hand_str = "duffle_syndiemed", - ) /obj/item/weapon/storage/backpack/dufflebag/syndie/ammo name = "ammunition dufflebag" desc = "A large dufflebag for holding extra weapons ammunition and supplies." icon_state = "duffle_syndieammo" - item_state_slots = list( - slot_l_hand_str = "duffle_syndieammo", - slot_r_hand_str = "duffle_syndieammo", - ) /obj/item/weapon/storage/backpack/dufflebag/captain name = "captain's dufflebag" desc = "A large dufflebag for holding extra captainly goods." icon_state = "duffle_captain" - item_state_slots = list( - slot_l_hand_str = "duffle_captain", - slot_r_hand_str = "duffle_captain", - ) /obj/item/weapon/storage/backpack/dufflebag/med name = "medical dufflebag" desc = "A large dufflebag for holding extra medical supplies." icon_state = "duffle_med" - item_state_slots = list( - slot_l_hand_str = "duffle_med", - slot_r_hand_str = "duffle_med", - ) /obj/item/weapon/storage/backpack/dufflebag/emt name = "EMT dufflebag" desc = "A large dufflebag for holding extra medical supplies. This one has reflective stripes!" icon_state = "duffle_emt" - item_state_slots = list( - slot_l_hand_str = "duffle_emt", - slot_r_hand_str = "duffle_emt", - ) /obj/item/weapon/storage/backpack/dufflebag/sec name = "security dufflebag" desc = "A large dufflebag for holding extra security supplies and ammunition." icon_state = "duffle_sec" - item_state_slots = list( - slot_l_hand_str = "duffle_sec", - slot_r_hand_str = "duffle_sec", - ) /obj/item/weapon/storage/backpack/dufflebag/eng name = "industrial dufflebag" desc = "A large dufflebag for holding extra tools and supplies." icon_state = "duffle_eng" - item_state_slots = list( - slot_l_hand_str = "duffle_eng", - slot_r_hand_str = "duffle_eng", - ) /* * Satchel Types @@ -253,48 +202,43 @@ name = "industrial satchel" desc = "A tough satchel with extra pockets." icon_state = "satchel-eng" - item_state_slots = list( - slot_l_hand_str = "engiepack", - slot_r_hand_str = "engiepack", - ) + item_state = "engiepack" /obj/item/weapon/storage/backpack/satchel/med name = "medical satchel" desc = "A sterile satchel used in medical departments." icon_state = "satchel-med" - item_state_slots = list( - slot_l_hand_str = "medicalpack", - slot_r_hand_str = "medicalpack", - ) + item_state = "medicalpack" /obj/item/weapon/storage/backpack/satchel/vir name = "virologist satchel" desc = "A sterile satchel with virologist colours." icon_state = "satchel-vir" + item_state = "medicalpack" /obj/item/weapon/storage/backpack/satchel/chem name = "chemist satchel" desc = "A sterile satchel with chemist colours." icon_state = "satchel-chem" + item_state = "medicalpack" /obj/item/weapon/storage/backpack/satchel/gen name = "geneticist satchel" desc = "A sterile satchel with geneticist colours." icon_state = "satchel-gen" + item_state = "medicalpack" /obj/item/weapon/storage/backpack/satchel/tox name = "scientist satchel" desc = "Useful for holding research materials." icon_state = "satchel-tox" + item_state = "medicalpack" /obj/item/weapon/storage/backpack/satchel/sec name = "security satchel" desc = "A robust satchel for security related needs." icon_state = "satchel-sec" - item_state_slots = list( - slot_l_hand_str = "securitypack", - slot_r_hand_str = "securitypack", - ) + item_state = "securitypack" /obj/item/weapon/storage/backpack/satchel/hyd name = "hydroponics satchel" @@ -305,20 +249,14 @@ name = "captain's satchel" desc = "An exclusive satchel for officers." icon_state = "satchel-cap" - item_state_slots = list( - slot_l_hand_str = "satchel-cap", - slot_r_hand_str = "satchel-cap", - ) + item_state = "captainpack" //ERT backpacks. /obj/item/weapon/storage/backpack/ert name = "emergency response team backpack" desc = "A spacious backpack with lots of pockets, used by members of the Emergency Response Team." icon_state = "ert_commander" - item_state_slots = list( - slot_l_hand_str = "securitypack", - slot_r_hand_str = "securitypack", - ) + item_state = "securitypack" //Commander /obj/item/weapon/storage/backpack/ert/commander diff --git a/code/game/objects/items/weapons/storage/boxes.dm b/code/game/objects/items/weapons/storage/boxes.dm index a1b6e17b5a8..dc4dce673da 100644 --- a/code/game/objects/items/weapons/storage/boxes.dm +++ b/code/game/objects/items/weapons/storage/boxes.dm @@ -468,7 +468,6 @@ desc = "A small box of 'Space-Proof' premium matches." icon = 'icons/obj/cigarettes.dmi' icon_state = "matchbox" - item_state = "zippo" w_class = 1 slot_flags = SLOT_BELT can_hold = list(/obj/item/weapon/flame/match) diff --git a/code/game/objects/items/weapons/storage/briefcase.dm b/code/game/objects/items/weapons/storage/briefcase.dm index ff3d60aec8a..d80ce0bb9cd 100644 --- a/code/game/objects/items/weapons/storage/briefcase.dm +++ b/code/game/objects/items/weapons/storage/briefcase.dm @@ -2,7 +2,6 @@ name = "briefcase" desc = "It's made of AUTHENTIC faux-leather and has a price-tag still attached. Its owner must be a real professional." icon_state = "briefcase" - item_state = "briefcase" flags = CONDUCT force = 8.0 throw_speed = 1 diff --git a/code/game/objects/items/weapons/storage/fancy.dm b/code/game/objects/items/weapons/storage/fancy.dm index 758ac8dc39c..babc2e7420a 100644 --- a/code/game/objects/items/weapons/storage/fancy.dm +++ b/code/game/objects/items/weapons/storage/fancy.dm @@ -187,13 +187,11 @@ name = "\improper DromedaryCo packet" desc = "A packet of six imported DromedaryCo cancer sticks. A label on the packaging reads, \"Wouldn't a slow death make a change?\"" icon_state = "Dpacket" - item_state = "Dpacket" /obj/item/weapon/storage/fancy/cigarettes/killthroat name = "\improper AcmeCo packet" desc = "A packet of six AcmeCo cigarettes. For those who somehow want to obtain the record for the most amount of cancerous tumors." icon_state = "Bpacket" - item_state = "Bpacket" //Doesn't have an inhand state, but neither does dromedary, so, ya know.. New() ..() @@ -205,37 +203,31 @@ name = "\improper pack of Lucky Stars" desc = "A mellow blend made from synthetic, pod-grown tobacco. The commercial jingle is guaranteed to get stuck in your head." icon_state = "LSpacket" - item_state = "Dpacket" //I actually don't mind cig packs not showing up in the hand. whotf doesn't just keep them in their pockets/coats // /obj/item/weapon/storage/fancy/cigarettes/jerichos name = "\improper pack of Jerichos" desc = "Typically seen dangling from the lips of Martian soldiers and border world hustlers. Tastes like hickory smoke, feels like warm liquid death down your lungs." icon_state = "Jpacket" - item_state = "Dpacket" /obj/item/weapon/storage/fancy/cigarettes/menthols name = "\improper pack of Temperamento Menthols" desc = "With a sharp and natural organic menthol flavor, these Temperamentos are a favorite of NDV crews. Hardly anyone knows they make 'em in non-menthol!" icon_state = "TMpacket" - item_state = "Dpacket" /obj/item/weapon/storage/fancy/cigarettes/carcinomas name = "\improper pack of Carcinoma Angels" desc = "This unknown brand was slated for the chopping block, until they were publicly endorsed by an old Earthling gonzo journalist. The rest is history. They sell a variety for cats, too." icon_state = "CApacket" - item_state = "Dpacket" /obj/item/weapon/storage/fancy/cigarettes/professionals name = "\improper pack of Professional 120s" desc = "Let's face it - if you're smoking these, you're either trying to look upper-class or you're 80 years old. That's the only excuse. They taste disgusting, too." icon_state = "P100packet" - item_state = "Dpacket" /obj/item/weapon/storage/fancy/cigar name = "cigar case" desc = "A case for holding your cigars when you are not smoking them." icon_state = "cigarcase" - item_state = "cigarcase" icon = 'icons/obj/cigarettes.dmi' w_class = 1 throwforce = 2 diff --git a/code/game/objects/items/weapons/storage/storage.dm b/code/game/objects/items/weapons/storage/storage.dm index 2df9701436a..224385529d1 100644 --- a/code/game/objects/items/weapons/storage/storage.dm +++ b/code/game/objects/items/weapons/storage/storage.dm @@ -8,6 +8,10 @@ /obj/item/weapon/storage name = "storage" icon = 'icons/obj/storage.dmi' + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_storage.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_storage.dmi', + ) w_class = 3 show_messages = 1 diff --git a/code/game/objects/items/weapons/swords_axes_etc.dm b/code/game/objects/items/weapons/swords_axes_etc.dm index b289e792572..2341df50cef 100644 --- a/code/game/objects/items/weapons/swords_axes_etc.dm +++ b/code/game/objects/items/weapons/swords_axes_etc.dm @@ -2,9 +2,10 @@ * Contains: * Sword * Classic Baton + * Telescopic Baton */ -/* +/* * Classic Baton */ /obj/item/weapon/melee/classic_baton @@ -34,7 +35,6 @@ desc = "A compact yet rebalanced personal defense weapon. Can be concealed when folded." icon = 'icons/obj/weapons.dmi' icon_state = "telebaton0" - item_state = "telebaton0" slot_flags = SLOT_BELT w_class = 2 force = 3 @@ -48,7 +48,6 @@ "You extend the baton.",\ "You hear an ominous click.") icon_state = "telebaton1" - item_state = "telebaton1" w_class = 3 force = 15//quite robust attack_verb = list("smacked", "struck", "slapped") @@ -57,7 +56,6 @@ "You collapse the baton.",\ "You hear a click.") icon_state = "telebaton0" - item_state = "telebaton0" w_class = 2 force = 3//not so robust now attack_verb = list("hit", "punched") diff --git a/code/game/objects/items/weapons/syndie.dm b/code/game/objects/items/weapons/syndie.dm index a5d5db02ad8..56cbda16ff1 100644 --- a/code/game/objects/items/weapons/syndie.dm +++ b/code/game/objects/items/weapons/syndie.dm @@ -8,7 +8,7 @@ /obj/item/weapon/syndie/c4explosive icon_state = "c-4small_0" - item_state = "c-4small" + item_state = "radio" name = "normal-sized package" desc = "A small wrapped package." w_class = 3 @@ -18,7 +18,7 @@ /obj/item/weapon/syndie/c4explosive/heavy icon_state = "c-4large_0" - item_state = "c-4large" + item_state = "radio" desc = "A mysterious package, it's quite heavy." power = 2 size = "large" @@ -52,7 +52,7 @@ /obj/item/weapon/syndie/c4detonator icon_state = "c-4detonator_0" - item_state = "c-4detonator" + item_state = "zippo" name = "\improper Zippo lighter" /*Sneaky, thanks Dreyfus.*/ desc = "The zippo." w_class = 1 diff --git a/code/game/objects/items/weapons/tanks/jetpack.dm b/code/game/objects/items/weapons/tanks/jetpack.dm index 003e4b2ac97..bc354b5ce47 100644 --- a/code/game/objects/items/weapons/tanks/jetpack.dm +++ b/code/game/objects/items/weapons/tanks/jetpack.dm @@ -6,6 +6,10 @@ icon_state = "jetpack" gauge_icon = null w_class = 4.0 + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_storage.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_storage.dmi', + ) item_state = "jetpack" distribute_pressure = ONE_ATMOSPHERE*O2STANDARD var/datum/effect/effect/system/ion_trail_follow/ion_trail diff --git a/code/game/objects/items/weapons/tanks/tank_types.dm b/code/game/objects/items/weapons/tanks/tank_types.dm index c10e83511f8..f97e539d1d1 100644 --- a/code/game/objects/items/weapons/tanks/tank_types.dm +++ b/code/game/objects/items/weapons/tanks/tank_types.dm @@ -16,19 +16,16 @@ icon_state = "oxygen" distribute_pressure = ONE_ATMOSPHERE*O2STANDARD - New() ..() air_contents.adjust_gas("oxygen", (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C)) return - examine(mob/user) if(..(user, 0) && air_contents.gas["oxygen"] < 10) user << text("The meter on \the [src] indicates you are almost out of oxygen!") //playsound(usr, 'sound/effects/alert.ogg', 50, 1) - /obj/item/weapon/tank/oxygen/yellow desc = "A tank of oxygen, this one is yellow." icon_state = "oxygen_f" @@ -37,7 +34,6 @@ desc = "A tank of oxygen, this one is red." icon_state = "oxygen_fr" - /* * Anesthetic */ @@ -64,7 +60,6 @@ desc = "Mixed anyone?" icon_state = "oxygen" - examine(mob/user) if(..(user, 0) && air_contents.gas["oxygen"] < 1 && loc==user) user << "The meter on the [src.name] indicates you are almost out of air!" @@ -76,8 +71,7 @@ src.air_contents.adjust_multi("oxygen", (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C) * O2STANDARD, "nitrogen", (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C) * N2STANDARD) return - - + /* * Phoron */ @@ -89,7 +83,6 @@ flags = CONDUCT slot_flags = null //they have no straps! - /obj/item/weapon/tank/phoron/New() ..() @@ -124,14 +117,12 @@ distribute_pressure = ONE_ATMOSPHERE*O2STANDARD volume = 2 //Tiny. Real life equivalents only have 21 breaths of oxygen in them. They're EMERGENCY tanks anyway -errorage (dangercon 2011) - New() ..() src.air_contents.adjust_gas("oxygen", (3*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C)) return - examine(mob/user) if(..(user, 0) && air_contents.gas["oxygen"] < 0.2 && loc==user) user << text("The meter on the [src.name] indicates you are almost out of air!") @@ -157,7 +148,6 @@ icon_state = "oxygen_fr" distribute_pressure = ONE_ATMOSPHERE*O2STANDARD - /obj/item/weapon/tank/nitrogen/New() ..() @@ -167,4 +157,4 @@ /obj/item/weapon/tank/nitrogen/examine(mob/user) if(..(user, 0) && air_contents.gas["nitrogen"] < 10) user << text("The meter on \the [src] indicates you are almost out of nitrogen!") - //playsound(user, 'sound/effects/alert.ogg', 50, 1) + //playsound(user, 'sound/effects/alert.ogg', 50, 1) \ No newline at end of file diff --git a/code/game/objects/items/weapons/weaponry.dm b/code/game/objects/items/weapons/weaponry.dm index 0f5cebc44da..0075b6cdfd3 100644 --- a/code/game/objects/items/weapons/weaponry.dm +++ b/code/game/objects/items/weapons/weaponry.dm @@ -1,4 +1,3 @@ - /obj/item/weapon/nullrod name = "null rod" desc = "A rod of pure obsidian, its very presence disrupts and dampens the powers of paranormal phenomenae." diff --git a/code/game/objects/structures/bedsheet_bin.dm b/code/game/objects/structures/bedsheet_bin.dm index 375c6727eab..e284b8af830 100644 --- a/code/game/objects/structures/bedsheet_bin.dm +++ b/code/game/objects/structures/bedsheet_bin.dm @@ -39,67 +39,67 @@ LINEN BINS /obj/item/weapon/bedsheet/blue icon_state = "sheetblue" - item_state = "sheetblue" + item_state = "bedsheet" /obj/item/weapon/bedsheet/green icon_state = "sheetgreen" - item_state = "sheetgreen" + item_state = "bedsheet" /obj/item/weapon/bedsheet/orange icon_state = "sheetorange" - item_state = "sheetorange" + item_state = "bedsheet" /obj/item/weapon/bedsheet/purple icon_state = "sheetpurple" - item_state = "sheetpurple" + item_state = "bedsheet" /obj/item/weapon/bedsheet/rainbow icon_state = "sheetrainbow" - item_state = "sheetrainbow" + item_state = "bedsheet" /obj/item/weapon/bedsheet/red icon_state = "sheetred" - item_state = "sheetred" + item_state = "bedsheet" /obj/item/weapon/bedsheet/yellow icon_state = "sheetyellow" - item_state = "sheetyellow" + item_state = "bedsheet" /obj/item/weapon/bedsheet/mime icon_state = "sheetmime" - item_state = "sheetmime" + item_state = "bedsheet" /obj/item/weapon/bedsheet/clown icon_state = "sheetclown" - item_state = "sheetclown" + item_state = "bedsheet" /obj/item/weapon/bedsheet/captain icon_state = "sheetcaptain" - item_state = "sheetcaptain" + item_state = "bedsheet" /obj/item/weapon/bedsheet/rd icon_state = "sheetrd" - item_state = "sheetrd" + item_state = "bedsheet" /obj/item/weapon/bedsheet/medical icon_state = "sheetmedical" - item_state = "sheetmedical" + item_state = "bedsheet" /obj/item/weapon/bedsheet/hos icon_state = "sheethos" - item_state = "sheethos" + item_state = "bedsheet" /obj/item/weapon/bedsheet/hop icon_state = "sheethop" - item_state = "sheethop" + item_state = "bedsheet" /obj/item/weapon/bedsheet/ce icon_state = "sheetce" - item_state = "sheetce" + item_state = "bedsheet" /obj/item/weapon/bedsheet/brown icon_state = "sheetbrown" - item_state = "sheetbrown" + item_state = "bedsheet" /obj/item/weapon/bedsheet/ian icon_state = "sheetian" @@ -111,63 +111,63 @@ LINEN BINS /obj/item/weapon/bedsheet/bluedouble icon_state = "doublesheetblue" - item_state = "sheetblue" + item_state = "bedsheet" /obj/item/weapon/bedsheet/greendouble icon_state = "doublesheetgreen" - item_state = "sheetgreen" + item_state = "bedsheet" /obj/item/weapon/bedsheet/orangedouble icon_state = "doublesheetorange" - item_state = "sheetorange" + item_state = "bedsheet" /obj/item/weapon/bedsheet/purpledouble icon_state = "doublesheetpurple" - item_state = "sheetpurple" + item_state = "bedsheet" /obj/item/weapon/bedsheet/doublerainbow //all the way across the sky. icon_state = "doublesheetrainbow" - item_state = "sheetrainbow" + item_state = "bedsheet" /obj/item/weapon/bedsheet/doublered icon_state = "doublesheetred" - item_state = "sheetred" + item_state = "bedsheet" /obj/item/weapon/bedsheet/doubleyellow icon_state = "doublesheetyellow" - item_state = "sheetyellow" + item_state = "bedsheet" /obj/item/weapon/bedsheet/doublemime icon_state = "doublesheetmime" - item_state = "sheetmime" + item_state = "bedsheet" /obj/item/weapon/bedsheet/doubleclown icon_state = "doublesheetclown" - item_state = "sheetclown" + item_state = "bedsheet" /obj/item/weapon/bedsheet/doublecaptain icon_state = "doublesheetcaptain" - item_state = "sheetcaptain" + item_state = "bedsheet" /obj/item/weapon/bedsheet/doublerd icon_state = "doublesheetrd" - item_state = "sheetrd" + item_state = "bedsheet" /obj/item/weapon/bedsheet/doublehos icon_state = "doublesheethos" - item_state = "sheethos" + item_state = "bedsheet" /obj/item/weapon/bedsheet/doublehop icon_state = "doublesheethop" - item_state = "sheethop" + item_state = "bedsheet" /obj/item/weapon/bedsheet/doublece icon_state = "doublesheetce" - item_state = "sheetce" + item_state = "bedsheet" /obj/item/weapon/bedsheet/doublebrown icon_state = "doublesheetbrown" - item_state = "sheetbrown" + item_state = "bedsheet" /obj/item/weapon/bedsheet/doubleian icon_state = "doublesheetian" diff --git a/code/game/objects/structures/watercloset.dm b/code/game/objects/structures/watercloset.dm index 4ac596267dc..959f8f807a3 100644 --- a/code/game/objects/structures/watercloset.dm +++ b/code/game/objects/structures/watercloset.dm @@ -328,9 +328,6 @@ desc = "Rubber ducky you're so fine, you make bathtime lots of fuuun. Rubber ducky I'm awfully fooooond of yooooouuuu~" //thanks doohl icon = 'icons/obj/watercloset.dmi' icon_state = "rubberducky" - item_state = "rubberducky" - - /obj/structure/sink name = "sink" @@ -388,7 +385,6 @@ for(var/mob/V in viewers(src, null)) V.show_message("[user] washes their hands using \the [src].") - /obj/structure/sink/attackby(obj/item/O as obj, mob/user as mob) if(busy) user << "Someone's already washing here." @@ -444,7 +440,6 @@ "[user] washes \a [I] using \the [src].", \ "You wash \a [I] using \the [src].") - /obj/structure/sink/kitchen name = "kitchen sink" icon_state = "sink_alt" diff --git a/code/game/objects/weapons.dm b/code/game/objects/weapons.dm index b62efa1c049..92d1cc36613 100644 --- a/code/game/objects/weapons.dm +++ b/code/game/objects/weapons.dm @@ -6,4 +6,10 @@ /obj/item/weapon/Bump(mob/M as mob) spawn(0) ..() - return \ No newline at end of file + return + +/obj/item/weapon/melee + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_melee.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_melee.dmi', + ) \ No newline at end of file diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 6b2e8e6e4fb..f87ab00fe20 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -206,6 +206,10 @@ //Gloves /obj/item/clothing/gloves name = "gloves" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_gloves.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_gloves.dmi', + ) gender = PLURAL //Carn: for grammarically correct text-parsing w_class = 2.0 icon = 'icons/obj/clothing/gloves.dmi' @@ -369,6 +373,10 @@ /obj/item/clothing/mask name = "mask" icon = 'icons/obj/clothing/masks.dmi' + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_masks.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_masks.dmi', + ) body_parts_covered = HEAD slot_flags = SLOT_MASK body_parts_covered = FACE|EYES @@ -393,6 +401,10 @@ /obj/item/clothing/shoes name = "shoes" icon = 'icons/obj/clothing/shoes.dmi' + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_shoes.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_shoes.dmi', + ) desc = "Comfortable-looking shoes." gender = PLURAL //Carn: for grammarically correct text-parsing siemens_coefficient = 0.9 @@ -471,6 +483,10 @@ //Suit /obj/item/clothing/suit icon = 'icons/obj/clothing/suits.dmi' + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_suits.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_suits.dmi', + ) name = "suit" var/fire_resist = T0C+100 body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS diff --git a/code/modules/clothing/ears/skrell.dm b/code/modules/clothing/ears/skrell.dm index e8bc3e8534d..bd6a1e1546b 100644 --- a/code/modules/clothing/ears/skrell.dm +++ b/code/modules/clothing/ears/skrell.dm @@ -14,132 +14,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 = "skrell_chain" + item_state = "egg5" //just a small colored item, remove item_state's if undesirable. /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 = "skrell_chain_sil" + item_state = "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 = "skrell_chain_bjewel" + item_state = "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 = "skrell_chain_rjewel" + item_state = "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 = "skrell_chain_ebony" + item_state = "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 = "skrell_band" + item_state = "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 = "skrell_band_sil" + item_state = "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 = "skrell_band_bjewel" + item_state = "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 = "skrell_band_rjewel" + item_state = "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 = "skrell_band_ebony" + item_state = "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 = "skrell_band_sil" + item_state = "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 = "skrell_chain_sil" + item_state = "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 = "skrell_cloth_female" + item_state = "egg4" /obj/item/clothing/ears/skrell/cloth_female/black name = "black headtail cloth" icon_state = "skrell_cloth_black_female" - item_state = "skrell_cloth_black_female" + item_state = "egg6" /obj/item/clothing/ears/skrell/cloth_female/blue name = "blue headtail cloth" icon_state = "skrell_cloth_blue_female" - item_state = "skrell_cloth_blue_female" + item_state = "egg2" /obj/item/clothing/ears/skrell/cloth_female/green name = "green headtail cloth" icon_state = "skrell_cloth_green_female" - item_state = "skrell_cloth_green_female" + item_state = "egg3" /obj/item/clothing/ears/skrell/cloth_female/pink name = "pink headtail cloth" icon_state = "skrell_cloth_pink_female" - item_state = "skrell_cloth_pink_female" + item_state = "egg1" /obj/item/clothing/ears/skrell/cloth_female/lightblue name = "light blue headtail cloth" icon_state = "skrell_cloth_lblue_female" - item_state = "skrell_cloth_lblue_female" + item_state = "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 = "skrell_cloth_male" + item_state = "egg4" /obj/item/clothing/ears/skrell/cloth_male/black name = "black headtail cloth" icon_state = "skrell_cloth_black_male" - item_state = "skrell_cloth_black_male" + item_state = "egg6" /obj/item/clothing/ears/skrell/cloth_male/blue name = "blue headtail cloth" icon_state = "skrell_cloth_blue_male" - item_state = "skrell_cloth_blue_male" + item_state = "egg2" /obj/item/clothing/ears/skrell/cloth_male/green name = "green headtail cloth" icon_state = "skrell_cloth_green_male" - item_state = "skrell_cloth_green_male" + item_state = "egg3" /obj/item/clothing/ears/skrell/cloth_male/pink name = "pink headtail cloth" icon_state = "skrell_cloth_pink_male" - item_state = "skrell_cloth_pink_male" + item_state = "egg1" /obj/item/clothing/ears/skrell/cloth_male/lightblue name = "light blue headtail cloth" icon_state = "skrell_cloth_lblue_male" - item_state = "skrell_cloth_lblue_male" \ No newline at end of file + item_state = "egg2" \ No newline at end of file diff --git a/code/modules/clothing/glasses/glasses.dm b/code/modules/clothing/glasses/glasses.dm index 8692fc9bc7e..7097e8ff332 100644 --- a/code/modules/clothing/glasses/glasses.dm +++ b/code/modules/clothing/glasses/glasses.dm @@ -102,7 +102,7 @@ BLIND // can't see anything name = "eyepatch" desc = "Yarr." icon_state = "eyepatch" - item_state = "eyepatch" + item_state = "blindfold" body_parts_covered = 0 var/eye = null @@ -124,7 +124,7 @@ BLIND // can't see anything name = "monocle" desc = "Such a dapper eyepiece!" icon_state = "monocle" - item_state = "headset" // lol + item_state = "headset" // lol -- well I guess that works body_parts_covered = 0 /obj/item/clothing/glasses/material @@ -154,20 +154,19 @@ BLIND // can't see anything name = "Prescription Glasses" desc = "Made by Uncool. Co." icon_state = "hipster_glasses" - item_state = "hipster_glasses" /obj/item/clothing/glasses/threedglasses desc = "A long time ago, people used these glasses to makes images from screens threedimensional." name = "3D glasses" icon_state = "3d" - item_state = "3d" + item_state = "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 = "gglasses" + item_state = "glasses" body_parts_covered = 0 /obj/item/clothing/glasses/sunglasses @@ -215,7 +214,6 @@ BLIND // can't see anything name = "superior welding goggles" desc = "Welding goggles made from more expensive materials, strangely smells like potatoes." icon_state = "rwelding-g" - item_state = "rwelding-g" /obj/item/clothing/glasses/sunglasses/blindfold name = "blindfold" @@ -239,8 +237,7 @@ BLIND // can't see anything /obj/item/clothing/glasses/sunglasses/big desc = "Strangely ancient technology used to help provide rudimentary eye cover. Larger than average enhanced shielding blocks many flashes." icon_state = "bigsunglasses" - item_state = "bigsunglasses" - + /obj/item/clothing/glasses/fakesunglasses //Sunglasses without flash immunity desc = "A pair of designer sunglasses. Doesn't seem like it'll block flashes." name = "stylish sunglasses" @@ -306,6 +303,7 @@ BLIND // can't see anything name = "Thermoncle" desc = "A monocle thermal." icon_state = "thermoncle" + item_state = "sunglasses" toggleable = 1 action_button_name = "Toggle Monocle" flags = null //doesn't protect eyes because it's a monocle, duh @@ -316,7 +314,7 @@ BLIND // can't see anything name = "Optical Thermal Eyepatch" desc = "An eyepatch with built-in thermal optics" icon_state = "eyepatch" - item_state = "eyepatch" + item_state = "blindfold" body_parts_covered = 0 toggleable = 1 action_button_name = "Toggle Eyepatch" @@ -325,4 +323,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 = "syringe_kit" + item_state = "sunglasses" diff --git a/code/modules/clothing/glasses/hud.dm b/code/modules/clothing/glasses/hud.dm index 30e5bc37732..fac2d53d436 100644 --- a/code/modules/clothing/glasses/hud.dm +++ b/code/modules/clothing/glasses/hud.dm @@ -8,12 +8,11 @@ proc process_hud(var/mob/M) return - - /obj/item/clothing/glasses/hud/health 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" body_parts_covered = 0 /obj/item/clothing/glasses/hud/health/prescription @@ -21,7 +20,7 @@ desc = "A medical HUD integrated with a set of prescription glasses" prescription = 1 icon_state = "healthhudpresc" - item_state = "healthhudpresc" + item_state = "glasses" /obj/item/clothing/glasses/hud/health/process_hud(var/mob/M) process_med_hud(M, 1) @@ -30,6 +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" 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 = "sechudpresc" + item_state = "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 = "jensenshades" + item_state = "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 ada10f274af..29a27537227 100644 --- a/code/modules/clothing/gloves/arm_guards.dm +++ b/code/modules/clothing/gloves/arm_guards.dm @@ -17,6 +17,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" 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) @@ -24,6 +25,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" siemens_coefficient = 0.7 armor = list(melee = 10, bullet = 80, laser = 10, energy = 50, bomb = 0, bio = 0, rad = 0) @@ -31,6 +33,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" siemens_coefficient = 0.5 armor = list(melee = 80, bullet = 10, laser = 10, energy = 50, bomb = 0, bio = 0, rad = 0) @@ -38,5 +41,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" 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 2ad12aa2bf1..0195431a5c2 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 = "boxing" + item_state = "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 = "boxinggreen" + item_state = "green" /obj/item/clothing/gloves/boxing/blue icon_state = "boxingblue" - item_state = "boxingblue" + item_state = "blue" /obj/item/clothing/gloves/boxing/yellow icon_state = "boxingyellow" - item_state = "boxingyellow" + item_state = "yellow" /obj/item/clothing/gloves/white name = "white gloves" desc = "These look pretty fancy." icon_state = "latex" - item_state = "lgloves" + item_state = "white" diff --git a/code/modules/clothing/gloves/color.dm b/code/modules/clothing/gloves/color.dm index 870d537dd3a..55b562cc93a 100644 --- a/code/modules/clothing/gloves/color.dm +++ b/code/modules/clothing/gloves/color.dm @@ -2,7 +2,6 @@ desc = "These gloves will protect the wearer from electric shock." name = "insulated gloves" icon_state = "yellow" - item_state = "ygloves" siemens_coefficient = 0 permeability_coefficient = 0.05 @@ -10,7 +9,6 @@ desc = "These gloves are cheap copies of the coveted gloves, no way this can end badly." name = "budget insulated gloves" icon_state = "yellow" - item_state = "ygloves" siemens_coefficient = 1 //Set to a default of 1, gets overridden in New() permeability_coefficient = 0.05 @@ -22,7 +20,6 @@ desc = "These work gloves are thick and fire-resistant." name = "black gloves" icon_state = "black" - item_state = "bgloves" siemens_coefficient = 0.50 permeability_coefficient = 0.05 @@ -35,61 +32,51 @@ name = "orange gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "orange" - item_state = "orangegloves" /obj/item/clothing/gloves/red name = "red gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "red" - item_state = "redgloves" /obj/item/clothing/gloves/rainbow name = "rainbow gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "rainbow" - item_state = "rainbowgloves" /obj/item/clothing/gloves/blue name = "blue gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "blue" - item_state = "bluegloves" /obj/item/clothing/gloves/purple name = "purple gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "purple" - item_state = "purplegloves" /obj/item/clothing/gloves/green name = "green gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "green" - item_state = "greengloves" /obj/item/clothing/gloves/grey name = "grey gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "gray" - item_state = "graygloves" /obj/item/clothing/gloves/light_brown name = "light brown gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "lightbrown" - item_state = "lightbrowngloves" /obj/item/clothing/gloves/brown name = "brown gloves" desc = "A pair of gloves, they don't look special in any way." icon_state = "brown" - item_state = "browngloves" /obj/item/clothing/gloves/evening desc = "A pair of gloves that reach past the elbow. Fancy!" name = "evening gloves" icon_state = "evening_gloves" - item_state = "graygloves" cold_protection = HANDS min_cold_protection_temperature = GLOVES_MIN_COLD_PROTECTION_TEMPERATURE diff --git a/code/modules/clothing/gloves/miscellaneous.dm b/code/modules/clothing/gloves/miscellaneous.dm index 0a91d596f76..19ba27b019d 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 = "egloves" + item_state = "blue" /obj/item/clothing/gloves/cyborg desc = "beep boop borp" @@ -15,7 +15,7 @@ desc = "These tactical gloves are somewhat fire and impact-resistant." name = "\improper SWAT Gloves" icon_state = "black" - item_state = "swat_gl" + item_state = "swat" siemens_coefficient = 0.50 permeability_coefficient = 0.05 @@ -28,7 +28,7 @@ desc = "These tactical gloves are somewhat fire and impact resistant." name = "combat gloves" icon_state = "black" - item_state = "swat_gl" + item_state = "swat" siemens_coefficient = 0 permeability_coefficient = 0.05 cold_protection = HANDS @@ -40,7 +40,7 @@ name = "latex gloves" desc = "Sterile latex gloves." icon_state = "latex" - item_state = "lgloves" + item_state = "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 = "ggloves" + item_state = "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 680250c7c78..622f4024a1e 100644 --- a/code/modules/clothing/head/collectable.dm +++ b/code/modules/clothing/head/collectable.dm @@ -23,40 +23,30 @@ name = "collectable xenomorph helmet!" desc = "Hiss hiss hiss!" icon_state = "xenom" - item_state_slots = list( - slot_l_hand_str = "xenos_helm", - slot_r_hand_str = "xenos_helm", - ) + item_state = "xenos_helm" body_parts_covered = HEAD|FACE|EYES /obj/item/clothing/head/collectable/chef name = "collectable chef's hat" desc = "A rare Chef's Hat meant for hat collectors!" icon_state = "chefhat" - item_state = "chefhat" /obj/item/clothing/head/collectable/paper name = "collectable paper hat" desc = "What looks like an ordinary paper hat, is actually a rare and valuable collector's edition paper hat. Keep away from water, fire and Librarians." icon_state = "paper" - item_state = "paper" body_parts_covered = 0 /obj/item/clothing/head/collectable/tophat name = "collectable top hat" desc = "A top hat worn by only the most prestigious hat collectors." icon_state = "tophat" - item_state = "tophat" body_parts_covered = 0 /obj/item/clothing/head/collectable/captain name = "collectable captain's hat" desc = "A Collectable Hat that'll make you look just like a real comdom!" icon_state = "captain" - item_state_slots = list( - slot_l_hand_str = "caphat", - slot_r_hand_str = "caphat", - ) body_parts_covered = 0 /obj/item/clothing/head/collectable/police @@ -75,22 +65,19 @@ name = "collectable welding helmet" desc = "A Collectable Welding Helmet. Now with 80% less lead! Not for actual welding. Any welding done while wearing this Helmet is done so at the owner's own risk!" icon_state = "welding" - item_state = "welding" body_parts_covered = HEAD|FACE|EYES /obj/item/clothing/head/collectable/slime name = "collectable slime hat" desc = "Just like a real Brain Slug!" icon_state = "headslime" + item_state = "greenbandana" /obj/item/clothing/head/collectable/flatcap name = "collectable flat cap" desc = "A Collectible farmer's Flat Cap!" icon_state = "flat_cap" - item_state_slots = list( - slot_l_hand_str = "detective", - slot_r_hand_str = "detective", - ) + item_state = "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 1fa8af24e48..d3ed985cd17 100644 --- a/code/modules/clothing/head/helmet.dm +++ b/code/modules/clothing/head/helmet.dm @@ -2,10 +2,6 @@ name = "helmet" desc = "Standard Security gear. Protects the head from impacts." icon_state = "helmet" - item_state_slots = list( - slot_l_hand_str = "helmet", - slot_r_hand_str = "helmet", - ) flags = THICKMATERIAL armor = list(melee = 40, bullet = 30, laser = 30, energy = 10, bomb = 10, bio = 0, rad = 0) flags_inv = HIDEEARS|HIDEEYES @@ -21,6 +17,7 @@ name = "riot helmet" desc = "It's a helmet specifically designed to protect against close range attacks." icon_state = "riot" + item_state = "swat" armor = list(melee = 80, bullet = 10, laser = 10, energy = 10, bomb = 0, bio = 0, rad = 0) flags_inv = HIDEEARS siemens_coefficient = 0.7 @@ -39,6 +36,7 @@ name = "ablative helmet" desc = "It's a helmet specifically designed to protect against energy projectiles." icon_state = "helmet_reflec" + item_state = "helmet" armor = list(melee = 10, bullet = 10, laser = 80 ,energy = 50, bomb = 0, bio = 0, rad = 0) flags_inv = HIDEEARS siemens_coefficient = 0.1 @@ -47,6 +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" armor = list(melee = 10, bullet = 80, laser = 10 ,energy = 10, bomb = 0, bio = 0, rad = 0) flags_inv = HIDEEARS siemens_coefficient = 0.7 @@ -55,6 +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" armor = list(melee = 50, bullet = 50, laser = 50 ,energy = 30, bomb = 30, bio = 0, rad = 0) flags_inv = HIDEEARS siemens_coefficient = 0.6 @@ -82,6 +82,7 @@ name = "gladiator helmet" desc = "Ave, Imperator, morituri te salutant." icon_state = "gladiator" + item_state = "vhelmet" //why not flags = BLOCKHAIR flags_inv = HIDEMASK|HIDEEARS|HIDEEYES siemens_coefficient = 1 @@ -90,6 +91,7 @@ name = "tactical helmet" desc = "An armored helmet capable of being fitted with a multitude of attachments." icon_state = "swathelm" + item_state = "swat" sprite_sheets = list( "Tajara" = 'icons/mob/species/tajaran/helmet.dmi', "Unathi" = 'icons/mob/species/unathi/helmet.dmi', @@ -103,6 +105,7 @@ name = "Augment Array" desc = "A helmet with optical and cranial augments coupled to it." icon_state = "v62" + item_state = "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 @@ -114,10 +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_slots = list( - slot_l_hand_str = "syndicate-helm-green", - slot_r_hand_str = "syndicate-helm-green", - ) + item_state = "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 4075a6d4b31..1eb3b911df8 100644 --- a/code/modules/clothing/head/jobs.dm +++ b/code/modules/clothing/head/jobs.dm @@ -4,17 +4,12 @@ name = "chef's hat" desc = "It's a hat used by chefs to keep hair out of your food. Judging by the food in the mess, they don't work." icon_state = "chefhat" - item_state = "chefhat" //Captain /obj/item/clothing/head/caphat name = "captain's hat" icon_state = "captain" desc = "It's good being the king." - item_state_slots = list( - slot_l_hand_str = "caphat", - slot_r_hand_str = "caphat", - ) body_parts_covered = 0 /obj/item/clothing/head/caphat/cap @@ -37,7 +32,7 @@ /obj/item/clothing/head/chaplain_hood name = "chaplain's hood" desc = "It's hood that covers the head. It keeps you warm during the space winters." - icon_state = "chaplain_hood" + icon_state = "beret_black" flags_inv = BLOCKHAIR body_parts_covered = HEAD @@ -46,6 +41,7 @@ name = "nun hood" desc = "Maximum piety in this star system." icon_state = "nun_hood" + item_state = "beret_black" flags_inv = BLOCKHAIR body_parts_covered = HEAD @@ -61,70 +57,95 @@ 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" + /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" + /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" + /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" + /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" + /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" + /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" + /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" + /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" //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" 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" /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" /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" /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" /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" \ No newline at end of file + icon_state = "surgcap_navyblue" + item_state = "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 e9143b4bca2..526371a59a9 100644 --- a/code/modules/clothing/head/misc.dm +++ b/code/modules/clothing/head/misc.dm @@ -1,12 +1,6 @@ - - /obj/item/clothing/head/centhat name = "\improper CentComm. hat" icon_state = "centcom" - item_state_slots = list( - slot_l_hand_str = "centhat", - slot_r_hand_str = "centhat", - ) desc = "It's good to be emperor." siemens_coefficient = 0.9 body_parts_covered = 0 @@ -37,25 +31,25 @@ name = "powdered wig" desc = "A powdered wig." icon_state = "pwig" - item_state = "pwig" /obj/item/clothing/head/that name = "top-hat" desc = "It's an amish looking hat." icon_state = "tophat" - item_state = "tophat" siemens_coefficient = 0.9 body_parts_covered = 0 /obj/item/clothing/head/redcoat name = "redcoat's hat" icon_state = "redcoat" + item_state = "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" desc = "Choo-choo!" body_parts_covered = 0 @@ -63,6 +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" permeability_coefficient = 0.01 siemens_coefficient = 0.9 body_parts_covered = 0 @@ -71,6 +66,7 @@ name = "hastur's hood" desc = "It's unspeakably stylish" icon_state = "hasturhood" + item_state = "enginering_beret" flags_inv = BLOCKHAIR body_parts_covered = HEAD|FACE|EYES @@ -83,10 +79,7 @@ /obj/item/clothing/head/syndicatefake name = "red space-helmet replica" - item_state_slots = list( - slot_l_hand_str = "syndicate-helm-black-red", - slot_r_hand_str = "syndicate-helm-black-red", - ) + item_state = "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 @@ -97,7 +90,6 @@ name = "cueball helmet" desc = "A large, featureless white orb mean to be worn on your head. How do you even see out of this thing?" icon_state = "cueball" - item_state = "cueball" flags_inv = BLOCKHAIR body_parts_covered = HEAD|FACE|EYES @@ -105,7 +97,6 @@ name = "green bandana" desc = "It's a green bandana with some fine nanotech lining." icon_state = "greenbandana" - item_state = "greenbandana" flags_inv = 0 body_parts_covered = 0 @@ -113,14 +104,13 @@ name = "cardborg helmet" desc = "A helmet made out of a box." icon_state = "cardborg_h" - item_state = "cardborg_h" flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE body_parts_covered = HEAD|FACE|EYES /obj/item/clothing/head/justice name = "justice hat" desc = "fight for what's righteous!" - icon_state = "justicered" + icon_state = "justicered" //Does this even exist? flags_inv = BLOCKHAIR body_parts_covered = HEAD|EYES @@ -135,7 +125,7 @@ /obj/item/clothing/head/justice/pink icon_state = "justicepink" - + /obj/item/clothing/head/rabbitears name = "rabbit ears" desc = "Wearing these makes you looks useless, and only good for your sex appeal." @@ -146,11 +136,8 @@ name = "flat cap" desc = "A working man's cap." icon_state = "flat_cap" - item_state_slots = list( - slot_l_hand_str = "det_hat", - slot_r_hand_str = "det_hat", - ) - siemens_coefficient = 0.9 + item_state = "detective" + siemens_coefficient = 0.9 //...what? /obj/item/clothing/head/pirate name = "pirate hat" @@ -162,17 +149,20 @@ name = "pirate hat" desc = "Yarr." icon_state = "hgpiratecap" + item_state = "hoscap" body_parts_covered = 0 /obj/item/clothing/head/bandana name = "pirate bandana" desc = "Yarr." icon_state = "bandana" + item_state = "redbandana" /obj/item/clothing/head/bowler name = "bowler-hat" desc = "Gentleman, elite aboard!" icon_state = "bowler" + item_state = "tophat" body_parts_covered = 0 //stylish bs12 hats @@ -180,41 +170,43 @@ /obj/item/clothing/head/bowlerhat name = "bowler hat" icon_state = "bowler_hat" + item_state = "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" 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" desc = "The ultimate in summer fashion." /obj/item/clothing/head/fedora name = "fedora" icon_state = "fedora" + item_state = "detective" desc = "A sharp, stylish hat." /obj/item/clothing/head/feathertrilby name = "feather trilby" icon_state = "feather_trilby" + item_state = "detective" desc = "A sharp, stylish hat with a feather." /obj/item/clothing/head/fez name = "fez" icon_state = "fez" desc = "You should wear a fez. Fezzes are cool." - -//end bs12 hats - + /obj/item/clothing/head/cowboy_hat name = "cowboy hat" desc = "For those that have spurs that go jingle jangle jingle." icon_state = "cowboyhat" - item_state = "cowboy_hat" body_parts_covered = 0 /obj/item/clothing/head/witchwig @@ -228,10 +220,6 @@ name = "chicken suit head" desc = "Bkaw!" icon_state = "chickenhead" - item_state_slots = list( - slot_l_hand_str = "chickensuit", - slot_r_hand_str = "chickensuit", - ) flags_inv = BLOCKHAIR siemens_coefficient = 0.7 body_parts_covered = HEAD|FACE|EYES @@ -240,16 +228,14 @@ name = "bear pelt hat" desc = "Fuzzy." icon_state = "bearpelt" + item_state = "beret_black" flags_inv = BLOCKHAIR siemens_coefficient = 0.7 /obj/item/clothing/head/xenos name = "xenos helmet" icon_state = "xenos" - item_state_slots = list( - slot_l_hand_str = "xenos_helm", - slot_r_hand_str = "xenos_helm", - ) + item_state = "xenos_helm" desc = "A helmet made out of chitinous alien hide." flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|BLOCKHAIR siemens_coefficient = 2.0 @@ -259,10 +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_slots = list( - slot_l_hand_str = "pwig", - slot_r_hand_str = "pwig", - ) + item_state = "pwig" flags_inv = BLOCKHAIR siemens_coefficient = 2.0 //why is it so conductive?! body_parts_covered = 0 @@ -277,6 +260,7 @@ name = "hijab" desc = "A veil that is wrapped to cover the head and chest" icon_state = "hijab" + item_state = "beret_white" body_parts_covered = 0 flags_inv = BLOCKHAIR @@ -290,5 +274,6 @@ name = "turban" desc = "A cloth used to wind around the head" icon_state = "turban" + item_state = "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 a15a6aeb555..2cb7568edf5 100644 --- a/code/modules/clothing/head/misc_special.dm +++ b/code/modules/clothing/head/misc_special.dm @@ -15,10 +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_slots = list( - slot_l_hand_str = "welding", - slot_r_hand_str = "welding", - ) + item_state = "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) @@ -64,7 +61,6 @@ name = "cake-hat" desc = "It's tasty looking!" icon_state = "cake0" - item_state = "cake0" var/onfire = 0 body_parts_covered = HEAD @@ -83,18 +79,16 @@ location.hotspot_expose(700, 1) /obj/item/clothing/head/cakehat/attack_self(mob/user as mob) - src.onfire = !( src.onfire ) - if (src.onfire) - src.force = 3 - src.damtype = "fire" - src.icon_state = "cake1" - src.item_state = "cake1" + onfire = !(onfire) + if (onfire) + force = 3 + damtype = "fire" + icon_state = "cake1" processing_objects.Add(src) else - src.force = null - src.damtype = "brute" - src.icon_state = "cake0" - src.item_state = "cake0" + force = null + damtype = "brute" + icon_state = "cake0" return @@ -151,6 +145,7 @@ name = "chicken mask" desc = "You can hear the distant sounds of rhythmic electronica." icon_state = "richard" + item_state = "chickenhead" body_parts_covered = HEAD|FACE flags_inv = BLOCKHAIR @@ -158,10 +153,12 @@ name = "santa hat" desc = "It's a festive christmas hat, in red!" icon_state = "santahatnorm" + item_state = "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" 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 fe8ed1451ba..f34b03e9522 100644 --- a/code/modules/clothing/head/soft_caps.dm +++ b/code/modules/clothing/head/soft_caps.dm @@ -2,26 +2,23 @@ name = "cargo cap" desc = "It's a peaked cap in a tasteless yellow color." icon_state = "cargosoft" - item_state_slots = list( - slot_l_hand_str = "helmet", //probably a placeholder - slot_r_hand_str = "helmet", - ) + item_state = "cargosoft" var/flipped = 0 siemens_coefficient = 0.9 body_parts_covered = 0 /obj/item/clothing/head/soft/dropped() - src.icon_state = initial(icon_state) - src.flipped=0 + icon_state = initial(icon_state) + flipped=0 ..() /obj/item/clothing/head/soft/attack_self(mob/user) - src.flipped = !src.flipped - if(src.flipped) + flipped = !flipped + if(flipped) icon_state = "[icon_state]_flipped" user << "You flip the hat backwards." else - src.icon_state = initial(icon_state) + icon_state = initial(icon_state) user << "You flip the hat back in normal position." update_clothing_icon() //so our mob-overlays update @@ -29,58 +26,70 @@ name = "red cap" desc = "It's a baseball hat in a tasteless red color." icon_state = "redsoft" + item_state = "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" /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" /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" /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" /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" /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" /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" /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" /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" /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" /obj/item/clothing/head/soft/black name = "black cap" desc = "It's a peaked cap in a tasteful black color." - icon_state = "blacksoft" + icon_state = "blacksoft" + item_state = "blacksoft" \ No newline at end of file diff --git a/code/modules/clothing/masks/boxing.dm b/code/modules/clothing/masks/boxing.dm index 1ef6db4337d..8f713509e50 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 = "balaclava" + item_state = "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 = "balaclava" + item_state = "bandgreen" flags_inv = HIDEFACE|BLOCKHAIR w_class = 2 sprite_sheets = list( @@ -27,7 +27,6 @@ name = "Luchador Mask" desc = "Worn by robust fighters, flying high to defeat their foes!" icon_state = "luchag" - item_state = "luchag" flags_inv = HIDEFACE|BLOCKHAIR body_parts_covered = HEAD|FACE w_class = 2 @@ -37,10 +36,8 @@ name = "Tecnicos Mask" desc = "Worn by robust fighters who uphold justice and fight honorably." icon_state = "luchador" - item_state = "luchador" /obj/item/clothing/mask/luchador/rudos name = "Rudos Mask" desc = "Worn by robust fighters who are willing to do anything to win." - icon_state = "luchar" - item_state = "luchar" \ No newline at end of file + icon_state = "luchar" \ No newline at end of file diff --git a/code/modules/clothing/masks/gasmask.dm b/code/modules/clothing/masks/gasmask.dm index 7ea68f0a8df..5d491f0afd8 100644 --- a/code/modules/clothing/masks/gasmask.dm +++ b/code/modules/clothing/masks/gasmask.dm @@ -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_mask" + item_state = "gas" armor = list(melee = 0, bullet = 0, laser = 2,energy = 2, bomb = 0, bio = 90, rad = 0) body_parts_covered = HEAD|FACE|EYES @@ -59,7 +59,7 @@ name = "sexy-clown wig and mask" desc = "A feminine clown mask for the dabbling crossdressers or female entertainers." icon_state = "sexyclown" - item_state = "sexyclown" + item_state = "clown_hat" /obj/item/clothing/mask/gas/mime name = "mime mask" @@ -71,19 +71,18 @@ name = "monkey mask" desc = "A mask used when acting as a monkey." icon_state = "monkeymask" - item_state = "monkeymask" body_parts_covered = HEAD|FACE|EYES /obj/item/clothing/mask/gas/sexymime name = "sexy mime mask" desc = "A traditional female mime's mask." icon_state = "sexymime" - item_state = "sexymime" + item_state = "mime" /obj/item/clothing/mask/gas/death_commando name = "Death Commando Mask" icon_state = "death_commando_mask" - item_state = "death_commando_mask" + item_state = "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 483dbfb9fad..4af868783a3 100644 --- a/code/modules/clothing/masks/miscellaneous.dm +++ b/code/modules/clothing/masks/miscellaneous.dm @@ -2,7 +2,6 @@ name = "muzzle" desc = "To stop that awful noise." icon_state = "muzzle" - item_state = "muzzle" body_parts_covered = FACE w_class = 2 gas_transfer_coefficient = 0.90 @@ -84,7 +83,6 @@ name = "blue neck scarf" desc = "A blue neck scarf." icon_state = "blueneckscarf" - item_state = "blueneckscarf" body_parts_covered = FACE item_flags = FLEXIBLEMATERIAL w_class = 2 @@ -94,7 +92,6 @@ name = "red scarf" desc = "A red and white checkered neck scarf." icon_state = "redwhite_scarf" - item_state = "redwhite_scarf" body_parts_covered = FACE item_flags = FLEXIBLEMATERIAL w_class = 2 @@ -104,7 +101,6 @@ name = "green scarf" desc = "A green neck scarf." icon_state = "green_scarf" - item_state = "green_scarf" body_parts_covered = FACE item_flags = FLEXIBLEMATERIAL w_class = 2 @@ -114,7 +110,6 @@ name = "ninja scarf" desc = "A stealthy, dark scarf." icon_state = "ninja_scarf" - item_state = "ninja_scarf" body_parts_covered = FACE item_flags = FLEXIBLEMATERIAL w_class = 2 @@ -125,7 +120,6 @@ name = "pig mask" desc = "A rubber pig mask." icon_state = "pig" - item_state = "pig" flags_inv = HIDEFACE|BLOCKHAIR w_class = 2 siemens_coefficient = 0.9 @@ -135,7 +129,6 @@ name = "horse head mask" desc = "A mask made of soft vinyl and latex, representing the head of a horse." icon_state = "horsehead" - item_state = "horsehead" flags_inv = HIDEFACE|BLOCKHAIR body_parts_covered = HEAD|FACE|EYES w_class = 2 @@ -151,7 +144,7 @@ name = "camera MIU" desc = "Allows for direct mental connection to accessible camera networks." icon_state = "s-ninja" - item_state = "s-ninja" + item_state = "mime" flags_inv = HIDEFACE body_parts_covered = 0 var/mob/observer/eye/aiEye/eye @@ -195,13 +188,11 @@ flags_inv = flags_inv & ~HIDEFACE slot_flags = SLOT_HEAD icon_state = "[icon_state]_up" - item_state = "[item_state]_up" usr << "You tie the bandana so that it can be worn on the head." else flags_inv = initial(flags_inv) slot_flags = initial(slot_flags) icon_state = initial(icon_state) - item_state = initial(item_state) usr << "You tie the bandana so that it can be worn on the face." /obj/item/clothing/mask/bandana/verb/toggle() @@ -216,23 +207,28 @@ name = "red bandana" desc = "A fine red bandana with nanotech lining." icon_state = "bandred" + item_state = "bandred" /obj/item/clothing/mask/bandana/blue name = "blue bandana" desc = "A fine blue bandana with nanotech lining." icon_state = "bandblue" + item_state = "bandblue" /obj/item/clothing/mask/bandana/green name = "green bandana" desc = "A fine green bandana with nanotech lining." icon_state = "bandgreen" + item_state = "bandgreen" /obj/item/clothing/mask/bandana/gold name = "gold bandana" desc = "A fine gold bandana with nanotech lining." icon_state = "bandgold" + item_state = "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 diff --git a/code/modules/clothing/shoes/colour.dm b/code/modules/clothing/shoes/colour.dm index 669047d80ab..38bc50379ed 100644 --- a/code/modules/clothing/shoes/colour.dm +++ b/code/modules/clothing/shoes/colour.dm @@ -8,7 +8,6 @@ heat_protection = FEET max_heat_protection_temperature = SHOE_MAX_HEAT_PROTECTION_TEMPERATURE - /obj/item/clothing/shoes/brown name = "brown shoes" desc = "A pair of brown shoes." @@ -30,10 +29,6 @@ name = "purple shoes" icon_state = "purple" -/obj/item/clothing/shoes/brown - name = "brown shoes" - icon_state = "brown" - /obj/item/clothing/shoes/red name = "red shoes" desc = "Stylish red shoes." @@ -58,36 +53,43 @@ name = "black flats" desc = "Sleek black flats." icon_state = "flatsblack" + item_state = "black" /obj/item/clothing/shoes/flats/white name = "white flats" desc = "Shiny white flats." icon_state = "flatswhite" + item_state = "white" /obj/item/clothing/shoes/flats/red name = "red flats" desc = "Ruby red flats." icon_state = "flatsred" + item_state = "red" /obj/item/clothing/shoes/flats/purple name = "purple flats" desc = "Royal purple flats." icon_state = "flatspurple" + item_state = "purple" /obj/item/clothing/shoes/flats/blue name = "blue flats" desc = "Sleek blue flats." icon_state = "flatsblue" + item_state = "blue" /obj/item/clothing/shoes/flats/brown name = "brown flats" desc = "Sleek brown flats." icon_state = "flatsbrown" + item_state = "brown" /obj/item/clothing/shoes/flats/orange name = "orange flats" desc = "Radiant orange flats." icon_state = "flatsorange" + item_state = "orange" /obj/item/clothing/shoes/orange name = "orange shoes" @@ -95,23 +97,23 @@ var/obj/item/weapon/handcuffs/chained = null /obj/item/clothing/shoes/orange/proc/attach_cuffs(var/obj/item/weapon/handcuffs/cuffs, mob/user as mob) - if (src.chained) return + if (chained) return user.drop_item() cuffs.loc = src - src.chained = cuffs - src.slowdown = 15 - src.icon_state = "orange1" + chained = cuffs + slowdown = 15 + icon_state = "orange1" /obj/item/clothing/shoes/orange/proc/remove_cuffs(mob/user as mob) - if (!src.chained) return + if (!chained) return - user.put_in_hands(src.chained) - src.chained.add_fingerprint(user) + user.put_in_hands(chained) + chained.add_fingerprint(user) - src.slowdown = initial(slowdown) - src.icon_state = "orange" - src.chained = null + slowdown = initial(slowdown) + icon_state = "orange" + chained = null /obj/item/clothing/shoes/orange/attack_self(mob/user as mob) ..() diff --git a/code/modules/clothing/shoes/jobs.dm b/code/modules/clothing/shoes/jobs.dm index 768595c2ae8..185f825d0e8 100644 --- a/code/modules/clothing/shoes/jobs.dm +++ b/code/modules/clothing/shoes/jobs.dm @@ -11,7 +11,6 @@ name = "jackboots" desc = "Standard-issue Security combat boots for combat scenarios or combat situations. All combat, all the time." icon_state = "jackboots" - item_state = "jackboots" force = 3 armor = list(melee = 30, bullet = 10, laser = 10, energy = 15, bomb = 20, bio = 0, rad = 0) siemens_coefficient = 0.7 @@ -20,15 +19,13 @@ /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 = "digiboots" - icon_state = "digiboots" + item_state = "jackboots" species_restricted = null /obj/item/clothing/shoes/workboots name = "workboots" desc = "A pair of steel-toed work boots designed for use in industrial settings. Safety first." icon_state = "workboots" - item_state = "workboots" armor = list(melee = 40, bullet = 0, laser = 0, energy = 15, bomb = 20, bio = 0, rad = 20) siemens_coefficient = 0.7 can_hold_knife = 1 \ No newline at end of file diff --git a/code/modules/clothing/shoes/leg_guards.dm b/code/modules/clothing/shoes/leg_guards.dm index 5dd8b0d5fcd..df84a7fe439 100644 --- a/code/modules/clothing/shoes/leg_guards.dm +++ b/code/modules/clothing/shoes/leg_guards.dm @@ -18,6 +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" siemens_coefficient = 0.1 armor = list(melee = 10, bullet = 10, laser = 80, energy = 50, bomb = 0, bio = 0, rad = 0) @@ -25,6 +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" siemens_coefficient = 0.7 armor = list(melee = 10, bullet = 80, laser = 10, energy = 10, bomb = 0, bio = 0, rad = 0) @@ -32,6 +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" siemens_coefficient = 0.5 armor = list(melee = 80, bullet = 10, laser = 10, energy = 10, bomb = 0, bio = 0, rad = 0) @@ -39,5 +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" 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 b94cb78da5c..01ba3395a98 100644 --- a/code/modules/clothing/shoes/magboots.dm +++ b/code/modules/clothing/shoes/magboots.dm @@ -2,6 +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" species_restricted = null force = 3 overshoes = 1 diff --git a/code/modules/clothing/shoes/miscellaneous.dm b/code/modules/clothing/shoes/miscellaneous.dm index 26459605a54..80dc45c3993 100644 --- a/code/modules/clothing/shoes/miscellaneous.dm +++ b/code/modules/clothing/shoes/miscellaneous.dm @@ -2,7 +2,6 @@ desc = "A pair of brown shoes. They seem to have extra grip." name = "brown shoes" icon_state = "brown" - item_state = "brown" permeability_coefficient = 0.05 item_flags = NOSLIP origin_tech = list(TECH_ILLEGAL = 3) @@ -12,12 +11,13 @@ /obj/item/clothing/shoes/mime name = "mime shoes" - icon_state = "mime" + icon_state = "white" /obj/item/clothing/shoes/swat name = "\improper SWAT shoes" desc = "When you want to turn up the heat." icon_state = "swat" + item_state = "swat" force = 3 armor = list(melee = 80, bullet = 60, laser = 50,energy = 25, bomb = 50, bio = 10, rad = 0) item_flags = NOSLIP @@ -125,7 +125,6 @@ desc = "The prankster's standard-issue clowning shoes. Damn they're huge!" name = "clown shoes" icon_state = "clown" - item_state = "clown_shoes" slowdown = SHOES_SLOWDOWN+1 force = 0 var/footstep = 1 //used for squeeks whilst walking @@ -167,7 +166,6 @@ name = "bunny slippers" desc = "Fluffy!" icon_state = "slippers" - item_state = "slippers" force = 0 species_restricted = null w_class = 2 @@ -176,7 +174,7 @@ name = "worn bunny slippers" desc = "Fluffy..." icon_state = "slippers_worn" - item_state = "slippers_worn" + item_state = "slippers" force = 0 w_class = 2 @@ -189,6 +187,7 @@ desc = "Help you swim good." name = "swimming fins" icon_state = "flippers" + item_state = "galoshes" item_flags = NOSLIP slowdown = SHOES_SLOWDOWN+1 species_restricted = null @@ -197,7 +196,6 @@ name = "winter boots" desc = "Boots lined with 'synthetic' animal fur." icon_state = "winterboots" - item_state = "winterboots" cold_protection = FEET|LEGS min_cold_protection_temperature = SHOE_MIN_COLD_PROTECTION_TEMPERATURE heat_protection = FEET|LEGS diff --git a/code/modules/clothing/spacesuits/alien.dm b/code/modules/clothing/spacesuits/alien.dm index d5c49babfff..9d940c9e30d 100644 --- a/code/modules/clothing/spacesuits/alien.dm +++ b/code/modules/clothing/spacesuits/alien.dm @@ -23,8 +23,6 @@ /obj/item/clothing/suit/space/skrell/white icon_state = "skrell_suit_white" - item_state = "skrell_suit_white" /obj/item/clothing/suit/space/skrell/black - icon_state = "skrell_suit_black" - item_state = "skrell_suit_black" + icon_state = "skrell_suit_black" \ No newline at end of file diff --git a/code/modules/clothing/spacesuits/captain.dm b/code/modules/clothing/spacesuits/captain.dm deleted file mode 100644 index e99dc6d8ce6..00000000000 --- a/code/modules/clothing/spacesuits/captain.dm +++ /dev/null @@ -1,29 +0,0 @@ -//Captain's Spacesuit -/obj/item/clothing/head/helmet/space/capspace - name = "space helmet" - icon_state = "capspace" - item_state = "capspace" - desc = "A special helmet designed for work in a hazardous, low-pressure environment. Only for the most fashionable of military figureheads." - item_flags = STOPPRESSUREDAMAGE - flags_inv = HIDEFACE|BLOCKHAIR - permeability_coefficient = 0.01 - armor = list(melee = 65, bullet = 50, laser = 50,energy = 25, bomb = 50, bio = 100, rad = 50) - -//Captain's space suit This is not the proper path but I don't currently know enough about how this all works to mess with it. -/obj/item/clothing/suit/armor/captain - name = "Captain's armor" - desc = "A bulky, heavy-duty piece of exclusive corporate armor. YOU are in charge!" - icon_state = "caparmor" - item_state = "capspacesuit" - w_class = 5 - gas_transfer_coefficient = 0.01 - permeability_coefficient = 0.02 - item_flags = STOPPRESSUREDAMAGE - body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS - allowed = list(/obj/item/weapon/tank/emergency_oxygen, /obj/item/device/flashlight,/obj/item/weapon/gun/energy, /obj/item/weapon/gun/projectile, /obj/item/ammo_magazine, /obj/item/ammo_casing, /obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs) - slowdown = 1.5 - armor = list(melee = 65, bullet = 50, laser = 50, energy = 25, bomb = 50, bio = 100, rad = 50) - flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT|HIDETAIL - cold_protection = UPPER_TORSO | LOWER_TORSO | LEGS | FEET | ARMS | HANDS - min_cold_protection_temperature = SPACE_SUIT_MIN_COLD_PROTECTION_TEMPERATURE - siemens_coefficient = 0.7 diff --git a/code/modules/clothing/spacesuits/miscellaneous.dm b/code/modules/clothing/spacesuits/miscellaneous.dm index ce8f89dc561..bdc3ed2fead 100644 --- a/code/modules/clothing/spacesuits/miscellaneous.dm +++ b/code/modules/clothing/spacesuits/miscellaneous.dm @@ -2,9 +2,9 @@ /obj/item/clothing/head/helmet/space/capspace name = "space helmet" icon_state = "capspace" - item_state = "capspace" desc = "A special helmet designed for work in a hazardous, low-pressure environment. Only for the most fashionable of military figureheads." - flags_inv = HIDEFACE + item_flags = STOPPRESSUREDAMAGE + flags_inv = HIDEFACE|BLOCKHAIR permeability_coefficient = 0.01 armor = list(melee = 65, bullet = 50, laser = 50,energy = 25, bomb = 50, bio = 100, rad = 50) @@ -13,8 +13,7 @@ name = "Captain's armor" desc = "A bulky, heavy-duty piece of exclusive corporate armor. YOU are in charge!" icon_state = "caparmor" - item_state = "capspacesuit" - w_class = 4 + w_class = 5 gas_transfer_coefficient = 0.01 permeability_coefficient = 0.02 item_flags = STOPPRESSUREDAMAGE @@ -32,10 +31,7 @@ name = "deathsquad helmet" desc = "That's not red paint. That's real blood." icon_state = "deathsquad" - item_state_slots = list( - slot_l_hand_str = "syndicate-helm-black-red", - slot_r_hand_str = "syndicate-helm-black-red", - ) + item_state = "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 @@ -46,6 +42,7 @@ name = "officer's beret" desc = "An armored beret commonly used by special operations officers." icon_state = "beret_badge" + item_state = "beret" armor = list(melee = 65, bullet = 55, laser = 35,energy = 20, bomb = 30, bio = 30, rad = 30) item_flags = STOPPRESSUREDAMAGE flags_inv = BLOCKHAIR @@ -56,7 +53,6 @@ name = "Santa's hat" desc = "Ho ho ho. Merrry X-mas!" icon_state = "santahat" - item_state = "santahat" item_flags = STOPPRESSUREDAMAGE flags_inv = BLOCKHAIR body_parts_covered = HEAD @@ -65,7 +61,6 @@ name = "Santa's suit" desc = "Festive!" icon_state = "santa" - item_state = "santa" slowdown = 0 item_flags = STOPPRESSUREDAMAGE allowed = list(/obj/item) //for stuffing exta special presents @@ -75,7 +70,6 @@ name = "pirate hat" desc = "Yarr." icon_state = "pirate" - item_state = "pirate" armor = list(melee = 60, bullet = 50, laser = 30,energy = 15, bomb = 30, bio = 30, rad = 30) item_flags = STOPPRESSUREDAMAGE flags_inv = BLOCKHAIR @@ -86,7 +80,6 @@ name = "pirate coat" desc = "Yarr." icon_state = "pirate" - item_state = "pirate" w_class = 3 allowed = list(/obj/item/weapon/gun,/obj/item/ammo_magazine,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs,/obj/item/weapon/tank/emergency_oxygen) slowdown = 0 @@ -98,13 +91,11 @@ /obj/item/clothing/head/helmet/space/emergency name = "Emergency Space Helmet" icon_state = "emergencyhelm" - item_state = "emergencyhelm" 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" - item_state = "syndicate-orange" desc = "A thin, ungainly softsuit colored in blaze orange for rescuers to easily locate, looks pretty fragile." slowdown = 4 diff --git a/code/modules/clothing/spacesuits/spacesuits.dm b/code/modules/clothing/spacesuits/spacesuits.dm index b5669b6746e..f06e839ae3a 100644 --- a/code/modules/clothing/spacesuits/spacesuits.dm +++ b/code/modules/clothing/spacesuits/spacesuits.dm @@ -7,10 +7,6 @@ icon_state = "space" desc = "A special helmet designed for work in a hazardous, low-pressure environment." item_flags = STOPPRESSUREDAMAGE | THICKMATERIAL | AIRTIGHT - item_state_slots = list( - slot_l_hand_str = "s_helmet", - slot_r_hand_str = "s_helmet", - ) permeability_coefficient = 0.01 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 50) flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|BLOCKHAIR @@ -50,7 +46,6 @@ name = "Space suit" desc = "A suit that protects against low pressure environments. \""+station_short+"\" is written in large block letters on the back." icon_state = "space" - item_state = "s_suit" w_class = 5 // So you can't fit this in your bag and be prepared at all times. gas_transfer_coefficient = 0.01 permeability_coefficient = 0.02 diff --git a/code/modules/clothing/spacesuits/syndi.dm b/code/modules/clothing/spacesuits/syndi.dm index 9922483f2cf..359be8c2b7b 100644 --- a/code/modules/clothing/spacesuits/syndi.dm +++ b/code/modules/clothing/spacesuits/syndi.dm @@ -2,7 +2,6 @@ /obj/item/clothing/head/helmet/space/syndicate name = "red space helmet" icon_state = "syndicate" - item_state = "syndicate" desc = "A crimson helmet sporting clean lines and durable plating. Engineered to look menacing." armor = list(melee = 60, bullet = 50, laser = 30,energy = 15, bomb = 30, bio = 30, rad = 30) siemens_coefficient = 0.6 @@ -10,7 +9,6 @@ /obj/item/clothing/suit/space/syndicate name = "red space suit" icon_state = "syndicate" - item_state = "space_suit_syndicate" desc = "A crimson spacesuit sporting clean lines and durable plating. Robust, reliable, and slightly suspicious." w_class = 3 allowed = list(/obj/item/weapon/gun,/obj/item/ammo_magazine,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/melee/energy/sword,/obj/item/weapon/handcuffs,/obj/item/weapon/tank/emergency_oxygen) @@ -18,154 +16,125 @@ armor = list(melee = 60, bullet = 50, laser = 30,energy = 15, bomb = 30, bio = 30, rad = 30) siemens_coefficient = 0.6 - //Green syndicate space suit /obj/item/clothing/head/helmet/space/syndicate/green name = "green space helmet" desc = "A green helmet sporting clean lines and durable plating. Engineered to look menacing." icon_state = "syndicate-helm-green" - item_state = "syndicate-helm-green" /obj/item/clothing/suit/space/syndicate/green name = "green space suit" desc = "A green spacesuit sporting clean lines and durable plating. Robust, reliable, and slightly suspicious." icon_state = "syndicate-green" - item_state = "syndicate-green" - //Dark green syndicate space suit /obj/item/clothing/head/helmet/space/syndicate/green/dark name = "dark green space helmet" desc = "A dark green helmet sporting clean lines and durable plating. Engineered to look menacing." icon_state = "syndicate-helm-green-dark" - item_state = "syndicate-helm-green-dark" /obj/item/clothing/suit/space/syndicate/green/dark name = "dark green space suit" desc = "A dark green spacesuit sporting clean lines and durable plating. Robust, reliable, and slightly suspicious." icon_state = "syndicate-green-dark" - item_state = "syndicate-green-dark" - - + //Orange syndicate space suit /obj/item/clothing/head/helmet/space/syndicate/orange name = "orange space helmet" desc = "An orange helmet sporting clean lines and durable plating. Engineered to look menacing." icon_state = "syndicate-helm-orange" - item_state = "syndicate-helm-orange" /obj/item/clothing/suit/space/syndicate/orange name = "orange space suit" desc = "An orange spacesuit sporting clean lines and durable plating. Robust, reliable, and slightly suspicious." icon_state = "syndicate-orange" - item_state = "syndicate-orange" - //Blue syndicate space suit /obj/item/clothing/head/helmet/space/syndicate/blue name = "blue space helmet" desc = "A blue helmet sporting clean lines and durable plating. Engineered to look menacing." icon_state = "syndicate-helm-blue" - item_state = "syndicate-helm-blue" /obj/item/clothing/suit/space/syndicate/blue name = "blue space suit" desc = "A blue spacesuit sporting clean lines and durable plating. Robust, reliable, and slightly suspicious." icon_state = "syndicate-blue" - item_state = "syndicate-blue" - //Black syndicate space suit /obj/item/clothing/head/helmet/space/syndicate/black name = "black space helmet" desc = "A black helmet sporting durable plating. Engineered to look menacing." icon_state = "syndicate-helm-black" - item_state = "syndicate-helm-black" /obj/item/clothing/suit/space/syndicate/black name = "black space suit" desc = "A black spacesuit sporting durable plating. Robust, reliable, and slightly suspicious." icon_state = "syndicate-black" - item_state = "syndicate-black" - //Black-green syndicate space suit /obj/item/clothing/head/helmet/space/syndicate/black/green name = "black and green space helmet" desc = "A black helmet sporting a single green stripe and durable plating. Engineered to look menacing." icon_state = "syndicate-helm-black-green" - item_state = "syndicate-helm-black-green" /obj/item/clothing/suit/space/syndicate/black/green name = "black and green space suit" desc = "A black spacesuit sporting green stripes and durable plating. Robust, reliable, and slightly suspicious." icon_state = "syndicate-black-green" - item_state = "syndicate-black-green" - //Black-blue syndicate space suit /obj/item/clothing/head/helmet/space/syndicate/black/blue name = "black and blue space helmet" desc = "A black helmet sporting a single blue stripe and durable plating. Engineered to look menacing." icon_state = "syndicate-helm-black-blue" - item_state = "syndicate-helm-black-blue" /obj/item/clothing/suit/space/syndicate/black/blue name = "black and blue space suit" desc = "A black spacesuit sporting blue stripes and durable plating. Robust, reliable, and slightly suspicious." icon_state = "syndicate-black-blue" - item_state = "syndicate-black-blue" - //Black medical syndicate space suit /obj/item/clothing/head/helmet/space/syndicate/black/med name = "black medical space helmet" desc = "A black helmet sporting a medical cross and durable plating. Hopefully the wearer abides by space geneva." icon_state = "syndicate-helm-black-med" - item_state_slots = list(slot_head_str = "syndicate-helm-black-med") +// item_state_slots = list(slot_head_str = "syndicate-helm-black-med") /obj/item/clothing/suit/space/syndicate/black/med name = "black medical space suit" desc = "A black spacesuit sporting a medical cross and durable plating. Robust, reliable, and slightly suspicious." icon_state = "syndicate-black-med" - item_state = "syndicate-black" - //Black-orange syndicate space suit /obj/item/clothing/head/helmet/space/syndicate/black/orange name = "black and orange space helmet" icon_state = "syndicate-helm-black-orange" - item_state_slots = list(slot_head_str = "syndicate-helm-black-orange") +// item_state_slots = list(slot_head_str = "syndicate-helm-black-orange") /obj/item/clothing/suit/space/syndicate/black/orange name = "black and orange space suit" desc = "A black spacesuit sporting orange stripes and durable plating. Robust, reliable, and slightly suspicious." icon_state = "syndicate-black-orange" - item_state = "syndicate-black" - //Black-red syndicate space suit /obj/item/clothing/head/helmet/space/syndicate/black/red name = "black and red space helmet" desc = "A black helmet sporting a single red stripe and durable plating. Engineered to look menacing." icon_state = "syndicate-helm-black-red" - item_state = "syndicate-helm-black-red" - + /obj/item/clothing/suit/space/syndicate/black/red name = "black and red space suit" desc = "A black spacesuit sporting red stripes and durable plating. Robust, reliable, and slightly suspicious." icon_state = "syndicate-black-red" - item_state = "syndicate-black-red" //Black with yellow/red engineering syndicate space suit /obj/item/clothing/head/helmet/space/syndicate/black/engie name = "black engineering space helmet" desc = "A black helmet sporting red and yellow stripes and durable plating. Engineered to look well... engineering-ish." icon_state = "syndicate-helm-black-engie" - item_state_slots = list(slot_head_str = "syndicate-helm-black-engie") +// item_state_slots = list(slot_head_str = "syndicate-helm-black-engie") /obj/item/clothing/suit/space/syndicate/black/engie name = "black engineering space suit" desc = "A black spacesuit sporting red and yellow stripes and durable plating. Robust, reliable, and slightly suspicious." - icon_state = "syndicate-black-engie" - item_state = "syndicate-black" + icon_state = "syndicate-black-engie" \ No newline at end of file diff --git a/code/modules/clothing/spacesuits/void/merc.dm b/code/modules/clothing/spacesuits/void/merc.dm index 0fe4a7457a6..5db4e882eb7 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 = "rig0-syndie" + item_state = "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") diff --git a/code/modules/clothing/spacesuits/void/station.dm b/code/modules/clothing/spacesuits/void/station.dm index f8e6f03611a..a15bc7e724d 100644 --- a/code/modules/clothing/spacesuits/void/station.dm +++ b/code/modules/clothing/spacesuits/void/station.dm @@ -1,13 +1,10 @@ // Station voidsuits -//Engineering rig +//Engineering /obj/item/clothing/head/helmet/space/void/engineering 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_slots = list( - slot_l_hand_str = "eng_helm", - slot_r_hand_str = "eng_helm", - ) + item_state = "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 @@ -19,83 +16,71 @@ 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) -//Mining rig +//Mining /obj/item/clothing/head/helmet/space/void/mining 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_slots = list( - slot_l_hand_str = "mining_helm", - slot_r_hand_str = "mining_helm", - ) + item_state = "mining_helm" armor = list(melee = 50, bullet = 5, laser = 20,energy = 5, bomb = 55, bio = 100, rad = 20) light_overlay = "helmet_light_dual" /obj/item/clothing/suit/space/void/mining - icon_state = "rig-mining" 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" armor = list(melee = 50, bullet = 5, laser = 20,energy = 5, bomb = 55, bio = 100, rad = 20) -//Medical Rig +//Medical /obj/item/clothing/head/helmet/space/void/medical 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_slots = list( - slot_l_hand_str = "medical_helm", - slot_r_hand_str = "medical_helm", - ) + item_state = "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 - icon_state = "rig-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" 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) - //Security +//Security /obj/item/clothing/head/helmet/space/void/security 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_slots = list( - slot_l_hand_str = "sec_helm", - slot_r_hand_str = "sec_helm", - ) + item_state = "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" /obj/item/clothing/suit/space/void/security - icon_state = "rig-sec" 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" 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 -//Atmospherics Rig (BS12) +//Atmospherics /obj/item/clothing/head/helmet/space/void/atmos 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_slots = list( - slot_l_hand_str = "atmos_helm", - slot_r_hand_str = "atmos_helm", - ) + item_state = "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" /obj/item/clothing/suit/space/void/atmos + 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" - name = "atmos voidsuit" item_state = "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 c0d9e58a2c7..d71d57a5646 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" 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 = "void" + item_state = "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 846d0466eb6..2fc0c76dbde 100644 --- a/code/modules/clothing/spacesuits/void/wizard.dm +++ b/code/modules/clothing/spacesuits/void/wizard.dm @@ -3,10 +3,7 @@ name = "gem-encrusted voidsuit helmet" desc = "A bizarre gem-encrusted helmet that radiates magical energies." icon_state = "rig0-wiz" - item_state_slots = list( - slot_l_hand_str = "wiz_helm", - slot_r_hand_str = "wiz_helm", - ) + item_state = "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 diff --git a/code/modules/clothing/suits/alien.dm b/code/modules/clothing/suits/alien.dm index 54141e99948..6b9eed189a4 100644 --- a/code/modules/clothing/suits/alien.dm +++ b/code/modules/clothing/suits/alien.dm @@ -4,14 +4,12 @@ name = "roughspun robes" desc = "A traditional Unathi garment." icon_state = "robe-unathi" - item_state = "robe-unathi" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS /obj/item/clothing/suit/unathi/mantle name = "hide mantle" desc = "A rather grisly selection of cured hides and skin, sewn together to form a ragged mantle." icon_state = "mantle-unathi" - item_state = "mantle-unathi" body_parts_covered = UPPER_TORSO //Taj clothing. @@ -20,7 +18,6 @@ name = "heavy furs" desc = "A traditional Zhan-Khazan garment." icon_state = "zhan_furs" - item_state = "zhan_furs" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS /obj/item/clothing/head/tajaran/scarf diff --git a/code/modules/clothing/suits/armor.dm b/code/modules/clothing/suits/armor.dm index a6ffc5642b5..b98fe1fb783 100644 --- a/code/modules/clothing/suits/armor.dm +++ b/code/modules/clothing/suits/armor.dm @@ -1,4 +1,3 @@ - /obj/item/clothing/suit/armor allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/reagent_containers/spray/pepper,/obj/item/weapon/gun/projectile,/obj/item/ammo_magazine,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs,/obj/item/device/flashlight/maglight) body_parts_covered = UPPER_TORSO|LOWER_TORSO @@ -25,7 +24,6 @@ name = "armor" desc = "An armored vest that protects against some damage." icon_state = "armor" - item_state = "armor" blood_overlay_type = "armor" armor = list(melee = 40, bullet = 30, laser = 30, energy = 10, bomb = 10, bio = 0, rad = 0) @@ -33,7 +31,7 @@ name = "security armor" desc = "An armored vest that protects against some damage. This one has a NanoTrasen corporate badge." icon_state = "armoralt" - item_state = "armoralt" + item_state = "armor" /obj/item/clothing/suit/armor/vest/security name = "security armor" @@ -52,7 +50,7 @@ name = "Warden's jacket" desc = "An armoured jacket with silver rank pips and livery." icon_state = "warden_alt" - item_state = "warden_alt" + item_state = "armor" body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS @@ -68,7 +66,7 @@ /obj/item/clothing/suit/armor/riot/alt icon_state = "riot_new" - item_state = "riot_new" + item_state = "swat_suit" /obj/item/clothing/suit/armor/bulletproof name = "bullet resistant vest" @@ -81,7 +79,7 @@ /obj/item/clothing/suit/armor/bulletproof/alt icon_state = "bulletproof_new" - item_state = "bulletproof_new" + item_state = "armor" blood_overlay_type = "armor" /obj/item/clothing/suit/armor/laserproof @@ -117,7 +115,7 @@ name = "combat vest" desc = "A vest that protects the wearer from several common types of weaponry." icon_state = "combat" - item_state = "combat" + item_state = "armor" blood_overlay_type = "armor" armor = list(melee = 50, bullet = 50, laser = 50, energy = 30, bomb = 30, bio = 0, rad = 0) siemens_coefficient = 0.6 @@ -178,7 +176,7 @@ desc = "Someone separated our Research Director from their own head!" var/active = 0.0 icon_state = "reactiveoff" - item_state = "reactiveoff" + item_state = "armor" blood_overlay_type = "armor" slowdown = 1 armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0) @@ -211,18 +209,18 @@ if (src.active) user << "\blue The reactive armor is now active." src.icon_state = "reactive" - src.item_state = "reactive" + src.item_state = "armor" else user << "\blue The reactive armor is now inactive." src.icon_state = "reactiveoff" - src.item_state = "reactiveoff" + src.item_state = "armor" src.add_fingerprint(user) return /obj/item/clothing/suit/armor/reactive/emp_act(severity) active = 0 src.icon_state = "reactiveoff" - src.item_state = "reactiveoff" + src.item_state = "armor" ..() //Non-hardsuit ERT armor. @@ -262,7 +260,7 @@ name = "armor vest" desc = "A simple kevlar plate carrier." icon_state = "kvest" - item_state = "kvest" + item_state = "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) @@ -279,7 +277,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 = "officervest_nobadge" + item_state = "armor" icon_badge = "officervest_badge" icon_nobadge = "officervest_nobadge" @@ -287,7 +285,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 = "wardenvest_nobadge" + item_state = "armor" icon_badge = "wardenvest_badge" icon_nobadge = "wardenvest_nobadge" @@ -295,7 +293,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 = "hosvest_nobadge" + item_state = "armor" icon_badge = "hosvest_badge" icon_nobadge = "hosvest_nobadge" @@ -303,7 +301,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 = "pcrcvest_nobadge" + item_state = "armor" icon_badge = "pcrcvest_badge" icon_nobadge = "pcrcvest_nobadge" @@ -311,7 +309,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 = "detectivevest_nobadge" + item_state = "armor" icon_badge = "detectivevest_badge" icon_nobadge = "detectivevest_nobadge" @@ -319,7 +317,7 @@ name = "heavy armor vest" desc = "A heavy kevlar plate carrier with webbing attached." icon_state = "webvest" - item_state = "webvest" + item_state = "swat_suit" armor = list(melee = 50, bullet = 40, laser = 40, energy = 25, bomb = 25, bio = 0, rad = 0) slowdown = 1 @@ -327,7 +325,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 = "officerwebvest_nobadge" + item_state = "swat_suit" icon_badge = "officerwebvest_badge" icon_nobadge = "officerwebvest_nobadge" @@ -335,7 +333,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 = "wardenwebvest_nobadge" + item_state = "swat_suit" icon_badge = "wardenwebvest_badge" icon_nobadge = "wardenwebvest_nobadge" @@ -343,7 +341,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 = "hoswebvest_nobadge" + item_state = "swat_suit" icon_badge = "hoswebvest_badge" icon_nobadge = "hoswebvest_nobadge" @@ -351,7 +349,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 = "pcrcwebvest_nobadge" + item_state = "swat_suit" icon_badge = "pcrcwebvest_badge" icon_nobadge = "pcrcwebvest_nobadge" @@ -360,18 +358,17 @@ 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 = "mercwebvest" + item_state = "armor" armor = list(melee = 60, bullet = 60, laser = 60, energy = 40, bomb = 40, bio = 0, rad = 0) slowdown = 0 //All of the armor below is mostly unused - /obj/item/clothing/suit/armor/centcomm name = "Cent. Com. armor" desc = "A suit that protects against some damage." icon_state = "centcom" - item_state = "centcom" + item_state = "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) diff --git a/code/modules/clothing/suits/bio.dm b/code/modules/clothing/suits/bio.dm index 415f8a6da6d..ea6c6a52e19 100644 --- a/code/modules/clothing/suits/bio.dm +++ b/code/modules/clothing/suits/bio.dm @@ -2,10 +2,7 @@ /obj/item/clothing/head/bio_hood name = "bio hood" icon_state = "bio" - item_state_slots = list( - slot_l_hand_str = "bio_hood", - slot_r_hand_str = "bio_hood", - ) + item_state = "bio_hood" desc = "A hood that protects the head and face from biological comtaminants." permeability_coefficient = 0.01 armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 20) diff --git a/code/modules/clothing/suits/jobs.dm b/code/modules/clothing/suits/jobs.dm index 0c5f09e5afb..9c5b48bd56a 100644 --- a/code/modules/clothing/suits/jobs.dm +++ b/code/modules/clothing/suits/jobs.dm @@ -7,7 +7,6 @@ name = "apron" desc = "A basic blue apron." icon_state = "apron" - item_state = "apron" 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) @@ -17,7 +16,6 @@ name = "captain's parade tunic" desc = "Worn by a Captain to show their class." icon_state = "captunic" - item_state = "captunic" body_parts_covered = UPPER_TORSO|ARMS flags_inv = HIDEJUMPSUIT @@ -25,7 +23,6 @@ name = "captain's uniform jacket" desc = "A less formal jacket for everyday captain use." icon_state = "capjacket" - item_state = "capjacket" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS flags_inv = HIDEJUMPSUIT @@ -34,7 +31,6 @@ name = "chaplain hoodie" desc = "This suit says to you 'hush'!" icon_state = "chaplain_hoodie" - item_state = "chaplain_hoodie" body_parts_covered = UPPER_TORSO|ARMS //Chaplain @@ -42,7 +38,6 @@ name = "nun robe" desc = "Maximum piety in this star system." icon_state = "nun" - item_state = "nun" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS flags_inv = HIDESHOES|HIDEJUMPSUIT @@ -51,7 +46,6 @@ name = "chef's apron" desc = "An apron used by a high class chef." icon_state = "chef" - item_state = "chef" gas_transfer_coefficient = 0.90 permeability_coefficient = 0.50 body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS @@ -62,7 +56,6 @@ name = "classic chef's apron" desc = "A basic, dull, white chef's apron." icon_state = "apronchef" - item_state = "apronchef" blood_overlay_type = "armor" body_parts_covered = 0 @@ -71,21 +64,18 @@ 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 = "officerbluejacket" 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 = "wardenbluejacket" 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 = "hosbluejacket" body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS //Detective @@ -137,7 +127,6 @@ name = "hazard vest" desc = "A high-visibility vest used in work zones." icon_state = "hazard" - item_state = "hazard" blood_overlay_type = "armor" allowed = list (/obj/item/device/analyzer, /obj/item/device/flashlight, /obj/item/device/multitool, /obj/item/device/pipe_painter, /obj/item/device/radio, /obj/item/device/t_scanner, \ /obj/item/weapon/crowbar, /obj/item/weapon/screwdriver, /obj/item/weapon/weldingtool, /obj/item/weapon/wirecutters, /obj/item/weapon/wrench, /obj/item/weapon/tank/emergency_oxygen, \ @@ -149,7 +138,6 @@ name = "blue suit jacket" desc = "A snappy dress jacket." icon_state = "suitjacket_blue_open" - item_state = "suitjacket_blue_open" icon_open = "suitjacket_blue_open" icon_closed = "suitjacket_blue" blood_overlay_type = "coat" @@ -159,7 +147,6 @@ name = "purple suit jacket" desc = "A snappy dress jacket." icon_state = "suitjacket_purp_open" - item_state = "suitjacket_purp_open" icon_open = "suitjacket_purp_open" icon_closed = "suitjacket_purp" blood_overlay_type = "coat" @@ -170,14 +157,11 @@ name = "black suit jacket" desc = "A smooth black jacket." icon_state = "ia_jacket_open" - item_state = "ia_jacket" icon_open = "ia_jacket_open" icon_closed = "ia_jacket" blood_overlay_type = "coat" body_parts_covered = UPPER_TORSO|ARMS - - //Medical /obj/item/clothing/suit/storage/toggle/fr_jacket name = "first responder jacket" @@ -195,7 +179,6 @@ 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_closed" 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 e6b9c0c69fa..0f7c132b24f 100644 --- a/code/modules/clothing/suits/labcoat.dm +++ b/code/modules/clothing/suits/labcoat.dm @@ -14,7 +14,6 @@ name = "red labcoat" desc = "A suit that protects against minor chemical spills. This one is red." icon_state = "red_labcoat_open" - item_state = "red_labcoat" icon_open = "red_labcoat_open" icon_closed = "red_labcoat" @@ -22,7 +21,6 @@ name = "blue labcoat" desc = "A suit that protects against minor chemical spills. This one is blue." icon_state = "blue_labcoat_open" - item_state = "blue_labcoat" icon_open = "blue_labcoat_open" icon_closed = "blue_labcoat" @@ -30,7 +28,6 @@ name = "purple labcoat" desc = "A suit that protects against minor chemical spills. This one is purple." icon_state = "purple_labcoat_open" - item_state = "purple_labcoat" icon_open = "purple_labcoat_open" icon_closed = "purple_labcoat" @@ -38,7 +35,6 @@ name = "orange labcoat" desc = "A suit that protects against minor chemical spills. This one is orange." icon_state = "orange_labcoat_open" - item_state = "orange_labcoat" icon_open = "orange_labcoat_open" icon_closed = "orange_labcoat" @@ -46,7 +42,6 @@ name = "green labcoat" desc = "A suit that protects against minor chemical spills. This one is green." icon_state = "green_labcoat_open" - item_state = "green_labcoat" icon_open = "green_labcoat_open" icon_closed = "green_labcoat" @@ -54,7 +49,6 @@ name = "yellow labcoat" desc = "A suit that protects against minor chemical spills. This one is yellow." icon_state = "yellow_labcoat_open" - item_state = "yellow_labcoat" icon_open = "yellow_labcoat_open" icon_closed = "yellow_labcoat" @@ -62,7 +56,6 @@ name = "pink labcoat" desc = "A suit that protects against minor chemical spills. This one is pink." icon_state = "pink_labcoat_open" - item_state = "pink_labcoat" icon_open = "pink_labcoat_open" icon_closed = "pink_labcoat" @@ -70,7 +63,6 @@ name = "chief medical officer's labcoat" desc = "Bluer than the standard model." icon_state = "labcoat_cmo_open" - item_state = "labcoat_cmo" icon_open = "labcoat_cmo_open" icon_closed = "labcoat_cmo" @@ -85,7 +77,6 @@ name = "The Mad's labcoat" desc = "It makes you look capable of konking someone on the noggin and shooting them into space." icon_state = "labgreen_open" - item_state = "labgreen" icon_open = "labgreen_open" icon_closed = "labgreen" @@ -122,6 +113,5 @@ name = "EMT's labcoat" desc = "A dark blue labcoat with reflective strips for emergency medical technicians." icon_state = "labcoat_emt_open" - item_state = "labcoat_emt" icon_open = "labcoat_emt_open" icon_closed = "labcoat_emt" diff --git a/code/modules/clothing/suits/miscellaneous.dm b/code/modules/clothing/suits/miscellaneous.dm index 413685df456..bc8109193bf 100644 --- a/code/modules/clothing/suits/miscellaneous.dm +++ b/code/modules/clothing/suits/miscellaneous.dm @@ -12,7 +12,7 @@ name = "blue laser tag armour" desc = "Blue Pride, Station Wide." icon_state = "bluetag" - item_state = "bluetag" + item_state = "armor" blood_overlay_type = "armor" body_parts_covered = UPPER_TORSO allowed = list (/obj/item/weapon/gun/energy/lasertag/blue) @@ -22,7 +22,7 @@ name = "red laser tag armour" desc = "Reputed to go faster." icon_state = "redtag" - item_state = "redtag" + item_state = "armor" blood_overlay_type = "armor" body_parts_covered = UPPER_TORSO allowed = list (/obj/item/weapon/gun/energy/lasertag/red) @@ -35,62 +35,51 @@ name = "pirate coat" desc = "Yarr." icon_state = "pirate" - item_state = "pirate" body_parts_covered = UPPER_TORSO|ARMS - /obj/item/clothing/suit/hgpirate name = "pirate captain coat" desc = "Yarr." icon_state = "hgpirate" - item_state = "hgpirate" flags_inv = HIDEJUMPSUIT body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS - /obj/item/clothing/suit/cyborg_suit name = "cyborg suit" desc = "Suit for a cyborg costume." icon_state = "death" - item_state = "death" flags = CONDUCT fire_resist = T0C+5200 flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT - - + /obj/item/clothing/suit/greatcoat name = "great coat" desc = "A heavy great coat" icon_state = "nazi" - item_state = "nazi" - + item_state = "greatcoat" /obj/item/clothing/suit/johnny_coat name = "johnny~~ coat" desc = "Johnny~~" icon_state = "johnny" - item_state = "johnny" - + item_state = "johnny_coat" /obj/item/clothing/suit/justice name = "justice suit" desc = "This pretty much looks ridiculous." icon_state = "justice" - item_state = "justice" + item_state = "greatcoat" flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|HANDS|LEGS|FEET - /obj/item/clothing/suit/judgerobe name = "judge's robe" desc = "This robe commands authority." icon_state = "judge" - item_state = "judge" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS allowed = list(/obj/item/weapon/storage/fancy/cigarettes,/obj/item/weapon/spacecash) flags_inv = HIDEJUMPSUIT - /obj/item/clothing/suit/wcoat name = "waistcoat" desc = "For some classy, murderous fun." @@ -99,7 +88,6 @@ blood_overlay_type = "armor" body_parts_covered = UPPER_TORSO|LOWER_TORSO - /obj/item/clothing/suit/apron/overalls name = "coveralls" desc = "A set of denim overalls." @@ -107,7 +95,6 @@ item_state = "overalls" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS - /obj/item/clothing/suit/syndicatefake name = "red space suit replica" icon_state = "syndicate" @@ -122,20 +109,16 @@ name = "Hastur's Robes" desc = "Robes not meant to be worn by man" icon_state = "hastur" - item_state = "hastur" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT - /obj/item/clothing/suit/imperium_monk name = "Imperium monk" desc = "Have YOU killed a xenos today?" icon_state = "imperium_monk" - item_state = "imperium_monk" body_parts_covered = HEAD|UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS flags_inv = HIDESHOES|HIDEJUMPSUIT - /obj/item/clothing/suit/chickensuit name = "Chicken Suit" desc = "A suit made long ago by the ancient empire KFC." @@ -145,31 +128,25 @@ flags_inv = HIDESHOES|HIDEJUMPSUIT siemens_coefficient = 2.0 - /obj/item/clothing/suit/monkeysuit name = "Monkey Suit" desc = "A suit that looks like a primate" icon_state = "monkeysuit" - item_state = "monkeysuit" body_parts_covered = UPPER_TORSO|ARMS|LOWER_TORSO|LEGS|FEET|HANDS flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT siemens_coefficient = 2.0 - /obj/item/clothing/suit/holidaypriest name = "Holiday Priest" desc = "This is a nice holiday my son." icon_state = "holidaypriest" - item_state = "holidaypriest" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS flags_inv = HIDEJUMPSUIT - /obj/item/clothing/suit/cardborg name = "cardborg suit" desc = "An ordinary cardboard box with holes cut in the sides." icon_state = "cardborg" - item_state = "cardborg" body_parts_covered = UPPER_TORSO|LOWER_TORSO flags_inv = HIDEJUMPSUIT @@ -181,7 +158,6 @@ name = "straight jacket" desc = "A suit that completely restrains the wearer." icon_state = "straight_jacket" - item_state = "straight_jacket" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT|HIDETAIL @@ -189,7 +165,6 @@ 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 = "ianshirt" body_parts_covered = UPPER_TORSO|ARMS //pyjamas @@ -199,14 +174,12 @@ name = "blue pyjamas" desc = "Slightly old-fashioned sleepwear." icon_state = "blue_pyjamas" - item_state = "blue_pyjamas" 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_pyjamas" body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS //coats @@ -215,25 +188,25 @@ name = "leather coat" desc = "A long, thick black leather coat." icon_state = "leathercoat_alt" - item_state = "leathercoat_alt" + item_state = "leather_jacket" /obj/item/clothing/suit/leathercoat/sec name = "leather coat" desc = "A long, thick black leather coat." icon_state = "leathercoat_sec" - item_state = "leathercoat_sec" + item_state = "leather_jacket" /obj/item/clothing/suit/browncoat name = "brown leather coat" desc = "A long, brown leather coat." icon_state = "browncoat" - item_state = "browncoat" + item_state = "brown_jacket" /obj/item/clothing/suit/neocoat name = "black coat" desc = "A flowing, black coat." icon_state = "neocoat" - item_state = "neocoat" + item_state = "leather_jacket" //stripper /obj/item/clothing/under/stripper @@ -261,7 +234,6 @@ name = "green skimpy dress" desc = "A rather skimpy green dress." icon_state = "stripper_g_over" - item_state = "stripper_g" siemens_coefficient = 1 /obj/item/clothing/under/stripper/mankini @@ -278,6 +250,7 @@ body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT siemens_coefficient = 2.0 + //swimsuit /obj/item/clothing/under/swimsuit/ siemens_coefficient = 1 @@ -317,91 +290,77 @@ name = "poncho" desc = "A simple, comfortable poncho." icon_state = "classicponcho" - item_state = "classicponcho" /obj/item/clothing/suit/poncho/green name = "green poncho" desc = "A simple, comfortable cloak without sleeves. This one is green." icon_state = "greenponcho" - item_state = "greenponcho" /obj/item/clothing/suit/poncho/red name = "red poncho" desc = "A simple, comfortable cloak without sleeves. This one is red." icon_state = "redponcho" - item_state = "redponcho" /obj/item/clothing/suit/poncho/purple name = "purple poncho" desc = "A simple, comfortable cloak without sleeves. This one is purple." icon_state = "purpleponcho" - item_state = "purpleponcho" /obj/item/clothing/suit/poncho/blue name = "blue poncho" desc = "A simple, comfortable cloak without sleeves. This one is blue." icon_state = "blueponcho" - item_state = "blueponcho" /obj/item/clothing/suit/poncho/roles/security name = "security poncho" desc = "A simple, comfortable cloak without sleeves. This one is black and red, standard NanoTrasen Security colors." icon_state = "secponcho" - item_state = "secponcho" /obj/item/clothing/suit/poncho/roles/medical name = "medical poncho" desc = "A simple, comfortable cloak without sleeves. This one is white with green and blue tint, standard Medical colors." icon_state = "medponcho" - item_state = "medponcho" /obj/item/clothing/suit/poncho/roles/engineering name = "engineering poncho" desc = "A simple, comfortable cloak without sleeves. This one is yellow and orange, standard Engineering colors." icon_state = "engiponcho" - item_state = "engiponcho" /obj/item/clothing/suit/poncho/roles/science name = "science poncho" desc = "A simple, comfortable cloak without sleeves. This one is white with purple trim, standard NanoTrasen Science colors." icon_state = "sciponcho" - item_state = "sciponcho" /obj/item/clothing/suit/poncho/roles/cargo name = "cargo poncho" desc = "A simple, comfortable cloak without sleeves. This one is tan and grey, the colors of Cargo." icon_state = "cargoponcho" - item_state = "cargoponcho" /obj/item/clothing/suit/jacket/puffer name = "puffer jacket" desc = "A thick jacket with a rubbery, water-resistant shell." icon_state = "pufferjacket" - item_state = "pufferjacket" /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 = "puffervest" /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 = "militaryjacket_nobadge" /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 = "militaryjacket_badge" /obj/item/clothing/suit/storage/toggle/bomber name = "bomber jacket" desc = "A thick, well-worn WW2 leather bomber jacket." icon_state = "bomber" - item_state = "bomber" + item_state = "brown_jacket" icon_open = "bomber_open" icon_closed = "bomber" body_parts_covered = UPPER_TORSO|ARMS @@ -413,7 +372,7 @@ name = "bomber jacket" desc = "A thick, well-worn WW2 leather bomber jacket." icon_state = "bomberjacket_new" - item_state = "bomberjacket_new" + item_state = "brown_jacket" body_parts_covered = UPPER_TORSO|ARMS cold_protection = UPPER_TORSO|ARMS min_cold_protection_temperature = T0C - 20 @@ -423,12 +382,11 @@ name = "leather jacket" desc = "A black leather coat." icon_state = "leather_jacket" - item_state = "leather_jacket" body_parts_covered = UPPER_TORSO|ARMS /obj/item/clothing/suit/storage/leather_jacket/alt icon_state = "leather_jacket_alt" - item_state = "leather_jacket_alt" + item_state = "leather_jacket" /obj/item/clothing/suit/storage/leather_jacket/nanotrasen desc = "A black leather coat. A corporate logo is proudly displayed on the back." diff --git a/code/modules/detectivework/tools/crimekit.dm b/code/modules/detectivework/tools/crimekit.dm index 8b12203b217..8d4e3cf8e65 100644 --- a/code/modules/detectivework/tools/crimekit.dm +++ b/code/modules/detectivework/tools/crimekit.dm @@ -4,7 +4,6 @@ desc = "A stainless steel-plated carrycase for all your forensic needs. Feels heavy." icon = 'icons/obj/forensics.dmi' icon_state = "case" - item_state = "case" storage_slots = 14 /obj/item/weapon/storage/briefcase/crimekit/New() diff --git a/code/modules/detectivework/tools/evidencebag.dm b/code/modules/detectivework/tools/evidencebag.dm index 6aa4bdf99fb..9e2c4903005 100644 --- a/code/modules/detectivework/tools/evidencebag.dm +++ b/code/modules/detectivework/tools/evidencebag.dm @@ -5,7 +5,7 @@ desc = "An empty evidence bag." icon = 'icons/obj/storage.dmi' icon_state = "evidenceobj" - item_state = "" + item_state = null w_class = 2 var/obj/item/stored_item = null diff --git a/code/modules/holodeck/HolodeckObjects.dm b/code/modules/holodeck/HolodeckObjects.dm index f9536420e26..69077aad840 100644 --- a/code/modules/holodeck/HolodeckObjects.dm +++ b/code/modules/holodeck/HolodeckObjects.dm @@ -121,6 +121,10 @@ name = "boxing gloves" desc = "Because you really needed another excuse to punch your crewmates." icon_state = "boxing" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_gloves.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_gloves.dmi', + ) item_state = "boxing" /obj/structure/window/reinforced/holowindow/Destroy() @@ -235,6 +239,10 @@ /obj/item/weapon/holo/esword desc = "May the force be within you. Sorta." icon_state = "sword0" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_melee.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_melee.dmi', + ) force = 3.0 throw_speed = 1 throw_range = 5 @@ -295,7 +303,6 @@ icon = 'icons/obj/basketball.dmi' icon_state = "basketball" name = "basketball" - item_state = "basketball" desc = "Here's your chance, do your dance at the Space Jam." w_class = 4 //Stops people from hiding it in their bags/pockets diff --git a/code/modules/hydroponics/grown_inedible.dm b/code/modules/hydroponics/grown_inedible.dm index 01fd8764d83..1c823ef61b1 100644 --- a/code/modules/hydroponics/grown_inedible.dm +++ b/code/modules/hydroponics/grown_inedible.dm @@ -37,7 +37,6 @@ desc = "A reminder of meals gone by." icon = 'icons/obj/trash.dmi' icon_state = "corncob" - item_state = "corncob" w_class = 2.0 throwforce = 0 throw_speed = 4 @@ -56,7 +55,6 @@ desc = "A peel from a banana." icon = 'icons/obj/items.dmi' icon_state = "banana_peel" - item_state = "banana_peel" w_class = 2.0 throwforce = 0 throw_speed = 4 diff --git a/code/modules/hydroponics/trays/tray_reagents.dm b/code/modules/hydroponics/trays/tray_reagents.dm index ba2013812ab..1ab73542b00 100644 --- a/code/modules/hydroponics/trays/tray_reagents.dm +++ b/code/modules/hydroponics/trays/tray_reagents.dm @@ -1,7 +1,6 @@ - /obj/item/weapon/plantspray icon = 'icons/obj/hydroponics_machines.dmi' - item_state = "spray" + item_state = "spraycan" flags = NOBLUDGEON slot_flags = SLOT_BELT throwforce = 4 diff --git a/code/modules/materials/material_sheets.dm b/code/modules/materials/material_sheets.dm index 9daa14d1faf..5e3ed42c7e3 100644 --- a/code/modules/materials/material_sheets.dm +++ b/code/modules/materials/material_sheets.dm @@ -6,6 +6,10 @@ throw_speed = 3 throw_range = 3 max_amount = 50 + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_material.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_material.dmi', + ) var/default_type = DEFAULT_WALL_MATERIAL var/material/material @@ -161,7 +165,6 @@ /obj/item/stack/material/plasteel name = "plasteel" icon_state = "sheet-plasteel" - item_state = "sheet-metal" default_type = "plasteel" /obj/item/stack/material/wood diff --git a/code/modules/mob/living/bot/ed209bot.dm b/code/modules/mob/living/bot/ed209bot.dm index 3c50432025d..b238f5401e4 100644 --- a/code/modules/mob/living/bot/ed209bot.dm +++ b/code/modules/mob/living/bot/ed209bot.dm @@ -76,7 +76,7 @@ desc = "Some sort of bizarre assembly." icon = 'icons/obj/aibots.dmi' icon_state = "ed209_frame" - item_state = "ed209_frame" + item_state = "buildpipe" created_name = "ED-209 Security Robot" var/lasercolor = "" @@ -101,10 +101,8 @@ user << "You add the robot leg to [src]." name = "legs/frame assembly" if(build_step == 1) - item_state = "ed209_leg" icon_state = "ed209_leg" else - item_state = "ed209_legs" icon_state = "ed209_legs" if(2) diff --git a/code/modules/mob/living/bot/secbot.dm b/code/modules/mob/living/bot/secbot.dm index ea80efca7e1..e7db4e9c42a 100644 --- a/code/modules/mob/living/bot/secbot.dm +++ b/code/modules/mob/living/bot/secbot.dm @@ -238,6 +238,10 @@ desc = "Some sort of bizarre assembly." icon = 'icons/obj/aibots.dmi' icon_state = "helmet_signaler" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_hats.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_hats.dmi', + ) item_state = "helmet" var/build_step = 0 var/created_name = "Securitron" diff --git a/code/modules/mob/living/silicon/robot/robot_items.dm b/code/modules/mob/living/silicon/robot/robot_items.dm index ee25aebe24e..e5b8ff3de27 100644 --- a/code/modules/mob/living/silicon/robot/robot_items.dm +++ b/code/modules/mob/living/silicon/robot/robot_items.dm @@ -267,6 +267,10 @@ name = "paper dispenser" icon = 'icons/obj/bureaucracy.dmi' icon_state = "paper_bin1" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_material.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_material.dmi', + ) item_state = "sheet-metal" /obj/item/weapon/form_printer/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob) diff --git a/code/modules/paperwork/handlabeler.dm b/code/modules/paperwork/handlabeler.dm index ea5488152d4..4f2c6d59ba9 100644 --- a/code/modules/paperwork/handlabeler.dm +++ b/code/modules/paperwork/handlabeler.dm @@ -2,7 +2,6 @@ name = "hand labeler" icon = 'icons/obj/bureaucracy.dmi' icon_state = "labeler0" - item_state = "flight" var/label = null var/labels_left = 30 var/mode = 0 //off or on. diff --git a/code/modules/paperwork/paperbin.dm b/code/modules/paperwork/paperbin.dm index 8a438e8e905..a2a1273ced5 100644 --- a/code/modules/paperwork/paperbin.dm +++ b/code/modules/paperwork/paperbin.dm @@ -2,6 +2,10 @@ name = "paper bin" icon = 'icons/obj/bureaucracy.dmi' icon_state = "paper_bin1" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_material.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_material.dmi', + ) item_state = "sheet-metal" throwforce = 1 w_class = 3 diff --git a/code/modules/paperwork/photography.dm b/code/modules/paperwork/photography.dm index 5787ff2d029..0df6b304328 100644 --- a/code/modules/paperwork/photography.dm +++ b/code/modules/paperwork/photography.dm @@ -14,7 +14,7 @@ icon = 'icons/obj/items.dmi' desc = "A camera film cartridge. Insert it into a camera to reload it." icon_state = "film" - item_state = "electropack" + item_state = "camera" w_class = 1.0 @@ -120,7 +120,7 @@ var/global/photo_count = 0 icon = 'icons/obj/items.dmi' desc = "A polaroid camera. 10 photos left." icon_state = "camera" - item_state = "electropack" + item_state = "camera" w_class = 2.0 flags = CONDUCT slot_flags = SLOT_BELT diff --git a/code/modules/power/solar.dm b/code/modules/power/solar.dm index dd1c2a56b60..4f6f53d37b4 100644 --- a/code/modules/power/solar.dm +++ b/code/modules/power/solar.dm @@ -206,7 +206,7 @@ var/list/solars_list = list() desc = "A solar panel assembly kit, allows constructions of a solar panel, or with a tracking circuit board, a solar tracker" icon = 'icons/obj/power.dmi' icon_state = "sp_base" - item_state = "electropack" + item_state = "camera" w_class = 4 // Pretty big! anchored = 0 var/tracker = 0 diff --git a/code/modules/projectiles/guns/energy/special.dm b/code/modules/projectiles/guns/energy/special.dm index ef3a74666ef..0c3822cced0 100644 --- a/code/modules/projectiles/guns/energy/special.dm +++ b/code/modules/projectiles/guns/energy/special.dm @@ -106,7 +106,6 @@ icon = 'icons/obj/gun.dmi' item_icons = null icon_state = "staffofchange" - item_state = "staffofchange" fire_sound = 'sound/weapons/emitter.ogg' flags = CONDUCT slot_flags = SLOT_BACK @@ -142,7 +141,6 @@ obj/item/weapon/gun/energy/staff/focus desc = "An artefact that channels the will of the user into destructive bolts of force. If you aren't careful with it, you might poke someone's brain out." icon = 'icons/obj/wizard.dmi' icon_state = "focus" - item_state = "focus" slot_flags = SLOT_BACK projectile_type = /obj/item/projectile/forcebolt /* diff --git a/code/modules/reagents/reagent_containers/food/condiment.dm b/code/modules/reagents/reagent_containers/food/condiment.dm index ce26cdda50e..7257ac65b1a 100644 --- a/code/modules/reagents/reagent_containers/food/condiment.dm +++ b/code/modules/reagents/reagent_containers/food/condiment.dm @@ -167,7 +167,6 @@ desc = "A big bag of flour. Good for baking!" icon = 'icons/obj/food.dmi' icon_state = "flour" - item_state = "flour" /obj/item/weapon/reagent_containers/food/condiment/flour/on_reagent_change() return diff --git a/code/modules/research/xenoarchaeology/tools/anomaly_suit.dm b/code/modules/research/xenoarchaeology/tools/anomaly_suit.dm index 67ac1bd867f..f6bbeed769a 100644 --- a/code/modules/research/xenoarchaeology/tools/anomaly_suit.dm +++ b/code/modules/research/xenoarchaeology/tools/anomaly_suit.dm @@ -4,21 +4,18 @@ name = "Anomaly suit" desc = "A sealed bio suit capable of insulating against exotic alien energies." icon_state = "engspace_suit" - item_state = "engspace_suit" armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 100) /obj/item/clothing/head/bio_hood/anomaly name = "Anomaly hood" desc = "A sealed bio hood capable of insulating against exotic alien energies." icon_state = "engspace_helmet" - item_state = "engspace_helmet" armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 100) /obj/item/clothing/suit/space/anomaly name = "Excavation suit" desc = "A pressure resistant excavation suit partially capable of insulating against exotic alien energies." icon_state = "cespace_suit" - item_state = "cespace_suit" armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 100) allowed = list(/obj/item/device/flashlight,/obj/item/weapon/tank,/obj/item/device/suit_cooling_unit) @@ -26,5 +23,4 @@ name = "Excavation hood" desc = "A pressure resistant excavation hood partially capable of insulating against exotic alien energies." icon_state = "cespace_helmet" - item_state = "cespace_helmet" armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 100) diff --git a/code/modules/research/xenoarchaeology/tools/gearbelt.dm b/code/modules/research/xenoarchaeology/tools/gearbelt.dm index d12446382ba..fa92fa16241 100644 --- a/code/modules/research/xenoarchaeology/tools/gearbelt.dm +++ b/code/modules/research/xenoarchaeology/tools/gearbelt.dm @@ -3,7 +3,6 @@ name = "excavation gear-belt" desc = "Can hold various excavation gear." icon_state = "gearbelt" - item_state = "utility" can_hold = list( /obj/item/weapon/storage/box/samplebags, /obj/item/device/core_sampler, diff --git a/code/modules/research/xenoarchaeology/tools/tools.dm b/code/modules/research/xenoarchaeology/tools/tools.dm index bc9d0ca21f5..bf320f0cd39 100644 --- a/code/modules/research/xenoarchaeology/tools/tools.dm +++ b/code/modules/research/xenoarchaeology/tools/tools.dm @@ -7,7 +7,7 @@ desc = "Triangulates the approximate co-ordinates using a nearby satellite network." icon = 'icons/obj/device.dmi' icon_state = "locator" - item_state = "locator" + item_state = "analyzer" w_class = 2 /obj/item/device/gps/attack_self(var/mob/user as mob) diff --git a/icons/misc/beach.dmi b/icons/misc/beach.dmi index 4caa0d10d77..036cc7d71f1 100644 Binary files a/icons/misc/beach.dmi and b/icons/misc/beach.dmi differ diff --git a/icons/mob/items/lefthand.dmi b/icons/mob/items/lefthand.dmi index bab98652cc4..b524a04f1c5 100644 Binary files a/icons/mob/items/lefthand.dmi and b/icons/mob/items/lefthand.dmi differ diff --git a/icons/mob/items/lefthand_backpacks.dmi b/icons/mob/items/lefthand_backpacks.dmi deleted file mode 100644 index 74da58f2dab..00000000000 Binary files a/icons/mob/items/lefthand_backpacks.dmi and /dev/null differ diff --git a/icons/mob/items/lefthand_gloves.dmi b/icons/mob/items/lefthand_gloves.dmi new file mode 100644 index 00000000000..0c12bda3d58 Binary files /dev/null and b/icons/mob/items/lefthand_gloves.dmi differ diff --git a/icons/mob/items/lefthand_guns.dmi b/icons/mob/items/lefthand_guns.dmi index 7d495b376de..73ce626bf45 100644 Binary files a/icons/mob/items/lefthand_guns.dmi and b/icons/mob/items/lefthand_guns.dmi differ diff --git a/icons/mob/items/lefthand_hats.dmi b/icons/mob/items/lefthand_hats.dmi index 2cae6e7e967..a8394ae9e52 100644 Binary files a/icons/mob/items/lefthand_hats.dmi and b/icons/mob/items/lefthand_hats.dmi differ diff --git a/icons/mob/items/lefthand_masks.dmi b/icons/mob/items/lefthand_masks.dmi new file mode 100644 index 00000000000..316661dd369 Binary files /dev/null and b/icons/mob/items/lefthand_masks.dmi differ diff --git a/icons/mob/items/lefthand_material.dmi b/icons/mob/items/lefthand_material.dmi new file mode 100644 index 00000000000..70127575ee6 Binary files /dev/null and b/icons/mob/items/lefthand_material.dmi differ diff --git a/icons/mob/items/lefthand_melee.dmi b/icons/mob/items/lefthand_melee.dmi new file mode 100644 index 00000000000..93ac77c6555 Binary files /dev/null and b/icons/mob/items/lefthand_melee.dmi differ diff --git a/icons/mob/items/lefthand_shoes.dmi b/icons/mob/items/lefthand_shoes.dmi new file mode 100644 index 00000000000..cfdfddc8158 Binary files /dev/null and b/icons/mob/items/lefthand_shoes.dmi differ diff --git a/icons/mob/items/lefthand_storage.dmi b/icons/mob/items/lefthand_storage.dmi new file mode 100644 index 00000000000..e2a1fc761c8 Binary files /dev/null and b/icons/mob/items/lefthand_storage.dmi differ diff --git a/icons/mob/items/lefthand_suits.dmi b/icons/mob/items/lefthand_suits.dmi new file mode 100644 index 00000000000..f33eaf24421 Binary files /dev/null and b/icons/mob/items/lefthand_suits.dmi differ diff --git a/icons/mob/items/lefthand_uniforms.dmi b/icons/mob/items/lefthand_uniforms.dmi index 149d44fd8bc..ca6aeb01a9f 100644 Binary files a/icons/mob/items/lefthand_uniforms.dmi and b/icons/mob/items/lefthand_uniforms.dmi differ diff --git a/icons/mob/items/righthand.dmi b/icons/mob/items/righthand.dmi index e52cd632b04..19ca8092c0b 100644 Binary files a/icons/mob/items/righthand.dmi and b/icons/mob/items/righthand.dmi differ diff --git a/icons/mob/items/righthand_backpacks.dmi b/icons/mob/items/righthand_backpacks.dmi deleted file mode 100644 index 77ac28ea056..00000000000 Binary files a/icons/mob/items/righthand_backpacks.dmi and /dev/null differ diff --git a/icons/mob/items/righthand_gloves.dmi b/icons/mob/items/righthand_gloves.dmi new file mode 100644 index 00000000000..25b41e25ec9 Binary files /dev/null and b/icons/mob/items/righthand_gloves.dmi differ diff --git a/icons/mob/items/righthand_guns.dmi b/icons/mob/items/righthand_guns.dmi index fe2bb9e62f1..4d0f6375116 100644 Binary files a/icons/mob/items/righthand_guns.dmi and b/icons/mob/items/righthand_guns.dmi differ diff --git a/icons/mob/items/righthand_hats.dmi b/icons/mob/items/righthand_hats.dmi index ffaa950b557..3b75193ff71 100644 Binary files a/icons/mob/items/righthand_hats.dmi and b/icons/mob/items/righthand_hats.dmi differ diff --git a/icons/mob/items/righthand_masks.dmi b/icons/mob/items/righthand_masks.dmi new file mode 100644 index 00000000000..e69f1594d03 Binary files /dev/null and b/icons/mob/items/righthand_masks.dmi differ diff --git a/icons/mob/items/righthand_material.dmi b/icons/mob/items/righthand_material.dmi new file mode 100644 index 00000000000..db11ee211f6 Binary files /dev/null and b/icons/mob/items/righthand_material.dmi differ diff --git a/icons/mob/items/righthand_melee.dmi b/icons/mob/items/righthand_melee.dmi new file mode 100644 index 00000000000..ce37a0997ed Binary files /dev/null and b/icons/mob/items/righthand_melee.dmi differ diff --git a/icons/mob/items/righthand_shoes.dmi b/icons/mob/items/righthand_shoes.dmi new file mode 100644 index 00000000000..83600b934ad Binary files /dev/null and b/icons/mob/items/righthand_shoes.dmi differ diff --git a/icons/mob/items/righthand_storage.dmi b/icons/mob/items/righthand_storage.dmi new file mode 100644 index 00000000000..3409e201f35 Binary files /dev/null and b/icons/mob/items/righthand_storage.dmi differ diff --git a/icons/mob/items/righthand_suits.dmi b/icons/mob/items/righthand_suits.dmi new file mode 100644 index 00000000000..438c6329ead Binary files /dev/null and b/icons/mob/items/righthand_suits.dmi differ diff --git a/icons/mob/items/righthand_uniforms.dmi b/icons/mob/items/righthand_uniforms.dmi index c014bdc35e6..c114a48045f 100644 Binary files a/icons/mob/items/righthand_uniforms.dmi and b/icons/mob/items/righthand_uniforms.dmi differ diff --git a/icons/mob/suit.dmi b/icons/mob/suit.dmi index 93a38573cdf..5ced432d8ab 100644 Binary files a/icons/mob/suit.dmi and b/icons/mob/suit.dmi differ diff --git a/icons/obj/items.dmi b/icons/obj/items.dmi index 53836c99c5e..ca69a7cd780 100644 Binary files a/icons/obj/items.dmi and b/icons/obj/items.dmi differ diff --git a/polaris.dme b/polaris.dme index 0753e94efdd..9765b065488 100644 --- a/polaris.dme +++ b/polaris.dme @@ -1112,7 +1112,6 @@ #include "code\modules\clothing\shoes\miscellaneous.dm" #include "code\modules\clothing\spacesuits\alien.dm" #include "code\modules\clothing\spacesuits\breaches.dm" -#include "code\modules\clothing\spacesuits\captain.dm" #include "code\modules\clothing\spacesuits\miscellaneous.dm" #include "code\modules\clothing\spacesuits\spacesuits.dm" #include "code\modules\clothing\spacesuits\syndi.dm"