From 6ef421be4282bb15a70f09b4964bb517b9c6e26f Mon Sep 17 00:00:00 2001
From: nemvar <47324920+nemvar@users.noreply.github.com>
Date: Mon, 25 May 2020 06:47:19 +0200
Subject: [PATCH] Renames a few variables. Also reorders icon fallback order
again. (#51060)
* Renames a few variables. Also reorders fallback order again.
Renames item_state to inhand_icon_state
Renames mob_overlay_icon to worn_icon
Renames mob_overlay_state to worn_icon_state
worn_icon_state/mob_overlay_state now never gets used for inhands.
* Fixes some comments
* Fixes map issue
* Restart lints
* Properly resolves conflicts
---
_maps/RandomRuins/SpaceRuins/bigderelict1.dmm | 2 +-
code/_globalvars/religion.dm | 2 +-
code/_onclick/telekinesis.dm | 2 +-
code/datums/components/embedded.dm | 4 +-
code/datums/martial/krav_maga.dm | 4 +-
code/datums/mutations/touch.dm | 2 +-
code/game/gamemodes/changeling/changeling.dm | 4 +-
.../game/gamemodes/clown_ops/clown_weapons.dm | 2 +-
code/game/machinery/computer/arcade.dm | 2 +-
code/game/machinery/deployable.dm | 2 +-
code/game/machinery/pipe/construction.dm | 4 +-
code/game/machinery/syndicatebomb.dm | 4 +-
code/game/machinery/washing_machine.dm | 4 +-
code/game/mecha/equipment/weapons/weapons.dm | 2 +-
code/game/mecha/mecha_parts.dm | 2 +-
code/game/objects/items.dm | 10 +-
code/game/objects/items/AI_modules.dm | 2 +-
code/game/objects/items/RCD.dm | 8 +-
code/game/objects/items/RCL.dm | 18 +--
code/game/objects/items/airlock_painter.dm | 4 +-
code/game/objects/items/apc_frame.dm | 4 +-
code/game/objects/items/binoculars.dm | 6 +-
code/game/objects/items/candle.dm | 2 +-
code/game/objects/items/cards_ids.dm | 12 +-
code/game/objects/items/charter.dm | 2 +-
code/game/objects/items/chrono_eraser.dm | 4 +-
code/game/objects/items/cigs_lighters.dm | 32 ++--
.../items/circuitboards/circuitboard.dm | 2 +-
code/game/objects/items/clown_items.dm | 4 +-
code/game/objects/items/control_wand.dm | 2 +-
code/game/objects/items/crayons.dm | 2 +-
code/game/objects/items/debug_items.dm | 4 +-
code/game/objects/items/defib.dm | 18 +--
code/game/objects/items/devices/PDA/PDA.dm | 2 +-
code/game/objects/items/devices/PDA/cart.dm | 2 +-
code/game/objects/items/devices/aicard.dm | 2 +-
.../items/devices/anomaly_neutralizer.dm | 2 +-
code/game/objects/items/devices/beacon.dm | 8 +-
code/game/objects/items/devices/camera_bug.dm | 2 +-
.../objects/items/devices/chameleonproj.dm | 2 +-
.../objects/items/devices/desynchronizer.dm | 2 +-
code/game/objects/items/devices/flashlight.dm | 34 ++---
.../items/devices/forcefieldprojector.dm | 2 +-
.../objects/items/devices/geiger_counter.dm | 2 +-
.../game/objects/items/devices/instruments.dm | 38 ++---
.../objects/items/devices/laserpointer.dm | 2 +-
.../objects/items/devices/lightreplacer.dm | 2 +-
code/game/objects/items/devices/megaphone.dm | 10 +-
code/game/objects/items/devices/multitool.dm | 2 +-
code/game/objects/items/devices/paicard.dm | 2 +-
.../objects/items/devices/pipe_painter.dm | 2 +-
.../game/objects/items/devices/polycircuit.dm | 2 +-
code/game/objects/items/devices/powersink.dm | 2 +-
.../objects/items/devices/pressureplates.dm | 2 +-
.../objects/items/devices/quantum_keycard.dm | 2 +-
.../items/devices/radio/electropack.dm | 2 +-
.../objects/items/devices/radio/headset.dm | 12 +-
.../game/objects/items/devices/radio/radio.dm | 2 +-
.../items/devices/reverse_bear_trap.dm | 2 +-
code/game/objects/items/devices/scanners.dm | 14 +-
code/game/objects/items/devices/swapper.dm | 2 +-
.../objects/items/devices/taperecorder.dm | 4 +-
.../objects/items/devices/traitordevices.dm | 4 +-
.../objects/items/devices/transfer_valve.dm | 2 +-
code/game/objects/items/documents.dm | 2 +-
code/game/objects/items/emags.dm | 6 +-
code/game/objects/items/extinguisher.dm | 6 +-
code/game/objects/items/flamethrower.dm | 4 +-
code/game/objects/items/gift.dm | 4 +-
.../objects/items/grenades/antigravity.dm | 2 +-
.../objects/items/grenades/chem_grenade.dm | 2 +-
code/game/objects/items/grenades/emgrenade.dm | 2 +-
code/game/objects/items/grenades/festive.dm | 2 +-
code/game/objects/items/grenades/flashbang.dm | 6 +-
.../game/objects/items/grenades/ghettobomb.dm | 2 +-
code/game/objects/items/grenades/grenade.dm | 2 +-
code/game/objects/items/grenades/hypno.dm | 2 +-
code/game/objects/items/grenades/plastic.dm | 6 +-
code/game/objects/items/grenades/smokebomb.dm | 2 +-
.../objects/items/grenades/spawnergrenade.dm | 6 +-
.../objects/items/grenades/syndieminibomb.dm | 4 +-
code/game/objects/items/handcuffs.dm | 14 +-
code/game/objects/items/his_grace.dm | 4 +-
code/game/objects/items/holosign_creator.dm | 2 +-
code/game/objects/items/holy_weapons.dm | 90 +++++------
.../objects/items/implants/implantcase.dm | 2 +-
code/game/objects/items/implants/implanter.dm | 2 +-
.../game/objects/items/implants/implantpad.dm | 2 +-
code/game/objects/items/inducer.dm | 6 +-
code/game/objects/items/kitchen.dm | 14 +-
code/game/objects/items/latexballoon.dm | 6 +-
code/game/objects/items/melee/energy.dm | 2 +-
code/game/objects/items/melee/misc.dm | 36 ++---
code/game/objects/items/miscellaneous.dm | 2 +-
code/game/objects/items/mop.dm | 2 +-
code/game/objects/items/paint.dm | 2 +-
code/game/objects/items/pet_carrier.dm | 2 +-
code/game/objects/items/pinpointer.dm | 2 +-
code/game/objects/items/plushes.dm | 16 +-
code/game/objects/items/pneumaticCannon.dm | 6 +-
code/game/objects/items/powerfist.dm | 2 +-
code/game/objects/items/religion.dm | 18 +--
code/game/objects/items/scrolls.dm | 2 +-
code/game/objects/items/shields.dm | 10 +-
code/game/objects/items/stacks/bscrystal.dm | 2 +-
code/game/objects/items/stacks/rods.dm | 4 +-
.../game/objects/items/stacks/sheets/glass.dm | 14 +-
.../objects/items/stacks/sheets/hot_ice.dm | 2 +-
.../objects/items/stacks/sheets/leather.dm | 20 +--
.../objects/items/stacks/sheets/mineral.dm | 30 ++--
.../items/stacks/sheets/sheet_types.dm | 28 ++--
code/game/objects/items/stacks/tickets.dm | 2 +-
.../items/stacks/tiles/tile_mineral.dm | 20 +--
.../objects/items/stacks/tiles/tile_types.dm | 44 +++---
code/game/objects/items/storage/backpack.dm | 88 +++++------
code/game/objects/items/storage/bags.dm | 2 +-
code/game/objects/items/storage/belt.dm | 68 ++++-----
code/game/objects/items/storage/book.dm | 8 +-
code/game/objects/items/storage/boxes.dm | 22 +--
code/game/objects/items/storage/fancy.dm | 8 +-
code/game/objects/items/storage/firstaid.dm | 14 +-
code/game/objects/items/storage/holsters.dm | 6 +-
code/game/objects/items/storage/lockbox.dm | 4 +-
code/game/objects/items/storage/secure.dm | 2 +-
code/game/objects/items/storage/sixpack.dm | 2 +-
code/game/objects/items/storage/toolbox.dm | 20 +--
code/game/objects/items/stunbaton.dm | 6 +-
code/game/objects/items/tanks/jetpack.dm | 18 +--
code/game/objects/items/tanks/tank_types.dm | 6 +-
code/game/objects/items/tanks/watertank.dm | 18 +--
code/game/objects/items/teleportation.dm | 4 +-
code/game/objects/items/teleprod.dm | 2 +-
code/game/objects/items/theft_tools.dm | 8 +-
code/game/objects/items/tools/crowbar.dm | 6 +-
code/game/objects/items/tools/screwdriver.dm | 6 +-
code/game/objects/items/tools/weldingtool.dm | 10 +-
code/game/objects/items/tools/wirecutters.dm | 2 +-
code/game/objects/items/tools/wrench.dm | 6 +-
code/game/objects/items/toys.dm | 36 ++---
code/game/objects/items/vending_items.dm | 2 +-
code/game/objects/items/weaponry.dm | 42 +++---
.../objects/structures/beds_chairs/chair.dm | 10 +-
code/game/objects/structures/bedsheet_bin.dm | 60 ++++----
.../objects/structures/plaques/_plaques.dm | 4 +-
code/game/objects/structures/signs/_signs.dm | 4 +-
code/game/objects/structures/watercloset.dm | 4 +-
code/modules/admin/verbs/BrokenInhands.dm | 10 +-
.../abductor/equipment/abduction_gear.dm | 30 ++--
.../antagonists/changeling/changeling.dm | 12 +-
.../changeling/powers/mutations.dm | 4 +-
code/modules/antagonists/cult/blood_magic.dm | 2 +-
code/modules/antagonists/cult/cult_items.dm | 30 ++--
.../nukeop/equipment/borgchameleon.dm | 2 +-
.../nukeop/equipment/nuclear_challenge.dm | 2 +-
.../nukeop/equipment/nuclearbomb.dm | 2 +-
.../antagonists/wizard/equipment/artefact.dm | 6 +-
.../antagonists/wizard/equipment/soulstone.dm | 2 +-
code/modules/assembly/bomb.dm | 2 +-
code/modules/assembly/flash.dm | 4 +-
code/modules/assembly/holder.dm | 2 +-
code/modules/assembly/mousetrap.dm | 2 +-
code/modules/assembly/signaler.dm | 4 +-
code/modules/awaymissions/capture_the_flag.dm | 6 +-
.../awaymissions/mission_code/Academy.dm | 2 +-
.../mission_code/stationCollision.dm | 2 +-
code/modules/cargo/export_scanner.dm | 2 +-
code/modules/cargo/supplypod.dm | 2 +-
code/modules/cargo/supplypod_beacon.dm | 2 +-
code/modules/clothing/chameleon.dm | 16 +-
code/modules/clothing/ears/_ears.dm | 2 +-
code/modules/clothing/glasses/_glasses.dm | 66 ++++----
.../clothing/glasses/engine_goggles.dm | 8 +-
code/modules/clothing/glasses/hud.dm | 12 +-
code/modules/clothing/gloves/boxing.dm | 8 +-
code/modules/clothing/gloves/color.dm | 38 ++---
code/modules/clothing/gloves/miscellaneous.dm | 36 ++---
code/modules/clothing/gloves/tacklers.dm | 10 +-
code/modules/clothing/head/_head.dm | 2 +-
code/modules/clothing/head/collectable.dm | 24 +--
code/modules/clothing/head/hardhat.dm | 22 +--
code/modules/clothing/head/helmet.dm | 48 +++---
code/modules/clothing/head/jobs.dm | 6 +-
code/modules/clothing/head/misc.dm | 84 +++++------
code/modules/clothing/head/misc_special.dm | 26 ++--
code/modules/clothing/head/soft_caps.dm | 2 +-
code/modules/clothing/masks/boxing.dm | 14 +-
code/modules/clothing/masks/breath.dm | 4 +-
code/modules/clothing/masks/gasmask.dm | 22 +--
code/modules/clothing/masks/hailer.dm | 8 +-
code/modules/clothing/masks/miscellaneous.dm | 34 ++---
code/modules/clothing/neck/_neck.dm | 2 +-
code/modules/clothing/shoes/miscellaneous.dm | 34 ++---
.../clothing/spacesuits/_spacesuits.dm | 4 +-
.../modules/clothing/spacesuits/chronosuit.dm | 4 +-
code/modules/clothing/spacesuits/hardsuit.dm | 78 +++++-----
.../clothing/spacesuits/miscellaneous.dm | 82 +++++-----
code/modules/clothing/spacesuits/plasmamen.dm | 48 +++---
code/modules/clothing/spacesuits/syndi.dm | 52 +++----
code/modules/clothing/suits/armor.dm | 54 +++----
code/modules/clothing/suits/bio.dm | 4 +-
code/modules/clothing/suits/chaplainsuits.dm | 20 +--
code/modules/clothing/suits/cloaks.dm | 2 +-
code/modules/clothing/suits/jobs.dm | 36 ++---
code/modules/clothing/suits/labcoat.dm | 8 +-
code/modules/clothing/suits/miscellaneous.dm | 142 +++++++++---------
.../modules/clothing/suits/reactive_armour.dm | 8 +-
code/modules/clothing/suits/utility.dm | 20 +--
code/modules/clothing/suits/wiz_robe.dm | 28 ++--
code/modules/clothing/under/_under.dm | 2 +-
code/modules/clothing/under/accessories.dm | 6 +-
code/modules/clothing/under/color.dm | 70 ++++-----
code/modules/clothing/under/costume.dm | 62 ++++----
.../under/jobs/Plasmaman/civilian_service.dm | 22 +--
.../under/jobs/Plasmaman/engineering.dm | 4 +-
.../clothing/under/jobs/Plasmaman/medsci.dm | 14 +-
.../clothing/under/jobs/Plasmaman/security.dm | 4 +-
code/modules/clothing/under/jobs/cargo.dm | 14 +-
code/modules/clothing/under/jobs/centcom.dm | 8 +-
.../clothing/under/jobs/civilian/civilian.dm | 58 +++----
.../under/jobs/civilian/clown_mime.dm | 22 +--
.../clothing/under/jobs/civilian/curator.dm | 16 +-
code/modules/clothing/under/jobs/command.dm | 12 +-
.../clothing/under/jobs/engineering.dm | 16 +-
code/modules/clothing/under/jobs/medical.dm | 24 +--
code/modules/clothing/under/jobs/rnd.dm | 26 ++--
code/modules/clothing/under/jobs/security.dm | 56 +++----
code/modules/clothing/under/miscellaneous.dm | 34 ++---
code/modules/clothing/under/pants.dm | 2 +-
code/modules/clothing/under/shorts.dm | 2 +-
code/modules/clothing/under/skirt_dress.dm | 26 ++--
code/modules/clothing/under/suits.dm | 44 +++---
code/modules/clothing/under/syndicate.dm | 22 +--
code/modules/clothing/under/trek.dm | 20 +--
code/modules/detectivework/evidence.dm | 2 +-
code/modules/detectivework/scanner.dm | 2 +-
code/modules/food_and_drinks/drinks/drinks.dm | 10 +-
.../food_and_drinks/drinks/drinks/bottle.dm | 16 +-
.../modules/food_and_drinks/food/condiment.dm | 42 +++---
.../food_and_drinks/food/snacks_bread.dm | 6 +-
.../food_and_drinks/food/snacks_other.dm | 4 +-
.../food_and_drinks/food/snacks_pastry.dm | 8 +-
.../food_and_drinks/food/snacks_vend.dm | 2 +-
code/modules/food_and_drinks/pizzabox.dm | 6 +-
code/modules/holiday/easter.dm | 6 +-
code/modules/holodeck/items.dm | 4 +-
.../hydroponics/beekeeping/beekeeper_suit.dm | 4 +-
code/modules/hydroponics/grown/banana.dm | 8 +-
code/modules/hydroponics/grown/corn.dm | 4 +-
code/modules/hydroponics/hydroitemdefines.dm | 14 +-
code/modules/jobs/job_types/chaplain.dm | 2 +-
code/modules/library/lib_machines.dm | 4 +-
code/modules/mining/aux_base.dm | 2 +-
.../modules/mining/equipment/explorer_gear.dm | 6 +-
.../mining/equipment/kinetic_crusher.dm | 4 +-
.../mining/equipment/lazarus_injector.dm | 2 +-
.../mining/equipment/mineral_scanner.dm | 4 +-
code/modules/mining/equipment/mining_tools.dm | 18 +--
code/modules/mining/equipment/resonator.dm | 4 +-
code/modules/mining/equipment/survival_pod.dm | 2 +-
code/modules/mining/equipment/vendor_items.dm | 2 +-
.../mining/equipment/wormhole_jaunter.dm | 2 +-
.../mining/lavaland/necropolis_chests.dm | 12 +-
code/modules/mining/ores_coins.dm | 26 ++--
.../alien/humanoid/humanoid_update_icons.dm | 4 +-
.../living/carbon/alien/special/facehugger.dm | 8 +-
.../living/carbon/human/human_update_icons.dm | 20 +--
.../human/species_types/shadowpeople.dm | 2 +-
.../carbon/human/species_types/snail.dm | 2 +-
code/modules/mob/living/inhand_holder.dm | 4 +-
.../mob/living/silicon/robot/robot_modules.dm | 2 +-
.../mob/living/simple_animal/bot/cleanbot.dm | 2 +-
.../living/simple_animal/bot/construction.dm | 16 +-
.../mob/living/simple_animal/hostile/bees.dm | 2 +-
.../simple_animal/hostile/megafauna/legion.dm | 2 +-
.../hostile/mining_mobs/elites/elite.dm | 2 +-
code/modules/ninja/energy_katana.dm | 2 +-
code/modules/ninja/suit/gloves.dm | 2 +-
code/modules/ninja/suit/head.dm | 2 +-
code/modules/ninja/suit/mask.dm | 2 +-
code/modules/ninja/suit/shoes.dm | 2 +-
code/modules/ninja/suit/suit.dm | 6 +-
code/modules/paperwork/carbonpaper.dm | 2 +-
code/modules/paperwork/clipboard.dm | 2 +-
code/modules/paperwork/handlabeler.dm | 4 +-
code/modules/paperwork/paper.dm | 2 +-
code/modules/paperwork/paper_cutter.dm | 2 +-
code/modules/paperwork/paperbin.dm | 2 +-
code/modules/paperwork/pen.dm | 8 +-
code/modules/paperwork/stamps.dm | 2 +-
code/modules/photography/camera/camera.dm | 2 +-
code/modules/photography/camera/film.dm | 2 +-
code/modules/photography/photos/album.dm | 2 +-
code/modules/photography/photos/photo.dm | 2 +-
code/modules/power/cable.dm | 10 +-
code/modules/power/cell.dm | 2 +-
code/modules/power/lighting.dm | 4 +-
code/modules/power/pipecleaners.dm | 4 +-
code/modules/power/solar.dm | 2 +-
.../boxes_magazines/_box_magazine.dm | 2 +-
code/modules/projectiles/gun.dm | 2 +-
code/modules/projectiles/guns/ballistic.dm | 2 +-
.../projectiles/guns/ballistic/automatic.dm | 18 +--
.../guns/ballistic/laser_gatling.dm | 4 +-
.../projectiles/guns/ballistic/launchers.dm | 4 +-
.../projectiles/guns/ballistic/pistol.dm | 4 +-
.../projectiles/guns/ballistic/rifle.dm | 6 +-
.../projectiles/guns/ballistic/shotgun.dm | 20 +--
.../modules/projectiles/guns/ballistic/toy.dm | 4 +-
code/modules/projectiles/guns/energy.dm | 12 +-
.../projectiles/guns/energy/dueling.dm | 4 +-
.../projectiles/guns/energy/energy_gun.dm | 10 +-
.../guns/energy/kinetic_accelerator.dm | 2 +-
code/modules/projectiles/guns/energy/laser.dm | 12 +-
.../projectiles/guns/energy/mounted.dm | 4 +-
code/modules/projectiles/guns/energy/pulse.dm | 8 +-
.../projectiles/guns/energy/special.dm | 30 ++--
code/modules/projectiles/guns/energy/stun.dm | 6 +-
code/modules/projectiles/guns/magic.dm | 2 +-
code/modules/projectiles/guns/magic/staff.dm | 24 +--
code/modules/projectiles/guns/magic/wand.dm | 2 +-
.../projectiles/guns/misc/beam_rifle.dm | 2 +-
.../projectiles/guns/misc/blastcannon.dm | 2 +-
.../modules/projectiles/guns/misc/chem_gun.dm | 2 +-
.../projectiles/guns/misc/grenade_launcher.dm | 2 +-
code/modules/projectiles/guns/misc/medbeam.dm | 2 +-
.../projectiles/guns/misc/syringe_gun.dm | 6 +-
code/modules/projectiles/pins.dm | 2 +-
.../reagents/reagent_containers/borghydro.dm | 2 +-
.../reagents/reagent_containers/bottle.dm | 2 +-
.../reagents/reagent_containers/glass.dm | 6 +-
.../reagents/reagent_containers/hypospray.dm | 34 ++---
.../reagents/reagent_containers/medigel.dm | 2 +-
.../reagents/reagent_containers/patch.dm | 2 +-
.../reagents/reagent_containers/pill.dm | 2 +-
.../reagents/reagent_containers/spray.dm | 22 +--
.../reagents/reagent_containers/syringes.dm | 4 +-
code/modules/recycling/sortingmachinery.dm | 6 +-
code/modules/research/research_disk.dm | 2 +-
code/modules/research/stock_parts.dm | 4 +-
.../xenobiology/crossbreeding/_clothing.dm | 6 +-
.../xenobiology/crossbreeding/_weapons.dm | 6 +-
.../research/xenobiology/xenobiology.dm | 4 +-
code/modules/ruins/icemoonruin_code/wrath.dm | 2 +-
.../ruins/lavalandruin_code/kinggoat.dm | 2 +-
.../ruins/objects_and_mobs/sin_ruins.dm | 2 +-
.../ruins/spaceruin_code/forgottenship.dm | 6 +-
code/modules/shuttle/assault_pod.dm | 2 +-
code/modules/shuttle/emergency.dm | 4 +-
code/modules/spells/spell_types/godhand.dm | 6 +-
code/modules/station_goals/dna_vault.dm | 2 +-
.../surgery/bodyparts/robot_bodyparts.dm | 12 +-
code/modules/surgery/organs/autosurgeon.dm | 2 +-
code/modules/surgery/tools.dm | 10 +-
code/modules/uplink/uplink_devices.dm | 2 +-
code/modules/vehicles/lavaboat.dm | 2 +-
code/modules/vehicles/vehicle_key.dm | 2 +-
356 files changed, 1938 insertions(+), 1938 deletions(-)
diff --git a/_maps/RandomRuins/SpaceRuins/bigderelict1.dmm b/_maps/RandomRuins/SpaceRuins/bigderelict1.dmm
index f89c86ab998..95ac76ec777 100644
--- a/_maps/RandomRuins/SpaceRuins/bigderelict1.dmm
+++ b/_maps/RandomRuins/SpaceRuins/bigderelict1.dmm
@@ -837,7 +837,7 @@
/obj/item/stack/cable_coil{
amount = 2;
icon_state = "coil_red2";
- item_state = "coil_red"
+ inhand_icon_state = "coil_red"
},
/obj/structure/alien/weeds{
color = "#4BAE56";
diff --git a/code/_globalvars/religion.dm b/code/_globalvars/religion.dm
index 4eb08d43849..988d55d777e 100644
--- a/code/_globalvars/religion.dm
+++ b/code/_globalvars/religion.dm
@@ -7,7 +7,7 @@ GLOBAL_VAR(favor)
//bible
GLOBAL_VAR(bible_name)
GLOBAL_VAR(bible_icon_state)
-GLOBAL_VAR(bible_item_state)
+GLOBAL_VAR(bible_inhand_icon_state)
//gear
GLOBAL_VAR(holy_weapon_type)
diff --git a/code/_onclick/telekinesis.dm b/code/_onclick/telekinesis.dm
index e8f8c5c6e15..56a010f14e6 100644
--- a/code/_onclick/telekinesis.dm
+++ b/code/_onclick/telekinesis.dm
@@ -71,7 +71,7 @@
icon = 'icons/obj/magic.dmi'//Needs sprites
icon_state = "2"
item_flags = NOBLUDGEON | ABSTRACT | DROPDEL
- //item_state = null
+ //inhand_icon_state = null
w_class = WEIGHT_CLASS_GIGANTIC
layer = ABOVE_HUD_LAYER
plane = ABOVE_HUD_PLANE
diff --git a/code/datums/components/embedded.dm b/code/datums/components/embedded.dm
index 601edd9d590..41ad39e291f 100644
--- a/code/datums/components/embedded.dm
+++ b/code/datums/components/embedded.dm
@@ -312,9 +312,9 @@
pixelX -= 2
if(throwingdatum.init_dir in list(NORTH, WEST, NORTHWEST, SOUTHWEST))
- overlay = mutable_appearance(icon=weapon.righthand_file,icon_state=weapon.item_state)
+ overlay = mutable_appearance(icon=weapon.righthand_file,icon_state=weapon.inhand_icon_state)
else
- overlay = mutable_appearance(icon=weapon.lefthand_file,icon_state=weapon.item_state)
+ overlay = mutable_appearance(icon=weapon.lefthand_file,icon_state=weapon.inhand_icon_state)
var/matrix/M = matrix()
M.Translate(pixelX, pixelY)
diff --git a/code/datums/martial/krav_maga.dm b/code/datums/martial/krav_maga.dm
index e67b30b3915..17f329fa028 100644
--- a/code/datums/martial/krav_maga.dm
+++ b/code/datums/martial/krav_maga.dm
@@ -203,7 +203,7 @@
name = "krav maga gloves"
desc = "These gloves can teach you to perform Krav Maga using nanochips."
icon_state = "fightgloves"
- item_state = "fightgloves"
+ inhand_icon_state = "fightgloves"
cold_protection = HANDS
min_cold_protection_temperature = GLOVES_MIN_TEMP_PROTECT
heat_protection = HANDS
@@ -214,7 +214,7 @@
name = "combat gloves plus"
desc = "These tactical gloves are fireproof and electrically insulated, and through the use of nanochip technology will teach you the martial art of krav maga."
icon_state = "black"
- item_state = "blackgloves"
+ inhand_icon_state = "blackgloves"
siemens_coefficient = 0
permeability_coefficient = 0.05
strip_delay = 80
diff --git a/code/datums/mutations/touch.dm b/code/datums/mutations/touch.dm
index 7ff96e62a9f..39205c2d9b0 100644
--- a/code/datums/mutations/touch.dm
+++ b/code/datums/mutations/touch.dm
@@ -25,7 +25,7 @@
catchphrase = null
on_use_sound = 'sound/weapons/zapbang.ogg'
icon_state = "zapper"
- item_state = "zapper"
+ inhand_icon_state = "zapper"
/obj/item/melee/touch_attack/shock/afterattack(atom/target, mob/living/carbon/user, proximity)
if(!proximity)
diff --git a/code/game/gamemodes/changeling/changeling.dm b/code/game/gamemodes/changeling/changeling.dm
index b94719825f3..15fd3dd1e4b 100644
--- a/code/game/gamemodes/changeling/changeling.dm
+++ b/code/game/gamemodes/changeling/changeling.dm
@@ -132,8 +132,8 @@ GLOBAL_VAR(changeling_team_objective_type) //If this is not null, we hand our th
C.appearance = chosen_prof.appearance_list[slot]
C.name = chosen_prof.name_list[slot]
C.flags_cover = chosen_prof.flags_cover_list[slot]
- C.item_state = chosen_prof.item_state_list[slot]
- C.mob_overlay_icon = chosen_prof.mob_overlay_icon_list[slot]
+ C.inhand_icon_state = chosen_prof.inhand_icon_state_list[slot]
+ C.worn_icon = chosen_prof.worn_icon_list[slot]
if(equip)
user.equip_to_slot_or_del(C, GLOB.slot2slot[slot])
diff --git a/code/game/gamemodes/clown_ops/clown_weapons.dm b/code/game/gamemodes/clown_ops/clown_weapons.dm
index aa622afd9bc..8a821edffb8 100644
--- a/code/game/gamemodes/clown_ops/clown_weapons.dm
+++ b/code/game/gamemodes/clown_ops/clown_weapons.dm
@@ -3,7 +3,7 @@
desc = "A seemingly innocent sunflower...with a twist. A slippery twist."
icon = 'icons/obj/hydroponics/harvest.dmi'
icon_state = "sunflower"
- item_state = "sunflower"
+ inhand_icon_state = "sunflower"
amount_per_transfer_from_this = 3
spray_range = 1
stream_range = 1
diff --git a/code/game/machinery/computer/arcade.dm b/code/game/machinery/computer/arcade.dm
index 422c100951f..7094da3b2a9 100644
--- a/code/game/machinery/computer/arcade.dm
+++ b/code/game/machinery/computer/arcade.dm
@@ -383,7 +383,7 @@ GLOBAL_LIST_INIT(arcade_prize_pool, list(
desc = "A pamphlet encouraging the reader to maintain a balanced lifestyle and take care of their mental health, while still enjoying video games in a healthy way. You probably don't need this..."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "pamphlet"
- item_state = "paper"
+ inhand_icon_state = "paper"
w_class = WEIGHT_CLASS_TINY
diff --git a/code/game/machinery/deployable.dm b/code/game/machinery/deployable.dm
index d18e31e1840..3f50982e453 100644
--- a/code/game/machinery/deployable.dm
+++ b/code/game/machinery/deployable.dm
@@ -143,7 +143,7 @@
desc = "Instant cover."
icon = 'icons/obj/grenade.dmi'
icon_state = "flashbang"
- item_state = "flashbang"
+ inhand_icon_state = "flashbang"
actions_types = list(/datum/action/item_action/toggle_barrier_spread)
var/mode = SINGLE
diff --git a/code/game/machinery/pipe/construction.dm b/code/game/machinery/pipe/construction.dm
index 25c9bddeff0..449810f4db7 100644
--- a/code/game/machinery/pipe/construction.dm
+++ b/code/game/machinery/pipe/construction.dm
@@ -16,7 +16,7 @@ Buildable meters
throwforce = 7
icon = 'icons/obj/atmospherics/pipes/pipe_item.dmi'
icon_state = "simple"
- item_state = "buildpipe"
+ inhand_icon_state = "buildpipe"
w_class = WEIGHT_CLASS_NORMAL
var/piping_layer = PIPING_LAYER_DEFAULT
var/RPD_type
@@ -191,7 +191,7 @@ Buildable meters
desc = "A meter that can be laid on pipes."
icon = 'icons/obj/atmospherics/pipes/pipe_item.dmi'
icon_state = "meter"
- item_state = "buildpipe"
+ inhand_icon_state = "buildpipe"
w_class = WEIGHT_CLASS_BULKY
var/piping_layer = PIPING_LAYER_DEFAULT
diff --git a/code/game/machinery/syndicatebomb.dm b/code/game/machinery/syndicatebomb.dm
index f0938077e40..48f7ae799c5 100644
--- a/code/game/machinery/syndicatebomb.dm
+++ b/code/game/machinery/syndicatebomb.dm
@@ -256,7 +256,7 @@
desc = "A powerful secondary explosive of syndicate design and unknown composition, it should be stable under normal conditions..."
icon = 'icons/obj/assemblies.dmi'
icon_state = "bombcore"
- item_state = "eshield0"
+ inhand_icon_state = "eshield0"
lefthand_file = 'icons/mob/inhands/equipment/shields_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/shields_righthand.dmi'
w_class = WEIGHT_CLASS_NORMAL
@@ -499,7 +499,7 @@
desc = "Your standard issue bomb synchronizing button. Five second safety delay to prevent 'accidents'."
icon = 'icons/obj/assemblies.dmi'
icon_state = "bigred"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_TINY
diff --git a/code/game/machinery/washing_machine.dm b/code/game/machinery/washing_machine.dm
index 5dbca3d4ef5..e9b466b3ede 100644
--- a/code/game/machinery/washing_machine.dm
+++ b/code/game/machinery/washing_machine.dm
@@ -217,8 +217,8 @@ GLOBAL_LIST_INIT(dye_registry, list(
icon_state = initial(target_type.icon_state)
lefthand_file = initial(target_type.lefthand_file)
righthand_file = initial(target_type.righthand_file)
- item_state = initial(target_type.item_state)
- mob_overlay_icon = initial(target_type.mob_overlay_icon)
+ inhand_icon_state = initial(target_type.inhand_icon_state)
+ worn_icon = initial(target_type.worn_icon)
inhand_x_dimension = initial(target_type.inhand_x_dimension)
inhand_y_dimension = initial(target_type.inhand_y_dimension)
name = initial(target_type.name)
diff --git a/code/game/mecha/equipment/weapons/weapons.dm b/code/game/mecha/equipment/weapons/weapons.dm
index 6721e2ebc56..95d51440825 100644
--- a/code/game/mecha/equipment/weapons/weapons.dm
+++ b/code/game/mecha/equipment/weapons/weapons.dm
@@ -136,7 +136,7 @@
name = "217-D Heavy Plasma Cutter"
desc = "A device that shoots resonant plasma bursts at extreme velocity. The blasts are capable of crushing rock and demolishing solid obstacles."
icon_state = "mecha_plasmacutter"
- item_state = "plasmacutter"
+ inhand_icon_state = "plasmacutter"
lefthand_file = 'icons/mob/inhands/weapons/guns_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/guns_righthand.dmi'
energy_drain = 30
diff --git a/code/game/mecha/mecha_parts.dm b/code/game/mecha/mecha_parts.dm
index 4061030e02a..e454699271e 100644
--- a/code/game/mecha/mecha_parts.dm
+++ b/code/game/mecha/mecha_parts.dm
@@ -298,7 +298,7 @@
name = "exosuit circuit board"
icon = 'icons/obj/module.dmi'
icon_state = "std_mod"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
flags_1 = CONDUCT_1
diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm
index fc7de7f4397..b21e9dddee0 100644
--- a/code/game/objects/items.dm
+++ b/code/game/objects/items.dm
@@ -11,17 +11,17 @@ GLOBAL_VAR_INIT(embedpocalypse, FALSE) // if true, all items will be able to emb
name = "item"
icon = 'icons/obj/items_and_weapons.dmi'
blocks_emissive = EMISSIVE_BLOCK_GENERIC
- ///icon state name for inhand overlays
- var/item_state = null
+ ///icon state for inhand overlays, if null the normal icon_state will be used.
+ var/inhand_icon_state = null
///Icon file for left hand inhand overlays
var/lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
///Icon file for right inhand overlays
var/righthand_file = 'icons/mob/inhands/items_righthand.dmi'
///Icon file for mob worn overlays.
- var/icon/mob_overlay_icon
- ///Item state for mob worn overlays
- var/mob_overlay_state
+ var/icon/worn_icon
+ ///icon state for mob worn overlays, if null the normal icon_state will be used.
+ var/worn_icon_state
///Forced mob worn layer instead of the standard preferred ssize.
var/alternate_worn_layer
diff --git a/code/game/objects/items/AI_modules.dm b/code/game/objects/items/AI_modules.dm
index 0bd127c16dd..549d99ed2b6 100644
--- a/code/game/objects/items/AI_modules.dm
+++ b/code/game/objects/items/AI_modules.dm
@@ -10,7 +10,7 @@ AI MODULES
name = "\improper AI module"
icon = 'icons/obj/module.dmi'
icon_state = "std_mod"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
desc = "An AI Module for programming laws to an AI."
diff --git a/code/game/objects/items/RCD.dm b/code/game/objects/items/RCD.dm
index 3f0288e88ef..a8ade256212 100644
--- a/code/game/objects/items/RCD.dm
+++ b/code/game/objects/items/RCD.dm
@@ -562,7 +562,7 @@ RLD
/obj/item/construction/rcd/borg/syndicate
icon_state = "ircd"
- item_state = "ircd"
+ inhand_icon_state = "ircd"
energyfactor = 66
/obj/item/construction/rcd/loaded
@@ -571,7 +571,7 @@ RLD
/obj/item/construction/rcd/combat
name = "industrial RCD"
icon_state = "ircd"
- item_state = "ircd"
+ inhand_icon_state = "ircd"
max_matter = 500
matter = 500
canRturf = TRUE
@@ -581,7 +581,7 @@ RLD
desc = "Highly compressed matter for the RCD."
icon = 'icons/obj/ammo.dmi'
icon_state = "rcd"
- item_state = "rcdammo"
+ inhand_icon_state = "rcdammo"
w_class = WEIGHT_CLASS_TINY
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
@@ -611,7 +611,7 @@ RLD
delay_mod = 0.6
ranged = TRUE
icon_state = "arcd"
- item_state = "oldrcd"
+ inhand_icon_state = "oldrcd"
has_ammobar = FALSE
/obj/item/construction/rcd/arcd/afterattack(atom/A, mob/user)
diff --git a/code/game/objects/items/RCL.dm b/code/game/objects/items/RCL.dm
index 96a762ecf89..5e4939d944c 100644
--- a/code/game/objects/items/RCL.dm
+++ b/code/game/objects/items/RCL.dm
@@ -3,7 +3,7 @@
desc = "A device used to rapidly deploy pipe cleaners. It has screws on the side which can be removed to slide off the pipe cleaners. Do not use without insulation!"
icon = 'icons/obj/tools.dmi'
icon_state = "rcl-0"
- item_state = "rcl-0"
+ inhand_icon_state = "rcl-0"
var/obj/structure/pipe_cleaner/last
var/obj/item/stack/pipe_cleaner_coil/loaded
opacity = FALSE
@@ -111,21 +111,21 @@
/obj/item/rcl/update_icon_state()
if(!loaded)
icon_state = "rcl-0"
- item_state = "rcl-0"
+ inhand_icon_state = "rcl-0"
return
switch(loaded.amount)
if(61 to INFINITY)
icon_state = "rcl-30"
- item_state = "rcl"
+ inhand_icon_state = "rcl"
if(31 to 60)
icon_state = "rcl-20"
- item_state = "rcl"
+ inhand_icon_state = "rcl"
if(1 to 30)
icon_state = "rcl-10"
- item_state = "rcl"
+ inhand_icon_state = "rcl"
else
icon_state = "rcl-0"
- item_state = "rcl-0"
+ inhand_icon_state = "rcl-0"
/obj/item/rcl/proc/is_empty(mob/user, loud = 1)
update_icon()
@@ -328,12 +328,12 @@
/obj/item/rcl/ghetto/update_icon_state()
if(!loaded)
icon_state = "rclg-0"
- item_state = "rclg-0"
+ inhand_icon_state = "rclg-0"
return
switch(loaded.amount)
if(1 to INFINITY)
icon_state = "rclg-1"
- item_state = "rcl"
+ inhand_icon_state = "rcl"
else
icon_state = "rclg-1"
- item_state = "rclg-1"
+ inhand_icon_state = "rclg-1"
diff --git a/code/game/objects/items/airlock_painter.dm b/code/game/objects/items/airlock_painter.dm
index 94fd0a910dd..1e93bba2727 100644
--- a/code/game/objects/items/airlock_painter.dm
+++ b/code/game/objects/items/airlock_painter.dm
@@ -3,7 +3,7 @@
desc = "An advanced autopainter preprogrammed with several paintjobs for airlocks. Use it on an airlock during or after construction to change the paintjob."
icon = 'icons/obj/objects.dmi'
icon_state = "paint sprayer"
- item_state = "paint sprayer"
+ inhand_icon_state = "paint sprayer"
w_class = WEIGHT_CLASS_SMALL
@@ -149,7 +149,7 @@
desc = "An airlock painter, reprogramed to use a different style of paint in order to apply decals for floor tiles as well, in addition to repainting doors. Decals break when the floor tiles are removed. Alt-Click to change design."
icon = 'icons/obj/objects.dmi'
icon_state = "decal_sprayer"
- item_state = "decalsprayer"
+ inhand_icon_state = "decalsprayer"
custom_materials = list(/datum/material/iron=2000, /datum/material/glass=500)
var/stored_dir = 2
var/stored_color = ""
diff --git a/code/game/objects/items/apc_frame.dm b/code/game/objects/items/apc_frame.dm
index 7d98d227169..095ee713303 100644
--- a/code/game/objects/items/apc_frame.dm
+++ b/code/game/objects/items/apc_frame.dm
@@ -2,7 +2,7 @@
icon = 'icons/obj/wallframe.dmi'
custom_materials = list(/datum/material/iron=MINERAL_MATERIAL_AMOUNT*2)
flags_1 = CONDUCT_1
- item_state = "syringe_kit"
+ inhand_icon_state = "syringe_kit"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
@@ -114,7 +114,7 @@
desc = "Looks like a circuit. Probably is."
icon = 'icons/obj/module.dmi'
icon_state = "door_electronics"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
flags_1 = CONDUCT_1
diff --git a/code/game/objects/items/binoculars.dm b/code/game/objects/items/binoculars.dm
index 5e89e426b3b..8d53cc76a8b 100644
--- a/code/game/objects/items/binoculars.dm
+++ b/code/game/objects/items/binoculars.dm
@@ -1,7 +1,7 @@
/obj/item/binoculars
name = "binoculars"
desc = "Used for long-distance surveillance."
- item_state = "binoculars"
+ inhand_icon_state = "binoculars"
icon_state = "binoculars"
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
@@ -29,7 +29,7 @@
RegisterSignal(user, COMSIG_ATOM_DIR_CHANGE, .proc/rotate)
listeningTo = user
user.visible_message("[user] holds [src] up to [user.p_their()] eyes.", "You hold [src] up to your eyes.")
- item_state = "binoculars_wielded"
+ inhand_icon_state = "binoculars_wielded"
user.regenerate_icons()
user.client.view_size.zoomOut(zoom_out_amt, zoom_amt, user.dir)
@@ -48,6 +48,6 @@
UnregisterSignal(user, COMSIG_ATOM_DIR_CHANGE)
listeningTo = null
user.visible_message("[user] lowers [src].", "You lower [src].")
- item_state = "binoculars"
+ inhand_icon_state = "binoculars"
user.regenerate_icons()
user.client.view_size.zoomIn()
diff --git a/code/game/objects/items/candle.dm b/code/game/objects/items/candle.dm
index b0175c5dcd0..6c9f621a38c 100644
--- a/code/game/objects/items/candle.dm
+++ b/code/game/objects/items/candle.dm
@@ -5,7 +5,7 @@
humankind. The jewelry he kept for himself."
icon = 'icons/obj/candle.dmi'
icon_state = "candle1"
- item_state = "candle1"
+ inhand_icon_state = "candle1"
w_class = WEIGHT_CLASS_TINY
light_color = LIGHT_COLOR_FIRE
heat = 1000
diff --git a/code/game/objects/items/cards_ids.dm b/code/game/objects/items/cards_ids.dm
index ada873bacd7..23e791bd1b1 100644
--- a/code/game/objects/items/cards_ids.dm
+++ b/code/game/objects/items/cards_ids.dm
@@ -32,7 +32,7 @@
var/function = "storage"
var/data = "null"
var/special = null
- item_state = "card-id"
+ inhand_icon_state = "card-id"
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
var/detail_color = COLOR_ASSEMBLY_ORANGE
@@ -65,7 +65,7 @@
name = "identification card"
desc = "A card used to provide ID and determine access across the station."
icon_state = "id"
- item_state = "card-id"
+ inhand_icon_state = "card-id"
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
slot_flags = ITEM_SLOT_ID
@@ -316,7 +316,7 @@ update_label()
id_type_name = "silver identification card"
desc = "A silver card which shows honour and dedication."
icon_state = "silver"
- item_state = "silver_id"
+ inhand_icon_state = "silver_id"
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
@@ -331,7 +331,7 @@ update_label()
id_type_name = "gold identification card"
desc = "A golden card which shows power and might."
icon_state = "gold"
- item_state = "gold_id"
+ inhand_icon_state = "gold_id"
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
@@ -465,7 +465,7 @@ update_label()
id_type_name = "captain's spare ID"
desc = "The spare ID of the High Lord himself."
icon_state = "gold"
- item_state = "gold_id"
+ inhand_icon_state = "gold_id"
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
registered_name = "Captain"
@@ -593,7 +593,7 @@ update_label()
id_type_name = "prisoner ID card"
desc = "You are a number, you are not a free man."
icon_state = "orange"
- item_state = "orange-id"
+ inhand_icon_state = "orange-id"
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
assignment = "Prisoner"
diff --git a/code/game/objects/items/charter.dm b/code/game/objects/items/charter.dm
index 5729c63ca22..1ac7d514dfb 100644
--- a/code/game/objects/items/charter.dm
+++ b/code/game/objects/items/charter.dm
@@ -99,7 +99,7 @@
icon = 'icons/obj/banner.dmi'
name_type = "planet"
icon_state = "banner"
- item_state = "banner"
+ inhand_icon_state = "banner"
lefthand_file = 'icons/mob/inhands/equipment/banners_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/banners_righthand.dmi'
desc = "A cunning device used to claim ownership of planets."
diff --git a/code/game/objects/items/chrono_eraser.dm b/code/game/objects/items/chrono_eraser.dm
index c385be7b793..f6ec8db4fad 100644
--- a/code/game/objects/items/chrono_eraser.dm
+++ b/code/game/objects/items/chrono_eraser.dm
@@ -5,7 +5,7 @@
desc = "The result of outlawed time-bluespace research, this device is capable of wiping a being from the timestream. They never are, they never were, they never will be."
icon = 'icons/obj/chronos.dmi'
icon_state = "chronobackpack"
- item_state = "backpack"
+ inhand_icon_state = "backpack"
lefthand_file = 'icons/mob/inhands/equipment/backpack_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/backpack_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
@@ -46,7 +46,7 @@
desc = "It's as if they never existed in the first place."
icon = 'icons/obj/chronos.dmi'
icon_state = "chronogun"
- item_state = "chronogun"
+ inhand_icon_state = "chronogun"
w_class = WEIGHT_CLASS_NORMAL
item_flags = DROPDEL
ammo_type = list(/obj/item/ammo_casing/energy/chrono_beam)
diff --git a/code/game/objects/items/cigs_lighters.dm b/code/game/objects/items/cigs_lighters.dm
index 413e743c1d1..91f214a1d89 100644
--- a/code/game/objects/items/cigs_lighters.dm
+++ b/code/game/objects/items/cigs_lighters.dm
@@ -45,7 +45,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
damtype = "fire"
force = 3
hitsound = 'sound/items/welder.ogg'
- item_state = "cigon"
+ inhand_icon_state = "cigon"
name = "lit [initial(name)]"
desc = "A [initial(name)]. This one is lit."
attack_verb = list("burnt","singed")
@@ -59,7 +59,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
damtype = "brute"
force = initial(force)
icon_state = "match_burnt"
- item_state = "cigoff"
+ inhand_icon_state = "cigoff"
name = "burnt [initial(name)]"
desc = "A [initial(name)]. This one has seen better days."
attack_verb = list("flicked")
@@ -116,7 +116,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
desc = "A roll of tobacco and nicotine."
icon_state = "cigoff"
throw_speed = 0.5
- item_state = "cigoff"
+ inhand_icon_state = "cigoff"
w_class = WEIGHT_CLASS_TINY
body_parts_covered = null
grind_results = list()
@@ -179,7 +179,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
return
if(!(flags_1 & INITIALIZED_1))
icon_state = icon_on
- item_state = icon_on
+ inhand_icon_state = icon_on
return
lit = TRUE
@@ -204,7 +204,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
reagents.flags &= ~(NO_REACT)
reagents.handle_reactions()
icon_state = icon_on
- item_state = icon_on
+ inhand_icon_state = icon_on
if(flavor_text)
var/turf/T = get_turf(src)
T.visible_message(flavor_text)
@@ -225,7 +225,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
damtype = BRUTE
force = 0
icon_state = icon_off
- item_state = icon_off
+ inhand_icon_state = icon_off
STOP_PROCESSING(SSobj, src)
reagents.flags |= NO_REACT
lit = FALSE
@@ -360,7 +360,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
icon_off = "spliffoff"
type_butt = /obj/item/cigbutt/roach
throw_speed = 0.5
- item_state = "spliffoff"
+ inhand_icon_state = "spliffoff"
smoketime = 120 // four minutes
chem_volume = 50
list_reagents = null
@@ -430,7 +430,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
smoketime = 120
icon_on = "candyon"
icon_off = "candyoff" //make sure to add positional sprites in icons/obj/cigarettes.dmi if you add more.
- item_state = "candyoff"
+ inhand_icon_state = "candyoff"
icon_state = "candyoff"
type_butt = /obj/item/reagent_containers/food/snacks/candy_trash
list_reagents = list(/datum/reagent/consumable/sugar = 10, /datum/reagent/consumable/caramel = 10)
@@ -463,7 +463,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
icon_off = "cigaroff" //make sure to add positional sprites in icons/obj/cigarettes.dmi if you add more.
type_butt = /obj/item/cigbutt/cigarbutt
throw_speed = 0.5
- item_state = "cigaroff"
+ inhand_icon_state = "cigaroff"
smoketime = 300 // 11 minutes
chem_volume = 40
list_reagents = list(/datum/reagent/drug/nicotine = 25)
@@ -509,7 +509,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
name = "smoking pipe"
desc = "A pipe, for smoking. Probably made of meerschaum or something."
icon_state = "pipeoff"
- item_state = "pipeoff"
+ inhand_icon_state = "pipeoff"
icon_on = "pipeon" //Note - these are in masks.dmi
icon_off = "pipeoff"
smoketime = 0
@@ -535,7 +535,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
to_chat(M, "Your [name] goes out.")
lit = 0
icon_state = icon_off
- item_state = icon_off
+ inhand_icon_state = icon_off
M.update_inv_wear_mask()
packeditem = 0
name = "empty [initial(name)]"
@@ -578,7 +578,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
user.visible_message("[user] puts out [src].", "You put out [src].")
lit = 0
icon_state = icon_off
- item_state = icon_off
+ inhand_icon_state = icon_off
STOP_PROCESSING(SSobj, src)
return
if(!lit && smoketime > 0)
@@ -594,7 +594,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
name = "corn cob pipe"
desc = "A nicotine delivery system popularized by folksy backwoodsmen and kept popular in the modern age and beyond by space hipsters. Can be loaded with objects."
icon_state = "cobpipeoff"
- item_state = "cobpipeoff"
+ inhand_icon_state = "cobpipeoff"
icon_on = "cobpipeon" //Note - these are in masks.dmi
icon_off = "cobpipeoff"
smoketime = 0
@@ -608,7 +608,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
desc = "The zippo."
icon = 'icons/obj/cigarettes.dmi'
icon_state = "zippo"
- item_state = "zippo"
+ inhand_icon_state = "zippo"
w_class = WEIGHT_CLASS_TINY
flags_1 = CONDUCT_1
slot_flags = ITEM_SLOT_BELT
@@ -833,7 +833,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
desc = "A classy and highly sophisticated electronic cigarette, for classy and dignified gentlemen. A warning label reads \"Warning: Do not fill with flammable materials.\""//<<< i'd vape to that.
icon = 'icons/obj/clothing/masks.dmi'
icon_state = "red_vape"
- item_state = null
+ inhand_icon_state = null
w_class = WEIGHT_CLASS_TINY
var/chem_volume = 100
var/vapetime = 0 //this so it won't puff out clouds every tick
@@ -852,7 +852,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
if(!param_color)
param_color = pick("red","blue","black","white","green","purple","yellow","orange")
icon_state = "[param_color]_vape"
- item_state = "[param_color]_vape"
+ inhand_icon_state = "[param_color]_vape"
/obj/item/clothing/mask/vape/attackby(obj/item/O, mob/user, params)
if(O.tool_behaviour == TOOL_SCREWDRIVER)
diff --git a/code/game/objects/items/circuitboards/circuitboard.dm b/code/game/objects/items/circuitboards/circuitboard.dm
index 6dc5db970d3..e2529aa1c5d 100644
--- a/code/game/objects/items/circuitboards/circuitboard.dm
+++ b/code/game/objects/items/circuitboards/circuitboard.dm
@@ -7,7 +7,7 @@
name = "circuit board"
icon = 'icons/obj/module.dmi'
icon_state = "id_mod"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
custom_materials = list(/datum/material/glass=1000)
diff --git a/code/game/objects/items/clown_items.dm b/code/game/objects/items/clown_items.dm
index 0200811a33f..50380e6badd 100644
--- a/code/game/objects/items/clown_items.dm
+++ b/code/game/objects/items/clown_items.dm
@@ -163,7 +163,7 @@
desc = "A horn off of a bicycle."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "bike_horn"
- item_state = "bike_horn"
+ inhand_icon_state = "bike_horn"
lefthand_file = 'icons/mob/inhands/equipment/horns_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/horns_righthand.dmi'
throwforce = 0
@@ -205,7 +205,7 @@
name = "golden bike horn"
desc = "Golden? Clearly, it's made with bananium! Honk!"
icon_state = "gold_horn"
- item_state = "gold_horn"
+ inhand_icon_state = "gold_horn"
var/flip_cooldown = 0
/obj/item/bikehorn/golden/attack()
diff --git a/code/game/objects/items/control_wand.dm b/code/game/objects/items/control_wand.dm
index b12cbd9995f..e5f2ce63d4b 100644
--- a/code/game/objects/items/control_wand.dm
+++ b/code/game/objects/items/control_wand.dm
@@ -4,7 +4,7 @@
/obj/item/door_remote
icon_state = "gangtool-white"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
icon = 'icons/obj/device.dmi'
diff --git a/code/game/objects/items/crayons.dm b/code/game/objects/items/crayons.dm
index 8fab41ecf24..7daabcb06c4 100644
--- a/code/game/objects/items/crayons.dm
+++ b/code/game/objects/items/crayons.dm
@@ -628,7 +628,7 @@
use_overlays = TRUE
paint_color = null
- item_state = "spraycan"
+ inhand_icon_state = "spraycan"
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
desc = "A metallic container containing tasty paint."
diff --git a/code/game/objects/items/debug_items.dm b/code/game/objects/items/debug_items.dm
index e800eaed684..e903398a68d 100644
--- a/code/game/objects/items/debug_items.dm
+++ b/code/game/objects/items/debug_items.dm
@@ -5,7 +5,7 @@
desc = "Spawn a human by aiming at a turf and clicking. Use in hand to change type."
icon = 'icons/obj/guns/magic.dmi'
icon_state = "nothingwand"
- item_state = "wand"
+ inhand_icon_state = "wand"
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
@@ -29,7 +29,7 @@
desc = "The original hypertool, born before them all. Use it in hand to unleash it's true power."
icon = 'icons/obj/device.dmi'
icon_state = "hypertool"
- item_state = "hypertool"
+ inhand_icon_state = "hypertool"
toolspeed = 0.1
tool_behaviour = null
diff --git a/code/game/objects/items/defib.dm b/code/game/objects/items/defib.dm
index bdd99549d69..d59b8e644fc 100644
--- a/code/game/objects/items/defib.dm
+++ b/code/game/objects/items/defib.dm
@@ -6,7 +6,7 @@
desc = "A device that delivers powerful shocks to detachable paddles that resuscitate incapacitated patients."
icon = 'icons/obj/defib.dmi'
icon_state = "defibunit"
- item_state = "defibunit"
+ inhand_icon_state = "defibunit"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
slot_flags = ITEM_SLOT_BACK
@@ -239,7 +239,7 @@
name = "compact defibrillator"
desc = "A belt-equipped defibrillator that can be rapidly deployed."
icon_state = "defibcompact"
- item_state = "defibcompact"
+ inhand_icon_state = "defibcompact"
w_class = WEIGHT_CLASS_NORMAL
slot_flags = ITEM_SLOT_BELT
@@ -256,7 +256,7 @@
name = "combat defibrillator"
desc = "A belt-equipped blood-red defibrillator. Can revive through spacesuits, has an experimental self-recharging battery, and can be utilized in combat via applying the paddles in a disarming or agressive manner."
icon_state = "defibcombat" //needs defib inhand sprites
- item_state = "defibcombat"
+ inhand_icon_state = "defibcombat"
combat = TRUE
safety = FALSE
cooldown_duration = 2.5 SECONDS
@@ -276,7 +276,7 @@
name = "elite Nanotrasen defibrillator"
desc = "A belt-equipped state-of-the-art defibrillator. Can revive through spacesuits, has an experimental self-recharging battery, and can be utilized in combat via applying the paddles in a disarming or agressive manner."
icon_state = "defibnt" //needs defib inhand sprites
- item_state = "defibnt"
+ inhand_icon_state = "defibnt"
paddle_type = /obj/item/shockpaddles/syndicate/nanotrasen
//paddles
@@ -286,7 +286,7 @@
desc = "A pair of plastic-gripped paddles with flat metal surfaces that are used to deliver powerful electric shocks."
icon = 'icons/obj/defib.dmi'
icon_state = "defibpaddles0"
- item_state = "defibpaddles0"
+ inhand_icon_state = "defibpaddles0"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
@@ -382,7 +382,7 @@
/obj/item/shockpaddles/update_icon_state()
icon_state = "[base_icon_state][wielded]"
- item_state = icon_state
+ inhand_icon_state = icon_state
if(cooldown)
icon_state = "[base_icon_state][wielded]_cooldown"
@@ -639,7 +639,7 @@
name = "cyborg defibrillator paddles"
icon = 'icons/obj/defib.dmi'
icon_state = "defibpaddles0"
- item_state = "defibpaddles0"
+ inhand_icon_state = "defibpaddles0"
req_defib = FALSE
/obj/item/shockpaddles/cyborg/attack(mob/M, mob/user)
@@ -660,14 +660,14 @@
combat = TRUE
icon = 'icons/obj/defib.dmi'
icon_state = "syndiepaddles0"
- item_state = "syndiepaddles0"
+ inhand_icon_state = "syndiepaddles0"
base_icon_state = "syndiepaddles"
/obj/item/shockpaddles/syndicate/nanotrasen
name = "elite nanotrasen defibrillator paddles"
desc = "A pair of paddles used to revive deceased ERT members. They possess both the ability to penetrate armor and to deliver powerful or disabling shocks offensively."
icon_state = "ntpaddles0"
- item_state = "ntpaddles0"
+ inhand_icon_state = "ntpaddles0"
base_icon_state = "ntpaddles"
/obj/item/shockpaddles/syndicate/cyborg
diff --git a/code/game/objects/items/devices/PDA/PDA.dm b/code/game/objects/items/devices/PDA/PDA.dm
index 023cb58e5bc..98c27f3fd22 100644
--- a/code/game/objects/items/devices/PDA/PDA.dm
+++ b/code/game/objects/items/devices/PDA/PDA.dm
@@ -16,7 +16,7 @@ GLOBAL_LIST_EMPTY(PDAs)
desc = "A portable microcomputer by Thinktronic Systems, LTD. Functionality determined by a preprogrammed ROM cartridge."
icon = 'icons/obj/pda.dmi'
icon_state = "pda"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
item_flags = NOBLUDGEON
diff --git a/code/game/objects/items/devices/PDA/cart.dm b/code/game/objects/items/devices/PDA/cart.dm
index a99241f2db0..3692934c154 100644
--- a/code/game/objects/items/devices/PDA/cart.dm
+++ b/code/game/objects/items/devices/PDA/cart.dm
@@ -21,7 +21,7 @@
desc = "A data cartridge for portable microcomputers."
icon = 'icons/obj/pda.dmi'
icon_state = "cart"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_TINY
diff --git a/code/game/objects/items/devices/aicard.dm b/code/game/objects/items/devices/aicard.dm
index ee9730d8601..1cc4c21d631 100644
--- a/code/game/objects/items/devices/aicard.dm
+++ b/code/game/objects/items/devices/aicard.dm
@@ -3,7 +3,7 @@
desc = "A storage device for AIs. Patent pending."
icon = 'icons/obj/aicards.dmi'
icon_state = "aicard" // aicard-full
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/game/objects/items/devices/anomaly_neutralizer.dm b/code/game/objects/items/devices/anomaly_neutralizer.dm
index ca018a041fd..387331b9a7d 100644
--- a/code/game/objects/items/devices/anomaly_neutralizer.dm
+++ b/code/game/objects/items/devices/anomaly_neutralizer.dm
@@ -3,7 +3,7 @@
desc = "A one-use device capable of instantly neutralizing anomalies."
icon = 'icons/obj/device.dmi'
icon_state = "memorizer2"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/game/objects/items/devices/beacon.dm b/code/game/objects/items/devices/beacon.dm
index e868ec07b66..db801e54388 100644
--- a/code/game/objects/items/devices/beacon.dm
+++ b/code/game/objects/items/devices/beacon.dm
@@ -3,7 +3,7 @@
desc = "A beacon used by a teleporter."
icon = 'icons/obj/device.dmi'
icon_state = "beacon"
- item_state = "beacon"
+ inhand_icon_state = "beacon"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
var/enabled = TRUE
@@ -13,7 +13,7 @@
. = ..()
if (enabled)
GLOB.teleportbeacons += src
- else
+ else
icon_state = "beacon-off"
/obj/item/beacon/Destroy()
@@ -25,7 +25,7 @@
if (enabled)
icon_state = "beacon"
GLOB.teleportbeacons += src
- else
+ else
icon_state = "beacon-off"
GLOB.teleportbeacons.Remove(src)
to_chat(user, "You [enabled ? "enable" : "disable"] the beacon.")
@@ -40,5 +40,5 @@
name = new_name
renamed = TRUE
return
- else
+ else
return ..()
diff --git a/code/game/objects/items/devices/camera_bug.dm b/code/game/objects/items/devices/camera_bug.dm
index 92a8a0c2469..31ffbe53b0e 100644
--- a/code/game/objects/items/devices/camera_bug.dm
+++ b/code/game/objects/items/devices/camera_bug.dm
@@ -11,7 +11,7 @@
icon = 'icons/obj/device.dmi'
icon_state = "camera_bug"
w_class = WEIGHT_CLASS_TINY
- item_state = "camera_bug"
+ inhand_icon_state = "camera_bug"
throw_speed = 4
throw_range = 20
item_flags = NOBLUDGEON
diff --git a/code/game/objects/items/devices/chameleonproj.dm b/code/game/objects/items/devices/chameleonproj.dm
index ed492728c56..e604ce32752 100644
--- a/code/game/objects/items/devices/chameleonproj.dm
+++ b/code/game/objects/items/devices/chameleonproj.dm
@@ -5,7 +5,7 @@
flags_1 = CONDUCT_1
item_flags = NOBLUDGEON
slot_flags = ITEM_SLOT_BELT
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
throwforce = 5
diff --git a/code/game/objects/items/devices/desynchronizer.dm b/code/game/objects/items/devices/desynchronizer.dm
index f5b7cd58fdd..d60ef6adc11 100644
--- a/code/game/objects/items/devices/desynchronizer.dm
+++ b/code/game/objects/items/devices/desynchronizer.dm
@@ -3,7 +3,7 @@
desc = "An experimental device that can temporarily desynchronize the user from spacetime, effectively making them disappear while it's active."
icon = 'icons/obj/device.dmi'
icon_state = "desynchronizer"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
w_class = WEIGHT_CLASS_SMALL
item_flags = NOBLUDGEON
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
diff --git a/code/game/objects/items/devices/flashlight.dm b/code/game/objects/items/devices/flashlight.dm
index c39fda08998..eb190a75df4 100644
--- a/code/game/objects/items/devices/flashlight.dm
+++ b/code/game/objects/items/devices/flashlight.dm
@@ -4,7 +4,7 @@
custom_price = 100
icon = 'icons/obj/lighting.dmi'
icon_state = "flashlight"
- item_state = "flashlight"
+ inhand_icon_state = "flashlight"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
@@ -165,7 +165,7 @@
name = "penlight"
desc = "A pen-sized light, used by medical staff. It can also be used to create a hologram to alert people of incoming medical assistance."
icon_state = "penlight"
- item_state = ""
+ inhand_icon_state = ""
flags_1 = CONDUCT_1
brightness_on = 2
var/holo_cooldown = 0
@@ -199,7 +199,7 @@
name = "seclite"
desc = "A robust flashlight used by security."
icon_state = "seclite"
- item_state = "seclite"
+ inhand_icon_state = "seclite"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
force = 9 // Not as good as a stun baton.
@@ -211,7 +211,7 @@
name = "desk lamp"
desc = "A desk lamp with an adjustable mount."
icon_state = "lamp"
- item_state = "lamp"
+ inhand_icon_state = "lamp"
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
force = 10
@@ -226,7 +226,7 @@
/obj/item/flashlight/lamp/green
desc = "A classic green-shaded desk lamp."
icon_state = "lampgreen"
- item_state = "lampgreen"
+ inhand_icon_state = "lampgreen"
@@ -243,7 +243,7 @@
name = "banana lamp"
desc = "Only a clown would think to make a ghetto banana-shaped lamp. Even has a goofy pullstring."
icon_state = "bananalamp"
- item_state = "bananalamp"
+ inhand_icon_state = "bananalamp"
// FLARES
@@ -253,7 +253,7 @@
w_class = WEIGHT_CLASS_SMALL
brightness_on = 7 // Pretty bright.
icon_state = "flare"
- item_state = "flare"
+ inhand_icon_state = "flare"
actions_types = list()
var/fuel = 0
var/on_damage = 7
@@ -291,9 +291,9 @@
/obj/item/flashlight/flare/update_brightness(mob/user = null)
..()
if(on)
- item_state = "[initial(item_state)]-on"
+ inhand_icon_state = "[initial(inhand_icon_state)]-on"
else
- item_state = "[initial(item_state)]"
+ inhand_icon_state = "[initial(inhand_icon_state)]"
/obj/item/flashlight/flare/attack_self(mob/user)
@@ -322,7 +322,7 @@
w_class = WEIGHT_CLASS_BULKY
brightness_on = 4
icon_state = "torch"
- item_state = "torch"
+ inhand_icon_state = "torch"
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
light_color = LIGHT_COLOR_ORANGE
@@ -332,7 +332,7 @@
/obj/item/flashlight/lantern
name = "lantern"
icon_state = "lantern"
- item_state = "lantern"
+ inhand_icon_state = "lantern"
lefthand_file = 'icons/mob/inhands/equipment/mining_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/mining_righthand.dmi'
desc = "A mining lantern."
@@ -347,7 +347,7 @@
name = "suspicious lantern"
desc = "A suspicious looking lantern."
icon_state = "syndilantern"
- item_state = "syndilantern"
+ inhand_icon_state = "syndilantern"
brightness_on = 10
/obj/item/flashlight/lantern/jade
@@ -362,7 +362,7 @@
desc = "Extract from a yellow slime. It emits a strong light when squeezed."
icon = 'icons/obj/lighting.dmi'
icon_state = "slime"
- item_state = "slime"
+ inhand_icon_state = "slime"
w_class = WEIGHT_CLASS_SMALL
slot_flags = ITEM_SLOT_BELT
custom_materials = null
@@ -430,7 +430,7 @@
brightness_on = 4
color = LIGHT_COLOR_GREEN
icon_state = "glowstick"
- item_state = "glowstick"
+ inhand_icon_state = "glowstick"
grind_results = list(/datum/reagent/phenol = 15, /datum/reagent/hydrogen = 10, /datum/reagent/oxygen = 5) //Meth-in-a-stick
var/fuel = 0
@@ -455,7 +455,7 @@
update_icon()
/obj/item/flashlight/glowstick/update_icon()
- item_state = "glowstick"
+ inhand_icon_state = "glowstick"
cut_overlays()
if(!fuel)
icon_state = "glowstick-empty"
@@ -465,7 +465,7 @@
var/mutable_appearance/glowstick_overlay = mutable_appearance(icon, "glowstick-glow")
glowstick_overlay.color = color
add_overlay(glowstick_overlay)
- item_state = "glowstick-on"
+ inhand_icon_state = "glowstick-on"
set_light(brightness_on)
else
icon_state = "glowstick"
@@ -548,7 +548,7 @@
name = "flashdark"
desc = "A strange device manufactured with mysterious elements that somehow emits darkness. Or maybe it just sucks in light? Nobody knows for sure."
icon_state = "flashdark"
- item_state = "flashdark"
+ inhand_icon_state = "flashdark"
brightness_on = 2.5
flashlight_power = -3
diff --git a/code/game/objects/items/devices/forcefieldprojector.dm b/code/game/objects/items/devices/forcefieldprojector.dm
index 3126977722e..9f76ab17f2f 100644
--- a/code/game/objects/items/devices/forcefieldprojector.dm
+++ b/code/game/objects/items/devices/forcefieldprojector.dm
@@ -6,7 +6,7 @@
slot_flags = ITEM_SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
item_flags = NOBLUDGEON
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
custom_materials = list(/datum/material/iron=250, /datum/material/glass=500)
diff --git a/code/game/objects/items/devices/geiger_counter.dm b/code/game/objects/items/devices/geiger_counter.dm
index e6920d17fff..76c101c94b9 100644
--- a/code/game/objects/items/devices/geiger_counter.dm
+++ b/code/game/objects/items/devices/geiger_counter.dm
@@ -13,7 +13,7 @@
desc = "A handheld device used for detecting and measuring radiation pulses."
icon = 'icons/obj/device.dmi'
icon_state = "geiger_off"
- item_state = "multitool"
+ inhand_icon_state = "multitool"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/game/objects/items/devices/instruments.dm b/code/game/objects/items/devices/instruments.dm
index 985a372d99a..2a2acd63fad 100644
--- a/code/game/objects/items/devices/instruments.dm
+++ b/code/game/objects/items/devices/instruments.dm
@@ -55,7 +55,7 @@
name = "space violin"
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_state = "violin"
- item_state = "violin"
+ inhand_icon_state = "violin"
hitsound = "swing_hit"
instrumentId = "violin"
@@ -63,14 +63,14 @@
name = "golden violin"
desc = "A golden musical instrument with four strings and a bow. \"The devil went down to space, he was looking for an assistant to grief.\""
icon_state = "golden_violin"
- item_state = "golden_violin"
+ inhand_icon_state = "golden_violin"
resistance_flags = LAVA_PROOF | FIRE_PROOF | ACID_PROOF
/obj/item/instrument/piano_synth
name = "synthesizer"
desc = "An advanced electronic synthesizer that can be used as various instruments."
icon_state = "synth"
- item_state = "synth"
+ inhand_icon_state = "synth"
instrumentId = "piano"
instrumentExt = "ogg"
var/static/list/insTypes = list("accordion" = "mid", "bikehorn" = "ogg", "glockenspiel" = "mid", "banjo" = "ogg", "guitar" = "ogg", "harmonica" = "mid", "piano" = "ogg", "recorder" = "mid", "saxophone" = "mid", "trombone" = "mid", "violin" = "mid", "xylophone" = "mid") //No eguitar you ear-rapey fuckers.
@@ -93,7 +93,7 @@
lefthand_file = 'icons/mob/inhands/clothing_lefthand.dmi'
righthand_file = 'icons/mob/inhands/clothing_righthand.dmi'
icon_state = "headphones"
- item_state = "headphones"
+ inhand_icon_state = "headphones"
slot_flags = ITEM_SLOT_EARS | ITEM_SLOT_HEAD
force = 0
w_class = WEIGHT_CLASS_SMALL
@@ -118,7 +118,7 @@
name = "\improper Nanotrasen space pods"
desc = "Flex your money, AND ignore what everyone else says, all at once!"
icon_state = "spacepods"
- item_state = "spacepods"
+ inhand_icon_state = "spacepods"
slot_flags = ITEM_SLOT_EARS
strip_delay = 100 //air pods don't fall out
instrumentRange = 0 //you're paying for quality here
@@ -128,7 +128,7 @@
name = "banjo"
desc = "A 'Mura' brand banjo. It's pretty much just a drum with a neck and strings."
icon_state = "banjo"
- item_state = "banjo"
+ inhand_icon_state = "banjo"
instrumentExt = "ogg"
attack_verb = list("scruggs-styled", "hum-diggitied", "shin-digged", "clawhammered")
hitsound = 'sound/weapons/banjoslap.ogg'
@@ -138,7 +138,7 @@
name = "guitar"
desc = "It's made out of wood and has bronze strings."
icon_state = "guitar"
- item_state = "guitar"
+ inhand_icon_state = "guitar"
instrumentExt = "ogg"
attack_verb = list("played metal on", "serenaded", "crashed", "smashed")
hitsound = 'sound/weapons/stringsmash.ogg'
@@ -148,7 +148,7 @@
name = "electric guitar"
desc = "Makes all your shredding needs possible."
icon_state = "eguitar"
- item_state = "eguitar"
+ inhand_icon_state = "eguitar"
force = 12
attack_verb = list("played metal on", "shredded", "crashed", "smashed")
hitsound = 'sound/weapons/stringsmash.ogg'
@@ -159,28 +159,28 @@
name = "glockenspiel"
desc = "Smooth metal bars perfect for any marching band."
icon_state = "glockenspiel"
- item_state = "glockenspiel"
+ inhand_icon_state = "glockenspiel"
instrumentId = "glockenspiel"
/obj/item/instrument/accordion
name = "accordion"
desc = "Pun-Pun not included."
icon_state = "accordion"
- item_state = "accordion"
+ inhand_icon_state = "accordion"
instrumentId = "accordion"
/obj/item/instrument/trumpet
name = "trumpet"
desc = "To announce the arrival of the king!"
icon_state = "trumpet"
- item_state = "trumpet"
+ inhand_icon_state = "trumpet"
instrumentId = "trombone"
/obj/item/instrument/trumpet/spectral
name = "spectral trumpet"
desc = "Things are about to get spooky!"
icon_state = "spectral_trumpet"
- item_state = "spectral_trumpet"
+ inhand_icon_state = "spectral_trumpet"
force = 0
instrumentId = "trombone"
attack_verb = list("played","jazzed","trumpeted","mourned","dooted","spooked")
@@ -197,14 +197,14 @@
name = "saxophone"
desc = "This soothing sound will be sure to leave your audience in tears."
icon_state = "saxophone"
- item_state = "saxophone"
+ inhand_icon_state = "saxophone"
instrumentId = "saxophone"
/obj/item/instrument/saxophone/spectral
name = "spectral saxophone"
desc = "This spooky sound will be sure to leave mortals in bones."
icon_state = "saxophone"
- item_state = "saxophone"
+ inhand_icon_state = "saxophone"
instrumentId = "saxophone"
force = 0
attack_verb = list("played","jazzed","saxxed","mourned","dooted","spooked")
@@ -221,7 +221,7 @@
name = "trombone"
desc = "How can any pool table ever hope to compete?"
icon_state = "trombone"
- item_state = "trombone"
+ inhand_icon_state = "trombone"
instrumentId = "trombone"
/obj/item/instrument/trombone/spectral
@@ -229,7 +229,7 @@
desc = "A skeleton's favorite instrument. Apply directly on the mortals."
instrumentId = "trombone"
icon_state = "trombone"
- item_state = "trombone"
+ inhand_icon_state = "trombone"
force = 0
attack_verb = list("played","jazzed","tromboned","mourned","dooted","spooked")
@@ -246,14 +246,14 @@
desc = "Just like in school, playing ability and all."
force = 5
icon_state = "recorder"
- item_state = "recorder"
+ inhand_icon_state = "recorder"
instrumentId = "recorder"
/obj/item/instrument/harmonica
name = "harmonica"
desc = "For when you get a bad case of the space blues."
icon_state = "harmonica"
- item_state = "harmonica"
+ inhand_icon_state = "harmonica"
instrumentId = "harmonica"
slot_flags = ITEM_SLOT_MASK
force = 5
@@ -277,7 +277,7 @@
name = "gilded bike horn"
desc = "An exquisitely decorated bike horn, capable of honking in a variety of notes."
icon_state = "bike_horn"
- item_state = "bike_horn"
+ inhand_icon_state = "bike_horn"
lefthand_file = 'icons/mob/inhands/equipment/horns_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/horns_righthand.dmi'
attack_verb = list("beautifully honks")
diff --git a/code/game/objects/items/devices/laserpointer.dm b/code/game/objects/items/devices/laserpointer.dm
index 5e8db504704..08b458c5201 100644
--- a/code/game/objects/items/devices/laserpointer.dm
+++ b/code/game/objects/items/devices/laserpointer.dm
@@ -3,7 +3,7 @@
desc = "Don't shine it in your eyes!"
icon = 'icons/obj/device.dmi'
icon_state = "pointer"
- item_state = "pen"
+ inhand_icon_state = "pen"
var/pointer_icon_state
flags_1 = CONDUCT_1
item_flags = NOBLUDGEON
diff --git a/code/game/objects/items/devices/lightreplacer.dm b/code/game/objects/items/devices/lightreplacer.dm
index 5dd9c4db557..662fe1e4da3 100644
--- a/code/game/objects/items/devices/lightreplacer.dm
+++ b/code/game/objects/items/devices/lightreplacer.dm
@@ -45,7 +45,7 @@
icon = 'icons/obj/janitor.dmi'
icon_state = "lightreplacer0"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/game/objects/items/devices/megaphone.dm b/code/game/objects/items/devices/megaphone.dm
index 5b07f0c0032..149fd3fe41f 100644
--- a/code/game/objects/items/devices/megaphone.dm
+++ b/code/game/objects/items/devices/megaphone.dm
@@ -3,7 +3,7 @@
desc = "A device used to project your voice. Loudly."
icon = 'icons/obj/device.dmi'
icon_state = "megaphone"
- item_state = "megaphone"
+ inhand_icon_state = "megaphone"
lefthand_file = 'icons/mob/inhands/misc/megaphone_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/megaphone_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
@@ -47,21 +47,21 @@
/obj/item/megaphone/sec
name = "security megaphone"
icon_state = "megaphone-sec"
- item_state = "megaphone-sec"
+ inhand_icon_state = "megaphone-sec"
/obj/item/megaphone/command
name = "command megaphone"
icon_state = "megaphone-command"
- item_state = "megaphone-command"
+ inhand_icon_state = "megaphone-command"
/obj/item/megaphone/cargo
name = "supply megaphone"
icon_state = "megaphone-cargo"
- item_state = "megaphone-cargo"
+ inhand_icon_state = "megaphone-cargo"
/obj/item/megaphone/clown
name = "clown's megaphone"
desc = "Something that should not exist."
icon_state = "megaphone-clown"
- item_state = "megaphone-clown"
+ inhand_icon_state = "megaphone-clown"
voicespan = list(SPAN_CLOWN)
diff --git a/code/game/objects/items/devices/multitool.dm b/code/game/objects/items/devices/multitool.dm
index 2f01e211ff1..6a024139869 100644
--- a/code/game/objects/items/devices/multitool.dm
+++ b/code/game/objects/items/devices/multitool.dm
@@ -15,7 +15,7 @@
desc = "Used for pulsing wires to test which to cut. Not recommended by doctors."
icon = 'icons/obj/device.dmi'
icon_state = "multitool"
- item_state = "multitool"
+ inhand_icon_state = "multitool"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
force = 5
diff --git a/code/game/objects/items/devices/paicard.dm b/code/game/objects/items/devices/paicard.dm
index 7f8b7498540..05a0bcecea0 100644
--- a/code/game/objects/items/devices/paicard.dm
+++ b/code/game/objects/items/devices/paicard.dm
@@ -2,7 +2,7 @@
name = "personal AI device"
icon = 'icons/obj/aicards.dmi'
icon_state = "pai"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/game/objects/items/devices/pipe_painter.dm b/code/game/objects/items/devices/pipe_painter.dm
index 3bd41cae8e8..ebb503a940b 100644
--- a/code/game/objects/items/devices/pipe_painter.dm
+++ b/code/game/objects/items/devices/pipe_painter.dm
@@ -2,7 +2,7 @@
name = "pipe painter"
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "labeler1"
- item_state = "flight"
+ inhand_icon_state = "flight"
item_flags = NOBLUDGEON
var/paint_color = "grey"
diff --git a/code/game/objects/items/devices/polycircuit.dm b/code/game/objects/items/devices/polycircuit.dm
index 0415f845207..3cd2cedeec1 100644
--- a/code/game/objects/items/devices/polycircuit.dm
+++ b/code/game/objects/items/devices/polycircuit.dm
@@ -2,7 +2,7 @@
name = "polycircuit aggregate"
desc = "A dense, overdesigned cluster of electronics which attempted to function as a multipurpose circuit electronic. Circuits can be removed from it... if you don't bleed out in the process."
icon_state = "circuit_mess"
- item_state = "rods"
+ inhand_icon_state = "rods"
w_class = WEIGHT_CLASS_TINY
max_amount = 8
var/circuit_type = /obj/item/electronics/airlock
diff --git a/code/game/objects/items/devices/powersink.dm b/code/game/objects/items/devices/powersink.dm
index e02f79d3170..b6bede4cc31 100644
--- a/code/game/objects/items/devices/powersink.dm
+++ b/code/game/objects/items/devices/powersink.dm
@@ -5,7 +5,7 @@
desc = "A nulling power sink which drains energy from electrical systems."
icon = 'icons/obj/device.dmi'
icon_state = "powersink0"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
diff --git a/code/game/objects/items/devices/pressureplates.dm b/code/game/objects/items/devices/pressureplates.dm
index 50b105220dd..6350591ead0 100644
--- a/code/game/objects/items/devices/pressureplates.dm
+++ b/code/game/objects/items/devices/pressureplates.dm
@@ -2,7 +2,7 @@
name = "pressure plate"
desc = "An electronic device that triggers when stepped on. Ctrl-Click to toggle the pressure plate off and on."
icon = 'icons/obj/puzzle_small.dmi'
- item_state = "flash"
+ inhand_icon_state = "flash"
icon_state = "pressureplate"
layer = LOW_OBJ_LAYER
var/trigger_mob = TRUE
diff --git a/code/game/objects/items/devices/quantum_keycard.dm b/code/game/objects/items/devices/quantum_keycard.dm
index 3a4dd7177c8..25ea0b69029 100644
--- a/code/game/objects/items/devices/quantum_keycard.dm
+++ b/code/game/objects/items/devices/quantum_keycard.dm
@@ -3,7 +3,7 @@
desc = "A keycard able to link to a quantum pad's particle signature, allowing other quantum pads to travel there instead of their linked pad."
icon = 'icons/obj/device.dmi'
icon_state = "quantum_keycard"
- item_state = "card-id"
+ inhand_icon_state = "card-id"
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
w_class = WEIGHT_CLASS_TINY
diff --git a/code/game/objects/items/devices/radio/electropack.dm b/code/game/objects/items/devices/radio/electropack.dm
index f574aaea16b..455518e13ab 100644
--- a/code/game/objects/items/devices/radio/electropack.dm
+++ b/code/game/objects/items/devices/radio/electropack.dm
@@ -3,7 +3,7 @@
desc = "Dance my monkeys! DANCE!!!"
icon = 'icons/obj/radio.dmi'
icon_state = "electropack0"
- item_state = "electropack"
+ inhand_icon_state = "electropack"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
flags_1 = CONDUCT_1
diff --git a/code/game/objects/items/devices/radio/headset.dm b/code/game/objects/items/devices/radio/headset.dm
index e36247388d1..14eaa949d9f 100644
--- a/code/game/objects/items/devices/radio/headset.dm
+++ b/code/game/objects/items/devices/radio/headset.dm
@@ -18,7 +18,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
name = "radio headset"
desc = "An updated, modular intercom that fits over the head. Takes encryption keys."
icon_state = "headset"
- item_state = "headset"
+ inhand_icon_state = "headset"
custom_materials = list(/datum/material/iron=75)
subspace_transmission = TRUE
canhear_range = 0 // can't hear headsets from very far away
@@ -84,7 +84,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
name = "syndicate headset"
desc = "A syndicate headset that can be used to hear all radio frequencies. Protects ears from flashbangs."
icon_state = "syndie_headset"
- item_state = "syndie_headset"
+ inhand_icon_state = "syndie_headset"
/obj/item/radio/headset/syndicate/alt/ComponentInitialize()
. = ..()
@@ -115,7 +115,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
name = "security bowman headset"
desc = "This is used by your elite security force. Protects ears from flashbangs."
icon_state = "sec_headset_alt"
- item_state = "sec_headset_alt"
+ inhand_icon_state = "sec_headset_alt"
/obj/item/radio/headset/headset_sec/alt/ComponentInitialize()
. = ..()
@@ -182,7 +182,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
name = "\proper the captain's bowman headset"
desc = "The headset of the boss. Protects ears from flashbangs."
icon_state = "com_headset_alt"
- item_state = "com_headset_alt"
+ inhand_icon_state = "com_headset_alt"
/obj/item/radio/headset/heads/captain/alt/ComponentInitialize()
. = ..()
@@ -204,7 +204,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
name = "\proper the head of security's bowman headset"
desc = "The headset of the man in charge of keeping order and protecting the station. Protects ears from flashbangs."
icon_state = "com_headset_alt"
- item_state = "com_headset_alt"
+ inhand_icon_state = "com_headset_alt"
/obj/item/radio/headset/heads/hos/ComponentInitialize()
. = ..()
@@ -264,7 +264,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
name = "\improper CentCom bowman headset"
desc = "A headset especially for emergency response personnel. Protects ears from flashbangs."
icon_state = "cent_headset_alt"
- item_state = "cent_headset_alt"
+ inhand_icon_state = "cent_headset_alt"
keyslot = null
/obj/item/radio/headset/headset_cent/alt/ComponentInitialize()
diff --git a/code/game/objects/items/devices/radio/radio.dm b/code/game/objects/items/devices/radio/radio.dm
index 27ced35fd6c..fd4ab05e364 100644
--- a/code/game/objects/items/devices/radio/radio.dm
+++ b/code/game/objects/items/devices/radio/radio.dm
@@ -2,7 +2,7 @@
icon = 'icons/obj/radio.dmi'
name = "station bounced radio"
icon_state = "walkietalkie"
- item_state = "walkietalkie"
+ inhand_icon_state = "walkietalkie"
desc = "A basic handheld radio that communicates with local telecommunication networks."
dog_fashion = /datum/dog_fashion/back
diff --git a/code/game/objects/items/devices/reverse_bear_trap.dm b/code/game/objects/items/devices/reverse_bear_trap.dm
index e04e2bdc422..f51f90cd789 100644
--- a/code/game/objects/items/devices/reverse_bear_trap.dm
+++ b/code/game/objects/items/devices/reverse_bear_trap.dm
@@ -9,7 +9,7 @@
w_class = WEIGHT_CLASS_NORMAL
obj_integrity = 300
max_integrity = 300
- item_state = "rack_parts"
+ inhand_icon_state = "rack_parts"
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
diff --git a/code/game/objects/items/devices/scanners.dm b/code/game/objects/items/devices/scanners.dm
index 2d25bc327f2..38521581842 100644
--- a/code/game/objects/items/devices/scanners.dm
+++ b/code/game/objects/items/devices/scanners.dm
@@ -26,7 +26,7 @@ GENE SCANNER
var/on = FALSE
slot_flags = ITEM_SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
custom_materials = list(/datum/material/iron=150)
@@ -80,7 +80,7 @@ GENE SCANNER
name = "health analyzer"
icon = 'icons/obj/device.dmi'
icon_state = "health"
- item_state = "healthanalyzer"
+ inhand_icon_state = "healthanalyzer"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
desc = "A hand-held body scanner capable of distinguishing vital signs of the subject."
@@ -401,7 +401,7 @@ GENE SCANNER
custom_price = 100
icon = 'icons/obj/device.dmi'
icon_state = "analyzer"
- item_state = "analyzer"
+ inhand_icon_state = "analyzer"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
@@ -579,7 +579,7 @@ GENE SCANNER
desc = "A device that analyzes a slime's internal composition and measures its stats."
icon = 'icons/obj/device.dmi'
icon_state = "adv_spectrometer"
- item_state = "analyzer"
+ inhand_icon_state = "analyzer"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
@@ -634,7 +634,7 @@ GENE SCANNER
name = "nanite scanner"
icon = 'icons/obj/device.dmi'
icon_state = "nanite_scanner"
- item_state = "nanite_remote"
+ inhand_icon_state = "nanite_remote"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
desc = "A hand-held body scanner able to detect nanites and their programming."
@@ -661,7 +661,7 @@ GENE SCANNER
name = "genetic sequence scanner"
icon = 'icons/obj/device.dmi'
icon_state = "gene"
- item_state = "healthanalyzer"
+ inhand_icon_state = "healthanalyzer"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
desc = "A hand-held scanner for analyzing someones gene sequence on the fly. Hold near a DNA console to update the internal database."
@@ -762,7 +762,7 @@ GENE SCANNER
name = "kiosk scanner wand"
icon = 'icons/obj/device.dmi'
icon_state = "scanner_wand"
- item_state = "healthanalyzer"
+ inhand_icon_state = "healthanalyzer"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
desc = "A wand for scanning someone else for a medical analysis. Insert into a kiosk is make the scanned patient the target of a health scan."
diff --git a/code/game/objects/items/devices/swapper.dm b/code/game/objects/items/devices/swapper.dm
index aab031c0e4a..7fdc96073ab 100644
--- a/code/game/objects/items/devices/swapper.dm
+++ b/code/game/objects/items/devices/swapper.dm
@@ -3,7 +3,7 @@
desc = "An experimental device that is able to swap the locations of two entities by switching their particles' spin values. Must be linked to another device to function."
icon = 'icons/obj/device.dmi'
icon_state = "swapper"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
w_class = WEIGHT_CLASS_SMALL
item_flags = NOBLUDGEON
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
diff --git a/code/game/objects/items/devices/taperecorder.dm b/code/game/objects/items/devices/taperecorder.dm
index 69541305d1f..f40f2e46c61 100644
--- a/code/game/objects/items/devices/taperecorder.dm
+++ b/code/game/objects/items/devices/taperecorder.dm
@@ -3,7 +3,7 @@
desc = "A device that can record to cassette tapes, and play them. It automatically translates the content in playback."
icon = 'icons/obj/device.dmi'
icon_state = "taperecorder_empty"
- item_state = "analyzer"
+ inhand_icon_state = "analyzer"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
@@ -234,7 +234,7 @@
desc = "A magnetic tape that can hold up to ten minutes of content."
icon_state = "tape_white"
icon = 'icons/obj/device.dmi'
- item_state = "analyzer"
+ inhand_icon_state = "analyzer"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_TINY
diff --git a/code/game/objects/items/devices/traitordevices.dm b/code/game/objects/items/devices/traitordevices.dm
index c5b09edaf1e..140a0d43ee7 100644
--- a/code/game/objects/items/devices/traitordevices.dm
+++ b/code/game/objects/items/devices/traitordevices.dm
@@ -25,7 +25,7 @@ effective or pretty fucking useless.
throw_speed = 3
throw_range = 7
flags_1 = CONDUCT_1
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
@@ -185,7 +185,7 @@ effective or pretty fucking useless.
desc = "Makes you invisible for short periods of time. Recharges in darkness."
icon = 'icons/obj/clothing/belts.dmi'
icon_state = "utilitybelt"
- item_state = "utility"
+ inhand_icon_state = "utility"
slot_flags = ITEM_SLOT_BELT
attack_verb = list("whipped", "lashed", "disciplined")
diff --git a/code/game/objects/items/devices/transfer_valve.dm b/code/game/objects/items/devices/transfer_valve.dm
index a800a9e49fb..a19d4030ace 100644
--- a/code/game/objects/items/devices/transfer_valve.dm
+++ b/code/game/objects/items/devices/transfer_valve.dm
@@ -2,7 +2,7 @@
icon = 'icons/obj/assemblies.dmi'
name = "tank transfer valve"
icon_state = "valve_1"
- item_state = "ttv"
+ inhand_icon_state = "ttv"
lefthand_file = 'icons/mob/inhands/weapons/bombs_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/bombs_righthand.dmi'
desc = "Regulates the transfer of air between two tanks."
diff --git a/code/game/objects/items/documents.dm b/code/game/objects/items/documents.dm
index 1172b50377a..0c1c6d8d80a 100644
--- a/code/game/objects/items/documents.dm
+++ b/code/game/objects/items/documents.dm
@@ -3,7 +3,7 @@
desc = "\"Top Secret\" documents."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "docs_generic"
- item_state = "paper"
+ inhand_icon_state = "paper"
throwforce = 0
w_class = WEIGHT_CLASS_TINY
throw_range = 1
diff --git a/code/game/objects/items/emags.dm b/code/game/objects/items/emags.dm
index 7d26fd243e3..c87e56638f9 100644
--- a/code/game/objects/items/emags.dm
+++ b/code/game/objects/items/emags.dm
@@ -11,7 +11,7 @@
desc = "It's a card with a magnetic strip attached to some circuitry."
name = "cryptographic sequencer"
icon_state = "emag"
- item_state = "card-id"
+ inhand_icon_state = "card-id"
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
item_flags = NO_MAT_REDEMPTION | NOBLUDGEON
@@ -33,7 +33,7 @@
desc = "It's a card with a magnetic strip attached to some circuitry. Closer inspection shows that this card is a poorly made replica, with a \"DonkCo\" logo stamped on the back."
name = "cryptographic sequencer"
icon_state = "emag"
- item_state = "card-id"
+ inhand_icon_state = "card-id"
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
@@ -72,7 +72,7 @@
desc = "Commonly known as a \"doorjack\", this device is a specialized cryptographic sequencer specifically designed to override station airlock access codes. Uses self-refilling charges to hack airlocks."
name = "airlock authentication override card"
icon_state = "doorjack"
- var/type_whitelist //List of types
+ var/type_whitelist //List of types
var/charges = 3
var/max_charges = 3
var/list/charge_timers = list()
diff --git a/code/game/objects/items/extinguisher.dm b/code/game/objects/items/extinguisher.dm
index 28276168b30..dfee23576ce 100644
--- a/code/game/objects/items/extinguisher.dm
+++ b/code/game/objects/items/extinguisher.dm
@@ -3,7 +3,7 @@
desc = "A traditional red fire extinguisher."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "fire_extinguisher0"
- item_state = "fire_extinguisher"
+ inhand_icon_state = "fire_extinguisher"
hitsound = 'sound/weapons/smash.ogg'
flags_1 = CONDUCT_1
throwforce = 10
@@ -30,7 +30,7 @@
name = "pocket fire extinguisher"
desc = "A light and compact fibreglass-framed model fire extinguisher."
icon_state = "miniFE0"
- item_state = "miniFE"
+ inhand_icon_state = "miniFE"
hitsound = null //it is much lighter, after all.
flags_1 = null //doesn't CONDUCT_1
throwforce = 2
@@ -53,7 +53,7 @@
name = "advanced fire extinguisher"
desc = "Used to stop thermonuclear fires from spreading inside your engine."
icon_state = "foam_extinguisher0"
- //item_state = "foam_extinguisher" needs sprite
+ //inhand_icon_state = "foam_extinguisher" needs sprite
dog_fashion = null
chem = /datum/reagent/firefighting_foam
tanktype = /obj/structure/reagent_dispensers/foamtank
diff --git a/code/game/objects/items/flamethrower.dm b/code/game/objects/items/flamethrower.dm
index 69649f8130e..881df2076e3 100644
--- a/code/game/objects/items/flamethrower.dm
+++ b/code/game/objects/items/flamethrower.dm
@@ -3,7 +3,7 @@
desc = "You are a firestarter!"
icon = 'icons/obj/flamethrower.dmi'
icon_state = "flamethrowerbase"
- item_state = "flamethrower_0"
+ inhand_icon_state = "flamethrower_0"
lefthand_file = 'icons/mob/inhands/weapons/flamethrower_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/flamethrower_righthand.dmi'
flags_1 = CONDUCT_1
@@ -56,7 +56,7 @@
/obj/item/flamethrower/update_icon_state()
- item_state = "flamethrower_[lit]"
+ inhand_icon_state = "flamethrower_[lit]"
/obj/item/flamethrower/update_overlays()
. = ..()
diff --git a/code/game/objects/items/gift.dm b/code/game/objects/items/gift.dm
index 6fd123bd33f..01d95c9fede 100644
--- a/code/game/objects/items/gift.dm
+++ b/code/game/objects/items/gift.dm
@@ -15,7 +15,7 @@ GLOBAL_LIST_EMPTY(possible_gifts)
desc = "PRESENTS!!!! eek!"
icon = 'icons/obj/storage.dmi'
icon_state = "giftdeliverypackage3"
- item_state = "gift"
+ inhand_icon_state = "gift"
resistance_flags = FLAMMABLE
var/obj/item/contains_type
@@ -105,7 +105,7 @@ GLOBAL_LIST_EMPTY(possible_gifts)
var/list/gift_types_list = subtypesof(/obj/item)
for(var/V in gift_types_list)
var/obj/item/I = V
- if((!initial(I.icon_state)) || (!initial(I.item_state)) || (initial(I.item_flags) & ABSTRACT))
+ if((!initial(I.icon_state)) || (!initial(I.inhand_icon_state)) || (initial(I.item_flags) & ABSTRACT))
gift_types_list -= V
GLOB.possible_gifts = gift_types_list
var/gift_type = pick(GLOB.possible_gifts)
diff --git a/code/game/objects/items/grenades/antigravity.dm b/code/game/objects/items/grenades/antigravity.dm
index b6700599a3e..5b3e89eda69 100644
--- a/code/game/objects/items/grenades/antigravity.dm
+++ b/code/game/objects/items/grenades/antigravity.dm
@@ -1,7 +1,7 @@
/obj/item/grenade/antigravity
name = "antigravity grenade"
icon_state = "emp"
- item_state = "emp"
+ inhand_icon_state = "emp"
var/range = 7
var/forced_value = 0
diff --git a/code/game/objects/items/grenades/chem_grenade.dm b/code/game/objects/items/grenades/chem_grenade.dm
index ed798621007..8d73bf3faf8 100644
--- a/code/game/objects/items/grenades/chem_grenade.dm
+++ b/code/game/objects/items/grenades/chem_grenade.dm
@@ -2,7 +2,7 @@
name = "chemical grenade"
desc = "A custom made grenade."
icon_state = "chemg"
- item_state = "flashbang"
+ inhand_icon_state = "flashbang"
w_class = WEIGHT_CLASS_SMALL
force = 2
var/stage = GRENADE_EMPTY
diff --git a/code/game/objects/items/grenades/emgrenade.dm b/code/game/objects/items/grenades/emgrenade.dm
index dde2d36f14f..1dd007baecb 100644
--- a/code/game/objects/items/grenades/emgrenade.dm
+++ b/code/game/objects/items/grenades/emgrenade.dm
@@ -2,7 +2,7 @@
name = "classic EMP grenade"
desc = "It is designed to wreak havoc on electronic systems."
icon_state = "emp"
- item_state = "emp"
+ inhand_icon_state = "emp"
/obj/item/grenade/empgrenade/prime(mob/living/lanced_by)
. = ..()
diff --git a/code/game/objects/items/grenades/festive.dm b/code/game/objects/items/grenades/festive.dm
index a32ffb4b560..6f3aa72693f 100644
--- a/code/game/objects/items/grenades/festive.dm
+++ b/code/game/objects/items/grenades/festive.dm
@@ -65,7 +65,7 @@
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
- item_state = "flare"
+ inhand_icon_state = "flare"
throw_speed = 3
throw_range = 7
det_time = 30
diff --git a/code/game/objects/items/grenades/flashbang.dm b/code/game/objects/items/grenades/flashbang.dm
index 881e50d071f..2a42bce4ad2 100644
--- a/code/game/objects/items/grenades/flashbang.dm
+++ b/code/game/objects/items/grenades/flashbang.dm
@@ -1,7 +1,7 @@
/obj/item/grenade/flashbang
name = "flashbang"
icon_state = "flashbang"
- item_state = "flashbang"
+ inhand_icon_state = "flashbang"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
var/flashbang_range = 7 //how many tiles away the mob will be stunned.
@@ -44,7 +44,7 @@
/obj/item/grenade/stingbang
name = "stingbang"
icon_state = "timeg"
- item_state = "flashbang"
+ inhand_icon_state = "flashbang"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
var/flashbang_range = 1 //how many tiles away the mob will be stunned.
@@ -104,7 +104,7 @@
name = "rotfrag grenade"
desc = "A grenade that generates more shrapnel the more you rotate it in your hand after pulling the pin. This one releases shrapnel shards."
icon_state = "timeg"
- item_state = "flashbang"
+ inhand_icon_state = "flashbang"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
var/rots_per_mag = 3 /// how many times we need to "rotate" the charge in hand per extra tile of magnitude
diff --git a/code/game/objects/items/grenades/ghettobomb.dm b/code/game/objects/items/grenades/ghettobomb.dm
index 717db0f81db..c75aafeb29e 100644
--- a/code/game/objects/items/grenades/ghettobomb.dm
+++ b/code/game/objects/items/grenades/ghettobomb.dm
@@ -6,7 +6,7 @@
w_class = WEIGHT_CLASS_SMALL
icon = 'icons/obj/grenade.dmi'
icon_state = "improvised_grenade"
- item_state = "flashbang"
+ inhand_icon_state = "flashbang"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
throw_speed = 3
diff --git a/code/game/objects/items/grenades/grenade.dm b/code/game/objects/items/grenades/grenade.dm
index 45e09d5eb10..7b30ddb6f9d 100644
--- a/code/game/objects/items/grenades/grenade.dm
+++ b/code/game/objects/items/grenades/grenade.dm
@@ -4,7 +4,7 @@
w_class = WEIGHT_CLASS_SMALL
icon = 'icons/obj/grenade.dmi'
icon_state = "grenade"
- item_state = "flashbang"
+ inhand_icon_state = "flashbang"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
throw_speed = 3
diff --git a/code/game/objects/items/grenades/hypno.dm b/code/game/objects/items/grenades/hypno.dm
index b9bbc918758..0412b1ec49d 100644
--- a/code/game/objects/items/grenades/hypno.dm
+++ b/code/game/objects/items/grenades/hypno.dm
@@ -2,7 +2,7 @@
name = "flashbang"
desc = "A modified flashbang which uses hypnotic flashes and mind-altering soundwaves to induce an instant trance upon detonation."
icon_state = "flashbang"
- item_state = "flashbang"
+ inhand_icon_state = "flashbang"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
var/flashbang_range = 7
diff --git a/code/game/objects/items/grenades/plastic.dm b/code/game/objects/items/grenades/plastic.dm
index 9abf434809c..04569876329 100644
--- a/code/game/objects/items/grenades/plastic.dm
+++ b/code/game/objects/items/grenades/plastic.dm
@@ -2,7 +2,7 @@
name = "C-4 charge"
desc = "Used to put holes in specific areas without too much extra hole. A saboteur's favorite."
icon_state = "plastic-explosive0"
- item_state = "plastic-explosive"
+ inhand_icon_state = "plastic-explosive"
lefthand_file = 'icons/mob/inhands/weapons/bombs_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/bombs_righthand.dmi'
item_flags = NOBLUDGEON
@@ -20,7 +20,7 @@
/obj/item/grenade/c4/Initialize()
. = ..()
- plastic_overlay = mutable_appearance(icon, "[item_state]2", HIGH_OBJ_LAYER)
+ plastic_overlay = mutable_appearance(icon, "[inhand_icon_state]2", HIGH_OBJ_LAYER)
wires = new /datum/wires/explosive/c4(src)
/obj/item/grenade/c4/ComponentInitialize()
@@ -159,6 +159,6 @@
name = "X-4 charge"
desc = "A shaped high-explosive breaching charge. Designed to ensure user safety and wall nonsafety."
icon_state = "plasticx40"
- item_state = "plasticx4"
+ inhand_icon_state = "plasticx4"
directional = TRUE
boom_sizes = list(0, 2, 5)
diff --git a/code/game/objects/items/grenades/smokebomb.dm b/code/game/objects/items/grenades/smokebomb.dm
index d42d7ccb5ac..43ece580eb5 100644
--- a/code/game/objects/items/grenades/smokebomb.dm
+++ b/code/game/objects/items/grenades/smokebomb.dm
@@ -8,7 +8,7 @@
desc = "Real bruh moment if you ever see this. Probably tell a c*der or something."
icon = 'icons/obj/grenade.dmi'
icon_state = "smokewhite"
- item_state = "smoke"
+ inhand_icon_state = "smoke"
slot_flags = ITEM_SLOT_BELT
///It's extremely important to keep this list up to date. It helps to generate the insightful description of the smokebomb
var/static/list/bruh_moment = list("Dank", "Hip", "Lit", "Based", "Robust", "Bruh", "Nyagger")
diff --git a/code/game/objects/items/grenades/spawnergrenade.dm b/code/game/objects/items/grenades/spawnergrenade.dm
index fdcfa2f61ec..2958f7a5dc3 100644
--- a/code/game/objects/items/grenades/spawnergrenade.dm
+++ b/code/game/objects/items/grenades/spawnergrenade.dm
@@ -3,7 +3,7 @@
name = "delivery grenade"
icon = 'icons/obj/grenade.dmi'
icon_state = "delivery"
- item_state = "flashbang"
+ inhand_icon_state = "flashbang"
var/spawner_type = null // must be an object path
var/deliveryamt = 1 // amount of type to deliver
@@ -51,7 +51,7 @@
name = "C.L.U.W.N.E."
desc = "A sleek device often given to clowns on their 10th birthdays for protection. You can hear faint scratching coming from within."
icon_state = "clown_ball"
- item_state = "clown_ball"
+ inhand_icon_state = "clown_ball"
spawner_type = list(/mob/living/simple_animal/hostile/retaliate/clown/fleshclown, /mob/living/simple_animal/hostile/retaliate/clown/clownhulk, /mob/living/simple_animal/hostile/retaliate/clown/longface, /mob/living/simple_animal/hostile/retaliate/clown/clownhulk/chlown, /mob/living/simple_animal/hostile/retaliate/clown/clownhulk/honcmunculus, /mob/living/simple_animal/hostile/retaliate/clown/mutant/blob, /mob/living/simple_animal/hostile/retaliate/clown/banana, /mob/living/simple_animal/hostile/retaliate/clown/honkling, /mob/living/simple_animal/hostile/retaliate/clown/lube)
deliveryamt = 1
@@ -59,6 +59,6 @@
name = "stuffed C.L.U.W.N.E."
desc = "A sleek device often given to clowns on their 10th birthdays for protection. While a typical C.L.U.W.N.E only holds one creature, sometimes foolish young clowns try to cram more in, often to disasterous effect."
icon_state = "clown_broken"
- item_state = "clown_broken"
+ inhand_icon_state = "clown_broken"
spawner_type = /mob/living/simple_animal/hostile/retaliate/clown/mutant
deliveryamt = 5
diff --git a/code/game/objects/items/grenades/syndieminibomb.dm b/code/game/objects/items/grenades/syndieminibomb.dm
index 940cecb46e5..e978d92a5ce 100644
--- a/code/game/objects/items/grenades/syndieminibomb.dm
+++ b/code/game/objects/items/grenades/syndieminibomb.dm
@@ -3,7 +3,7 @@
name = "syndicate minibomb"
icon = 'icons/obj/grenade.dmi'
icon_state = "syndicate"
- item_state = "flashbang"
+ inhand_icon_state = "flashbang"
ex_dev = 1
ex_heavy = 2
ex_light = 4
@@ -48,7 +48,7 @@
name = "gluon frag grenade"
icon = 'icons/obj/grenade.dmi'
icon_state = "bluefrag"
- item_state = "flashbang"
+ inhand_icon_state = "flashbang"
var/freeze_range = 4
var/rad_damage = 350
var/stamina_damage = 30
diff --git a/code/game/objects/items/handcuffs.dm b/code/game/objects/items/handcuffs.dm
index b7388ac71c8..7b0f5fe88f4 100644
--- a/code/game/objects/items/handcuffs.dm
+++ b/code/game/objects/items/handcuffs.dm
@@ -102,7 +102,7 @@
desc = "A pair of restraints fashioned from long strands of flesh."
icon = 'icons/obj/mining.dmi'
icon_state = "sinewcuff"
- item_state = "sinewcuff"
+ inhand_icon_state = "sinewcuff"
custom_materials = null
color = null
@@ -110,7 +110,7 @@
name = "cable restraints"
desc = "Looks like some cables tied together. Could be used to tie something up."
icon_state = "cuff"
- item_state = "coil"
+ inhand_icon_state = "coil"
color = "#ff0000"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
@@ -194,7 +194,7 @@
/obj/item/restraints/handcuffs/cable/zipties/used
desc = "A pair of broken zipties."
icon_state = "cuff_used"
- item_state = "cuff"
+ inhand_icon_state = "cuff"
/obj/item/restraints/handcuffs/cable/zipties/used/attack()
return
@@ -314,7 +314,7 @@
name = "bola"
desc = "A restraining device designed to be thrown at the target. Upon connecting with said target, it will wrap around their legs, making it difficult for them to move quickly."
icon_state = "bola"
- item_state = "bola"
+ inhand_icon_state = "bola"
lefthand_file = 'icons/mob/inhands/weapons/thrown_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/thrown_righthand.dmi'
breakouttime = 35//easy to apply, easy to break out of
@@ -353,7 +353,7 @@
name = "reinforced bola"
desc = "A strong bola, made with a long steel chain. It looks heavy, enough so that it could trip somebody."
icon_state = "bola_r"
- item_state = "bola_r"
+ inhand_icon_state = "bola_r"
breakouttime = 70
knockdown = 35
@@ -361,7 +361,7 @@
name = "energy bola"
desc = "A specialized hard-light bola designed to ensnare fleeing criminals and aid in arrests."
icon_state = "ebola"
- item_state = "ebola"
+ inhand_icon_state = "ebola"
hitsound = 'sound/weapons/taserhit.ogg'
w_class = WEIGHT_CLASS_SMALL
breakouttime = 60
@@ -377,7 +377,7 @@
name = "gonbola"
desc = "Hey, if you have to be hugged in the legs by anything, it might as well be this little guy."
icon_state = "gonbola"
- item_state = "bola_r"
+ inhand_icon_state = "bola_r"
breakouttime = 300
slowdown = 0
var/datum/status_effect/gonbolaPacify/effectReference
diff --git a/code/game/objects/items/his_grace.dm b/code/game/objects/items/his_grace.dm
index 45cc0261f24..fa639266aca 100644
--- a/code/game/objects/items/his_grace.dm
+++ b/code/game/objects/items/his_grace.dm
@@ -8,7 +8,7 @@
name = "artistic toolbox"
desc = "A toolbox painted bright green. Looking at it makes you feel uneasy."
icon_state = "his_grace"
- item_state = "artistic_toolbox"
+ inhand_icon_state = "artistic_toolbox"
lefthand_file = 'icons/mob/inhands/equipment/toolbox_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/toolbox_righthand.dmi'
icon = 'icons/obj/items_and_weapons.dmi'
@@ -246,7 +246,7 @@
force_bonus += ascend_bonus
desc = "A legendary toolbox and a distant artifact from The Age of Three Powers. On its three latches engraved are the words \"The Sun\", \"The Moon\", and \"The Stars\". The entire toolbox has the words \"The World\" engraved into its sides."
icon_state = "his_grace_ascended"
- item_state = "toolbox_gold"
+ inhand_icon_state = "toolbox_gold"
ascended = TRUE
playsound(src, 'sound/effects/his_grace_ascend.ogg', 100)
if(istype(master))
diff --git a/code/game/objects/items/holosign_creator.dm b/code/game/objects/items/holosign_creator.dm
index 1eabb735f12..59ff71e5d87 100644
--- a/code/game/objects/items/holosign_creator.dm
+++ b/code/game/objects/items/holosign_creator.dm
@@ -3,7 +3,7 @@
desc = "A handy-dandy holographic projector that displays a janitorial sign."
icon = 'icons/obj/device.dmi'
icon_state = "signmaker"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
force = 0
diff --git a/code/game/objects/items/holy_weapons.dm b/code/game/objects/items/holy_weapons.dm
index 57780c60c7b..bd791582a08 100644
--- a/code/game/objects/items/holy_weapons.dm
+++ b/code/game/objects/items/holy_weapons.dm
@@ -4,7 +4,7 @@
name = "crusader helmet"
desc = "Deus Vult."
icon_state = "knight_templar"
- item_state = "knight_templar"
+ inhand_icon_state = "knight_templar"
armor = list("melee" = 50, "bullet" = 10, "laser" = 10, "energy" = 10, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 80, "acid" = 80)
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR
flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH
@@ -15,7 +15,7 @@
name = "crusader armour"
desc = "God wills it!"
icon_state = "knight_templar"
- item_state = "knight_templar"
+ inhand_icon_state = "knight_templar"
allowed = list(/obj/item/storage/book/bible, /obj/item/nullrod, /obj/item/reagent_containers/food/drinks/bottle/holywater, /obj/item/storage/fancy/candle_box, /obj/item/candle, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman)
slowdown = 0
clothing_flags = NONE
@@ -70,7 +70,7 @@
name = "student robe"
desc = "The uniform of a bygone institute of learning."
icon_state = "studentuni"
- item_state = "studentuni"
+ inhand_icon_state = "studentuni"
body_parts_covered = ARMS|CHEST
allowed = list(/obj/item/storage/book/bible, /obj/item/nullrod, /obj/item/reagent_containers/food/drinks/bottle/holywater, /obj/item/storage/fancy/candle_box, /obj/item/candle, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman)
@@ -78,9 +78,9 @@
name = "cage"
desc = "A cage that restrains the will of the self, allowing one to see the profane world for what it is."
flags_inv = HIDEHAIR //bald
- mob_overlay_icon = 'icons/mob/large-worn-icons/64x64/head.dmi'
+ worn_icon = 'icons/mob/large-worn-icons/64x64/head.dmi'
icon_state = "cage"
- item_state = "cage"
+ inhand_icon_state = "cage"
worn_x_dimension = 64
worn_y_dimension = 64
dynamic_hair_suffix = ""
@@ -96,13 +96,13 @@
name = "ancient helmet"
desc = "None may pass!"
icon_state = "knight_ancient"
- item_state = "knight_ancient"
+ inhand_icon_state = "knight_ancient"
/obj/item/clothing/suit/armor/riot/chaplain/ancient
name = "ancient armour"
desc = "Defend the treasure..."
icon_state = "knight_ancient"
- item_state = "knight_ancient"
+ inhand_icon_state = "knight_ancient"
/obj/item/storage/box/holy/witchhunter
name = "Witchhunter Kit"
@@ -115,14 +115,14 @@
name = "witchunter garb"
desc = "This worn outfit saw much use back in the day."
icon_state = "witchhunter"
- item_state = "witchhunter"
+ inhand_icon_state = "witchhunter"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
/obj/item/clothing/head/helmet/chaplain/witchunter_hat
name = "witchunter hat"
desc = "This hat saw much use back in the day."
icon_state = "witchhunterhat"
- item_state = "witchhunterhat"
+ inhand_icon_state = "witchhunterhat"
flags_cover = HEADCOVERSEYES
flags_inv = HIDEEYES|HIDEHAIR
@@ -137,7 +137,7 @@
name = "adept hood"
desc = "Its only heretical when others do it."
icon_state = "crusader"
- item_state = "crusader"
+ inhand_icon_state = "crusader"
flags_cover = HEADCOVERSEYES
flags_inv = HIDEHAIR|HIDEFACE|HIDEEARS
@@ -145,7 +145,7 @@
name = "adept robes"
desc = "The ideal outfit for burning the unfaithful."
icon_state = "crusader"
- item_state = "crusader"
+ inhand_icon_state = "crusader"
/obj/item/storage/box/holy/follower
name = "Followers of the Chaplain Kit"
@@ -161,7 +161,7 @@
name = "follower hoodie"
desc = "Hoodie made for acolytes of the chaplain."
icon_state = "chaplain_hoodie"
- item_state = "chaplain_hoodie"
+ inhand_icon_state = "chaplain_hoodie"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
allowed = list(/obj/item/storage/book/bible, /obj/item/nullrod, /obj/item/reagent_containers/food/drinks/bottle/holywater, /obj/item/storage/fancy/candle_box, /obj/item/candle, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman)
hoodtype = /obj/item/clothing/head/hooded/chaplain_hood
@@ -177,7 +177,7 @@
name = "leader hoodie"
desc = "Now you're ready for some 50 dollar bling water."
icon_state = "chaplain_hoodie_leader"
- item_state = "chaplain_hoodie_leader"
+ inhand_icon_state = "chaplain_hoodie_leader"
hoodtype = /obj/item/clothing/head/hooded/chaplain_hood/leader
/obj/item/clothing/head/hooded/chaplain_hood/leader
@@ -192,7 +192,7 @@
name = "null rod"
desc = "A rod of pure obsidian; its very presence disrupts and dampens the powers of Nar'Sie's followers."
icon_state = "nullrod"
- item_state = "nullrod"
+ inhand_icon_state = "nullrod"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
force = 18
@@ -266,7 +266,7 @@
/obj/item/nullrod/godhand
icon_state = "disintegrate"
- item_state = "disintegrate"
+ inhand_icon_state = "disintegrate"
lefthand_file = 'icons/mob/inhands/misc/touchspell_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/touchspell_righthand.dmi'
name = "god hand"
@@ -283,7 +283,7 @@
/obj/item/nullrod/staff
icon_state = "godstaff-red"
- item_state = "godstaff-red"
+ inhand_icon_state = "godstaff-red"
lefthand_file = 'icons/mob/inhands/weapons/staves_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/staves_righthand.dmi'
name = "red holy staff"
@@ -302,12 +302,12 @@
/obj/item/nullrod/staff/blue
name = "blue holy staff"
icon_state = "godstaff-blue"
- item_state = "godstaff-blue"
+ inhand_icon_state = "godstaff-blue"
shield_icon = "shield-old"
/obj/item/nullrod/claymore
icon_state = "claymore_gold"
- item_state = "claymore_gold"
+ inhand_icon_state = "claymore_gold"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
name = "holy claymore"
@@ -326,7 +326,7 @@
/obj/item/nullrod/claymore/darkblade
icon_state = "cultblade"
- item_state = "cultblade"
+ inhand_icon_state = "cultblade"
lefthand_file = 'icons/mob/inhands/64x64_lefthand.dmi'
righthand_file = 'icons/mob/inhands/64x64_righthand.dmi'
inhand_x_dimension = 64
@@ -338,7 +338,7 @@
/obj/item/nullrod/claymore/chainsaw_sword
icon_state = "chainswordon"
- item_state = "chainswordon"
+ inhand_icon_state = "chainswordon"
name = "sacred chainsaw sword"
desc = "Suffer not a heretic to live."
slot_flags = ITEM_SLOT_BELT
@@ -349,7 +349,7 @@
/obj/item/nullrod/claymore/glowing
icon_state = "swordon"
- item_state = "swordon"
+ inhand_icon_state = "swordon"
name = "force weapon"
desc = "The blade glows with the power of faith. Or possibly a battery."
slot_flags = ITEM_SLOT_BELT
@@ -358,14 +358,14 @@
name = "\improper Hanzo steel"
desc = "Capable of cutting clean through a holy claymore."
icon_state = "katana"
- item_state = "katana"
+ inhand_icon_state = "katana"
slot_flags = ITEM_SLOT_BELT | ITEM_SLOT_BACK
/obj/item/nullrod/claymore/multiverse
name = "extradimensional blade"
desc = "Once the harbinger of an interdimensional war, its sharpness fluctuates wildly."
icon_state = "multiverse"
- item_state = "multiverse"
+ inhand_icon_state = "multiverse"
slot_flags = ITEM_SLOT_BELT
/obj/item/nullrod/claymore/multiverse/attack(mob/living/carbon/M, mob/living/carbon/user)
@@ -377,27 +377,27 @@
hitsound = 'sound/weapons/blade1.ogg'
icon = 'icons/obj/transforming_energy.dmi'
icon_state = "swordblue"
- item_state = "swordblue"
+ inhand_icon_state = "swordblue"
desc = "If you strike me down, I shall become more robust than you can possibly imagine."
slot_flags = ITEM_SLOT_BELT
/obj/item/nullrod/claymore/saber/red
name = "dark energy sword"
icon_state = "swordred"
- item_state = "swordred"
+ inhand_icon_state = "swordred"
desc = "Woefully ineffective when used on steep terrain."
/obj/item/nullrod/claymore/saber/pirate
name = "nautical energy sword"
icon_state = "cutlass1"
- item_state = "cutlass1"
+ inhand_icon_state = "cutlass1"
desc = "Convincing HR that your religion involved piracy was no mean feat."
/obj/item/nullrod/sord
name = "\improper UNREAL SORD"
desc = "This thing is so unspeakably HOLY you are having a hard time even holding it."
icon_state = "sord"
- item_state = "sord"
+ inhand_icon_state = "sord"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
slot_flags = ITEM_SLOT_BELT
@@ -408,7 +408,7 @@
/obj/item/nullrod/scythe
icon_state = "scythe1"
- item_state = "scythe1"
+ inhand_icon_state = "scythe1"
lefthand_file = 'icons/mob/inhands/weapons/polearms_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/polearms_righthand.dmi'
name = "reaper scythe"
@@ -425,7 +425,7 @@
/obj/item/nullrod/scythe/vibro
icon_state = "hfrequency0"
- item_state = "hfrequency1"
+ inhand_icon_state = "hfrequency1"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
name = "high frequency blade"
@@ -435,7 +435,7 @@
/obj/item/nullrod/scythe/spellblade
icon_state = "spellblade"
- item_state = "spellblade"
+ inhand_icon_state = "spellblade"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
icon = 'icons/obj/guns/magic.dmi'
@@ -445,7 +445,7 @@
/obj/item/nullrod/scythe/talking
icon_state = "talking_sword"
- item_state = "talking_sword"
+ inhand_icon_state = "talking_sword"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
name = "possessed blade"
@@ -493,7 +493,7 @@
/obj/item/nullrod/scythe/talking/chainsword
icon_state = "chainswordon"
- item_state = "chainswordon"
+ inhand_icon_state = "chainswordon"
name = "possessed chainsaw sword"
desc = "Suffer not a heretic to live."
chaplain_spawnable = FALSE
@@ -506,7 +506,7 @@
/obj/item/nullrod/hammmer
icon_state = "hammeron"
- item_state = "hammeron"
+ inhand_icon_state = "hammeron"
lefthand_file = 'icons/mob/inhands/weapons/hammers_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/hammers_righthand.dmi'
name = "relic war hammer"
@@ -519,7 +519,7 @@
name = "chainsaw hand"
desc = "Good? Bad? You're the guy with the chainsaw hand."
icon_state = "chainsaw_on"
- item_state = "mounted_chainsaw"
+ inhand_icon_state = "mounted_chainsaw"
lefthand_file = 'icons/mob/inhands/weapons/chainsaw_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/chainsaw_righthand.dmi'
w_class = WEIGHT_CLASS_HUGE
@@ -538,7 +538,7 @@
/obj/item/nullrod/clown
icon = 'icons/obj/wizard.dmi'
icon_state = "clownrender"
- item_state = "render"
+ inhand_icon_state = "render"
name = "clown dagger"
desc = "Used for absolutely hilarious sacrifices."
hitsound = 'sound/items/bikehorn.ogg'
@@ -570,7 +570,7 @@
name = "holy whip"
desc = "What a terrible night to be on Space Station 13."
icon_state = "chain"
- item_state = "chain"
+ inhand_icon_state = "chain"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
slot_flags = ITEM_SLOT_BELT
@@ -581,7 +581,7 @@
name = "atheist's fedora"
desc = "The brim of the hat is as sharp as your wit. The edge would hurt almost as much as disproving the existence of God."
icon_state = "fedora"
- item_state = "fedora"
+ inhand_icon_state = "fedora"
slot_flags = ITEM_SLOT_HEAD
icon = 'icons/obj/clothing/hats.dmi'
force = 0
@@ -596,7 +596,7 @@
desc = "Particularly twisted deities grant gifts of dubious value."
icon = 'icons/obj/changeling_items.dmi'
icon_state = "arm_blade"
- item_state = "arm_blade"
+ inhand_icon_state = "arm_blade"
lefthand_file = 'icons/mob/inhands/antag/changeling_lefthand.dmi'
righthand_file = 'icons/mob/inhands/antag/changeling_righthand.dmi'
item_flags = ABSTRACT
@@ -611,14 +611,14 @@
/obj/item/nullrod/armblade/tentacle
name = "unholy blessing"
icon_state = "tentacle"
- item_state = "tentacle"
+ inhand_icon_state = "tentacle"
/obj/item/nullrod/carp
name = "carp-sie plushie"
desc = "An adorable stuffed toy that resembles the god of all carp. The teeth look pretty sharp. Activate it to receive the blessing of Carp-Sie."
icon = 'icons/obj/plushes.dmi'
icon_state = "carpplush"
- item_state = "carp_plushie"
+ inhand_icon_state = "carp_plushie"
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
force = 15
@@ -645,13 +645,13 @@
attack_verb = list("smashed", "slammed", "whacked", "thwacked")
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "bostaff0"
- item_state = "bostaff0"
+ inhand_icon_state = "bostaff0"
lefthand_file = 'icons/mob/inhands/weapons/staves_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/staves_righthand.dmi'
/obj/item/nullrod/tribal_knife
icon_state = "crysknife"
- item_state = "crysknife"
+ inhand_icon_state = "crysknife"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
name = "arrhythmic knife"
@@ -692,7 +692,7 @@
desc = "A tutorial in mummification is carved into the staff. You could probably craft the wraps if you had some cloth."
icon = 'icons/obj/guns/magic.dmi'
icon_state = "pharoah_sceptre"
- item_state = "pharoah_sceptre"
+ inhand_icon_state = "pharoah_sceptre"
lefthand_file = 'icons/mob/inhands/weapons/staves_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/staves_righthand.dmi'
w_class = WEIGHT_CLASS_NORMAL
@@ -701,7 +701,7 @@
/obj/item/nullrod/hypertool
icon = 'icons/obj/device.dmi'
icon_state = "hypertool"
- item_state = "hypertool"
+ inhand_icon_state = "hypertool"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
slot_flags = ITEM_SLOT_BELT
@@ -716,7 +716,7 @@
name = "ancient spear"
desc = "An ancient spear made of brass, I mean gold, I mean bronze."
icon_state = "ratvarian_spear"
- item_state = "ratvarian_spear"
+ inhand_icon_state = "ratvarian_spear"
lefthand_file = 'icons/mob/inhands/antag/clockwork_lefthand.dmi'
righthand_file = 'icons/mob/inhands/antag/clockwork_righthand.dmi'
icon = 'icons/obj/clockwork_objects.dmi'
diff --git a/code/game/objects/items/implants/implantcase.dm b/code/game/objects/items/implants/implantcase.dm
index 5368b6e1bb5..423fd549936 100644
--- a/code/game/objects/items/implants/implantcase.dm
+++ b/code/game/objects/items/implants/implantcase.dm
@@ -3,7 +3,7 @@
desc = "A glass case containing an implant."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "implantcase-0"
- item_state = "implantcase"
+ inhand_icon_state = "implantcase"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
throw_speed = 2
diff --git a/code/game/objects/items/implants/implanter.dm b/code/game/objects/items/implants/implanter.dm
index ffa2ddf349a..60c092f0cee 100644
--- a/code/game/objects/items/implants/implanter.dm
+++ b/code/game/objects/items/implants/implanter.dm
@@ -3,7 +3,7 @@
desc = "A sterile automatic implant injector."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "implanter0"
- item_state = "syringe_0"
+ inhand_icon_state = "syringe_0"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
throw_speed = 3
diff --git a/code/game/objects/items/implants/implantpad.dm b/code/game/objects/items/implants/implantpad.dm
index 6973aa4beff..de9cbbcdc13 100644
--- a/code/game/objects/items/implants/implantpad.dm
+++ b/code/game/objects/items/implants/implantpad.dm
@@ -3,7 +3,7 @@
desc = "Used to modify implants."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "implantpad-0"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
throw_speed = 3
diff --git a/code/game/objects/items/inducer.dm b/code/game/objects/items/inducer.dm
index fea94ced1c1..760303e50b0 100644
--- a/code/game/objects/items/inducer.dm
+++ b/code/game/objects/items/inducer.dm
@@ -3,7 +3,7 @@
desc = "A tool for inductively charging internal power cells."
icon = 'icons/obj/tools.dmi'
icon_state = "inducer-engi"
- item_state = "inducer-engi"
+ inhand_icon_state = "inducer-engi"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
force = 7
@@ -175,7 +175,7 @@
/obj/item/inducer/sci
icon_state = "inducer-sci"
- item_state = "inducer-sci"
+ inhand_icon_state = "inducer-sci"
desc = "A tool for inductively charging internal power cells. This one has a science color scheme, and is less potent than its engineering counterpart."
cell_type = null
powertransfer = 500
@@ -187,7 +187,7 @@
/obj/item/inducer/syndicate
icon_state = "inducer-syndi"
- item_state = "inducer-syndi"
+ inhand_icon_state = "inducer-syndi"
desc = "A tool for inductively charging internal power cells. This one has a suspicious colour scheme, and seems to be rigged to transfer charge at a much faster rate."
powertransfer = 2000
cell_type = /obj/item/stock_parts/cell/super
diff --git a/code/game/objects/items/kitchen.dm b/code/game/objects/items/kitchen.dm
index 9d577093f54..7219fe980c6 100644
--- a/code/game/objects/items/kitchen.dm
+++ b/code/game/objects/items/kitchen.dm
@@ -73,7 +73,7 @@
/obj/item/kitchen/knife
name = "kitchen knife"
icon_state = "knife"
- item_state = "knife"
+ inhand_icon_state = "knife"
desc = "A general purpose Chef's Knife made by SpaceCook Incorporated. Guaranteed to stay sharp for years to come."
flags_1 = CONDUCT_1
force = 10
@@ -107,7 +107,7 @@
/obj/item/kitchen/knife/plastic
name = "plastic knife"
icon_state = "plastic_knife"
- item_state = "knife"
+ inhand_icon_state = "knife"
desc = "A very safe, barely sharp knife made of plastic. Good for cutting food and not much else."
force = 0
w_class = WEIGHT_CLASS_TINY
@@ -159,7 +159,7 @@
/obj/item/kitchen/knife/butcher
name = "butcher's cleaver"
icon_state = "butch"
- item_state = "butch"
+ inhand_icon_state = "butch"
desc = "A huge thing used for chopping and chopping up meat. This includes clowns and clown by-products."
flags_1 = CONDUCT_1
force = 15
@@ -172,7 +172,7 @@
/obj/item/kitchen/knife/hunting
name = "hunting knife"
desc = "Despite its name, it's mainly used for cutting meat from dead prey rather than actual hunting."
- item_state = "huntingknife"
+ inhand_icon_state = "huntingknife"
icon_state = "huntingknife"
/obj/item/kitchen/knife/hunting/set_butchering()
@@ -199,7 +199,7 @@
/obj/item/kitchen/knife/combat/bone
name = "bone dagger"
- item_state = "bone_dagger"
+ inhand_icon_state = "bone_dagger"
icon_state = "bone_dagger"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
@@ -219,7 +219,7 @@
name = "glass shiv"
icon = 'icons/obj/shards.dmi'
icon_state = "shiv"
- item_state = "shiv"
+ inhand_icon_state = "shiv"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
desc = "A makeshift glass shiv."
@@ -232,7 +232,7 @@
/obj/item/kitchen/knife/shiv/carrot
name = "carrot shiv"
icon_state = "carrotshiv"
- item_state = "carrotshiv"
+ inhand_icon_state = "carrotshiv"
icon = 'icons/obj/kitchen.dmi'
desc = "Unlike other carrots, you should probably keep this far away from your eyes."
custom_materials = null
diff --git a/code/game/objects/items/latexballoon.dm b/code/game/objects/items/latexballoon.dm
index 06981729dec..66807264205 100644
--- a/code/game/objects/items/latexballoon.dm
+++ b/code/game/objects/items/latexballoon.dm
@@ -2,7 +2,7 @@
name = "latex glove"
desc = "Sterile and airtight."
icon_state = "latexballon"
- item_state = "lgloves"
+ inhand_icon_state = "lgloves"
force = 0
throwforce = 0
w_class = WEIGHT_CLASS_TINY
@@ -15,7 +15,7 @@
if (icon_state == "latexballon_bursted")
return
icon_state = "latexballon_blow"
- item_state = "latexballon"
+ inhand_icon_state = "latexballon"
user.update_inv_hands()
to_chat(user, "You blow up [src] with [tank].")
air_contents = tank.remove_air_volume(3)
@@ -25,7 +25,7 @@
return
playsound(src, 'sound/weapons/gun/pistol/shot.ogg', 100, TRUE)
icon_state = "latexballon_bursted"
- item_state = "lgloves"
+ inhand_icon_state = "lgloves"
if(isliving(loc))
var/mob/living/user = src.loc
user.update_inv_hands()
diff --git a/code/game/objects/items/melee/energy.dm b/code/game/objects/items/melee/energy.dm
index 7f178e43b98..d9bf9ee255b 100644
--- a/code/game/objects/items/melee/energy.dm
+++ b/code/game/objects/items/melee/energy.dm
@@ -235,4 +235,4 @@
name = "hardlight blade"
desc = "An extremely sharp blade made out of hard light. Packs quite a punch."
icon_state = "lightblade"
- item_state = "lightblade"
+ inhand_icon_state = "lightblade"
diff --git a/code/game/objects/items/melee/misc.dm b/code/game/objects/items/melee/misc.dm
index 7648cff1b31..040e540a568 100644
--- a/code/game/objects/items/melee/misc.dm
+++ b/code/game/objects/items/melee/misc.dm
@@ -13,7 +13,7 @@
name = "chain of command"
desc = "A tool used by great men to placate the frothing masses."
icon_state = "chain"
- item_state = "chain"
+ inhand_icon_state = "chain"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
flags_1 = CONDUCT_1
@@ -34,7 +34,7 @@
desc = "A grotesque blade that on closer inspection seems to be made out of synthetic flesh, it still feels like it would hurt very badly as a weapon."
icon = 'icons/obj/changeling_items.dmi'
icon_state = "arm_blade"
- item_state = "arm_blade"
+ inhand_icon_state = "arm_blade"
lefthand_file = 'icons/mob/inhands/antag/changeling_lefthand.dmi'
righthand_file = 'icons/mob/inhands/antag/changeling_righthand.dmi'
w_class = WEIGHT_CLASS_HUGE
@@ -52,7 +52,7 @@
name = "officer's sabre"
desc = "An elegant weapon, its monomolecular edge is capable of cutting through flesh and bone with ease."
icon_state = "sabre"
- item_state = "sabre"
+ inhand_icon_state = "sabre"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
flags_1 = CONDUCT_1
@@ -134,7 +134,7 @@
desc = "Taken from a giant bee and folded over one thousand times in pure honey. Can sting through anything."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "beesword"
- item_state = "stinger"
+ inhand_icon_state = "stinger"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
slot_flags = ITEM_SLOT_BELT
@@ -166,7 +166,7 @@
desc = "A wooden truncheon for beating criminal scum."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "classic_baton"
- item_state = "classic_baton"
+ inhand_icon_state = "classic_baton"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
slot_flags = ITEM_SLOT_BELT
@@ -187,7 +187,7 @@
var/on_icon_state // What is our sprite when turned on
var/off_icon_state // What is our sprite when turned off
- var/on_item_state // What is our in-hand sprite when turned on
+ var/on_inhand_icon_state // What is our in-hand sprite when turned on
var/force_on // Damage when on - not stunning
var/force_off // Damage when off - not stunning
var/weight_class_on // What is the new size class when turned on
@@ -324,7 +324,7 @@
icon_state = "telebaton_0"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
- item_state = null
+ inhand_icon_state = null
slot_flags = ITEM_SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
item_flags = NONE
@@ -334,7 +334,7 @@
on_icon_state = "telebaton_1"
off_icon_state = "telebaton_0"
- on_item_state = "nullrod"
+ on_inhand_icon_state = "nullrod"
force_on = 10
force_off = 0
weight_class_on = WEIGHT_CLASS_BULKY
@@ -364,14 +364,14 @@
if(on)
to_chat(user, desc["local_on"])
icon_state = on_icon_state
- item_state = on_item_state
+ inhand_icon_state = on_inhand_icon_state
w_class = weight_class_on
force = force_on
attack_verb = list("smacked", "struck", "cracked", "beaten")
else
to_chat(user, desc["local_off"])
icon_state = off_icon_state
- item_state = null //no sprite for concealment even when in hand
+ inhand_icon_state = null //no sprite for concealment even when in hand
slot_flags = ITEM_SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
force = force_off
@@ -387,7 +387,7 @@
icon_state = "contractor_baton_0"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
- item_state = null
+ inhand_icon_state = null
slot_flags = ITEM_SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
item_flags = NONE
@@ -401,7 +401,7 @@
on_icon_state = "contractor_baton_1"
off_icon_state = "contractor_baton_0"
- on_item_state = "contractor_baton"
+ on_inhand_icon_state = "contractor_baton"
force_on = 16
force_off = 5
weight_class_on = WEIGHT_CLASS_NORMAL
@@ -418,7 +418,7 @@
desc = "In a station full of bad ideas, this might just be the worst."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "supermatter_sword"
- item_state = "supermatter_sword"
+ inhand_icon_state = "supermatter_sword"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
slot_flags = null
@@ -515,7 +515,7 @@
name = "curator's whip"
desc = "Somewhat eccentric and outdated, it still stings like hell to be hit by."
icon_state = "whip"
- item_state = "chain"
+ inhand_icon_state = "chain"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
slot_flags = ITEM_SLOT_BELT
@@ -535,7 +535,7 @@
name = "advanced roasting stick"
desc = "A telescopic roasting stick with a miniature shield generator designed to ensure entry into various high-tech shielded cooking ovens and firepits."
icon_state = "roastingstick_0"
- item_state = "null"
+ inhand_icon_state = "null"
slot_flags = ITEM_SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
item_flags = NONE
@@ -594,13 +594,13 @@
/obj/item/melee/roastingstick/proc/extend(user)
to_chat(user, "You extend [src].")
icon_state = "roastingstick_1"
- item_state = "nullrod"
+ inhand_icon_state = "nullrod"
w_class = WEIGHT_CLASS_BULKY
/obj/item/melee/roastingstick/proc/retract(user)
to_chat(user, "You collapse [src].")
icon_state = "roastingstick_0"
- item_state = null
+ inhand_icon_state = null
w_class = WEIGHT_CLASS_SMALL
/obj/item/melee/roastingstick/handle_atom_del(atom/target)
@@ -644,7 +644,7 @@
desc = "The grandson of the club, yet the grandfather of the baseball bat. Most notably used by holy orders in days past."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "mace_greyscale"
- item_state = "mace_greyscale"
+ inhand_icon_state = "mace_greyscale"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
material_flags = MATERIAL_ADD_PREFIX | MATERIAL_COLOR | MATERIAL_AFFECT_STATISTICS //Material type changes the prefix as well as the color.
diff --git a/code/game/objects/items/miscellaneous.dm b/code/game/objects/items/miscellaneous.dm
index c72be4eba50..5e5621f8570 100644
--- a/code/game/objects/items/miscellaneous.dm
+++ b/code/game/objects/items/miscellaneous.dm
@@ -17,7 +17,7 @@
desc = "Hey, why are you viewing this?!! Please let CentCom know about this odd occurrence."
icon = 'icons/obj/device.dmi'
icon_state = "gangtool-blue"
- item_state = "radio"
+ inhand_icon_state = "radio"
var/uses = 1
/obj/item/choice_beacon/attack_self(mob/user)
diff --git a/code/game/objects/items/mop.dm b/code/game/objects/items/mop.dm
index f4496ea1931..534ae123de0 100644
--- a/code/game/objects/items/mop.dm
+++ b/code/game/objects/items/mop.dm
@@ -85,7 +85,7 @@
name = "advanced mop"
mopcap = 10
icon_state = "advmop"
- item_state = "mop"
+ inhand_icon_state = "mop"
lefthand_file = 'icons/mob/inhands/equipment/custodial_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/custodial_righthand.dmi'
force = 12
diff --git a/code/game/objects/items/paint.dm b/code/game/objects/items/paint.dm
index 44742ad6720..2ef7da91cb9 100644
--- a/code/game/objects/items/paint.dm
+++ b/code/game/objects/items/paint.dm
@@ -8,7 +8,7 @@
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "paint_neutral"
var/paint_color = "FFFFFF"
- item_state = "paintcan"
+ inhand_icon_state = "paintcan"
w_class = WEIGHT_CLASS_NORMAL
resistance_flags = FLAMMABLE
max_integrity = 100
diff --git a/code/game/objects/items/pet_carrier.dm b/code/game/objects/items/pet_carrier.dm
index bdf2b6d953a..5a400f036ec 100644
--- a/code/game/objects/items/pet_carrier.dm
+++ b/code/game/objects/items/pet_carrier.dm
@@ -7,7 +7,7 @@
desc = "A big white-and-blue pet carrier. Good for carrying meat to the chef cute animals around."
icon = 'icons/obj/pet_carrier.dmi'
icon_state = "pet_carrier_open"
- item_state = "pet_carrier"
+ inhand_icon_state = "pet_carrier"
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
force = 5
diff --git a/code/game/objects/items/pinpointer.dm b/code/game/objects/items/pinpointer.dm
index a70d196552d..b14842360d0 100644
--- a/code/game/objects/items/pinpointer.dm
+++ b/code/game/objects/items/pinpointer.dm
@@ -7,7 +7,7 @@
flags_1 = CONDUCT_1
slot_flags = ITEM_SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
throw_speed = 3
diff --git a/code/game/objects/items/plushes.dm b/code/game/objects/items/plushes.dm
index 65ba49992fb..2e9bf7663e0 100644
--- a/code/game/objects/items/plushes.dm
+++ b/code/game/objects/items/plushes.dm
@@ -381,7 +381,7 @@
name = "space carp plushie"
desc = "An adorable stuffed toy that resembles a space carp."
icon_state = "carpplush"
- item_state = "carp_plushie"
+ inhand_icon_state = "carp_plushie"
attack_verb = list("bitten", "eaten", "fin slapped")
squeak_override = list('sound/weapons/bite.ogg'=1)
@@ -497,7 +497,7 @@
name = "lizard plushie"
desc = "An adorable stuffed toy that resembles a lizardperson."
icon_state = "plushie_lizard"
- item_state = "plushie_lizard"
+ inhand_icon_state = "plushie_lizard"
attack_verb = list("clawed", "hissed", "tail slapped")
squeak_override = list('sound/weapons/slash.ogg' = 1)
@@ -505,7 +505,7 @@
name = "snake plushie"
desc = "An adorable stuffed toy that resembles a snake. Not to be mistaken for the real thing."
icon_state = "plushie_snake"
- item_state = "plushie_snake"
+ inhand_icon_state = "plushie_snake"
attack_verb = list("bitten", "hissed", "tail slapped")
squeak_override = list('sound/weapons/bite.ogg' = 1)
@@ -513,7 +513,7 @@
name = "operative plushie"
desc = "A stuffed toy that resembles a syndicate nuclear operative. The tag claims operatives to be purely fictitious."
icon_state = "plushie_nuke"
- item_state = "plushie_nuke"
+ inhand_icon_state = "plushie_nuke"
attack_verb = list("shot", "nuked", "detonated")
squeak_override = list('sound/effects/hit_punch.ogg' = 1)
@@ -521,7 +521,7 @@
name = "slime plushie"
desc = "An adorable stuffed toy that resembles a slime. It is practically just a hacky sack."
icon_state = "plushie_slime"
- item_state = "plushie_slime"
+ inhand_icon_state = "plushie_slime"
attack_verb = list("blorbled", "slimed", "absorbed")
squeak_override = list('sound/effects/blobattack.ogg' = 1)
gender = FEMALE //given all the jokes and drawings, I'm not sure the xenobiologists would make a slimeboy
@@ -530,7 +530,7 @@
name = "awakened plushie"
desc = "An ancient plushie that has grown enlightened to the true nature of reality."
icon_state = "plushie_awake"
- item_state = "plushie_awake"
+ inhand_icon_state = "plushie_awake"
/obj/item/toy/plush/awakenedplushie/ComponentInitialize()
. = ..()
@@ -540,7 +540,7 @@
name = "bee plushie"
desc = "A cute toy that resembles an even cuter bee."
icon_state = "plushie_h"
- item_state = "plushie_h"
+ inhand_icon_state = "plushie_h"
attack_verb = list("stung")
gender = FEMALE
squeak_override = list('sound/voice/moth/scream_moth.ogg'=1)
@@ -665,7 +665,7 @@
name = "moth plushie"
desc = "A plushie depicting an adorable mothperson. It's a huggable bug!"
icon_state = "moffplush"
- item_state = "moffplush"
+ inhand_icon_state = "moffplush"
attack_verb = list("fluttered", "flapped")
squeak_override = list('sound/voice/moth/scream_moth.ogg'=1)
///Used to track how many people killed themselves with item/toy/plush/moth
diff --git a/code/game/objects/items/pneumaticCannon.dm b/code/game/objects/items/pneumaticCannon.dm
index 3774bb79bfd..6cbec941538 100644
--- a/code/game/objects/items/pneumaticCannon.dm
+++ b/code/game/objects/items/pneumaticCannon.dm
@@ -10,7 +10,7 @@
attack_verb = list("bludgeoned", "smashed", "beaten")
icon = 'icons/obj/pneumaticCannon.dmi'
icon_state = "pneumaticCannon"
- item_state = "bulldog"
+ inhand_icon_state = "bulldog"
lefthand_file = 'icons/mob/inhands/weapons/guns_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/guns_righthand.dmi'
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 60, "acid" = 50)
@@ -308,7 +308,7 @@
desc = "A weapon favored by carp hunters. Fires specialized spears using kinetic energy."
icon = 'icons/obj/guns/projectile.dmi'
icon_state = "speargun"
- item_state = "speargun"
+ inhand_icon_state = "speargun"
w_class = WEIGHT_CLASS_BULKY
force = 10
fire_sound = 'sound/weapons/gun/general/grenade_launch.ogg'
@@ -329,7 +329,7 @@
name = "quiver"
desc = "A quiver for holding magspears."
icon_state = "quiver"
- item_state = "quiver"
+ inhand_icon_state = "quiver"
/obj/item/storage/backpack/magspear_quiver/ComponentInitialize()
. = ..()
diff --git a/code/game/objects/items/powerfist.dm b/code/game/objects/items/powerfist.dm
index 1acb18effb5..516bbb5f1b8 100644
--- a/code/game/objects/items/powerfist.dm
+++ b/code/game/objects/items/powerfist.dm
@@ -2,7 +2,7 @@
name = "power-fist"
desc = "A metal gauntlet with a piston-powered ram ontop for that extra 'ompfh' in your punch."
icon_state = "powerfist"
- item_state = "powerfist"
+ inhand_icon_state = "powerfist"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
flags_1 = CONDUCT_1
diff --git a/code/game/objects/items/religion.dm b/code/game/objects/items/religion.dm
index b07b76833df..a116ca32da1 100644
--- a/code/game/objects/items/religion.dm
+++ b/code/game/objects/items/religion.dm
@@ -3,7 +3,7 @@
desc = "A banner with Nanotrasen's logo on it."
icon = 'icons/obj/banner.dmi'
icon_state = "banner"
- item_state = "banner"
+ inhand_icon_state = "banner"
force = 8
attack_verb = list("forcefully inspired", "violently encouraged", "relentlessly galvanized")
lefthand_file = 'icons/mob/inhands/equipment/banners_lefthand.dmi'
@@ -78,7 +78,7 @@
name = "securistan banner"
desc = "The banner of Securistan, ruling the station with an iron fist."
icon_state = "banner_security"
- item_state = "banner_security"
+ inhand_icon_state = "banner_security"
lefthand_file = 'icons/mob/inhands/equipment/banners_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/banners_righthand.dmi'
job_loyalties = list("Security Officer", "Warden", "Detective", "Head of Security")
@@ -99,7 +99,7 @@
name = "meditopia banner"
desc = "The banner of Meditopia, generous benefactors that cure wounds and shelter the weak."
icon_state = "banner_medical"
- item_state = "banner_medical"
+ inhand_icon_state = "banner_medical"
lefthand_file = 'icons/mob/inhands/equipment/banners_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/banners_righthand.dmi'
job_loyalties = list("Medical Doctor", "Chemist", "Virologist", "Chief Medical Officer")
@@ -128,7 +128,7 @@
name = "sciencia banner"
desc = "The banner of Sciencia, bold and daring thaumaturges and researchers that take the path less traveled."
icon_state = "banner_science"
- item_state = "banner_science"
+ inhand_icon_state = "banner_science"
lefthand_file = 'icons/mob/inhands/equipment/banners_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/banners_righthand.dmi'
job_loyalties = list("Scientist", "Roboticist", "Research Director", "Geneticist",)
@@ -152,7 +152,7 @@
name = "cargonia banner"
desc = "The banner of the eternal Cargonia, with the mystical power of conjuring any object into existence."
icon_state = "banner_cargo"
- item_state = "banner_cargo"
+ inhand_icon_state = "banner_cargo"
lefthand_file = 'icons/mob/inhands/equipment/banners_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/banners_righthand.dmi'
job_loyalties = list("Cargo Technician", "Shaft Miner", "Quartermaster")
@@ -173,7 +173,7 @@
name = "engitopia banner"
desc = "The banner of Engitopia, wielders of limitless power."
icon_state = "banner_engineering"
- item_state = "banner_engineering"
+ inhand_icon_state = "banner_engineering"
lefthand_file = 'icons/mob/inhands/equipment/banners_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/banners_righthand.dmi'
job_loyalties = list("Station Engineer", "Atmospheric Technician", "Chief Engineer")
@@ -217,13 +217,13 @@
/obj/item/banner/red
name = "red banner"
icon_state = "banner-red"
- item_state = "banner-red"
+ inhand_icon_state = "banner-red"
desc = "A banner with the logo of the red deity."
/obj/item/banner/blue
name = "blue banner"
icon_state = "banner-blue"
- item_state = "banner-blue"
+ inhand_icon_state = "banner-blue"
desc = "A banner with the logo of the blue deity."
/obj/item/storage/backpack/bannerpack
@@ -280,7 +280,7 @@
/obj/item/clothing/head/helmet/plate/crusader/prophet
name = "Prophet's Hat"
desc = "A religious-looking hat."
- mob_overlay_icon = 'icons/mob/large-worn-icons/64x64/head.dmi'
+ worn_icon = 'icons/mob/large-worn-icons/64x64/head.dmi'
flags_1 = 0
armor = list("melee" = 60, "bullet" = 60, "laser" = 60, "energy" = 60, "bomb" = 70, "bio" = 50, "rad" = 50, "fire" = 60, "acid" = 60) //religion protects you from disease and radiation, honk.
worn_x_dimension = 64
diff --git a/code/game/objects/items/scrolls.dm b/code/game/objects/items/scrolls.dm
index 28a4664a244..2e4871d6c7c 100644
--- a/code/game/objects/items/scrolls.dm
+++ b/code/game/objects/items/scrolls.dm
@@ -5,7 +5,7 @@
icon_state = "scroll"
var/uses = 4
w_class = WEIGHT_CLASS_SMALL
- item_state = "paper"
+ inhand_icon_state = "paper"
throw_speed = 3
throw_range = 7
resistance_flags = FLAMMABLE
diff --git a/code/game/objects/items/shields.dm b/code/game/objects/items/shields.dm
index d3685d31ee5..bc80bc6f2af 100644
--- a/code/game/objects/items/shields.dm
+++ b/code/game/objects/items/shields.dm
@@ -84,7 +84,7 @@
name = "\improper Roman shield"
desc = "Bears an inscription on the inside: \"Romanes venio domus\"."
icon_state = "roman_shield"
- item_state = "roman_shield"
+ inhand_icon_state = "roman_shield"
lefthand_file = 'icons/mob/inhands/equipment/shields_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/shields_righthand.dmi'
transparent = FALSE
@@ -105,7 +105,7 @@
name = "wooden buckler"
desc = "A medieval wooden buckler."
icon_state = "buckler"
- item_state = "buckler"
+ inhand_icon_state = "buckler"
lefthand_file = 'icons/mob/inhands/equipment/shields_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/shields_righthand.dmi'
custom_materials = list(/datum/material/wood = MINERAL_MATERIAL_AMOUNT * 10)
@@ -123,7 +123,7 @@
name = "strobe shield"
desc = "A shield with a built in, high intensity light capable of blinding and disorienting suspects. Takes regular handheld flashes as bulbs."
icon_state = "flashshield"
- item_state = "flashshield"
+ inhand_icon_state = "flashshield"
var/obj/item/assembly/flash/handheld/embedded_flash
/obj/item/shield/riot/flash/Initialize()
@@ -176,10 +176,10 @@
/obj/item/shield/riot/flash/update_icon_state()
if(!embedded_flash || embedded_flash.burnt_out)
icon_state = "riot"
- item_state = "riot"
+ inhand_icon_state = "riot"
else
icon_state = "flashshield"
- item_state = "flashshield"
+ inhand_icon_state = "flashshield"
/obj/item/shield/riot/flash/examine(mob/user)
. = ..()
diff --git a/code/game/objects/items/stacks/bscrystal.dm b/code/game/objects/items/stacks/bscrystal.dm
index 99d8eb402dc..343411aa51f 100644
--- a/code/game/objects/items/stacks/bscrystal.dm
+++ b/code/game/objects/items/stacks/bscrystal.dm
@@ -62,7 +62,7 @@
name = "bluespace polycrystal"
icon = 'icons/obj/telescience.dmi'
icon_state = "polycrystal"
- item_state = "sheet-polycrystal"
+ inhand_icon_state = "sheet-polycrystal"
singular_name = "bluespace polycrystal"
desc = "A stable polycrystal, made of fused-together bluespace crystals. You could probably break one off."
custom_materials = list(/datum/material/bluespace=MINERAL_MATERIAL_AMOUNT)
diff --git a/code/game/objects/items/stacks/rods.dm b/code/game/objects/items/stacks/rods.dm
index 41eb3fdeed0..482fd3fcb7d 100644
--- a/code/game/objects/items/stacks/rods.dm
+++ b/code/game/objects/items/stacks/rods.dm
@@ -11,7 +11,7 @@ GLOBAL_LIST_INIT(rod_recipes, list ( \
desc = "Some rods. Can be used for building or something."
singular_name = "metal rod"
icon_state = "rods"
- item_state = "rods"
+ inhand_icon_state = "rods"
flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_NORMAL
force = 9
@@ -97,7 +97,7 @@ GLOBAL_LIST_INIT(rod_recipes, list ( \
desc = "Treated, specialized metal rods. When exposed to the vaccum of space their coating breaks off, but they can hold up against the extreme heat of active lava."
singular_name = "heat resistant rod"
icon_state = "rods"
- item_state = "rods"
+ inhand_icon_state = "rods"
color = "#5286b9ff"
flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_NORMAL
diff --git a/code/game/objects/items/stacks/sheets/glass.dm b/code/game/objects/items/stacks/sheets/glass.dm
index eee5d7243b6..2543bfd65f5 100644
--- a/code/game/objects/items/stacks/sheets/glass.dm
+++ b/code/game/objects/items/stacks/sheets/glass.dm
@@ -18,7 +18,7 @@ GLOBAL_LIST_INIT(glass_recipes, list ( \
desc = "HOLY SHEET! That is a lot of glass."
singular_name = "glass sheet"
icon_state = "sheet-glass"
- item_state = "sheet-glass"
+ inhand_icon_state = "sheet-glass"
custom_materials = list(/datum/material/glass=MINERAL_MATERIAL_AMOUNT)
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 100)
resistance_flags = ACID_PROOF
@@ -84,7 +84,7 @@ GLOBAL_LIST_INIT(pglass_recipes, list ( \
desc = "A glass sheet made out of a plasma-silicate alloy. It looks extremely tough and heavily fire resistant."
singular_name = "plasma glass sheet"
icon_state = "sheet-pglass"
- item_state = "sheet-pglass"
+ inhand_icon_state = "sheet-pglass"
custom_materials = list(/datum/material/plasma=MINERAL_MATERIAL_AMOUNT * 0.5, /datum/material/glass=MINERAL_MATERIAL_AMOUNT)
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 75, "acid" = 100)
resistance_flags = ACID_PROOF
@@ -136,7 +136,7 @@ GLOBAL_LIST_INIT(reinforced_glass_recipes, list ( \
desc = "Glass which seems to have rods or something stuck in them."
singular_name = "reinforced glass sheet"
icon_state = "sheet-rglass"
- item_state = "sheet-rglass"
+ inhand_icon_state = "sheet-rglass"
custom_materials = list(/datum/material/iron=MINERAL_MATERIAL_AMOUNT * 0.5, /datum/material/glass=MINERAL_MATERIAL_AMOUNT)
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 70, "acid" = 100)
resistance_flags = ACID_PROOF
@@ -181,7 +181,7 @@ GLOBAL_LIST_INIT(prglass_recipes, list ( \
desc = "A glass sheet made out of a plasma-silicate alloy and a rod matrix. It looks hopelessly tough and nearly fire-proof!"
singular_name = "reinforced plasma glass sheet"
icon_state = "sheet-prglass"
- item_state = "sheet-prglass"
+ inhand_icon_state = "sheet-prglass"
custom_materials = list(/datum/material/plasma=MINERAL_MATERIAL_AMOUNT * 0.5, /datum/material/glass=MINERAL_MATERIAL_AMOUNT, /datum/material/iron = MINERAL_MATERIAL_AMOUNT * 0.5)
armor = list("melee" = 20, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 80, "acid" = 100)
resistance_flags = ACID_PROOF
@@ -203,7 +203,7 @@ GLOBAL_LIST_INIT(titaniumglass_recipes, list(
desc = "A glass sheet made out of a titanium-silicate alloy."
singular_name = "titanium glass sheet"
icon_state = "sheet-titaniumglass"
- item_state = "sheet-titaniumglass"
+ inhand_icon_state = "sheet-titaniumglass"
custom_materials = list(/datum/material/titanium=MINERAL_MATERIAL_AMOUNT * 0.5, /datum/material/glass=MINERAL_MATERIAL_AMOUNT)
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 80, "acid" = 100)
resistance_flags = ACID_PROOF
@@ -222,7 +222,7 @@ GLOBAL_LIST_INIT(plastitaniumglass_recipes, list(
desc = "A glass sheet made out of a plasma-titanium-silicate alloy."
singular_name = "plastitanium glass sheet"
icon_state = "sheet-plastitaniumglass"
- item_state = "sheet-plastitaniumglass"
+ inhand_icon_state = "sheet-plastitaniumglass"
custom_materials = list(/datum/material/titanium=MINERAL_MATERIAL_AMOUNT * 0.5, /datum/material/plasma=MINERAL_MATERIAL_AMOUNT * 0.5, /datum/material/glass=MINERAL_MATERIAL_AMOUNT)
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 80, "acid" = 100)
material_flags = MATERIAL_NO_EFFECTS
@@ -241,7 +241,7 @@ GLOBAL_LIST_INIT(plastitaniumglass_recipes, list(
w_class = WEIGHT_CLASS_TINY
force = 5
throwforce = 10
- item_state = "shard-glass"
+ inhand_icon_state = "shard-glass"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
custom_materials = list(/datum/material/glass=MINERAL_MATERIAL_AMOUNT)
diff --git a/code/game/objects/items/stacks/sheets/hot_ice.dm b/code/game/objects/items/stacks/sheets/hot_ice.dm
index 2e5d299fec8..5d1d90a008e 100644
--- a/code/game/objects/items/stacks/sheets/hot_ice.dm
+++ b/code/game/objects/items/stacks/sheets/hot_ice.dm
@@ -1,7 +1,7 @@
/obj/item/stack/sheet/hot_ice
name = "hot ice"
icon_state = "hot-ice"
- item_state = "hot-ice"
+ inhand_icon_state = "hot-ice"
singular_name = "hot ice"
icon = 'icons/obj/stack_objects.dmi'
custom_materials = list(/datum/material/hot_ice=MINERAL_MATERIAL_AMOUNT)
diff --git a/code/game/objects/items/stacks/sheets/leather.dm b/code/game/objects/items/stacks/sheets/leather.dm
index 539a0762329..13093a66b58 100644
--- a/code/game/objects/items/stacks/sheets/leather.dm
+++ b/code/game/objects/items/stacks/sheets/leather.dm
@@ -2,7 +2,7 @@
name = "hide"
desc = "Something went wrong."
icon_state = "sheet-hide"
- item_state = "sheet-hide"
+ inhand_icon_state = "sheet-hide"
novariants = TRUE
/obj/item/stack/sheet/animalhide/human
@@ -30,7 +30,7 @@ GLOBAL_LIST_INIT(human_recipes, list( \
desc = "The by-product of corgi farming."
singular_name = "corgi hide piece"
icon_state = "sheet-corgi"
- item_state = "sheet-corgi"
+ inhand_icon_state = "sheet-corgi"
GLOBAL_LIST_INIT(gondola_recipes, list ( \
@@ -43,7 +43,7 @@ GLOBAL_LIST_INIT(gondola_recipes, list ( \
desc = "The extremely valuable product of gondola hunting."
singular_name = "gondola hide piece"
icon_state = "sheet-gondola"
- item_state = "sheet-gondola"
+ inhand_icon_state = "sheet-gondola"
/obj/item/stack/sheet/animalhide/gondola/get_main_recipes()
. = ..()
@@ -62,14 +62,14 @@ GLOBAL_LIST_INIT(corgi_recipes, list ( \
desc = "The by-product of cat farming."
singular_name = "cat hide piece"
icon_state = "sheet-cat"
- item_state = "sheet-cat"
+ inhand_icon_state = "sheet-cat"
/obj/item/stack/sheet/animalhide/monkey
name = "monkey hide"
desc = "The by-product of monkey farming."
singular_name = "monkey hide piece"
icon_state = "sheet-monkey"
- item_state = "sheet-monkey"
+ inhand_icon_state = "sheet-monkey"
GLOBAL_LIST_INIT(monkey_recipes, list ( \
new/datum/stack_recipe("monkey mask", /obj/item/clothing/mask/gas/monkeymask, 1), \
@@ -85,14 +85,14 @@ GLOBAL_LIST_INIT(monkey_recipes, list ( \
desc = "Sssssss..."
singular_name = "lizard skin piece"
icon_state = "sheet-lizard"
- item_state = "sheet-lizard"
+ inhand_icon_state = "sheet-lizard"
/obj/item/stack/sheet/animalhide/xeno
name = "alien hide"
desc = "The skin of a terrible creature."
singular_name = "alien hide piece"
icon_state = "sheet-xeno"
- item_state = "sheet-xeno"
+ inhand_icon_state = "sheet-xeno"
GLOBAL_LIST_INIT(xeno_recipes, list ( \
new/datum/stack_recipe("alien helmet", /obj/item/clothing/head/xenos, 1), \
@@ -129,14 +129,14 @@ GLOBAL_LIST_INIT(xeno_recipes, list ( \
desc = "This hide was stripped of its hair, but still needs washing and tanning."
singular_name = "hairless hide piece"
icon_state = "sheet-hairlesshide"
- item_state = "sheet-hairlesshide"
+ inhand_icon_state = "sheet-hairlesshide"
/obj/item/stack/sheet/wethide
name = "wet hide"
desc = "This hide has been cleaned but still needs to be dried."
singular_name = "wet hide piece"
icon_state = "sheet-wetleather"
- item_state = "sheet-wetleather"
+ inhand_icon_state = "sheet-wetleather"
var/wetness = 30 //Reduced when exposed to high temperautres
var/drying_threshold_temperature = 500 //Kelvin to start drying
@@ -148,7 +148,7 @@ GLOBAL_LIST_INIT(xeno_recipes, list ( \
desc = "The by-product of mob grinding."
singular_name = "leather piece"
icon_state = "sheet-leather"
- item_state = "sheet-leather"
+ inhand_icon_state = "sheet-leather"
GLOBAL_LIST_INIT(leather_recipes, list ( \
new/datum/stack_recipe("wallet", /obj/item/storage/wallet, 1), \
diff --git a/code/game/objects/items/stacks/sheets/mineral.dm b/code/game/objects/items/stacks/sheets/mineral.dm
index 29c3a88f5bc..c86b3c8fe39 100644
--- a/code/game/objects/items/stacks/sheets/mineral.dm
+++ b/code/game/objects/items/stacks/sheets/mineral.dm
@@ -35,7 +35,7 @@ GLOBAL_LIST_INIT(sandstone_recipes, list ( \
desc = "This appears to be a combination of both sand and stone."
singular_name = "sandstone brick"
icon_state = "sheet-sandstone"
- item_state = "sheet-sandstone"
+ inhand_icon_state = "sheet-sandstone"
throw_speed = 3
throw_range = 5
custom_materials = list(/datum/material/sandstone=MINERAL_MATERIAL_AMOUNT)
@@ -96,7 +96,7 @@ GLOBAL_LIST_INIT(sandbag_recipes, list ( \
/obj/item/stack/sheet/mineral/diamond
name = "diamond"
icon_state = "sheet-diamond"
- item_state = "sheet-diamond"
+ inhand_icon_state = "sheet-diamond"
singular_name = "diamond"
sheettype = "diamond"
custom_materials = list(/datum/material/diamond=MINERAL_MATERIAL_AMOUNT)
@@ -125,7 +125,7 @@ GLOBAL_LIST_INIT(diamond_recipes, list ( \
/obj/item/stack/sheet/mineral/uranium
name = "uranium"
icon_state = "sheet-uranium"
- item_state = "sheet-uranium"
+ inhand_icon_state = "sheet-uranium"
singular_name = "uranium sheet"
sheettype = "uranium"
custom_materials = list(/datum/material/uranium=MINERAL_MATERIAL_AMOUNT)
@@ -153,7 +153,7 @@ GLOBAL_LIST_INIT(uranium_recipes, list ( \
/obj/item/stack/sheet/mineral/plasma
name = "solid plasma"
icon_state = "sheet-plasma"
- item_state = "sheet-plasma"
+ inhand_icon_state = "sheet-plasma"
singular_name = "plasma sheet"
sheettype = "plasma"
resistance_flags = FLAMMABLE
@@ -198,7 +198,7 @@ GLOBAL_LIST_INIT(plasma_recipes, list ( \
/obj/item/stack/sheet/mineral/gold
name = "gold"
icon_state = "sheet-gold"
- item_state = "sheet-gold"
+ inhand_icon_state = "sheet-gold"
singular_name = "gold bar"
sheettype = "gold"
custom_materials = list(/datum/material/gold=MINERAL_MATERIAL_AMOUNT)
@@ -230,7 +230,7 @@ GLOBAL_LIST_INIT(gold_recipes, list ( \
/obj/item/stack/sheet/mineral/silver
name = "silver"
icon_state = "sheet-silver"
- item_state = "sheet-silver"
+ inhand_icon_state = "sheet-silver"
singular_name = "silver bar"
sheettype = "silver"
custom_materials = list(/datum/material/silver=MINERAL_MATERIAL_AMOUNT)
@@ -261,7 +261,7 @@ GLOBAL_LIST_INIT(silver_recipes, list ( \
/obj/item/stack/sheet/mineral/bananium
name = "bananium"
icon_state = "sheet-bananium"
- item_state = "sheet-bananium"
+ inhand_icon_state = "sheet-bananium"
singular_name = "bananium sheet"
sheettype = "bananium"
custom_materials = list(/datum/material/bananium=MINERAL_MATERIAL_AMOUNT)
@@ -287,7 +287,7 @@ GLOBAL_LIST_INIT(bananium_recipes, list ( \
/obj/item/stack/sheet/mineral/titanium
name = "titanium"
icon_state = "sheet-titanium"
- item_state = "sheet-titanium"
+ inhand_icon_state = "sheet-titanium"
singular_name = "titanium sheet"
force = 5
throwforce = 5
@@ -319,7 +319,7 @@ GLOBAL_LIST_INIT(titanium_recipes, list ( \
/obj/item/stack/sheet/mineral/plastitanium
name = "plastitanium"
icon_state = "sheet-plastitanium"
- item_state = "sheet-plastitanium"
+ inhand_icon_state = "sheet-plastitanium"
singular_name = "plastitanium sheet"
force = 5
throwforce = 5
@@ -349,7 +349,7 @@ GLOBAL_LIST_INIT(plastitanium_recipes, list ( \
/obj/item/stack/sheet/mineral/snow
name = "snow"
icon_state = "sheet-snow"
- item_state = "sheet-snow"
+ inhand_icon_state = "sheet-snow"
custom_materials = list(/datum/material/snow = MINERAL_MATERIAL_AMOUNT)
singular_name = "snow block"
force = 1
@@ -384,7 +384,7 @@ GLOBAL_LIST_INIT(adamantine_recipes, list(
/obj/item/stack/sheet/mineral/adamantine
name = "adamantine"
icon_state = "sheet-adamantine"
- item_state = "sheet-adamantine"
+ inhand_icon_state = "sheet-adamantine"
singular_name = "adamantine sheet"
custom_materials = list(/datum/material/adamantine=MINERAL_MATERIAL_AMOUNT)
merge_type = /obj/item/stack/sheet/mineral/adamantine
@@ -402,7 +402,7 @@ GLOBAL_LIST_INIT(adamantine_recipes, list(
desc = "Rare material found in distant lands."
singular_name = "runite bar"
icon_state = "sheet-runite"
- item_state = "sheet-runite"
+ inhand_icon_state = "sheet-runite"
custom_materials = list(/datum/material/runite=MINERAL_MATERIAL_AMOUNT)
merge_type = /obj/item/stack/sheet/mineral/runite
material_type = /datum/material/runite
@@ -414,7 +414,7 @@ GLOBAL_LIST_INIT(adamantine_recipes, list(
/obj/item/stack/sheet/mineral/mythril
name = "mythril"
icon_state = "sheet-mythril"
- item_state = "sheet-mythril"
+ inhand_icon_state = "sheet-mythril"
singular_name = "mythril sheet"
novariants = TRUE
custom_materials = list(/datum/material/mythril=MINERAL_MATERIAL_AMOUNT)
@@ -427,7 +427,7 @@ GLOBAL_LIST_INIT(adamantine_recipes, list(
name = "alien alloy"
icon = 'icons/obj/abductor.dmi'
icon_state = "sheet-abductor"
- item_state = "sheet-abductor"
+ inhand_icon_state = "sheet-abductor"
singular_name = "alien alloy sheet"
sheettype = "abductor"
merge_type = /obj/item/stack/sheet/mineral/abductor
@@ -487,7 +487,7 @@ GLOBAL_LIST_INIT(metalhydrogen_recipes, list(
/obj/item/stack/sheet/mineral/metal_hydrogen
name = "Metal Hydrogen"
icon_state = "sheet-metalhydrogen"
- item_state = "sheet-metalhydrogen"
+ inhand_icon_state = "sheet-metalhydrogen"
singular_name = "Metal Hydrogen sheet"
w_class = WEIGHT_CLASS_NORMAL
resistance_flags = FIRE_PROOF | LAVA_PROOF | ACID_PROOF | INDESTRUCTIBLE
diff --git a/code/game/objects/items/stacks/sheets/sheet_types.dm b/code/game/objects/items/stacks/sheets/sheet_types.dm
index dbfb7c2f75c..c0d245df485 100644
--- a/code/game/objects/items/stacks/sheets/sheet_types.dm
+++ b/code/game/objects/items/stacks/sheets/sheet_types.dm
@@ -98,7 +98,7 @@ GLOBAL_LIST_INIT(metal_recipes, list ( \
desc = "Sheets made out of metal."
singular_name = "metal sheet"
icon_state = "sheet-metal"
- item_state = "sheet-metal"
+ inhand_icon_state = "sheet-metal"
custom_materials = list(/datum/material/iron=MINERAL_MATERIAL_AMOUNT)
throwforce = 10
flags_1 = CONDUCT_1
@@ -156,7 +156,7 @@ GLOBAL_LIST_INIT(plasteel_recipes, list ( \
singular_name = "plasteel sheet"
desc = "This sheet is an alloy of iron and plasma."
icon_state = "sheet-plasteel"
- item_state = "sheet-plasteel"
+ inhand_icon_state = "sheet-plasteel"
custom_materials = list(/datum/material/iron=MINERAL_MATERIAL_AMOUNT, /datum/material/plasma=MINERAL_MATERIAL_AMOUNT)
throwforce = 10
flags_1 = CONDUCT_1
@@ -226,7 +226,7 @@ GLOBAL_LIST_INIT(wood_recipes, list ( \
desc = "One can only guess that this is a bunch of wood."
singular_name = "wood plank"
icon_state = "sheet-wood"
- item_state = "sheet-wood"
+ inhand_icon_state = "sheet-wood"
icon = 'icons/obj/stack_objects.dmi'
custom_materials = list(/datum/material/wood=MINERAL_MATERIAL_AMOUNT)
sheettype = "wood"
@@ -259,7 +259,7 @@ GLOBAL_LIST_INIT(bamboo_recipes, list ( \
desc = "Finely cut bamboo sticks."
singular_name = "cut bamboo"
icon_state = "sheet-bamboo"
- item_state = "sheet-bamboo"
+ inhand_icon_state = "sheet-bamboo"
icon = 'icons/obj/stack_objects.dmi'
custom_materials = list(/datum/material/bamboo = MINERAL_MATERIAL_AMOUNT)
throwforce = 15
@@ -314,7 +314,7 @@ GLOBAL_LIST_INIT(cloth_recipes, list ( \
desc = "Is it cotton? Linen? Denim? Burlap? Canvas? You can't tell."
singular_name = "cloth roll"
icon_state = "sheet-cloth"
- item_state = "sheet-cloth"
+ inhand_icon_state = "sheet-cloth"
resistance_flags = FLAMMABLE
force = 0
throwforce = 0
@@ -345,7 +345,7 @@ GLOBAL_LIST_INIT(durathread_recipes, list ( \
desc = "A fabric sown from incredibly durable threads, known for its usefulness in armor production."
singular_name = "durathread roll"
icon_state = "sheet-durathread"
- item_state = "sheet-cloth"
+ inhand_icon_state = "sheet-cloth"
resistance_flags = FLAMMABLE
force = 0
throwforce = 0
@@ -443,7 +443,7 @@ GLOBAL_LIST_INIT(cardboard_recipes, list ( \
desc = "Large sheets of card, like boxes folded flat."
singular_name = "cardboard sheet"
icon_state = "sheet-card"
- item_state = "sheet-card"
+ inhand_icon_state = "sheet-card"
custom_materials = list(/datum/material/cardboard = MINERAL_MATERIAL_AMOUNT)
resistance_flags = FLAMMABLE
force = 0
@@ -490,7 +490,7 @@ GLOBAL_LIST_INIT(runed_metal_recipes, list ( \
desc = "Sheets of cold metal with shifting inscriptions writ upon them."
singular_name = "runed metal sheet"
icon_state = "sheet-runed"
- item_state = "sheet-runed"
+ inhand_icon_state = "sheet-runed"
icon = 'icons/obj/stack_objects.dmi'
custom_materials = list(/datum/material/runedmetal = MINERAL_MATERIAL_AMOUNT)
sheettype = "runed"
@@ -547,7 +547,7 @@ GLOBAL_LIST_INIT(bronze_recipes, list ( \
desc = "On closer inspection, what appears to be wholly-unsuitable-for-building brass is actually more structurally stable bronze."
singular_name = "bronze sheet"
icon_state = "sheet-brass"
- item_state = "sheet-brass"
+ inhand_icon_state = "sheet-brass"
icon = 'icons/obj/stack_objects.dmi'
custom_materials = list(/datum/material/bronze = MINERAL_MATERIAL_AMOUNT)
lefthand_file = 'icons/mob/inhands/misc/sheets_lefthand.dmi'
@@ -585,7 +585,7 @@ GLOBAL_LIST_INIT(bronze_recipes, list ( \
desc = "Rare kind of gems which are only gained by blood sacrifice to minor deities. They are needed in crafting powerful objects."
singular_name = "lesser gem"
icon_state = "sheet-lessergem"
- item_state = "sheet-lessergem"
+ inhand_icon_state = "sheet-lessergem"
novariants = TRUE
@@ -594,7 +594,7 @@ GLOBAL_LIST_INIT(bronze_recipes, list ( \
desc = "Rare kind of gems which are only gained by blood sacrifice to minor deities. They are needed in crafting powerful objects."
singular_name = "greater gem"
icon_state = "sheet-greatergem"
- item_state = "sheet-greatergem"
+ inhand_icon_state = "sheet-greatergem"
novariants = TRUE
/*
@@ -604,7 +604,7 @@ GLOBAL_LIST_INIT(bronze_recipes, list ( \
name = "bones"
icon = 'icons/obj/mining.dmi'
icon_state = "bone"
- item_state = "sheet-bone"
+ inhand_icon_state = "sheet-bone"
custom_materials = list(/datum/material/bone = MINERAL_MATERIAL_AMOUNT)
singular_name = "bone"
desc = "Someone's been drinking their milk."
@@ -633,7 +633,7 @@ GLOBAL_LIST_INIT(plastic_recipes, list(
desc = "Compress dinosaur over millions of years, then refine, split and mold, and voila! You have plastic."
singular_name = "plastic sheet"
icon_state = "sheet-plastic"
- item_state = "sheet-plastic"
+ inhand_icon_state = "sheet-plastic"
custom_materials = list(/datum/material/plastic=MINERAL_MATERIAL_AMOUNT)
throwforce = 7
material_type = /datum/material/plastic
@@ -658,7 +658,7 @@ new /datum/stack_recipe("paper frame door", /obj/structure/mineral_door/paperfra
desc = "A thin wooden frame with paper attached."
singular_name = "paper frame"
icon_state = "sheet-paper"
- item_state = "sheet-paper"
+ inhand_icon_state = "sheet-paper"
custom_materials = list(/datum/material/paper = MINERAL_MATERIAL_AMOUNT)
merge_type = /obj/item/stack/sheet/paperframes
resistance_flags = FLAMMABLE
diff --git a/code/game/objects/items/stacks/tickets.dm b/code/game/objects/items/stacks/tickets.dm
index f525794a6e4..93a7f883c6a 100644
--- a/code/game/objects/items/stacks/tickets.dm
+++ b/code/game/objects/items/stacks/tickets.dm
@@ -3,7 +3,7 @@
desc = "Wow! With enough of these, you could buy a bike! ...Pssh, yeah right."
singular_name = "arcade ticket"
icon_state = "arcade-ticket"
- item_state = "tickets"
+ inhand_icon_state = "tickets"
w_class = WEIGHT_CLASS_TINY
max_amount = 30
diff --git a/code/game/objects/items/stacks/tiles/tile_mineral.dm b/code/game/objects/items/stacks/tiles/tile_mineral.dm
index e242f1f8cb1..18bc3b89989 100644
--- a/code/game/objects/items/stacks/tiles/tile_mineral.dm
+++ b/code/game/objects/items/stacks/tiles/tile_mineral.dm
@@ -3,7 +3,7 @@
singular_name = "plasma floor tile"
desc = "A tile made out of highly flammable plasma. This can only end well."
icon_state = "tile_plasma"
- item_state = "tile-plasma"
+ inhand_icon_state = "tile-plasma"
turf_type = /turf/open/floor/mineral/plasma
mineralType = "plasma"
custom_materials = list(/datum/material/plasma=500)
@@ -13,7 +13,7 @@
singular_name = "uranium floor tile"
desc = "A tile made out of uranium. You feel a bit woozy."
icon_state = "tile_uranium"
- item_state = "tile-uranium"
+ inhand_icon_state = "tile-uranium"
turf_type = /turf/open/floor/mineral/uranium
mineralType = "uranium"
custom_materials = list(/datum/material/uranium=500)
@@ -23,7 +23,7 @@
singular_name = "gold floor tile"
desc = "A tile made out of gold, the swag seems strong here."
icon_state = "tile_gold"
- item_state = "tile-gold"
+ inhand_icon_state = "tile-gold"
turf_type = /turf/open/floor/mineral/gold
mineralType = "gold"
custom_materials = list(/datum/material/gold=500)
@@ -33,7 +33,7 @@
singular_name = "silver floor tile"
desc = "A tile made out of silver, the light shining from it is blinding."
icon_state = "tile_silver"
- item_state = "tile-silver"
+ inhand_icon_state = "tile-silver"
turf_type = /turf/open/floor/mineral/silver
mineralType = "silver"
custom_materials = list(/datum/material/silver=500)
@@ -43,7 +43,7 @@
singular_name = "diamond floor tile"
desc = "A tile made out of diamond. Wow, just, wow."
icon_state = "tile_diamond"
- item_state = "tile-diamond"
+ inhand_icon_state = "tile-diamond"
turf_type = /turf/open/floor/mineral/diamond
mineralType = "diamond"
custom_materials = list(/datum/material/diamond=500)
@@ -53,7 +53,7 @@
singular_name = "bananium floor tile"
desc = "A tile made out of bananium, HOOOOOOOOONK!"
icon_state = "tile_bananium"
- item_state = "tile-bananium"
+ inhand_icon_state = "tile-bananium"
turf_type = /turf/open/floor/mineral/bananium
mineralType = "bananium"
custom_materials = list(/datum/material/bananium=500)
@@ -64,7 +64,7 @@
desc = "A tile made out of alien alloy."
icon = 'icons/obj/abductor.dmi'
icon_state = "tile_abductor"
- item_state = "tile-abductor"
+ inhand_icon_state = "tile-abductor"
turf_type = /turf/open/floor/mineral/abductor
mineralType = "abductor"
@@ -73,7 +73,7 @@
singular_name = "titanium floor tile"
desc = "A tile made of titanium, used for shuttles."
icon_state = "tile_shuttle"
- item_state = "tile-shuttle"
+ inhand_icon_state = "tile-shuttle"
turf_type = /turf/open/floor/mineral/titanium
mineralType = "titanium"
custom_materials = list(/datum/material/titanium=500)
@@ -83,7 +83,7 @@
singular_name = "plastitanium floor tile"
desc = "A tile made of plastitanium, used for very evil shuttles."
icon_state = "tile_darkshuttle"
- item_state = "tile-darkshuttle"
+ inhand_icon_state = "tile-darkshuttle"
turf_type = /turf/open/floor/mineral/plastitanium
mineralType = "plastitanium"
custom_materials = list(/datum/material/titanium=250, /datum/material/plasma=250)
@@ -94,6 +94,6 @@
singular_name = "snow tile"
desc = "A layer of snow."
icon_state = "tile_snow"
- item_state = "tile-silver"
+ inhand_icon_state = "tile-silver"
turf_type = /turf/open/floor/grass/snow/safe
mineralType = "snow"
diff --git a/code/game/objects/items/stacks/tiles/tile_types.dm b/code/game/objects/items/stacks/tiles/tile_types.dm
index 26abd46e607..fcd0328a9cf 100644
--- a/code/game/objects/items/stacks/tiles/tile_types.dm
+++ b/code/game/objects/items/stacks/tiles/tile_types.dm
@@ -92,7 +92,7 @@
singular_name = "grass floor tile"
desc = "A patch of grass like they use on space golf courses."
icon_state = "tile_grass"
- item_state = "tile-grass"
+ inhand_icon_state = "tile-grass"
turf_type = /turf/open/floor/grass
resistance_flags = FLAMMABLE
@@ -102,7 +102,7 @@
singular_name = "fairygrass floor tile"
desc = "A patch of odd, glowing blue grass."
icon_state = "tile_fairygrass"
- item_state = "tile-fairygrass"
+ inhand_icon_state = "tile-fairygrass"
turf_type = /turf/open/floor/grass/fairy
resistance_flags = FLAMMABLE
@@ -112,7 +112,7 @@
singular_name = "wood floor tile"
desc = "An easy to fit wood floor tile."
icon_state = "tile-wood"
- item_state = "tile-wood"
+ inhand_icon_state = "tile-wood"
turf_type = /turf/open/floor/wood
resistance_flags = FLAMMABLE
@@ -122,7 +122,7 @@
singular_name = "basalt floor tile"
desc = "Artificially made ashy soil themed on a hostile environment."
icon_state = "tile_basalt"
- item_state = "tile-basalt"
+ inhand_icon_state = "tile-basalt"
turf_type = /turf/open/floor/grass/fakebasalt
//Carpets
@@ -131,7 +131,7 @@
singular_name = "carpet"
desc = "A piece of carpet. It is the same size as a floor tile."
icon_state = "tile-carpet"
- item_state = "tile-carpet"
+ inhand_icon_state = "tile-carpet"
turf_type = /turf/open/floor/carpet
resistance_flags = FLAMMABLE
tableVariant = /obj/structure/table/wood/fancy
@@ -139,63 +139,63 @@
/obj/item/stack/tile/carpet/black
name = "black carpet"
icon_state = "tile-carpet-black"
- item_state = "tile-carpet-black"
+ inhand_icon_state = "tile-carpet-black"
turf_type = /turf/open/floor/carpet/black
tableVariant = /obj/structure/table/wood/fancy/black
/obj/item/stack/tile/carpet/blue
name = "blue carpet"
icon_state = "tile-carpet-blue"
- item_state = "tile-carpet-blue"
+ inhand_icon_state = "tile-carpet-blue"
turf_type = /turf/open/floor/carpet/blue
tableVariant = /obj/structure/table/wood/fancy/blue
/obj/item/stack/tile/carpet/cyan
name = "cyan carpet"
icon_state = "tile-carpet-cyan"
- item_state = "tile-carpet-cyan"
+ inhand_icon_state = "tile-carpet-cyan"
turf_type = /turf/open/floor/carpet/cyan
tableVariant = /obj/structure/table/wood/fancy/cyan
/obj/item/stack/tile/carpet/green
name = "green carpet"
icon_state = "tile-carpet-green"
- item_state = "tile-carpet-green"
+ inhand_icon_state = "tile-carpet-green"
turf_type = /turf/open/floor/carpet/green
tableVariant = /obj/structure/table/wood/fancy/green
/obj/item/stack/tile/carpet/orange
name = "orange carpet"
icon_state = "tile-carpet-orange"
- item_state = "tile-carpet-orange"
+ inhand_icon_state = "tile-carpet-orange"
turf_type = /turf/open/floor/carpet/orange
tableVariant = /obj/structure/table/wood/fancy/orange
/obj/item/stack/tile/carpet/purple
name = "purple carpet"
icon_state = "tile-carpet-purple"
- item_state = "tile-carpet-purple"
+ inhand_icon_state = "tile-carpet-purple"
turf_type = /turf/open/floor/carpet/purple
tableVariant = /obj/structure/table/wood/fancy/purple
/obj/item/stack/tile/carpet/red
name = "red carpet"
icon_state = "tile-carpet-red"
- item_state = "tile-carpet-red"
+ inhand_icon_state = "tile-carpet-red"
turf_type = /turf/open/floor/carpet/red
tableVariant = /obj/structure/table/wood/fancy/red
/obj/item/stack/tile/carpet/royalblack
name = "royal black carpet"
icon_state = "tile-carpet-royalblack"
- item_state = "tile-carpet-royalblack"
+ inhand_icon_state = "tile-carpet-royalblack"
turf_type = /turf/open/floor/carpet/royalblack
tableVariant = /obj/structure/table/wood/fancy/royalblack
/obj/item/stack/tile/carpet/royalblue
name = "royal blue carpet"
icon_state = "tile-carpet-royalblue"
- item_state = "tile-carpet-royalblue"
+ inhand_icon_state = "tile-carpet-royalblue"
turf_type = /turf/open/floor/carpet/royalblue
tableVariant = /obj/structure/table/wood/fancy/royalblue
@@ -236,7 +236,7 @@
singular_name = "astral carpet"
desc = "A piece of carpet with a convincing star pattern."
icon_state = "tile_space"
- item_state = "tile-space"
+ inhand_icon_state = "tile-space"
turf_type = /turf/open/floor/fakespace
resistance_flags = FLAMMABLE
merge_type = /obj/item/stack/tile/fakespace
@@ -249,7 +249,7 @@
singular_name = "fake pit"
desc = "A piece of carpet with a forced perspective illusion of a pit. No way this could fool anyone!"
icon_state = "tile_pit"
- item_state = "tile-basalt"
+ inhand_icon_state = "tile-basalt"
turf_type = /turf/open/floor/fakepit
resistance_flags = FLAMMABLE
merge_type = /obj/item/stack/tile/fakepit
@@ -263,7 +263,7 @@
singular_name = "high-traction floor tile"
desc = "A high-traction floor tile. It feels rubbery in your hand."
icon_state = "tile_noslip"
- item_state = "tile-noslip"
+ inhand_icon_state = "tile-noslip"
turf_type = /turf/open/floor/noslip
merge_type = /obj/item/stack/tile/noslip
@@ -276,7 +276,7 @@
singular_name = "blue circuit tile"
desc = "A blue circuit tile."
icon_state = "tile_bcircuit"
- item_state = "tile-bcircuit"
+ inhand_icon_state = "tile-bcircuit"
turf_type = /turf/open/floor/circuit
/obj/item/stack/tile/circuit/green
@@ -284,7 +284,7 @@
singular_name = "green circuit tile"
desc = "A green circuit tile."
icon_state = "tile_gcircuit"
- item_state = "tile-gcircuit"
+ inhand_icon_state = "tile-gcircuit"
turf_type = /turf/open/floor/circuit/green
/obj/item/stack/tile/circuit/green/anim
@@ -295,7 +295,7 @@
singular_name = "red circuit tile"
desc = "A red circuit tile."
icon_state = "tile_rcircuit"
- item_state = "tile-rcircuit"
+ inhand_icon_state = "tile-rcircuit"
turf_type = /turf/open/floor/circuit/red
/obj/item/stack/tile/circuit/red/anim
@@ -307,7 +307,7 @@
singular_name = "pod floor tile"
desc = "A grooved floor tile."
icon_state = "tile_pod"
- item_state = "tile-pod"
+ inhand_icon_state = "tile-pod"
turf_type = /turf/open/floor/pod
/obj/item/stack/tile/pod/light
@@ -330,7 +330,7 @@
singular_name = "floor tile"
desc = "The ground you walk on."
icon_state = "tile"
- item_state = "tile"
+ inhand_icon_state = "tile"
force = 6
custom_materials = list(/datum/material/iron=500)
throwforce = 10
diff --git a/code/game/objects/items/storage/backpack.dm b/code/game/objects/items/storage/backpack.dm
index 34612848812..38becaec6ce 100644
--- a/code/game/objects/items/storage/backpack.dm
+++ b/code/game/objects/items/storage/backpack.dm
@@ -13,7 +13,7 @@
name = "backpack"
desc = "You wear this on your back and put items into it."
icon_state = "backpack"
- item_state = "backpack"
+ inhand_icon_state = "backpack"
lefthand_file = 'icons/mob/inhands/equipment/backpack_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/backpack_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
@@ -42,7 +42,7 @@
desc = "What is currently a just an unwieldly block of metal with a slot ready to accept a bluespace anomaly core."
icon = 'icons/obj/storage.dmi'
icon_state = "brokenpack"
- item_state = "brokenpack"
+ inhand_icon_state = "brokenpack"
lefthand_file = 'icons/mob/inhands/equipment/backpack_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/backpack_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
@@ -53,7 +53,7 @@
name = "bag of holding"
desc = "A backpack that opens into a localized pocket of bluespace."
icon_state = "holdingpack"
- item_state = "holdingpack"
+ inhand_icon_state = "holdingpack"
resistance_flags = FIRE_PROOF
item_flags = NO_MAT_REDEMPTION
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 60, "acid" = 50)
@@ -78,7 +78,7 @@
name = "Santa's Gift Bag"
desc = "Space Santa uses this to deliver presents to all the nice children in space in Christmas! Wow, it's pretty big!"
icon_state = "giftbag0"
- item_state = "giftbag"
+ inhand_icon_state = "giftbag"
w_class = WEIGHT_CLASS_BULKY
/obj/item/storage/backpack/santabag/Initialize()
@@ -115,86 +115,86 @@
name = "trophy rack"
desc = "It's useful for both carrying extra gear and proudly declaring your insanity."
icon_state = "cultpack"
- item_state = "backpack"
+ inhand_icon_state = "backpack"
/obj/item/storage/backpack/clown
name = "Giggles von Honkerton"
desc = "It's a backpack made by Honk! Co."
icon_state = "clownpack"
- item_state = "clownpack"
+ inhand_icon_state = "clownpack"
/obj/item/storage/backpack/explorer
name = "explorer bag"
desc = "A robust backpack for stashing your loot."
icon_state = "explorerpack"
- item_state = "explorerpack"
+ inhand_icon_state = "explorerpack"
/obj/item/storage/backpack/mime
name = "Parcel Parceaux"
desc = "A silent backpack made for those silent workers. Silence Co."
icon_state = "mimepack"
- item_state = "mimepack"
+ inhand_icon_state = "mimepack"
/obj/item/storage/backpack/medic
name = "medical backpack"
desc = "It's a backpack especially designed for use in a sterile environment."
icon_state = "medicalpack"
- item_state = "medicalpack"
+ inhand_icon_state = "medicalpack"
/obj/item/storage/backpack/security
name = "security backpack"
desc = "It's a very robust backpack."
icon_state = "securitypack"
- item_state = "securitypack"
+ inhand_icon_state = "securitypack"
/obj/item/storage/backpack/captain
name = "captain's backpack"
desc = "It's a special backpack made exclusively for Nanotrasen officers."
icon_state = "captainpack"
- item_state = "captainpack"
+ inhand_icon_state = "captainpack"
/obj/item/storage/backpack/industrial
name = "industrial backpack"
desc = "It's a tough backpack for the daily grind of station life."
icon_state = "engiepack"
- item_state = "engiepack"
+ inhand_icon_state = "engiepack"
resistance_flags = FIRE_PROOF
/obj/item/storage/backpack/botany
name = "botany backpack"
desc = "It's a backpack made of all-natural fibers."
icon_state = "botpack"
- item_state = "botpack"
+ inhand_icon_state = "botpack"
/obj/item/storage/backpack/chemistry
name = "chemistry backpack"
desc = "A backpack specially designed to repel stains and hazardous liquids."
icon_state = "chempack"
- item_state = "chempack"
+ inhand_icon_state = "chempack"
/obj/item/storage/backpack/genetics
name = "genetics backpack"
desc = "A bag designed to be super tough, just in case someone hulks out on you."
icon_state = "genepack"
- item_state = "genepack"
+ inhand_icon_state = "genepack"
/obj/item/storage/backpack/science
name = "science backpack"
desc = "A specially designed backpack. It's fire resistant and smells vaguely of plasma."
icon_state = "toxpack"
- item_state = "toxpack"
+ inhand_icon_state = "toxpack"
/obj/item/storage/backpack/virology
name = "virology backpack"
desc = "A backpack made of hypo-allergenic fibers. It's designed to help prevent the spread of disease. Smells like monkey."
icon_state = "viropack"
- item_state = "viropack"
+ inhand_icon_state = "viropack"
/obj/item/storage/backpack/ert
name = "emergency response team commander backpack"
desc = "A spacious backpack with lots of pockets, worn by the Commander of an Emergency Response Team."
icon_state = "ert_commander"
- item_state = "securitypack"
+ inhand_icon_state = "securitypack"
resistance_flags = FIRE_PROOF
/obj/item/storage/backpack/ert/security
@@ -229,13 +229,13 @@
name = "satchel"
desc = "A trendy looking satchel."
icon_state = "satchel-norm"
- item_state = "satchel-norm"
+ inhand_icon_state = "satchel-norm"
/obj/item/storage/backpack/satchel/leather
name = "leather satchel"
desc = "It's a very fancy satchel made with fine leather."
icon_state = "satchel"
- item_state = "satchel"
+ inhand_icon_state = "satchel"
/obj/item/storage/backpack/satchel/leather/withwallet/PopulateContents()
new /obj/item/storage/wallet/random(src)
@@ -247,68 +247,68 @@
name = "industrial satchel"
desc = "A tough satchel with extra pockets."
icon_state = "satchel-eng"
- item_state = "satchel-eng"
+ inhand_icon_state = "satchel-eng"
resistance_flags = FIRE_PROOF
/obj/item/storage/backpack/satchel/med
name = "medical satchel"
desc = "A sterile satchel used in medical departments."
icon_state = "satchel-med"
- item_state = "satchel-med"
+ inhand_icon_state = "satchel-med"
/obj/item/storage/backpack/satchel/vir
name = "virologist satchel"
desc = "A sterile satchel with virologist colours."
icon_state = "satchel-vir"
- item_state = "satchel-vir"
+ inhand_icon_state = "satchel-vir"
/obj/item/storage/backpack/satchel/chem
name = "chemist satchel"
desc = "A sterile satchel with chemist colours."
icon_state = "satchel-chem"
- item_state = "satchel-chem"
+ inhand_icon_state = "satchel-chem"
/obj/item/storage/backpack/satchel/gen
name = "geneticist satchel"
desc = "A sterile satchel with geneticist colours."
icon_state = "satchel-gen"
- item_state = "satchel-gen"
+ inhand_icon_state = "satchel-gen"
/obj/item/storage/backpack/satchel/tox
name = "scientist satchel"
desc = "Useful for holding research materials."
icon_state = "satchel-tox"
- item_state = "satchel-tox"
+ inhand_icon_state = "satchel-tox"
/obj/item/storage/backpack/satchel/hyd
name = "botanist satchel"
desc = "A satchel made of all natural fibers."
icon_state = "satchel-hyd"
- item_state = "satchel-hyd"
+ inhand_icon_state = "satchel-hyd"
/obj/item/storage/backpack/satchel/sec
name = "security satchel"
desc = "A robust satchel for security related needs."
icon_state = "satchel-sec"
- item_state = "satchel-sec"
+ inhand_icon_state = "satchel-sec"
/obj/item/storage/backpack/satchel/explorer
name = "explorer satchel"
desc = "A robust satchel for stashing your loot."
icon_state = "satchel-explorer"
- item_state = "satchel-explorer"
+ inhand_icon_state = "satchel-explorer"
/obj/item/storage/backpack/satchel/cap
name = "captain's satchel"
desc = "An exclusive satchel for Nanotrasen officers."
icon_state = "satchel-cap"
- item_state = "satchel-cap"
+ inhand_icon_state = "satchel-cap"
/obj/item/storage/backpack/satchel/flat
name = "smuggler's satchel"
desc = "A very slim satchel that can easily fit into tight spaces."
icon_state = "satchel-flat"
- item_state = "satchel-flat"
+ inhand_icon_state = "satchel-flat"
w_class = WEIGHT_CLASS_NORMAL //Can fit in backpacks itself.
/obj/item/storage/backpack/satchel/flat/Initialize(mapload)
@@ -342,7 +342,7 @@
name = "duffel bag"
desc = "A large duffel bag for holding extra things."
icon_state = "duffel"
- item_state = "duffel"
+ inhand_icon_state = "duffel"
slowdown = 1
/obj/item/storage/backpack/duffelbag/ComponentInitialize()
@@ -354,13 +354,13 @@
name = "captain's duffel bag"
desc = "A large duffel bag for holding extra captainly goods."
icon_state = "duffel-captain"
- item_state = "duffel-captain"
+ inhand_icon_state = "duffel-captain"
/obj/item/storage/backpack/duffelbag/med
name = "medical duffel bag"
desc = "A large duffel bag for holding extra medical supplies."
icon_state = "duffel-med"
- item_state = "duffel-med"
+ inhand_icon_state = "duffel-med"
/obj/item/storage/backpack/duffelbag/med/surgery
name = "surgical duffel bag"
@@ -381,7 +381,7 @@
name = "security duffel bag"
desc = "A large duffel bag for holding extra security supplies and ammunition."
icon_state = "duffel-sec"
- item_state = "duffel-sec"
+ inhand_icon_state = "duffel-sec"
/obj/item/storage/backpack/duffelbag/sec/surgery
name = "surgical duffel bag"
@@ -401,14 +401,14 @@
name = "industrial duffel bag"
desc = "A large duffel bag for holding extra tools and supplies."
icon_state = "duffel-eng"
- item_state = "duffel-eng"
+ inhand_icon_state = "duffel-eng"
resistance_flags = FIRE_PROOF
/obj/item/storage/backpack/duffelbag/drone
name = "drone duffel bag"
desc = "A large duffel bag for holding tools and hats."
icon_state = "duffel-drone"
- item_state = "duffel-drone"
+ inhand_icon_state = "duffel-drone"
resistance_flags = FIRE_PROOF
/obj/item/storage/backpack/duffelbag/drone/PopulateContents()
@@ -424,7 +424,7 @@
name = "clown's duffel bag"
desc = "A large duffel bag for holding lots of funny gags!"
icon_state = "duffel-clown"
- item_state = "duffel-clown"
+ inhand_icon_state = "duffel-clown"
/obj/item/storage/backpack/duffelbag/clown/cream_pie/PopulateContents()
for(var/i in 1 to 10)
@@ -437,7 +437,7 @@
name = "suspicious looking duffel bag"
desc = "A large duffel bag for holding extra tactical supplies."
icon_state = "duffel-syndie"
- item_state = "duffel-syndieammo"
+ inhand_icon_state = "duffel-syndieammo"
slowdown = 0
resistance_flags = FIRE_PROOF
@@ -449,7 +449,7 @@
/obj/item/storage/backpack/duffelbag/syndie/hitman
desc = "A large duffel bag for holding extra things. There is a Nanotrasen logo on the back."
icon_state = "duffel-syndieammo"
- item_state = "duffel-syndieammo"
+ inhand_icon_state = "duffel-syndieammo"
/obj/item/storage/backpack/duffelbag/syndie/hitman/PopulateContents()
new /obj/item/clothing/under/suit/black(src)
@@ -464,13 +464,13 @@
name = "medical duffel bag"
desc = "A large duffel bag for holding extra tactical medical supplies."
icon_state = "duffel-syndiemed"
- item_state = "duffel-syndiemed"
+ inhand_icon_state = "duffel-syndiemed"
/obj/item/storage/backpack/duffelbag/syndie/surgery
name = "surgery duffel bag"
desc = "A suspicious looking duffel bag for holding surgery tools."
icon_state = "duffel-syndiemed"
- item_state = "duffel-syndiemed"
+ inhand_icon_state = "duffel-syndiemed"
/obj/item/storage/backpack/duffelbag/syndie/surgery/PopulateContents()
new /obj/item/scalpel(src)
@@ -488,7 +488,7 @@
name = "ammunition duffel bag"
desc = "A large duffel bag for holding extra weapons ammunition and supplies."
icon_state = "duffel-syndieammo"
- item_state = "duffel-syndieammo"
+ inhand_icon_state = "duffel-syndieammo"
/obj/item/storage/backpack/duffelbag/syndie/ammo/shotgun
desc = "A large duffel bag, packed to the brim with Bulldog shotgun magazines."
@@ -613,7 +613,7 @@
name = "wings"
desc = "Granted to the henchmen who deserve it. This probably doesn't include you."
icon_state = "henchmen"
- item_state = "henchmen"
+ inhand_icon_state = "henchmen"
/obj/item/storage/backpack/duffelbag/cops
name = "police bag"
diff --git a/code/game/objects/items/storage/bags.dm b/code/game/objects/items/storage/bags.dm
index 854c9a45809..0cc2aec899c 100644
--- a/code/game/objects/items/storage/bags.dm
+++ b/code/game/objects/items/storage/bags.dm
@@ -36,7 +36,7 @@
desc = "It's the heavy-duty black polymer kind. Time to take out the trash!"
icon = 'icons/obj/janitor.dmi'
icon_state = "trashbag"
- item_state = "trashbag"
+ inhand_icon_state = "trashbag"
lefthand_file = 'icons/mob/inhands/equipment/custodial_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/custodial_righthand.dmi'
slot_flags = null
diff --git a/code/game/objects/items/storage/belt.dm b/code/game/objects/items/storage/belt.dm
index 93cbd7e22e4..36f15f417d5 100644
--- a/code/game/objects/items/storage/belt.dm
+++ b/code/game/objects/items/storage/belt.dm
@@ -3,7 +3,7 @@
desc = "Can hold various things."
icon = 'icons/obj/clothing/belts.dmi'
icon_state = "utilitybelt"
- item_state = "utility"
+ inhand_icon_state = "utility"
lefthand_file = 'icons/mob/inhands/equipment/belt_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/belt_righthand.dmi'
slot_flags = ITEM_SLOT_BELT
@@ -30,7 +30,7 @@
name = "toolbelt" //Carn: utility belt is nicer, but it bamboozles the text parsing.
desc = "Holds tools."
icon_state = "utility"
- item_state = "utility"
+ inhand_icon_state = "utility"
content_overlays = TRUE
custom_premium_price = 300
drop_sound = 'sound/items/handling/toolbelt_drop.ogg'
@@ -71,7 +71,7 @@
name = "\improper Chief Engineer's toolbelt" //"the Chief Engineer's toolbelt", because "Chief Engineer's toolbelt" is not a proper noun
desc = "Holds tools, looks snazzy."
icon_state = "utility_ce"
- item_state = "utility_ce"
+ inhand_icon_state = "utility_ce"
/obj/item/storage/belt/utility/chief/full/PopulateContents()
new /obj/item/screwdriver/power(src)
@@ -124,7 +124,7 @@
name = "medical belt"
desc = "Can hold various medical equipment."
icon_state = "medical"
- item_state = "medical"
+ inhand_icon_state = "medical"
/obj/item/storage/belt/medical/ComponentInitialize()
. = ..()
@@ -198,7 +198,7 @@
name = "security belt"
desc = "Can hold security gear like handcuffs and flashes."
icon_state = "security"
- item_state = "security"//Could likely use a better one.
+ inhand_icon_state = "security"//Could likely use a better one.
content_overlays = TRUE
/obj/item/storage/belt/security/ComponentInitialize()
@@ -238,7 +238,7 @@
name = "security webbing"
desc = "Unique and versatile chest rig, can hold security gear."
icon_state = "securitywebbing"
- item_state = "securitywebbing"
+ inhand_icon_state = "securitywebbing"
content_overlays = FALSE
custom_premium_price = 900
@@ -251,7 +251,7 @@
name = "explorer's webbing"
desc = "A versatile chest rig, cherished by miners and hunters alike."
icon_state = "explorer1"
- item_state = "explorer1"
+ inhand_icon_state = "explorer1"
w_class = WEIGHT_CLASS_BULKY
/obj/item/storage/belt/mining/ComponentInitialize()
@@ -307,13 +307,13 @@
/obj/item/storage/belt/mining/alt
icon_state = "explorer2"
- item_state = "explorer2"
+ inhand_icon_state = "explorer2"
/obj/item/storage/belt/mining/primitive
name = "hunter's belt"
desc = "A versatile belt, woven from sinew."
icon_state = "ebelt"
- item_state = "ebelt"
+ inhand_icon_state = "ebelt"
/obj/item/storage/belt/mining/primitive/ComponentInitialize()
. = ..()
@@ -324,7 +324,7 @@
name = "soul stone belt"
desc = "Designed for ease of access to the shards during a fight, as to not let a single enemy spirit slip away."
icon_state = "soulstonebelt"
- item_state = "soulstonebelt"
+ inhand_icon_state = "soulstonebelt"
/obj/item/storage/belt/soulstone/ComponentInitialize()
. = ..()
@@ -346,7 +346,7 @@
name = "championship belt"
desc = "Proves to the world that you are the strongest!"
icon_state = "championbelt"
- item_state = "championbelt"
+ inhand_icon_state = "championbelt"
custom_materials = list(/datum/material/gold=400)
/obj/item/storage/belt/champion/ComponentInitialize()
@@ -361,7 +361,7 @@
name = "chest rig"
desc = "A set of tactical webbing worn by Syndicate boarding parties."
icon_state = "militarywebbing"
- item_state = "militarywebbing"
+ inhand_icon_state = "militarywebbing"
resistance_flags = FIRE_PROOF
/obj/item/storage/belt/military/ComponentInitialize()
@@ -421,7 +421,7 @@
desc = "A belt used by abductor agents."
icon = 'icons/obj/abductor.dmi'
icon_state = "belt"
- item_state = "security"
+ inhand_icon_state = "security"
/obj/item/storage/belt/military/abductor/full/PopulateContents()
new /obj/item/screwdriver/abductor(src)
@@ -436,13 +436,13 @@
name = "army belt"
desc = "A belt used by military forces."
icon_state = "grenadebeltold"
- item_state = "security"
+ inhand_icon_state = "security"
/obj/item/storage/belt/military/assault
name = "assault belt"
desc = "A tactical assault belt."
icon_state = "assaultbelt"
- item_state = "security"
+ inhand_icon_state = "security"
/obj/item/storage/belt/military/assault/ComponentInitialize()
. = ..()
@@ -453,7 +453,7 @@
name = "grenadier belt"
desc = "A belt for holding grenades."
icon_state = "grenadebeltnew"
- item_state = "security"
+ inhand_icon_state = "security"
/obj/item/storage/belt/grenade/ComponentInitialize()
. = ..()
@@ -493,7 +493,7 @@
name = "wand belt"
desc = "A belt designed to hold various rods of power. A veritable fanny pack of exotic magic."
icon_state = "soulstonebelt"
- item_state = "soulstonebelt"
+ inhand_icon_state = "soulstonebelt"
/obj/item/storage/belt/wands/ComponentInitialize()
. = ..()
@@ -519,7 +519,7 @@
name = "janibelt"
desc = "A belt used to hold most janitorial supplies."
icon_state = "janibelt"
- item_state = "janibelt"
+ inhand_icon_state = "janibelt"
/obj/item/storage/belt/janitor/ComponentInitialize()
. = ..()
@@ -553,7 +553,7 @@
name = "bandolier"
desc = "A bandolier for holding shotgun ammunition."
icon_state = "bandolier"
- item_state = "bandolier"
+ inhand_icon_state = "bandolier"
/obj/item/storage/belt/bandolier/ComponentInitialize()
. = ..()
@@ -568,7 +568,7 @@
name = "fannypack"
desc = "A dorky fannypack for keeping small items in."
icon_state = "fannypack_leather"
- item_state = "fannypack_leather"
+ inhand_icon_state = "fannypack_leather"
dying_key = DYE_REGISTRY_FANNYPACK
custom_price = 100
@@ -581,58 +581,58 @@
/obj/item/storage/belt/fannypack/black
name = "black fannypack"
icon_state = "fannypack_black"
- item_state = "fannypack_black"
+ inhand_icon_state = "fannypack_black"
/obj/item/storage/belt/fannypack/red
name = "red fannypack"
icon_state = "fannypack_red"
- item_state = "fannypack_red"
+ inhand_icon_state = "fannypack_red"
/obj/item/storage/belt/fannypack/purple
name = "purple fannypack"
icon_state = "fannypack_purple"
- item_state = "fannypack_purple"
+ inhand_icon_state = "fannypack_purple"
/obj/item/storage/belt/fannypack/blue
name = "blue fannypack"
icon_state = "fannypack_blue"
- item_state = "fannypack_blue"
+ inhand_icon_state = "fannypack_blue"
/obj/item/storage/belt/fannypack/orange
name = "orange fannypack"
icon_state = "fannypack_orange"
- item_state = "fannypack_orange"
+ inhand_icon_state = "fannypack_orange"
/obj/item/storage/belt/fannypack/white
name = "white fannypack"
icon_state = "fannypack_white"
- item_state = "fannypack_white"
+ inhand_icon_state = "fannypack_white"
/obj/item/storage/belt/fannypack/green
name = "green fannypack"
icon_state = "fannypack_green"
- item_state = "fannypack_green"
+ inhand_icon_state = "fannypack_green"
/obj/item/storage/belt/fannypack/pink
name = "pink fannypack"
icon_state = "fannypack_pink"
- item_state = "fannypack_pink"
+ inhand_icon_state = "fannypack_pink"
/obj/item/storage/belt/fannypack/cyan
name = "cyan fannypack"
icon_state = "fannypack_cyan"
- item_state = "fannypack_cyan"
+ inhand_icon_state = "fannypack_cyan"
/obj/item/storage/belt/fannypack/yellow
name = "yellow fannypack"
icon_state = "fannypack_yellow"
- item_state = "fannypack_yellow"
+ inhand_icon_state = "fannypack_yellow"
/obj/item/storage/belt/sabre
name = "sabre sheath"
desc = "An ornate sheath designed to hold an officer's blade."
icon_state = "sheath"
- item_state = "sheath"
+ inhand_icon_state = "sheath"
w_class = WEIGHT_CLASS_BULKY
/obj/item/storage/belt/sabre/ComponentInitialize()
@@ -664,10 +664,10 @@
/obj/item/storage/belt/sabre/update_icon_state()
icon_state = "sheath"
- item_state = "sheath"
+ inhand_icon_state = "sheath"
if(contents.len)
icon_state += "-sabre"
- item_state += "-sabre"
+ inhand_icon_state += "-sabre"
/obj/item/storage/belt/sabre/PopulateContents()
new /obj/item/melee/sabre(src)
@@ -677,7 +677,7 @@
name = "botanical belt"
desc = "A belt used to hold most hydroponics supplies. Suprisingly, not green."
icon_state = "plantbelt"
- item_state = "plantbelt"
+ inhand_icon_state = "plantbelt"
content_overlays = TRUE
/obj/item/storage/belt/plant/ComponentInitialize()
diff --git a/code/game/objects/items/storage/book.dm b/code/game/objects/items/storage/book.dm
index fbdf250682c..5a38f9158e5 100644
--- a/code/game/objects/items/storage/book.dm
+++ b/code/game/objects/items/storage/book.dm
@@ -34,7 +34,7 @@ GLOBAL_LIST_INIT(bibleitemstates, list("bible", "koran", "scrapbook", "burning",
desc = "Apply to head repeatedly."
icon = 'icons/obj/storage.dmi'
icon_state = "bible"
- item_state = "bible"
+ inhand_icon_state = "bible"
lefthand_file = 'icons/mob/inhands/misc/books_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/books_righthand.dmi'
var/mob/affecting = null
@@ -72,7 +72,7 @@ GLOBAL_LIST_INIT(bibleitemstates, list("bible", "koran", "scrapbook", "burning",
var/iconi = text2num(href_list["seticon"])
var/biblename = GLOB.biblenames[iconi]
icon_state = GLOB.biblestates[iconi]
- item_state = GLOB.bibleitemstates[iconi]
+ inhand_icon_state = GLOB.bibleitemstates[iconi]
if(icon_state == "honk1" || icon_state == "honk2")
var/mob/living/carbon/human/H = usr
@@ -86,7 +86,7 @@ GLOBAL_LIST_INIT(bibleitemstates, list("bible", "koran", "scrapbook", "burning",
insuls.siemens_coefficient = 0.99999
H.equip_to_slot(insuls, ITEM_SLOT_GLOVES)
GLOB.bible_icon_state = icon_state
- GLOB.bible_item_state = item_state
+ GLOB.bible_inhand_icon_state = inhand_icon_state
SSblackbox.record_feedback("text", "religion_book", 1, "[biblename]")
usr << browse(null, "window=editicon")
@@ -191,7 +191,7 @@ GLOBAL_LIST_INIT(bibleitemstates, list("bible", "koran", "scrapbook", "burning",
var/obj/item/storage/book/bible/B = A
B.name = name
B.icon_state = icon_state
- B.item_state = item_state
+ B.inhand_icon_state = inhand_icon_state
if(istype(A, /obj/item/cult_bastard) && !iscultist(user))
var/obj/item/cult_bastard/sword = A
to_chat(user, "You begin to exorcise [sword].")
diff --git a/code/game/objects/items/storage/boxes.dm b/code/game/objects/items/storage/boxes.dm
index 7af101dcc1a..ebabc3b074c 100644
--- a/code/game/objects/items/storage/boxes.dm
+++ b/code/game/objects/items/storage/boxes.dm
@@ -25,7 +25,7 @@
name = "box"
desc = "It's just an ordinary box."
icon_state = "box"
- item_state = "syringe_kit"
+ inhand_icon_state = "syringe_kit"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
resistance_flags = FLAMMABLE
@@ -82,7 +82,7 @@
desc = "Unfortunately not large enough to trap the mime."
foldable = null
icon_state = "box"
- item_state = null
+ inhand_icon_state = null
alpha = 0
/obj/item/storage/box/mime/attack_hand(mob/user)
@@ -687,7 +687,7 @@
desc = "A small box of Almost But Not Quite Plasma Premium Matches."
icon = 'icons/obj/cigarettes.dmi'
icon_state = "matchbox"
- item_state = "zippo"
+ inhand_icon_state = "zippo"
w_class = WEIGHT_CLASS_TINY
slot_flags = ITEM_SLOT_BELT
drop_sound = 'sound/items/handling/matchbox_drop.ogg'
@@ -712,7 +712,7 @@
icon = 'icons/obj/storage.dmi'
illustration = "light"
desc = "This box is shaped on the inside so that only light tubes and bulbs fit."
- item_state = "syringe_kit"
+ inhand_icon_state = "syringe_kit"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
foldable = /obj/item/stack/sheet/cardboard //BubbleWrap
@@ -874,7 +874,7 @@
name = "paper sack"
desc = "A sack neatly crafted out of paper."
icon_state = "paperbag_None"
- item_state = "paperbag_None"
+ inhand_icon_state = "paperbag_None"
illustration = null
resistance_flags = FLAMMABLE
foldable = null
@@ -893,9 +893,9 @@
/obj/item/storage/box/papersack/update_icon_state()
if(contents.len == 0)
- icon_state = "[item_state]"
+ icon_state = "[inhand_icon_state]"
else
- icon_state = "[item_state]_closed"
+ icon_state = "[inhand_icon_state]_closed"
/obj/item/storage/box/papersack/attackby(obj/item/W, mob/user, params)
if(istype(W, /obj/item/pen))
@@ -919,16 +919,16 @@
return FALSE
to_chat(user, "You make some modifications to [src] using your pen.")
icon_state = "paperbag_[choice]"
- item_state = "paperbag_[choice]"
+ inhand_icon_state = "paperbag_[choice]"
return FALSE
else if(W.get_sharpness())
if(!contents.len)
- if(item_state == "paperbag_None")
+ if(inhand_icon_state == "paperbag_None")
user.show_message("You cut eyeholes into [src].", MSG_VISUAL)
new /obj/item/clothing/head/papersack(user.loc)
qdel(src)
return FALSE
- else if(item_state == "paperbag_SmileyFace")
+ else if(inhand_icon_state == "paperbag_SmileyFace")
user.show_message("You cut eyeholes into [src] and modify the design.", MSG_VISUAL)
new /obj/item/clothing/head/papersack/smiley(user.loc)
qdel(src)
@@ -972,7 +972,7 @@
if(theme_name)
name = "[name] ([theme_name])"
desc = "A box containing supplementary ingredients for the aspiring chef. The box's theme is '[theme_name]'."
- item_state = "syringe_kit"
+ inhand_icon_state = "syringe_kit"
/obj/item/storage/box/ingredients/wildcard
theme_name = "wildcard"
diff --git a/code/game/objects/items/storage/fancy.dm b/code/game/objects/items/storage/fancy.dm
index 54d2b1f9233..7ab0b884f67 100644
--- a/code/game/objects/items/storage/fancy.dm
+++ b/code/game/objects/items/storage/fancy.dm
@@ -82,7 +82,7 @@
/obj/item/storage/fancy/egg_box
icon = 'icons/obj/food/containers.dmi'
- item_state = "eggbox"
+ inhand_icon_state = "eggbox"
icon_state = "eggbox"
icon_type = "egg"
lefthand_file = 'icons/mob/inhands/misc/food_lefthand.dmi'
@@ -107,7 +107,7 @@
icon = 'icons/obj/candle.dmi'
icon_state = "candlebox5"
icon_type = "candle"
- item_state = "candlebox5"
+ inhand_icon_state = "candlebox5"
throwforce = 2
slot_flags = ITEM_SLOT_BELT
spawn_type = /obj/item/candle
@@ -129,7 +129,7 @@
desc = "The most popular brand of cigarettes, sponsors of the Space Olympics."
icon = 'icons/obj/cigarettes.dmi'
icon_state = "cig"
- item_state = "cigpacket"
+ inhand_icon_state = "cigpacket"
w_class = WEIGHT_CLASS_TINY
throwforce = 0
slot_flags = ITEM_SLOT_BELT
@@ -365,7 +365,7 @@
name = "heart-shaped box"
desc = "A heart-shaped box for holding tiny chocolates."
icon = 'icons/obj/food/containers.dmi'
- item_state = "chocolatebox"
+ inhand_icon_state = "chocolatebox"
icon_state = "chocolatebox"
icon_type = "chocolate"
lefthand_file = 'icons/mob/inhands/misc/food_lefthand.dmi'
diff --git a/code/game/objects/items/storage/firstaid.dm b/code/game/objects/items/storage/firstaid.dm
index f92938e3fa7..f437f16ec91 100644
--- a/code/game/objects/items/storage/firstaid.dm
+++ b/code/game/objects/items/storage/firstaid.dm
@@ -40,7 +40,7 @@
/obj/item/storage/firstaid/medical
name = "medical aid kit"
icon_state = "firstaid_surgery"
- item_state = "firstaid"
+ inhand_icon_state = "firstaid"
desc = "A high capacity aid kit for doctors, full of medical supplies and basic surgical equipment"
/obj/item/storage/firstaid/medical/ComponentInitialize()
@@ -134,7 +134,7 @@
name = "burn treatment kit"
desc = "A specialized medical kit for when the toxins lab -spontaneously- burns down."
icon_state = "ointment"
- item_state = "firstaid-ointment"
+ inhand_icon_state = "firstaid-ointment"
damagetype_healed = BURN
/obj/item/storage/firstaid/fire/suicide_act(mob/living/carbon/user)
@@ -159,7 +159,7 @@
name = "toxin treatment kit"
desc = "Used to treat toxic blood content and radiation poisoning."
icon_state = "antitoxin"
- item_state = "firstaid-toxin"
+ inhand_icon_state = "firstaid-toxin"
damagetype_healed = TOX
/obj/item/storage/firstaid/toxin/suicide_act(mob/living/carbon/user)
@@ -184,7 +184,7 @@
name = "oxygen deprivation treatment kit"
desc = "A box full of oxygen goodies."
icon_state = "o2"
- item_state = "firstaid-o2"
+ inhand_icon_state = "firstaid-o2"
damagetype_healed = OXY
/obj/item/storage/firstaid/o2/suicide_act(mob/living/carbon/user)
@@ -209,7 +209,7 @@
name = "brute trauma treatment kit"
desc = "A first aid kit for when you get toolboxed."
icon_state = "brute"
- item_state = "firstaid-brute"
+ inhand_icon_state = "firstaid-brute"
damagetype_healed = BRUTE
/obj/item/storage/firstaid/brute/suicide_act(mob/living/carbon/user)
@@ -234,7 +234,7 @@
name = "advanced first aid kit"
desc = "An advanced kit to help deal with advanced wounds."
icon_state = "radfirstaid"
- item_state = "firstaid-rad"
+ inhand_icon_state = "firstaid-rad"
custom_premium_price = 1100
/obj/item/storage/firstaid/advanced/PopulateContents()
@@ -304,7 +304,7 @@
desc = "It's an airtight container for storing medication."
icon_state = "pill_canister"
icon = 'icons/obj/chemical.dmi'
- item_state = "contsolid"
+ inhand_icon_state = "contsolid"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/game/objects/items/storage/holsters.dm b/code/game/objects/items/storage/holsters.dm
index 0bb4c32f7ab..f902879db7d 100644
--- a/code/game/objects/items/storage/holsters.dm
+++ b/code/game/objects/items/storage/holsters.dm
@@ -3,7 +3,7 @@
name = "shoulder holster"
desc = "A rather plain but still badass looking holster with a single pouch that can hold a small firearm."
icon_state = "holster"
- item_state = "holster"
+ inhand_icon_state = "holster"
alternate_worn_layer = UNDER_SUIT_LAYER
/obj/item/storage/belt/holster/equipped(mob/user, slot)
@@ -55,7 +55,7 @@
name = "syndicate holster"
desc = "A two pouched hip holster that uses chameleon technology to disguise itself and any guns in it."
icon_state = "syndicate_holster"
- item_state = "syndicate_holster"
+ inhand_icon_state = "syndicate_holster"
var/datum/action/item_action/chameleon/change/chameleon_action
/obj/item/storage/belt/holster/chameleon/Initialize()
@@ -99,7 +99,7 @@
name = "operative holster"
desc = "A deep shoulder holster capable of holding almost any form of ballistic weaponry."
icon_state = "syndicate_holster"
- item_state = "syndicate_holster"
+ inhand_icon_state = "syndicate_holster"
w_class = WEIGHT_CLASS_BULKY
/obj/item/storage/belt/holster/nukie/ComponentInitialize()
diff --git a/code/game/objects/items/storage/lockbox.dm b/code/game/objects/items/storage/lockbox.dm
index 51dc47103d5..09e4e425ae9 100644
--- a/code/game/objects/items/storage/lockbox.dm
+++ b/code/game/objects/items/storage/lockbox.dm
@@ -2,7 +2,7 @@
name = "lockbox"
desc = "A locked box."
icon_state = "lockbox+l"
- item_state = "syringe_kit"
+ inhand_icon_state = "syringe_kit"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
@@ -88,7 +88,7 @@
name = "medal box"
desc = "A locked box used to store medals of honor."
icon_state = "medalbox+l"
- item_state = "syringe_kit"
+ inhand_icon_state = "syringe_kit"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
w_class = WEIGHT_CLASS_NORMAL
diff --git a/code/game/objects/items/storage/secure.dm b/code/game/objects/items/storage/secure.dm
index 1f21436bc45..097ae648f56 100644
--- a/code/game/objects/items/storage/secure.dm
+++ b/code/game/objects/items/storage/secure.dm
@@ -119,7 +119,7 @@
name = "secure briefcase"
icon = 'icons/obj/storage.dmi'
icon_state = "secure"
- item_state = "sec-case"
+ inhand_icon_state = "sec-case"
lefthand_file = 'icons/mob/inhands/equipment/briefcase_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/briefcase_righthand.dmi'
desc = "A large briefcase with a digital locking system."
diff --git a/code/game/objects/items/storage/sixpack.dm b/code/game/objects/items/storage/sixpack.dm
index aa668377b5f..f3b3896fca4 100644
--- a/code/game/objects/items/storage/sixpack.dm
+++ b/code/game/objects/items/storage/sixpack.dm
@@ -3,7 +3,7 @@
desc = "Holds up to six drink cans, and select bottles."
icon = 'icons/obj/storage.dmi'
icon_state = "canholder"
- item_state = "cola"
+ inhand_icon_state = "cola"
lefthand_file = 'icons/mob/inhands/misc/food_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/food_righthand.dmi'
custom_materials = list(/datum/material/plastic = 1200)
diff --git a/code/game/objects/items/storage/toolbox.dm b/code/game/objects/items/storage/toolbox.dm
index 73b04d900b7..89bdef5b96f 100644
--- a/code/game/objects/items/storage/toolbox.dm
+++ b/code/game/objects/items/storage/toolbox.dm
@@ -2,7 +2,7 @@
name = "toolbox"
desc = "Danger. Very robust."
icon_state = "toolbox_default"
- item_state = "toolbox_default"
+ inhand_icon_state = "toolbox_default"
lefthand_file = 'icons/mob/inhands/equipment/toolbox_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/toolbox_righthand.dmi'
flags_1 = CONDUCT_1
@@ -42,7 +42,7 @@
/obj/item/storage/toolbox/emergency
name = "emergency toolbox"
icon_state = "red"
- item_state = "toolbox_red"
+ inhand_icon_state = "toolbox_red"
material_flags = NONE
/obj/item/storage/toolbox/emergency/PopulateContents()
@@ -67,7 +67,7 @@
/obj/item/storage/toolbox/mechanical
name = "mechanical toolbox"
icon_state = "blue"
- item_state = "toolbox_blue"
+ inhand_icon_state = "toolbox_blue"
material_flags = NONE
/obj/item/storage/toolbox/mechanical/PopulateContents()
@@ -97,7 +97,7 @@
name = "toolbox"
desc = "An old, blue toolbox, it looks robust."
icon_state = "oldtoolboxclean"
- item_state = "toolbox_blue"
+ inhand_icon_state = "toolbox_blue"
has_latches = FALSE
force = 19
throwforce = 22
@@ -129,7 +129,7 @@
/obj/item/storage/toolbox/electrical
name = "electrical toolbox"
icon_state = "yellow"
- item_state = "toolbox_yellow"
+ inhand_icon_state = "toolbox_yellow"
material_flags = NONE
/obj/item/storage/toolbox/electrical/PopulateContents()
@@ -148,7 +148,7 @@
/obj/item/storage/toolbox/syndicate
name = "suspicious looking toolbox"
icon_state = "syndicate"
- item_state = "toolbox_syndi"
+ inhand_icon_state = "toolbox_syndi"
force = 15
throwforce = 18
material_flags = NONE
@@ -170,7 +170,7 @@
/obj/item/storage/toolbox/drone
name = "mechanical toolbox"
icon_state = "blue"
- item_state = "toolbox_blue"
+ inhand_icon_state = "toolbox_blue"
material_flags = NONE
/obj/item/storage/toolbox/drone/PopulateContents()
@@ -187,7 +187,7 @@
name = "artistic toolbox"
desc = "A toolbox painted bright green. Why anyone would store art supplies in a toolbox is beyond you, but it has plenty of extra space."
icon_state = "green"
- item_state = "artistic_toolbox"
+ inhand_icon_state = "artistic_toolbox"
w_class = WEIGHT_CLASS_GIGANTIC //Holds more than a regular toolbox!
material_flags = NONE
@@ -213,7 +213,7 @@
name = "ammo box"
desc = "It contains a few clips."
icon_state = "ammobox"
- item_state = "ammobox"
+ inhand_icon_state = "ammobox"
drop_sound = 'sound/items/handling/ammobox_drop.ogg'
pickup_sound = 'sound/items/handling/ammobox_pickup.ogg'
@@ -230,7 +230,7 @@
name = "insidious case"
desc = "Bearing the emblem of the Syndicate, this case contains a full infiltrator stealth suit, and has enough room to fit weaponry if necessary."
icon_state = "infiltrator_case"
- item_state = "infiltrator_case"
+ inhand_icon_state = "infiltrator_case"
force = 15
throwforce = 18
w_class = WEIGHT_CLASS_NORMAL
diff --git a/code/game/objects/items/stunbaton.dm b/code/game/objects/items/stunbaton.dm
index 79c92c47126..1c7799d3b2f 100644
--- a/code/game/objects/items/stunbaton.dm
+++ b/code/game/objects/items/stunbaton.dm
@@ -3,7 +3,7 @@
desc = "A stun baton for incapacitating people with."
icon_state = "stunbaton"
- item_state = "baton"
+ inhand_icon_state = "baton"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
@@ -279,7 +279,7 @@
name = "stunprod"
desc = "An improvised stun baton."
icon_state = "stunprod"
- item_state = "prod"
+ inhand_icon_state = "prod"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
@@ -310,7 +310,7 @@
desc = "A device invented in 2486 for the great Space Emu War by the confederacy of Australicus, these high-tech boomerangs also work exceptionally well at stunning crewmembers. Just be careful to catch it when thrown!"
throw_speed = 1
icon_state = "boomerang"
- item_state = "boomerang"
+ inhand_icon_state = "boomerang"
force = 5
throwforce = 5
throw_range = 5
diff --git a/code/game/objects/items/tanks/jetpack.dm b/code/game/objects/items/tanks/jetpack.dm
index ab3da28f220..50b819110fe 100644
--- a/code/game/objects/items/tanks/jetpack.dm
+++ b/code/game/objects/items/tanks/jetpack.dm
@@ -2,7 +2,7 @@
name = "jetpack (empty)"
desc = "A tank of compressed gas for use as propulsion in zero-gravity areas. Use with caution."
icon_state = "jetpack"
- item_state = "jetpack"
+ inhand_icon_state = "jetpack"
lefthand_file = 'icons/mob/inhands/equipment/jetpacks_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/jetpacks_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
@@ -119,7 +119,7 @@
name = "improvised jetpack"
desc = "A jetpack made from two air tanks, a fire extinguisher and some atmospherics equipment. It doesn't look like it can hold much."
icon_state = "jetpack-improvised"
- item_state = "jetpack-sec"
+ inhand_icon_state = "jetpack-sec"
volume = 20 //normal jetpacks have 70 volume
gas_type = null //it starts empty
full_speed = FALSE //moves at hardsuit jetpack speeds
@@ -150,19 +150,19 @@
name = "void jetpack (oxygen)"
desc = "It works well in a void."
icon_state = "jetpack-void"
- item_state = "jetpack-void"
+ inhand_icon_state = "jetpack-void"
/obj/item/tank/jetpack/oxygen
name = "jetpack (oxygen)"
desc = "A tank of compressed oxygen for use as propulsion in zero-gravity areas. Use with caution."
icon_state = "jetpack"
- item_state = "jetpack"
+ inhand_icon_state = "jetpack"
/obj/item/tank/jetpack/oxygen/harness
name = "jet harness (oxygen)"
desc = "A lightweight tactical harness, used by those who don't want to be weighed down by traditional jetpacks."
icon_state = "jetpack-mini"
- item_state = "jetpack-mini"
+ inhand_icon_state = "jetpack-mini"
volume = 40
throw_range = 7
w_class = WEIGHT_CLASS_NORMAL
@@ -171,7 +171,7 @@
name = "captain's jetpack"
desc = "A compact, lightweight jetpack containing a high amount of compressed oxygen."
icon_state = "jetpack-captain"
- item_state = "jetpack-captain"
+ inhand_icon_state = "jetpack-captain"
w_class = WEIGHT_CLASS_NORMAL
volume = 90
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF //steal objective items are hard to destroy.
@@ -180,7 +180,7 @@
name = "security jetpack (oxygen)"
desc = "A tank of compressed oxygen for use as propulsion in zero-gravity areas by security forces."
icon_state = "jetpack-sec"
- item_state = "jetpack-sec"
+ inhand_icon_state = "jetpack-sec"
@@ -188,7 +188,7 @@
name = "jetpack (carbon dioxide)"
desc = "A tank of compressed carbon dioxide for use as propulsion in zero-gravity areas. Painted black to indicate that it should not be used as a source for internals."
icon_state = "jetpack-black"
- item_state = "jetpack-black"
+ inhand_icon_state = "jetpack-black"
distribute_pressure = 0
gas_type = /datum/gas/carbon_dioxide
@@ -197,7 +197,7 @@
name = "hardsuit jetpack upgrade"
desc = "A modular, compact set of thrusters designed to integrate with a hardsuit. It is fueled by a tank inserted into the suit's storage compartment."
icon_state = "jetpack-mining"
- item_state = "jetpack-black"
+ inhand_icon_state = "jetpack-black"
w_class = WEIGHT_CLASS_NORMAL
actions_types = list(/datum/action/item_action/toggle_jetpack, /datum/action/item_action/jetpack_stabilization)
volume = 1
diff --git a/code/game/objects/items/tanks/tank_types.dm b/code/game/objects/items/tanks/tank_types.dm
index c448a48305e..15cfc3cdc83 100644
--- a/code/game/objects/items/tanks/tank_types.dm
+++ b/code/game/objects/items/tanks/tank_types.dm
@@ -45,7 +45,7 @@
name = "anesthetic tank"
desc = "A tank with an N2O/O2 gas mix."
icon_state = "anesthetic"
- item_state = "an_tank"
+ inhand_icon_state = "an_tank"
force = 10
/obj/item/tank/internals/anesthetic/populate_gas()
@@ -97,7 +97,7 @@
name = "plasma internals tank"
desc = "A tank of plasma gas designed specifically for use as internals, particularly for plasma-based lifeforms. If you're not a Plasmaman, you probably shouldn't use this."
icon_state = "plasmaman_tank"
- item_state = "plasmaman_tank"
+ inhand_icon_state = "plasmaman_tank"
force = 10
distribute_pressure = TANK_DEFAULT_RELEASE_PRESSURE
@@ -112,7 +112,7 @@
/obj/item/tank/internals/plasmaman/belt
icon_state = "plasmaman_tank_belt"
- item_state = "plasmaman_tank_belt"
+ inhand_icon_state = "plasmaman_tank_belt"
slot_flags = ITEM_SLOT_BELT
force = 5
volume = 6
diff --git a/code/game/objects/items/tanks/watertank.dm b/code/game/objects/items/tanks/watertank.dm
index 184a117460f..0c4aa3d72eb 100644
--- a/code/game/objects/items/tanks/watertank.dm
+++ b/code/game/objects/items/tanks/watertank.dm
@@ -4,7 +4,7 @@
desc = "A S.U.N.S.H.I.N.E. brand watertank backpack with nozzle to water plants."
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "waterbackpack"
- item_state = "waterbackpack"
+ inhand_icon_state = "waterbackpack"
lefthand_file = 'icons/mob/inhands/equipment/backpack_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/backpack_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
@@ -107,7 +107,7 @@
desc = "A mister nozzle attached to a water tank."
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "mister"
- item_state = "mister"
+ inhand_icon_state = "mister"
lefthand_file = 'icons/mob/inhands/equipment/mister_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/mister_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
@@ -146,7 +146,7 @@
name = "backpack cleaner tank"
desc = "A janitorial cleaner backpack with nozzle to clean blood and graffiti."
icon_state = "waterbackpackjani"
- item_state = "waterbackpackjani"
+ inhand_icon_state = "waterbackpackjani"
custom_price = 1200
/obj/item/watertank/janitor/Initialize()
@@ -158,7 +158,7 @@
desc = "A janitorial spray nozzle attached to a watertank, designed to clean up large messes."
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "misterjani"
- item_state = "misterjani"
+ inhand_icon_state = "misterjani"
lefthand_file = 'icons/mob/inhands/equipment/mister_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/mister_righthand.dmi'
amount_per_transfer_from_this = 5
@@ -182,7 +182,7 @@
/obj/item/watertank/atmos
name = "backpack firefighter tank"
desc = "A refrigerated and pressurized backpack tank with extinguisher nozzle, intended to fight fires. Swaps between extinguisher, resin launcher and a smaller scale resin foamer."
- item_state = "waterbackpackatmos"
+ inhand_icon_state = "waterbackpackatmos"
icon_state = "waterbackpackatmos"
volume = 200
slowdown = 0
@@ -206,7 +206,7 @@
desc = "A heavy duty nozzle attached to a firefighter's backpack tank."
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "atmos_nozzle"
- item_state = "nozzleatmos"
+ inhand_icon_state = "nozzleatmos"
lefthand_file = 'icons/mob/inhands/equipment/mister_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/mister_righthand.dmi'
safety = 0
@@ -328,7 +328,7 @@
desc = "A chemical autoinjector that can be carried on your back."
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "waterbackpackchem"
- item_state = "waterbackpackchem"
+ inhand_icon_state = "waterbackpackchem"
lefthand_file = 'icons/mob/inhands/equipment/backpack_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/backpack_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
@@ -420,7 +420,7 @@
name = "backpack water tank"
desc = "A New Russian backpack spray for systematic cleansing of carbon lifeforms."
icon_state = "waterbackpackop"
- item_state = "waterbackpackop"
+ inhand_icon_state = "waterbackpackop"
w_class = WEIGHT_CLASS_NORMAL
volume = 2000
slowdown = 0
@@ -439,7 +439,7 @@
desc = "A mister nozzle attached to several extended water tanks. It suspiciously has a compressor in the system and is labelled entirely in New Cyrillic."
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "misterop"
- item_state = "misterop"
+ inhand_icon_state = "misterop"
lefthand_file = 'icons/mob/inhands/equipment/mister_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/mister_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
diff --git a/code/game/objects/items/teleportation.dm b/code/game/objects/items/teleportation.dm
index 31b0dee6b11..eeb12828e03 100644
--- a/code/game/objects/items/teleportation.dm
+++ b/code/game/objects/items/teleportation.dm
@@ -19,7 +19,7 @@
var/temp = null
flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_SMALL
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
throw_speed = 3
@@ -119,7 +119,7 @@
desc = "A portable item using blue-space technology."
icon = 'icons/obj/device.dmi'
icon_state = "hand_tele"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
throwforce = 0
diff --git a/code/game/objects/items/teleprod.dm b/code/game/objects/items/teleprod.dm
index 45ec9dc6df4..1a0f3142b98 100644
--- a/code/game/objects/items/teleprod.dm
+++ b/code/game/objects/items/teleprod.dm
@@ -3,7 +3,7 @@
desc = "A prod with a bluespace crystal on the end. The crystal doesn't look too fun to touch."
w_class = WEIGHT_CLASS_NORMAL
icon_state = "teleprod"
- item_state = "teleprod"
+ inhand_icon_state = "teleprod"
slot_flags = null
/obj/item/melee/baton/cattleprod/teleprod/attack(mob/living/carbon/M, mob/living/carbon/user)//handles making things teleport when hit
diff --git a/code/game/objects/items/theft_tools.dm b/code/game/objects/items/theft_tools.dm
index 08bfeca3fc7..0a8016eae10 100644
--- a/code/game/objects/items/theft_tools.dm
+++ b/code/game/objects/items/theft_tools.dm
@@ -9,7 +9,7 @@
desc = "Extremely radioactive. Wear goggles."
icon = 'icons/obj/nuke_tools.dmi'
icon_state = "plutonium_core"
- item_state = "plutoniumcore"
+ inhand_icon_state = "plutoniumcore"
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF
var/pulse = 0
var/cooldown = 0
@@ -45,7 +45,7 @@
desc = "Solid container for radioactive objects."
icon = 'icons/obj/nuke_tools.dmi'
icon_state = "core_container_empty"
- item_state = "tile"
+ inhand_icon_state = "tile"
lefthand_file = 'icons/mob/inhands/misc/tiles_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/tiles_righthand.dmi'
var/obj/item/nuke_core/core
@@ -88,7 +88,7 @@
desc = "A screwdriver with an ultra thin tip that's carefully designed to boost screwing speed."
icon = 'icons/obj/nuke_tools.dmi'
icon_state = "screwdriver_nuke"
- item_state = "screwdriver_nuke"
+ inhand_icon_state = "screwdriver_nuke"
toolspeed = 0.5
random_color = FALSE
@@ -121,7 +121,7 @@
name = "supermatter sliver"
desc = "A tiny, highly volatile sliver of a supermatter crystal. Do not handle without protection!"
icon_state = "supermatter_sliver"
- item_state = "supermattersliver"
+ inhand_icon_state = "supermattersliver"
pulseicon = "supermatter_sliver_pulse"
/obj/item/nuke_core/supermatter_sliver/attack_tk() // no TK dusting memes
diff --git a/code/game/objects/items/tools/crowbar.dm b/code/game/objects/items/tools/crowbar.dm
index bed753f2a52..bfaf96dca1f 100644
--- a/code/game/objects/items/tools/crowbar.dm
+++ b/code/game/objects/items/tools/crowbar.dm
@@ -48,14 +48,14 @@
throw_range = 3
custom_materials = list(/datum/material/iron=70)
icon_state = "crowbar_large"
- item_state = "crowbar"
+ inhand_icon_state = "crowbar"
toolspeed = 0.7
/obj/item/crowbar/power
name = "jaws of life"
desc = "A set of jaws of life, compressed through the magic of science."
icon_state = "jaws_pry"
- item_state = "jawsoflife"
+ inhand_icon_state = "jawsoflife"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
custom_materials = list(/datum/material/iron=150,/datum/material/silver=50,/datum/material/titanium=25)
@@ -97,7 +97,7 @@
to_chat(user, "You attach the cutting jaws to [src].")
usesound = 'sound/items/jaws_cut.ogg'
update_icon()
-
+
else
tool_behaviour = TOOL_CROWBAR
to_chat(user, "You attach the prying jaws to [src].")
diff --git a/code/game/objects/items/tools/screwdriver.dm b/code/game/objects/items/tools/screwdriver.dm
index 5edbd75d23d..48d3b7969e5 100644
--- a/code/game/objects/items/tools/screwdriver.dm
+++ b/code/game/objects/items/tools/screwdriver.dm
@@ -3,7 +3,7 @@
desc = "You can be totally screwy with this."
icon = 'icons/obj/tools.dmi'
icon_state = "screwdriver_map"
- item_state = "screwdriver"
+ inhand_icon_state = "screwdriver"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
flags_1 = CONDUCT_1
@@ -78,7 +78,7 @@
desc = "An ultrasonic screwdriver."
icon = 'icons/obj/abductor.dmi'
icon_state = "screwdriver_a"
- item_state = "screwdriver_nuke"
+ inhand_icon_state = "screwdriver_nuke"
usesound = 'sound/items/pshoom.ogg'
toolspeed = 0.1
random_color = FALSE
@@ -90,7 +90,7 @@
name = "hand drill"
desc = "A simple powered hand drill."
icon_state = "drill_screw"
- item_state = "drill"
+ inhand_icon_state = "drill"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
custom_materials = list(/datum/material/iron=150,/datum/material/silver=50,/datum/material/titanium=25) //done for balance reasons, making them high value for research, but harder to get
diff --git a/code/game/objects/items/tools/weldingtool.dm b/code/game/objects/items/tools/weldingtool.dm
index 684b84623a4..f0c906be317 100644
--- a/code/game/objects/items/tools/weldingtool.dm
+++ b/code/game/objects/items/tools/weldingtool.dm
@@ -4,7 +4,7 @@
desc = "A standard edition welder provided by Nanotrasen."
icon = 'icons/obj/tools.dmi'
icon_state = "welder"
- item_state = "welder"
+ inhand_icon_state = "welder"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
flags_1 = CONDUCT_1
@@ -48,9 +48,9 @@
/obj/item/weldingtool/update_icon_state()
if(welding)
- item_state = "[initial(item_state)]1"
+ inhand_icon_state = "[initial(inhand_icon_state)]1"
else
- item_state = "[initial(item_state)]"
+ inhand_icon_state = "[initial(inhand_icon_state)]"
/obj/item/weldingtool/update_overlays()
@@ -344,7 +344,7 @@
name = "upgraded industrial welding tool"
desc = "An upgraded welder based of the industrial welder."
icon_state = "upindwelder"
- item_state = "upindwelder"
+ inhand_icon_state = "upindwelder"
max_fuel = 80
custom_materials = list(/datum/material/iron=70, /datum/material/glass=120)
@@ -352,7 +352,7 @@
name = "experimental welding tool"
desc = "An experimental welder capable of self-fuel generation and less harmful to the eyes."
icon_state = "exwelder"
- item_state = "exwelder"
+ inhand_icon_state = "exwelder"
max_fuel = 40
custom_materials = list(/datum/material/iron=70, /datum/material/glass=120)
var/last_gen = 0
diff --git a/code/game/objects/items/tools/wirecutters.dm b/code/game/objects/items/tools/wirecutters.dm
index 9635903750b..fe6eeedd267 100644
--- a/code/game/objects/items/tools/wirecutters.dm
+++ b/code/game/objects/items/tools/wirecutters.dm
@@ -3,7 +3,7 @@
desc = "This cuts wires."
icon = 'icons/obj/tools.dmi'
icon_state = "cutters_map"
- item_state = "cutters"
+ inhand_icon_state = "cutters"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
flags_1 = CONDUCT_1
diff --git a/code/game/objects/items/tools/wrench.dm b/code/game/objects/items/tools/wrench.dm
index 8438c799d00..b0fdb9ae002 100644
--- a/code/game/objects/items/tools/wrench.dm
+++ b/code/game/objects/items/tools/wrench.dm
@@ -79,7 +79,7 @@
name = "combat wrench"
desc = "It's like a normal wrench but edgier. Can be found on the battlefield."
icon_state = "wrench_combat"
- item_state = "wrench_combat"
+ inhand_icon_state = "wrench_combat"
attack_verb = list("devastated", "brutalized", "committed a war crime against", "obliterated", "humiliated")
tool_behaviour = null
toolspeed = null
@@ -113,7 +113,7 @@
/obj/item/wrench/combat/update_icon_state()
if(on)
icon_state = "[initial(icon_state)]_on"
- item_state = "[initial(item_state)]1"
+ inhand_icon_state = "[initial(inhand_icon_state)]1"
else
icon_state = "[initial(icon_state)]"
- item_state = "[initial(item_state)]"
+ inhand_icon_state = "[initial(inhand_icon_state)]"
diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm
index 98405bbc1be..2d50ff5c28b 100644
--- a/code/game/objects/items/toys.dm
+++ b/code/game/objects/items/toys.dm
@@ -42,7 +42,7 @@
desc = "A translucent balloon. There's nothing in it."
icon = 'icons/obj/toy.dmi'
icon_state = "waterballoon-e"
- item_state = "balloon-empty"
+ inhand_icon_state = "balloon-empty"
/obj/item/toy/waterballoon/Initialize()
@@ -110,10 +110,10 @@
/obj/item/toy/waterballoon/update_icon_state()
if(src.reagents.total_volume >= 1)
icon_state = "waterballoon"
- item_state = "balloon"
+ inhand_icon_state = "balloon"
else
icon_state = "waterballoon-e"
- item_state = "balloon-empty"
+ inhand_icon_state = "balloon-empty"
#define BALLOON_COLORS list("red", "blue", "green", "yellow")
@@ -122,7 +122,7 @@
desc = "No birthday is complete without it."
icon = 'icons/obj/balloons.dmi'
icon_state = "balloon"
- item_state = "balloon"
+ inhand_icon_state = "balloon"
lefthand_file = 'icons/mob/inhands/balloons_lefthand.dmi'
righthand_file = 'icons/mob/inhands/balloons_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
@@ -138,20 +138,20 @@
var/chosen_balloon_color = pick(BALLOON_COLORS)
name = "[chosen_balloon_color] [name]"
icon_state = "[icon_state]_[chosen_balloon_color]"
- item_state = icon_state
+ inhand_icon_state = icon_state
/obj/item/toy/balloon/corgi
name = "corgi balloon"
desc = "A balloon with a corgi face on it. For the all year good boys."
icon_state = "corgi"
- item_state = "corgi"
+ inhand_icon_state = "corgi"
random_color = FALSE
/obj/item/toy/balloon/syndicate
name = "syndicate balloon"
desc = "There is a tag on the back that reads \"FUK NT!11!\"."
icon_state = "syndballoon"
- item_state = "syndballoon"
+ inhand_icon_state = "syndballoon"
random_color = FALSE
/obj/item/toy/balloon/syndicate/pickup(mob/user)
@@ -233,7 +233,7 @@
desc = "Looks almost like the real thing! Ages 8 and up. Please recycle in an autolathe when you're out of caps."
icon = 'icons/obj/guns/projectile.dmi'
icon_state = "revolver"
- item_state = "gun"
+ inhand_icon_state = "gun"
lefthand_file = 'icons/mob/inhands/weapons/guns_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/guns_righthand.dmi'
flags_1 = CONDUCT_1
@@ -311,7 +311,7 @@
desc = "A cheap, plastic replica of an energy sword. Realistic sounds! Ages 8 and up."
icon = 'icons/obj/transforming_energy.dmi'
icon_state = "sword0"
- item_state = "sword0"
+ inhand_icon_state = "sword0"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
var/active = 0
@@ -327,16 +327,16 @@
playsound(user, 'sound/weapons/saberon.ogg', 20, TRUE)
if(hacked)
icon_state = "swordrainbow"
- item_state = "swordrainbow"
+ inhand_icon_state = "swordrainbow"
else
icon_state = "swordblue"
- item_state = "swordblue"
+ inhand_icon_state = "swordblue"
w_class = WEIGHT_CLASS_BULKY
else
to_chat(user, "You push the plastic blade back down into the handle.")
playsound(user, 'sound/weapons/saberoff.ogg', 20, TRUE)
icon_state = "sword0"
- item_state = "sword0"
+ inhand_icon_state = "sword0"
w_class = WEIGHT_CLASS_SMALL
add_fingerprint(user)
@@ -376,7 +376,7 @@
desc = "It says \"Sternside Changs #1 fan\" on it."
icon = 'icons/obj/toy.dmi'
icon_state = "foamblade"
- item_state = "arm_blade"
+ inhand_icon_state = "arm_blade"
lefthand_file = 'icons/mob/inhands/antag/changeling_lefthand.dmi'
righthand_file = 'icons/mob/inhands/antag/changeling_righthand.dmi'
attack_verb = list("pricked", "absorbed", "gored")
@@ -388,7 +388,7 @@
name = "windup toolbox"
desc = "A replica toolbox that rumbles when you turn the key."
icon_state = "his_grace"
- item_state = "artistic_toolbox"
+ inhand_icon_state = "artistic_toolbox"
lefthand_file = 'icons/mob/inhands/equipment/toolbox_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/toolbox_righthand.dmi'
var/active = FALSE
@@ -453,7 +453,7 @@
desc = "Woefully underpowered in D20."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "katana"
- item_state = "katana"
+ inhand_icon_state = "katana"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
flags_1 = CONDUCT_1
@@ -1196,7 +1196,7 @@
icon = 'icons/misc/beach.dmi'
icon_state = "ball"
name = "beach ball"
- item_state = "beachball"
+ inhand_icon_state = "beachball"
w_class = WEIGHT_CLASS_BULKY //Stops people from hiding it in their bags/pockets
/*
@@ -1233,7 +1233,7 @@
desc = "A cheap plastic replica of a dagger. Produced by THE ARM Toys, Inc."
icon = 'icons/obj/wizard.dmi'
icon_state = "render"
- item_state = "cultdagger"
+ inhand_icon_state = "cultdagger"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
@@ -1499,7 +1499,7 @@
desc = "It's a dummy, dummy."
icon = 'icons/obj/toy.dmi'
icon_state = "assistant"
- item_state = "doll"
+ inhand_icon_state = "doll"
var/doll_name = "Dummy"
//Add changing looks when i feel suicidal about making 20 inhands for these.
diff --git a/code/game/objects/items/vending_items.dm b/code/game/objects/items/vending_items.dm
index af647550ea0..b42fe120ffa 100644
--- a/code/game/objects/items/vending_items.dm
+++ b/code/game/objects/items/vending_items.dm
@@ -7,7 +7,7 @@
icon = 'icons/obj/vending_restock.dmi'
icon_state = "refill_snack"
- item_state = "restock_unit"
+ inhand_icon_state = "restock_unit"
desc = "A vending machine restock cart."
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
diff --git a/code/game/objects/items/weaponry.dm b/code/game/objects/items/weaponry.dm
index 02432695ca9..27f93458805 100644
--- a/code/game/objects/items/weaponry.dm
+++ b/code/game/objects/items/weaponry.dm
@@ -35,7 +35,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
name = "\improper SORD"
desc = "This thing is so unspeakably shitty you are having a hard time even holding it."
icon_state = "sord"
- item_state = "sord"
+ inhand_icon_state = "sord"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
slot_flags = ITEM_SLOT_BELT
@@ -54,7 +54,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
name = "claymore"
desc = "What are you standing around staring at this for? Get to killing!"
icon_state = "claymore"
- item_state = "claymore"
+ inhand_icon_state = "claymore"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
hitsound = 'sound/weapons/bladeslice.ogg'
@@ -197,7 +197,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
user.update_icons()
new_name = "GORE-DRENCHED CLAYMORE OF [pick("THE WHIMSICAL SLAUGHTER", "A THOUSAND SLAUGHTERED CATTLE", "GLORY AND VALHALLA", "ANNIHILATION", "OBLITERATION")]"
icon_state = "claymore_gold"
- item_state = "cultblade"
+ inhand_icon_state = "cultblade"
remove_atom_colour(ADMIN_COLOUR_PRIORITY)
name = new_name
@@ -207,7 +207,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
name = "katana"
desc = "Woefully underpowered in D20."
icon_state = "katana"
- item_state = "katana"
+ inhand_icon_state = "katana"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
flags_1 = CONDUCT_1
@@ -234,7 +234,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
name = "wired rod"
desc = "A rod with some wire wrapped around the top. It'd be easy to attach something to the top bit."
icon_state = "wiredrod"
- item_state = "rods"
+ inhand_icon_state = "rods"
flags_1 = CONDUCT_1
force = 9
throwforce = 10
@@ -274,7 +274,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
name = "throwing star"
desc = "An ancient weapon still used to this day, due to its ease of lodging itself into its victim's body parts."
icon_state = "throwingstar"
- item_state = "eshield0"
+ inhand_icon_state = "eshield0"
lefthand_file = 'icons/mob/inhands/equipment/shields_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/shields_righthand.dmi'
force = 2
@@ -380,7 +380,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
desc = "A cane used by a true gentleman. Or a clown."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "cane"
- item_state = "stick"
+ inhand_icon_state = "stick"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
force = 5
@@ -417,7 +417,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
desc = "A great tool to drag someone else's drinks across the bar."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "cane"
- item_state = "stick"
+ inhand_icon_state = "stick"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
force = 3
@@ -445,7 +445,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
name = "mounted chainsaw"
desc = "A chainsaw that has replaced your arm."
icon_state = "chainsaw_on"
- item_state = "mounted_chainsaw"
+ inhand_icon_state = "mounted_chainsaw"
lefthand_file = 'icons/mob/inhands/weapons/chainsaw_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/chainsaw_righthand.dmi'
item_flags = ABSTRACT | DROPDEL
@@ -513,20 +513,20 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
name = "liz o' nine tails"
desc = "A whip fashioned from the severed tails of lizards."
icon_state = "tailwhip"
- item_state = "tailwhip"
+ inhand_icon_state = "tailwhip"
item_flags = NONE
/obj/item/melee/chainofcommand/tailwhip/kitty
name = "cat o' nine tails"
desc = "A whip fashioned from the severed tails of cats."
icon_state = "catwhip"
- item_state = "catwhip"
+ inhand_icon_state = "catwhip"
/obj/item/melee/skateboard
name = "improvised skateboard"
desc = "A skateboard. It can be placed on its wheels and ridden, or used as a strong weapon."
icon_state = "skateboard"
- item_state = "skateboard"
+ inhand_icon_state = "skateboard"
force = 12
throwforce = 4
w_class = WEIGHT_CLASS_NORMAL
@@ -543,7 +543,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
name = "skateboard"
desc = "A RaDSTORMz brand professional skateboard. It looks sturdy and well made."
icon_state = "skateboard2"
- item_state = "skateboard2"
+ inhand_icon_state = "skateboard2"
board_item_type = /obj/vehicle/ridden/scooter/skateboard/pro
custom_premium_price = 500
@@ -551,7 +551,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
name = "hoverboard"
desc = "A blast from the past, so retro!"
icon_state = "hoverboard_red"
- item_state = "hoverboard_red"
+ inhand_icon_state = "hoverboard_red"
board_item_type = /obj/vehicle/ridden/scooter/skateboard/hoverboard
custom_premium_price = 2015
@@ -559,7 +559,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
name = "\improper Board Of Directors"
desc = "The engineering complexity of a spaceship concentrated inside of a board. Just as expensive, too."
icon_state = "hoverboard_nt"
- item_state = "hoverboard_nt"
+ inhand_icon_state = "hoverboard_nt"
board_item_type = /obj/vehicle/ridden/scooter/skateboard/hoverboard/admin
/obj/item/melee/baseball_bat
@@ -567,7 +567,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
desc = "There ain't a skull in the league that can withstand a swatter."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "baseball_bat"
- item_state = "baseball_bat"
+ inhand_icon_state = "baseball_bat"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
force = 10
@@ -615,7 +615,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
name = "metal baseball bat"
desc = "This bat is made of highly reflective, highly armored material."
icon_state = "baseball_bat_metal"
- item_state = "baseball_bat_metal"
+ inhand_icon_state = "baseball_bat_metal"
force = 12
throwforce = 15
@@ -633,7 +633,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
desc = "Useful for killing insects of all sizes."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "flyswatter"
- item_state = "flyswatter"
+ inhand_icon_state = "flyswatter"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
force = 1
@@ -769,7 +769,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
name = "slapper"
desc = "This is how real men fight."
icon_state = "latexballon"
- item_state = "nothing"
+ inhand_icon_state = "nothing"
force = 0
throwforce = 0
item_flags = DROPDEL | ABSTRACT
@@ -797,7 +797,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
desc = "Futuristic tech has allowed these classic spring-boxing toys to essentially act as a fully functional hand-operated hand prosthetic."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "extendohand"
- item_state = "extendohand"
+ inhand_icon_state = "extendohand"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
force = 0
@@ -825,7 +825,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
attack_verb = list("whacked", "thwacked", "walloped", "socked")
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "gohei"
- item_state = "gohei"
+ inhand_icon_state = "gohei"
lefthand_file = 'icons/mob/inhands/weapons/staves_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/staves_righthand.dmi'
diff --git a/code/game/objects/structures/beds_chairs/chair.dm b/code/game/objects/structures/beds_chairs/chair.dm
index 3938ec2795b..a2182bbb146 100644
--- a/code/game/objects/structures/beds_chairs/chair.dm
+++ b/code/game/objects/structures/beds_chairs/chair.dm
@@ -260,7 +260,7 @@
desc = "Bar brawl essential."
icon = 'icons/obj/chairs.dmi'
icon_state = "chair_toppled"
- item_state = "chair"
+ inhand_icon_state = "chair"
lefthand_file = 'icons/mob/inhands/misc/chairs_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/chairs_righthand.dmi'
w_class = WEIGHT_CLASS_HUGE
@@ -347,14 +347,14 @@
/obj/item/chair/stool
name = "stool"
icon_state = "stool_toppled"
- item_state = "stool"
+ inhand_icon_state = "stool"
origin_type = /obj/structure/chair/stool
break_chance = 0 //It's too sturdy.
/obj/item/chair/stool/bar
name = "bar stool"
icon_state = "bar_toppled"
- item_state = "stool_bar"
+ inhand_icon_state = "stool_bar"
origin_type = /obj/structure/chair/stool/bar
/obj/item/chair/stool/narsie_act()
@@ -363,7 +363,7 @@
/obj/item/chair/wood
name = "wooden chair"
icon_state = "wooden_chair_toppled"
- item_state = "woodenchair"
+ inhand_icon_state = "woodenchair"
resistance_flags = FLAMMABLE
max_integrity = 70
hitsound = 'sound/weapons/genhit1.ogg'
@@ -473,7 +473,7 @@
desc = "Somehow, you can always find one under the wrestling ring."
icon = 'icons/obj/chairs.dmi'
icon_state = "folded_chair"
- item_state = "folded_chair"
+ inhand_icon_state = "folded_chair"
lefthand_file = 'icons/mob/inhands/misc/chairs_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/chairs_righthand.dmi'
w_class = WEIGHT_CLASS_NORMAL
diff --git a/code/game/objects/structures/bedsheet_bin.dm b/code/game/objects/structures/bedsheet_bin.dm
index b01858a670a..79392098e88 100644
--- a/code/game/objects/structures/bedsheet_bin.dm
+++ b/code/game/objects/structures/bedsheet_bin.dm
@@ -11,7 +11,7 @@ LINEN BINS
lefthand_file = 'icons/mob/inhands/misc/bedsheet_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/bedsheet_righthand.dmi'
icon_state = "sheetwhite"
- item_state = "sheetwhite"
+ inhand_icon_state = "sheetwhite"
slot_flags = ITEM_SLOT_NECK
layer = MOB_LAYER
throwforce = 0
@@ -56,79 +56,79 @@ LINEN BINS
/obj/item/bedsheet/blue
icon_state = "sheetblue"
- item_state = "sheetblue"
+ inhand_icon_state = "sheetblue"
dream_messages = list("blue")
/obj/item/bedsheet/green
icon_state = "sheetgreen"
- item_state = "sheetgreen"
+ inhand_icon_state = "sheetgreen"
dream_messages = list("green")
/obj/item/bedsheet/grey
icon_state = "sheetgrey"
- item_state = "sheetgrey"
+ inhand_icon_state = "sheetgrey"
dream_messages = list("grey")
/obj/item/bedsheet/orange
icon_state = "sheetorange"
- item_state = "sheetorange"
+ inhand_icon_state = "sheetorange"
dream_messages = list("orange")
/obj/item/bedsheet/purple
icon_state = "sheetpurple"
- item_state = "sheetpurple"
+ inhand_icon_state = "sheetpurple"
dream_messages = list("purple")
/obj/item/bedsheet/patriot
name = "patriotic bedsheet"
desc = "You've never felt more free than when sleeping on this."
icon_state = "sheetUSA"
- item_state = "sheetUSA"
+ inhand_icon_state = "sheetUSA"
dream_messages = list("America", "freedom", "fireworks", "bald eagles")
/obj/item/bedsheet/rainbow
name = "rainbow bedsheet"
desc = "A multicolored blanket. It's actually several different sheets cut up and sewn together."
icon_state = "sheetrainbow"
- item_state = "sheetrainbow"
+ inhand_icon_state = "sheetrainbow"
dream_messages = list("red", "orange", "yellow", "green", "blue", "purple", "a rainbow")
/obj/item/bedsheet/red
icon_state = "sheetred"
- item_state = "sheetred"
+ inhand_icon_state = "sheetred"
dream_messages = list("red")
/obj/item/bedsheet/yellow
icon_state = "sheetyellow"
- item_state = "sheetyellow"
+ inhand_icon_state = "sheetyellow"
dream_messages = list("yellow")
/obj/item/bedsheet/mime
name = "mime's blanket"
desc = "A very soothing striped blanket. All the noise just seems to fade out when you're under the covers in this."
icon_state = "sheetmime"
- item_state = "sheetmime"
+ inhand_icon_state = "sheetmime"
dream_messages = list("silence", "gestures", "a pale face", "a gaping mouth", "the mime")
/obj/item/bedsheet/clown
name = "clown's blanket"
desc = "A rainbow blanket with a clown mask woven in. It smells faintly of bananas."
icon_state = "sheetclown"
- item_state = "sheetrainbow"
+ inhand_icon_state = "sheetrainbow"
dream_messages = list("honk", "laughter", "a prank", "a joke", "a smiling face", "the clown")
/obj/item/bedsheet/captain
name = "captain's bedsheet"
desc = "It has a Nanotrasen symbol on it, and was woven with a revolutionary new kind of thread guaranteed to have 0.01% permeability for most non-chemical substances, popular among most modern captains."
icon_state = "sheetcaptain"
- item_state = "sheetcaptain"
+ inhand_icon_state = "sheetcaptain"
dream_messages = list("authority", "a golden ID", "sunglasses", "a green disc", "an antique gun", "the captain")
/obj/item/bedsheet/rd
name = "research director's bedsheet"
desc = "It appears to have a beaker emblem, and is made out of fire-resistant material, although it probably won't protect you in the event of fires you're familiar with every day."
icon_state = "sheetrd"
- item_state = "sheetrd"
+ inhand_icon_state = "sheetrd"
dream_messages = list("authority", "a silvery ID", "a bomb", "a mech", "a facehugger", "maniacal laughter", "the research director")
// for Free Golems.
@@ -141,106 +141,106 @@ LINEN BINS
name = "medical blanket"
desc = "It's a sterilized* blanket commonly used in the Medbay. *Sterilization is voided if a virologist is present onboard the station."
icon_state = "sheetmedical"
- item_state = "sheetmedical"
+ inhand_icon_state = "sheetmedical"
dream_messages = list("healing", "life", "surgery", "a doctor")
/obj/item/bedsheet/cmo
name = "chief medical officer's bedsheet"
desc = "It's a sterilized blanket that has a cross emblem. There's some cat fur on it, likely from Runtime."
icon_state = "sheetcmo"
- item_state = "sheetcmo"
+ inhand_icon_state = "sheetcmo"
dream_messages = list("authority", "a silvery ID", "healing", "life", "surgery", "a cat", "the chief medical officer")
/obj/item/bedsheet/hos
name = "head of security's bedsheet"
desc = "It is decorated with a shield emblem. While crime doesn't sleep, you do, but you are still THE LAW!"
icon_state = "sheethos"
- item_state = "sheethos"
+ inhand_icon_state = "sheethos"
dream_messages = list("authority", "a silvery ID", "handcuffs", "a baton", "a flashbang", "sunglasses", "the head of security")
/obj/item/bedsheet/hop
name = "head of personnel's bedsheet"
desc = "It is decorated with a key emblem. For those rare moments when you can rest and cuddle with Ian without someone screaming for you over the radio."
icon_state = "sheethop"
- item_state = "sheethop"
+ inhand_icon_state = "sheethop"
dream_messages = list("authority", "a silvery ID", "obligation", "a computer", "an ID", "a corgi", "the head of personnel")
/obj/item/bedsheet/ce
name = "chief engineer's bedsheet"
desc = "It is decorated with a wrench emblem. It's highly reflective and stain resistant, so you don't need to worry about ruining it with oil."
icon_state = "sheetce"
- item_state = "sheetce"
+ inhand_icon_state = "sheetce"
dream_messages = list("authority", "a silvery ID", "the engine", "power tools", "an APC", "a parrot", "the chief engineer")
/obj/item/bedsheet/qm
name = "quartermaster's bedsheet"
desc = "It is decorated with a crate emblem in silver lining. It's rather tough, and just the thing to lie on after a hard day of pushing paper."
icon_state = "sheetqm"
- item_state = "sheetqm"
+ inhand_icon_state = "sheetqm"
dream_messages = list("a grey ID", "a shuttle", "a crate", "a sloth", "the quartermaster")
/obj/item/bedsheet/chaplain
name = "chaplain's blanket"
desc = "A blanket woven with the hearts of gods themselves... Wait, that's just linen."
icon_state = "sheetchap"
- item_state = "sheetchap"
+ inhand_icon_state = "sheetchap"
dream_messages = list("a grey ID", "the gods", "a fulfilled prayer", "a cult", "the chaplain")
/obj/item/bedsheet/brown
icon_state = "sheetbrown"
- item_state = "sheetbrown"
+ inhand_icon_state = "sheetbrown"
dream_messages = list("brown")
/obj/item/bedsheet/black
icon_state = "sheetblack"
- item_state = "sheetblack"
+ inhand_icon_state = "sheetblack"
dream_messages = list("black")
/obj/item/bedsheet/centcom
name = "\improper CentCom bedsheet"
desc = "Woven with advanced nanothread for warmth as well as being very decorated, essential for all officials."
icon_state = "sheetcentcom"
- item_state = "sheetcentcom"
+ inhand_icon_state = "sheetcentcom"
dream_messages = list("a unique ID", "authority", "artillery", "an ending")
/obj/item/bedsheet/syndie
name = "syndicate bedsheet"
desc = "It has a syndicate emblem and it has an aura of evil."
icon_state = "sheetsyndie"
- item_state = "sheetsyndie"
+ inhand_icon_state = "sheetsyndie"
dream_messages = list("a green disc", "a red crystal", "a glowing blade", "a wire-covered ID")
/obj/item/bedsheet/cult
name = "cultist's bedsheet"
desc = "You might dream of Nar'Sie if you sleep with this. It seems rather tattered and glows of an eldritch presence."
icon_state = "sheetcult"
- item_state = "sheetcult"
+ inhand_icon_state = "sheetcult"
dream_messages = list("a tome", "a floating red crystal", "a glowing sword", "a bloody symbol", "a massive humanoid figure")
/obj/item/bedsheet/wiz
name = "wizard's bedsheet"
desc = "A special fabric enchanted with magic so you can have an enchanted night. It even glows!"
icon_state = "sheetwiz"
- item_state = "sheetwiz"
+ inhand_icon_state = "sheetwiz"
dream_messages = list("a book", "an explosion", "lightning", "a staff", "a skeleton", "a robe", "magic")
/obj/item/bedsheet/nanotrasen
name = "\improper Nanotrasen bedsheet"
desc = "It has the Nanotrasen logo on it and has an aura of duty."
icon_state = "sheetNT"
- item_state = "sheetNT"
+ inhand_icon_state = "sheetNT"
dream_messages = list("authority", "an ending")
/obj/item/bedsheet/ian
icon_state = "sheetian"
- item_state = "sheetian"
+ inhand_icon_state = "sheetian"
dream_messages = list("a dog", "a corgi", "woof", "bark", "arf")
/obj/item/bedsheet/cosmos
name = "cosmic space bedsheet"
desc = "Made from the dreams of those who wonder at the stars."
icon_state = "sheetcosmos"
- item_state = "sheetcosmos"
+ inhand_icon_state = "sheetcosmos"
dream_messages = list("the infinite cosmos", "Hans Zimmer music", "a flight through space", "the galaxy", "being fabulous", "shooting stars")
light_power = 2
light_range = 1.4
diff --git a/code/game/objects/structures/plaques/_plaques.dm b/code/game/objects/structures/plaques/_plaques.dm
index ef1c186372d..07c671fc4be 100644
--- a/code/game/objects/structures/plaques/_plaques.dm
+++ b/code/game/objects/structures/plaques/_plaques.dm
@@ -12,12 +12,12 @@
armor = list("melee" = 50, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
rad_flags = RAD_PROTECT_CONTENTS | RAD_NO_CONTAMINATE
///Custom plaque structures and items both start "unengraved", once engraved with a fountain pen their text can't be altered again. Static plaques are already engraved.
- var/engraved = FALSE
+ var/engraved = FALSE
/obj/item/plaque //The item version of the above.
icon = 'icons/obj/decals.dmi'
icon_state = "blankplaque"
- item_state = "blankplaque"
+ inhand_icon_state = "blankplaque"
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
name = "blank plaque"
diff --git a/code/game/objects/structures/signs/_signs.dm b/code/game/objects/structures/signs/_signs.dm
index e1bdd57ee18..88aed58229d 100644
--- a/code/game/objects/structures/signs/_signs.dm
+++ b/code/game/objects/structures/signs/_signs.dm
@@ -28,7 +28,7 @@
desc = "A plastic sign backing, use a pen to change the decal. It can be placed on a wall."
icon = 'icons/obj/decals.dmi'
icon_state = "backing"
- item_state = "backing"
+ inhand_icon_state = "backing"
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
w_class = WEIGHT_CLASS_NORMAL
@@ -181,7 +181,7 @@
else
desc = initial(desc) //If you're changing it to a blank sign, just use obj/item/sign's description.
icon_state = initial(sign_type.icon_state)
- sign_path = sign_type
+ sign_path = sign_type
user.visible_message("You finish changing the sign.")
return
return ..()
diff --git a/code/game/objects/structures/watercloset.dm b/code/game/objects/structures/watercloset.dm
index ad70d2f8c82..4d1768a40f7 100644
--- a/code/game/objects/structures/watercloset.dm
+++ b/code/game/objects/structures/watercloset.dm
@@ -238,7 +238,7 @@
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"
+ inhand_icon_state = "rubberducky"
/obj/structure/sink
name = "sink"
@@ -336,7 +336,7 @@
to_chat(user, "You tear off a strip of gauze and make a rag.")
G.use(1)
return
-
+
if(istype(O, /obj/item/stack/ore/glass))
new /obj/item/stack/sheet/sandblock(loc)
to_chat(user, "You wet the sand in the sink and form it into a block.")
diff --git a/code/modules/admin/verbs/BrokenInhands.dm b/code/modules/admin/verbs/BrokenInhands.dm
index 7b7c461ec06..f5ef44f1fa4 100644
--- a/code/modules/admin/verbs/BrokenInhands.dm
+++ b/code/modules/admin/verbs/BrokenInhands.dm
@@ -10,10 +10,10 @@
var/list/Rstates = IR.IconStates()
var/icon/J = new(O.icon)
var/list/istates = J.IconStates()
- if(!Lstates.Find(O.icon_state) && !Lstates.Find(O.item_state))
+ if(!Lstates.Find(O.icon_state) && !Lstates.Find(O.inhand_icon_state))
if(O.icon_state)
text += "[O.type] WANTS IN LEFT HAND CALLED\n\"[O.icon_state]\".\n"
- if(!Rstates.Find(O.icon_state) && !Rstates.Find(O.item_state))
+ if(!Rstates.Find(O.icon_state) && !Rstates.Find(O.inhand_icon_state))
if(O.icon_state)
text += "[O.type] WANTS IN RIGHT HAND CALLED\n\"[O.icon_state]\".\n"
@@ -21,9 +21,9 @@
if(O.icon_state)
if(!istates.Find(O.icon_state))
text += "[O.type] MISSING NORMAL ICON CALLED\n\"[O.icon_state]\" IN \"[O.icon]\"\n"
- if(O.item_state)
- if(!istates.Find(O.item_state))
- text += "[O.type] MISSING NORMAL ICON CALLED\n\"[O.item_state]\" IN \"[O.icon]\"\n"
+ if(O.inhand_icon_state)
+ if(!istates.Find(O.inhand_icon_state))
+ text += "[O.type] MISSING NORMAL ICON CALLED\n\"[O.inhand_icon_state]\" IN \"[O.icon]\"\n"
text+="\n"
qdel(O)
if(text)
diff --git a/code/modules/antagonists/abductor/equipment/abduction_gear.dm b/code/modules/antagonists/abductor/equipment/abduction_gear.dm
index e83fff14769..a93b4c413ae 100644
--- a/code/modules/antagonists/abductor/equipment/abduction_gear.dm
+++ b/code/modules/antagonists/abductor/equipment/abduction_gear.dm
@@ -11,7 +11,7 @@
desc = "A vest outfitted with advanced stealth technology. It has two modes - combat and stealth."
icon = 'icons/obj/abductor.dmi'
icon_state = "vest_stealth"
- item_state = "armor"
+ inhand_icon_state = "armor"
blood_overlay_type = "armor"
armor = list("melee" = 15, "bullet" = 15, "laser" = 15, "energy" = 25, "bomb" = 15, "bio" = 15, "rad" = 15, "fire" = 70, "acid" = 70)
actions_types = list(/datum/action/item_action/hands_free/activate)
@@ -167,7 +167,7 @@
name = "science tool"
desc = "A dual-mode tool for retrieving specimens and scanning appearances. Scanning can be done through cameras."
icon_state = "gizmo_scan"
- item_state = "silencer"
+ inhand_icon_state = "silencer"
var/mode = GIZMO_SCAN
var/mob/living/marked = null
var/obj/machinery/abductor/console/console
@@ -251,7 +251,7 @@
name = "abductor silencer"
desc = "A compact device used to shut down communications equipment."
icon_state = "silencer"
- item_state = "gizmo"
+ inhand_icon_state = "gizmo"
/obj/item/abductor/silencer/attack(mob/living/M, mob/user)
if(!AbductorCheck(user))
@@ -294,7 +294,7 @@
desc = "A dual-mode tool for directly communicating with sentient brains. It can be used to send a direct message to a target, \
or to send a command to a test subject with a charged gland."
icon_state = "mind_device_message"
- item_state = "silencer"
+ inhand_icon_state = "silencer"
var/mode = MIND_DEVICE_MESSAGE
/obj/item/abductor/mind_device/attack_self(mob/user)
@@ -385,7 +385,7 @@
ammo_type = list(/obj/item/ammo_casing/energy/declone)
pin = /obj/item/firing_pin/abductor
icon_state = "alienpistol"
- item_state = "alienpistol"
+ inhand_icon_state = "alienpistol"
trigger_guard = TRIGGER_GUARD_ALLOW_ALL
/obj/item/gun/energy/shrink_ray
@@ -393,7 +393,7 @@
desc = "This is a piece of frightening alien tech that enhances the magnetic pull of atoms in a localized space to temporarily make an object shrink. \
That or it's just space magic. Either way, it shrinks stuff."
ammo_type = list(/obj/item/ammo_casing/energy/shrink)
- item_state = "shrink_ray"
+ inhand_icon_state = "shrink_ray"
icon_state = "shrink_ray"
fire_delay = 30
selfcharge = 1//shot costs 200 energy, has a max capacity of 1000 for 5 shots. self charge returns 25 energy every couple ticks, so about 1 shot charged every 12~ seconds
@@ -442,7 +442,7 @@ Congratulations! You are now trained for invasive xenobiology research!"}
lefthand_file = 'icons/mob/inhands/antag/abductor_lefthand.dmi'
righthand_file = 'icons/mob/inhands/antag/abductor_righthand.dmi'
icon_state = "wonderprodStun"
- item_state = "wonderprod"
+ inhand_icon_state = "wonderprod"
force = 7
@@ -495,16 +495,16 @@ Congratulations! You are now trained for invasive xenobiology research!"}
switch(mode)
if(BATON_STUN)
icon_state = "wonderprodStun"
- item_state = "wonderprodStun"
+ inhand_icon_state = "wonderprodStun"
if(BATON_SLEEP)
icon_state = "wonderprodSleep"
- item_state = "wonderprodSleep"
+ inhand_icon_state = "wonderprodSleep"
if(BATON_CUFF)
icon_state = "wonderprodCuff"
- item_state = "wonderprodCuff"
+ inhand_icon_state = "wonderprodCuff"
if(BATON_PROBE)
icon_state = "wonderprodProbe"
- item_state = "wonderprodProbe"
+ inhand_icon_state = "wonderprodProbe"
/obj/item/melee/baton/abductor/attack(mob/target, mob/living/user)
if(!AbductorCheck(user))
@@ -666,7 +666,7 @@ Congratulations! You are now trained for invasive xenobiology research!"}
desc = "An advanced alien headset designed to monitor communications of human space stations. Why does it have a microphone? No one knows."
icon = 'icons/obj/abductor.dmi'
icon_state = "abductor_headset"
- item_state = "abductor_headset"
+ inhand_icon_state = "abductor_headset"
keyslot2 = new /obj/item/encryptionkey/heads/captain
/obj/item/radio/headset/abductor/Initialize(mapload)
@@ -758,7 +758,7 @@ Congratulations! You are now trained for invasive xenobiology research!"}
name = "agent headgear"
desc = "Abduct with style - spiky style. Prevents digital tracking."
icon_state = "alienhelmet"
- item_state = "alienhelmet"
+ inhand_icon_state = "alienhelmet"
blockTracking = TRUE
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
@@ -876,7 +876,7 @@ Congratulations! You are now trained for invasive xenobiology research!"}
name = "alien jumpsuit"
icon = 'icons/obj/clothing/under/syndicate.dmi'
icon_state = "abductor"
- item_state = "bl_suit"
- mob_overlay_icon = 'icons/mob/clothing/under/syndicate.dmi'
+ inhand_icon_state = "bl_suit"
+ worn_icon = 'icons/mob/clothing/under/syndicate.dmi'
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 10, bio = 10, rad = 0, fire = 0, acid = 0)
can_adjust = 0
diff --git a/code/modules/antagonists/changeling/changeling.dm b/code/modules/antagonists/changeling/changeling.dm
index 8fea11036b9..2db8f664ab2 100644
--- a/code/modules/antagonists/changeling/changeling.dm
+++ b/code/modules/antagonists/changeling/changeling.dm
@@ -298,8 +298,8 @@
prof.name_list[slot] = I.name
prof.appearance_list[slot] = I.appearance
prof.flags_cover_list[slot] = I.flags_cover
- prof.item_state_list[slot] = I.item_state
- prof.mob_overlay_icon_list[slot] = I.mob_overlay_icon
+ prof.inhand_icon_state_list[slot] = I.inhand_icon_state
+ prof.worn_icon_list[slot] = I.worn_icon
prof.exists_list[slot] = 1
else
continue
@@ -509,8 +509,8 @@
var/list/appearance_list = list()
var/list/flags_cover_list = list()
var/list/exists_list = list()
- var/list/item_state_list = list()
- var/list/mob_overlay_icon_list = list()
+ var/list/inhand_icon_state_list = list()
+ var/list/worn_icon_list = list()
var/underwear
var/undershirt
@@ -529,11 +529,11 @@
newprofile.appearance_list = appearance_list.Copy()
newprofile.flags_cover_list = flags_cover_list.Copy()
newprofile.exists_list = exists_list.Copy()
- newprofile.item_state_list = item_state_list.Copy()
+ newprofile.inhand_icon_state_list = inhand_icon_state_list.Copy()
newprofile.underwear = underwear
newprofile.undershirt = undershirt
newprofile.socks = socks
- newprofile.mob_overlay_icon_list = mob_overlay_icon_list.Copy()
+ newprofile.worn_icon_list = worn_icon_list.Copy()
/datum/antagonist/changeling/xenobio
diff --git a/code/modules/antagonists/changeling/powers/mutations.dm b/code/modules/antagonists/changeling/powers/mutations.dm
index 740f9d04e65..2f2d853b141 100644
--- a/code/modules/antagonists/changeling/powers/mutations.dm
+++ b/code/modules/antagonists/changeling/powers/mutations.dm
@@ -150,7 +150,7 @@
desc = "A grotesque blade made out of bone and flesh that cleaves through people as a hot knife through butter."
icon = 'icons/obj/changeling_items.dmi'
icon_state = "arm_blade"
- item_state = "arm_blade"
+ inhand_icon_state = "arm_blade"
lefthand_file = 'icons/mob/inhands/antag/changeling_lefthand.dmi'
righthand_file = 'icons/mob/inhands/antag/changeling_righthand.dmi'
item_flags = NEEDS_PERMIT | ABSTRACT | DROPDEL
@@ -234,7 +234,7 @@
desc = "A fleshy tentacle that can stretch out and grab things or people."
icon = 'icons/obj/changeling_items.dmi'
icon_state = "tentacle"
- item_state = "tentacle"
+ inhand_icon_state = "tentacle"
lefthand_file = 'icons/mob/inhands/antag/changeling_lefthand.dmi'
righthand_file = 'icons/mob/inhands/antag/changeling_righthand.dmi'
item_flags = NEEDS_PERMIT | ABSTRACT | DROPDEL | NOBLUDGEON
diff --git a/code/modules/antagonists/cult/blood_magic.dm b/code/modules/antagonists/cult/blood_magic.dm
index 57d5911525b..e6813974cd0 100644
--- a/code/modules/antagonists/cult/blood_magic.dm
+++ b/code/modules/antagonists/cult/blood_magic.dm
@@ -340,7 +340,7 @@
lefthand_file = 'icons/mob/inhands/misc/touchspell_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/touchspell_righthand.dmi'
icon_state = "disintegrate"
- item_state = "disintegrate"
+ inhand_icon_state = "disintegrate"
item_flags = NEEDS_PERMIT | ABSTRACT | DROPDEL
w_class = WEIGHT_CLASS_HUGE
diff --git a/code/modules/antagonists/cult/cult_items.dm b/code/modules/antagonists/cult/cult_items.dm
index 34d81f206b6..e3dc9b5b5db 100644
--- a/code/modules/antagonists/cult/cult_items.dm
+++ b/code/modules/antagonists/cult/cult_items.dm
@@ -11,7 +11,7 @@
desc = "A strange dagger said to be used by sinister groups for \"preparing\" a corpse before sacrificing it to their dark gods."
icon = 'icons/obj/wizard.dmi'
icon_state = "render"
- item_state = "cultdagger"
+ inhand_icon_state = "cultdagger"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
inhand_x_dimension = 32
@@ -33,7 +33,7 @@
name = "eldritch longsword"
desc = "A sword humming with unholy energy. It glows with a dim red light."
icon_state = "cultblade"
- item_state = "cultblade"
+ inhand_icon_state = "cultblade"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
flags_1 = CONDUCT_1
@@ -91,7 +91,7 @@
light_color = "#ff0000"
attack_verb = list("cleaved", "slashed", "torn", "hacked", "ripped", "diced", "carved")
icon_state = "cultbastard"
- item_state = "cultbastard"
+ inhand_icon_state = "cultbastard"
hitsound = 'sound/weapons/bladeslice.ogg'
lefthand_file = 'icons/mob/inhands/64x64_lefthand.dmi'
righthand_file = 'icons/mob/inhands/64x64_righthand.dmi'
@@ -245,7 +245,7 @@
name = "\improper Nar'Sien bola"
desc = "A strong bola, bound with dark magic that allows it to pass harmlessly through Nar'Sien cultists. Throw it to trip and slow your victim."
icon_state = "bola_cult"
- item_state = "bola_cult"
+ inhand_icon_state = "bola_cult"
breakouttime = 60
knockdown = 30
@@ -277,7 +277,7 @@
name = "ancient cultist robes"
desc = "A ragged, dusty set of robes. Strange letters line the inside."
icon_state = "cultrobes"
- item_state = "cultrobes"
+ inhand_icon_state = "cultrobes"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
allowed = list(/obj/item/tome, /obj/item/melee/cultblade)
armor = list("melee" = 40, "bullet" = 30, "laser" = 40,"energy" = 40, "bomb" = 25, "bio" = 10, "rad" = 0, "fire" = 10, "acid" = 10)
@@ -293,13 +293,13 @@
name = "cultist hood"
desc = "An armored hood worn by the followers of Nar'Sie."
icon_state = "cult_hoodalt"
- item_state = "cult_hoodalt"
+ inhand_icon_state = "cult_hoodalt"
/obj/item/clothing/suit/hooded/cultrobes/alt
name = "cultist robes"
desc = "An armored set of robes worn by the followers of Nar'Sie."
icon_state = "cultrobesalt"
- item_state = "cultrobesalt"
+ inhand_icon_state = "cultrobesalt"
hoodtype = /obj/item/clothing/head/hooded/cult_hoodie/alt
/obj/item/clothing/suit/hooded/cultrobes/alt/ghost
@@ -313,7 +313,7 @@
/obj/item/clothing/head/magus
name = "magus helm"
icon_state = "magus"
- item_state = "magus"
+ inhand_icon_state = "magus"
desc = "A helm worn by the followers of Nar'Sie."
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR|HIDEEARS|HIDEEYES
armor = list("melee" = 50, "bullet" = 30, "laser" = 50,"energy" = 50, "bomb" = 25, "bio" = 10, "rad" = 0, "fire" = 10, "acid" = 10)
@@ -323,7 +323,7 @@
name = "magus robes"
desc = "A set of armored robes worn by the followers of Nar'Sie."
icon_state = "magusred"
- item_state = "magusred"
+ inhand_icon_state = "magusred"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
allowed = list(/obj/item/tome, /obj/item/melee/cultblade)
armor = list("melee" = 50, "bullet" = 30, "laser" = 50,"energy" = 50, "bomb" = 25, "bio" = 10, "rad" = 0, "fire" = 10, "acid" = 10)
@@ -333,7 +333,7 @@
name = "\improper Nar'Sien hardened helmet"
desc = "A heavily-armored helmet worn by warriors of the Nar'Sien cult. It can withstand hard vacuum."
icon_state = "cult_helmet"
- item_state = "cult_helmet"
+ inhand_icon_state = "cult_helmet"
armor = list("melee" = 70, "bullet" = 50, "laser" = 30,"energy" = 40, "bomb" = 30, "bio" = 30, "rad" = 30, "fire" = 40, "acid" = 75)
brightness_on = 0
actions_types = list()
@@ -341,7 +341,7 @@
/obj/item/clothing/suit/space/hardsuit/cult
name = "\improper Nar'Sien hardened armor"
icon_state = "cult_armor"
- item_state = "cult_armor"
+ inhand_icon_state = "cult_armor"
desc = "A heavily-armored exosuit worn by warriors of the Nar'Sien cult. It can withstand hard vacuum."
w_class = WEIGHT_CLASS_BULKY
allowed = list(/obj/item/tome, /obj/item/melee/cultblade, /obj/item/tank/internals/)
@@ -364,7 +364,7 @@
name = "empowered cultist armor"
desc = "Empowered armor which creates a powerful shield around the user."
icon_state = "cult_armor"
- item_state = "cult_armor"
+ inhand_icon_state = "cult_armor"
w_class = WEIGHT_CLASS_BULKY
armor = list("melee" = 50, "bullet" = 40, "laser" = 50,"energy" = 50, "bomb" = 50, "bio" = 30, "rad" = 30, "fire" = 50, "acid" = 60)
var/current_charges = 3
@@ -427,7 +427,7 @@
desc = "may Nar'Sie guide you through the darkness and shield you from the light."
name = "zealot's blindfold"
icon_state = "blindfold"
- item_state = "blindfold"
+ inhand_icon_state = "blindfold"
flash_protect = FLASH_PROTECTION_FLASH
/obj/item/clothing/glasses/hud/health/night/cultblind/equipped(mob/living/user, slot)
@@ -560,7 +560,7 @@
w_class = WEIGHT_CLASS_SMALL
brightness_on = 1
icon_state = "torch"
- item_state = "torch"
+ inhand_icon_state = "torch"
color = "#ff0000"
on_damage = 15
slot_flags = null
@@ -773,7 +773,7 @@
lefthand_file = 'icons/mob/inhands/misc/touchspell_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/touchspell_righthand.dmi'
icon_state = "disintegrate"
- item_state = "disintegrate"
+ inhand_icon_state = "disintegrate"
item_flags = ABSTRACT | DROPDEL
w_class = WEIGHT_CLASS_HUGE
throwforce = 0
diff --git a/code/modules/antagonists/nukeop/equipment/borgchameleon.dm b/code/modules/antagonists/nukeop/equipment/borgchameleon.dm
index b465de96737..5aa80a64feb 100644
--- a/code/modules/antagonists/nukeop/equipment/borgchameleon.dm
+++ b/code/modules/antagonists/nukeop/equipment/borgchameleon.dm
@@ -4,7 +4,7 @@
icon_state = "shield0"
flags_1 = CONDUCT_1
item_flags = NOBLUDGEON
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/modules/antagonists/nukeop/equipment/nuclear_challenge.dm b/code/modules/antagonists/nukeop/equipment/nuclear_challenge.dm
index b654d2e0a3e..371d9f94a6d 100644
--- a/code/modules/antagonists/nukeop/equipment/nuclear_challenge.dm
+++ b/code/modules/antagonists/nukeop/equipment/nuclear_challenge.dm
@@ -9,7 +9,7 @@ GLOBAL_LIST_EMPTY(jam_on_wardec)
name = "Declaration of War (Challenge Mode)"
icon = 'icons/obj/device.dmi'
icon_state = "gangtool-red"
- item_state = "radio"
+ inhand_icon_state = "radio"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
desc = "Use to send a declaration of hostilities to the target, delaying your shuttle departure for 20 minutes while they prepare for your assault. \
diff --git a/code/modules/antagonists/nukeop/equipment/nuclearbomb.dm b/code/modules/antagonists/nukeop/equipment/nuclearbomb.dm
index cc67881e715..a76269eb5ae 100644
--- a/code/modules/antagonists/nukeop/equipment/nuclearbomb.dm
+++ b/code/modules/antagonists/nukeop/equipment/nuclearbomb.dm
@@ -603,7 +603,7 @@ This is here to make the tiles around the station mininuke change when it's arme
/obj/item/disk
icon = 'icons/obj/module.dmi'
w_class = WEIGHT_CLASS_TINY
- item_state = "card-id"
+ inhand_icon_state = "card-id"
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
icon_state = "datadisk0"
diff --git a/code/modules/antagonists/wizard/equipment/artefact.dm b/code/modules/antagonists/wizard/equipment/artefact.dm
index 71f44e3ec0a..11564049b60 100644
--- a/code/modules/antagonists/wizard/equipment/artefact.dm
+++ b/code/modules/antagonists/wizard/equipment/artefact.dm
@@ -8,7 +8,7 @@
desc = "A wicked curved blade of alien origin, recovered from the ruins of a vast city."
icon = 'icons/obj/wizard.dmi'
icon_state = "render"
- item_state = "knife"
+ inhand_icon_state = "knife"
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
force = 15
@@ -197,7 +197,7 @@
desc = "A shard capable of resurrecting humans as skeleton thralls."
icon = 'icons/obj/wizard.dmi'
icon_state = "necrostone"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_TINY
@@ -276,7 +276,7 @@
desc = "Something creepy about it."
icon = 'icons/obj/wizard.dmi'
icon_state = "voodoo"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
var/mob/living/carbon/human/target = null
diff --git a/code/modules/antagonists/wizard/equipment/soulstone.dm b/code/modules/antagonists/wizard/equipment/soulstone.dm
index 37c9f4c85e5..4c199645448 100644
--- a/code/modules/antagonists/wizard/equipment/soulstone.dm
+++ b/code/modules/antagonists/wizard/equipment/soulstone.dm
@@ -2,7 +2,7 @@
name = "soulstone shard"
icon = 'icons/obj/wizard.dmi'
icon_state = "soulstone"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
layer = HIGH_OBJ_LAYER
diff --git a/code/modules/assembly/bomb.dm b/code/modules/assembly/bomb.dm
index a027b703e1b..606c8948bcb 100644
--- a/code/modules/assembly/bomb.dm
+++ b/code/modules/assembly/bomb.dm
@@ -1,7 +1,7 @@
/obj/item/onetankbomb
name = "bomb"
icon = 'icons/obj/tank.dmi'
- item_state = "assembly"
+ inhand_icon_state = "assembly"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
throwforce = 5
diff --git a/code/modules/assembly/flash.dm b/code/modules/assembly/flash.dm
index 7ccd70cf18d..bb606ac452d 100644
--- a/code/modules/assembly/flash.dm
+++ b/code/modules/assembly/flash.dm
@@ -3,7 +3,7 @@
name = "flash"
desc = "A powerful and versatile flashbulb device, with applications ranging from disorienting attackers to acting as visual receptors in robot production."
icon_state = "flash"
- item_state = "flashtool"
+ inhand_icon_state = "flashtool"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
throwforce = 0
@@ -218,7 +218,7 @@
desc = "If you see this, you're not likely to remember it any time soon."
icon = 'icons/obj/device.dmi'
icon_state = "memorizer"
- item_state = "nullrod"
+ inhand_icon_state = "nullrod"
/obj/item/assembly/flash/handheld //this is now the regular pocket flashes
diff --git a/code/modules/assembly/holder.dm b/code/modules/assembly/holder.dm
index 34d193bc198..98310abe13a 100644
--- a/code/modules/assembly/holder.dm
+++ b/code/modules/assembly/holder.dm
@@ -2,7 +2,7 @@
name = "Assembly"
icon = 'icons/obj/assemblies/new_assemblies.dmi'
icon_state = "holder"
- item_state = "assembly"
+ inhand_icon_state = "assembly"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
flags_1 = CONDUCT_1
diff --git a/code/modules/assembly/mousetrap.dm b/code/modules/assembly/mousetrap.dm
index 5d31d190a3a..6cecc6f57b4 100644
--- a/code/modules/assembly/mousetrap.dm
+++ b/code/modules/assembly/mousetrap.dm
@@ -2,7 +2,7 @@
name = "mousetrap"
desc = "A handy little spring-loaded trap for catching pesty rodents."
icon_state = "mousetrap"
- item_state = "mousetrap"
+ inhand_icon_state = "mousetrap"
custom_materials = list(/datum/material/iron=100)
attachable = TRUE
var/armed = FALSE
diff --git a/code/modules/assembly/signaler.dm b/code/modules/assembly/signaler.dm
index c4108e061f1..a1f522f9257 100644
--- a/code/modules/assembly/signaler.dm
+++ b/code/modules/assembly/signaler.dm
@@ -2,7 +2,7 @@
name = "remote signaling device"
desc = "Used to remotely activate devices. Allows for syncing when using a secure signaler on another."
icon_state = "signaller"
- item_state = "signaler"
+ inhand_icon_state = "signaler"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
custom_materials = list(/datum/material/iron=400, /datum/material/glass=120)
@@ -183,7 +183,7 @@
name = "anomaly core"
desc = "The neutralized core of an anomaly. It'd probably be valuable for research."
icon_state = "anomaly core"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
resistance_flags = FIRE_PROOF
diff --git a/code/modules/awaymissions/capture_the_flag.dm b/code/modules/awaymissions/capture_the_flag.dm
index f40168e1ece..722e3a4e597 100644
--- a/code/modules/awaymissions/capture_the_flag.dm
+++ b/code/modules/awaymissions/capture_the_flag.dm
@@ -13,7 +13,7 @@
name = "banner"
icon = 'icons/obj/banner.dmi'
icon_state = "banner"
- item_state = "banner"
+ inhand_icon_state = "banner"
lefthand_file = 'icons/mob/inhands/equipment/banners_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/banners_righthand.dmi'
desc = "A banner with Nanotrasen's logo on it."
@@ -96,7 +96,7 @@
/obj/item/ctf/red
name = "red flag"
icon_state = "banner-red"
- item_state = "banner-red"
+ inhand_icon_state = "banner-red"
desc = "A red banner used to play capture the flag."
team = RED_TEAM
reset_path = /obj/effect/ctf/flag_reset/red
@@ -105,7 +105,7 @@
/obj/item/ctf/blue
name = "blue flag"
icon_state = "banner-blue"
- item_state = "banner-blue"
+ inhand_icon_state = "banner-blue"
desc = "A blue banner used to play capture the flag."
team = BLUE_TEAM
reset_path = /obj/effect/ctf/flag_reset/blue
diff --git a/code/modules/awaymissions/mission_code/Academy.dm b/code/modules/awaymissions/mission_code/Academy.dm
index 0f1c25e9b19..6c4b0d23338 100644
--- a/code/modules/awaymissions/mission_code/Academy.dm
+++ b/code/modules/awaymissions/mission_code/Academy.dm
@@ -79,7 +79,7 @@
name = "The Lens of Truesight"
desc = "I can see forever!"
icon_state = "monocle"
- item_state = "headset"
+ inhand_icon_state = "headset"
/obj/structure/academy_wizard_spawner
diff --git a/code/modules/awaymissions/mission_code/stationCollision.dm b/code/modules/awaymissions/mission_code/stationCollision.dm
index f0c48628853..c13dda15ba0 100644
--- a/code/modules/awaymissions/mission_code/stationCollision.dm
+++ b/code/modules/awaymissions/mission_code/stationCollision.dm
@@ -28,7 +28,7 @@
B.name = "The Holy book of the Geometer"
B.deity_name = "Narsie"
B.icon_state = "melted"
- B.item_state = "melted"
+ B.inhand_icon_state = "melted"
B.lefthand_file = 'icons/mob/inhands/misc/books_lefthand.dmi'
B.righthand_file = 'icons/mob/inhands/misc/books_righthand.dmi'
new /obj/item/paper/fluff/awaymissions/stationcollision/safehint_paper_bible(B)
diff --git a/code/modules/cargo/export_scanner.dm b/code/modules/cargo/export_scanner.dm
index cfba7f3acaf..071929052bc 100644
--- a/code/modules/cargo/export_scanner.dm
+++ b/code/modules/cargo/export_scanner.dm
@@ -3,7 +3,7 @@
desc = "A device used to check objects against Nanotrasen exports and bounty database."
icon = 'icons/obj/device.dmi'
icon_state = "export_scanner"
- item_state = "radio"
+ inhand_icon_state = "radio"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
item_flags = NOBLUDGEON
diff --git a/code/modules/cargo/supplypod.dm b/code/modules/cargo/supplypod.dm
index 7b2d93a7287..a4da8c9e8a2 100644
--- a/code/modules/cargo/supplypod.dm
+++ b/code/modules/cargo/supplypod.dm
@@ -359,5 +359,5 @@
desc = "This disk provides a firmware update to the Express Supply Console, granting the use of Nanotrasen's Bluespace Drop Pods to the supply department."
icon = 'icons/obj/module.dmi'
icon_state = "cargodisk"
- item_state = "card-id"
+ inhand_icon_state = "card-id"
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/modules/cargo/supplypod_beacon.dm b/code/modules/cargo/supplypod_beacon.dm
index 2ae9d43dae3..2bf4dfde46a 100644
--- a/code/modules/cargo/supplypod_beacon.dm
+++ b/code/modules/cargo/supplypod_beacon.dm
@@ -3,7 +3,7 @@
desc = "A device that can be linked to an Express Supply Console for precision supply pod deliveries. Alt-click to remove link."
icon = 'icons/obj/device.dmi'
icon_state = "supplypod_beacon"
- item_state = "radio"
+ inhand_icon_state = "radio"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/modules/clothing/chameleon.dm b/code/modules/clothing/chameleon.dm
index c65cdbf31df..03810392596 100644
--- a/code/modules/clothing/chameleon.dm
+++ b/code/modules/clothing/chameleon.dm
@@ -221,8 +221,8 @@
target.icon_state = initial(picked_item.icon_state)
if(isitem(target))
var/obj/item/clothing/I = target
- I.item_state = initial(picked_item.item_state)
- I.mob_overlay_icon = initial(picked_item.mob_overlay_icon)
+ I.inhand_icon_state = initial(picked_item.inhand_icon_state)
+ I.worn_icon = initial(picked_item.worn_icon)
if(istype(I, /obj/item/clothing) && istype(initial(picked_item), /obj/item/clothing))
var/obj/item/clothing/CL = I
var/obj/item/clothing/PCL = picked_item
@@ -293,8 +293,8 @@
name = "black jumpsuit"
icon = 'icons/obj/clothing/under/color.dmi'
icon_state = "black"
- item_state = "bl_suit"
- mob_overlay_icon = 'icons/mob/clothing/under/color.dmi'
+ inhand_icon_state = "bl_suit"
+ worn_icon = 'icons/mob/clothing/under/color.dmi'
desc = "It's a plain jumpsuit. It has a small dial on the wrist."
sensor_mode = SENSOR_OFF //Hey who's this guy on the Syndicate Shuttle??
random_sensor = FALSE
@@ -326,7 +326,7 @@
name = "armor"
desc = "A slim armored vest that protects against most types of damage."
icon_state = "armor"
- item_state = "armor"
+ inhand_icon_state = "armor"
blood_overlay_type = "armor"
resistance_flags = NONE
armor = list("melee" = 10, "bullet" = 10, "laser" = 10, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
@@ -355,7 +355,7 @@
name = "Optical Meson Scanner"
desc = "Used by engineering and mining staff to see basic structural and terrain layouts through walls, regardless of lighting condition."
icon_state = "meson"
- item_state = "meson"
+ inhand_icon_state = "meson"
resistance_flags = NONE
armor = list("melee" = 10, "bullet" = 10, "laser" = 10, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
@@ -383,7 +383,7 @@
desc = "These gloves provide protection against electric shock."
name = "insulated gloves"
icon_state = "yellow"
- item_state = "ygloves"
+ inhand_icon_state = "ygloves"
resistance_flags = NONE
armor = list("melee" = 10, "bullet" = 10, "laser" = 10, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
@@ -455,7 +455,7 @@
name = "gas mask"
desc = "A face-covering mask that can be connected to an air supply. While good for concealing your identity, it isn't good for blocking gas flow." //More accurate
icon_state = "gas_alt"
- item_state = "gas_alt"
+ inhand_icon_state = "gas_alt"
resistance_flags = NONE
armor = list("melee" = 5, "bullet" = 5, "laser" = 5, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
clothing_flags = BLOCK_GAS_SMOKE_EFFECT | MASKINTERNALS
diff --git a/code/modules/clothing/ears/_ears.dm b/code/modules/clothing/ears/_ears.dm
index 16745badb17..4ea020aa4f8 100644
--- a/code/modules/clothing/ears/_ears.dm
+++ b/code/modules/clothing/ears/_ears.dm
@@ -11,7 +11,7 @@
name = "earmuffs"
desc = "Protects your hearing from loud noises, and quiet ones as well."
icon_state = "earmuffs"
- item_state = "earmuffs"
+ inhand_icon_state = "earmuffs"
strip_delay = 15
equip_delay_other = 25
resistance_flags = FLAMMABLE
diff --git a/code/modules/clothing/glasses/_glasses.dm b/code/modules/clothing/glasses/_glasses.dm
index b400a1ec154..f974723f4ca 100644
--- a/code/modules/clothing/glasses/_glasses.dm
+++ b/code/modules/clothing/glasses/_glasses.dm
@@ -58,7 +58,7 @@
name = "optical meson scanner"
desc = "Used by engineering and mining staff to see basic structural and terrain layouts through walls, regardless of lighting conditions."
icon_state = "meson"
- item_state = "meson"
+ inhand_icon_state = "meson"
darkness_view = 2
vision_flags = SEE_TURFS
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE
@@ -72,7 +72,7 @@
name = "night vision meson scanner"
desc = "An optical meson scanner fitted with an amplified visible light spectrum overlay, providing greater visual clarity in darkness."
icon_state = "nvgmeson"
- item_state = "nvgmeson"
+ inhand_icon_state = "nvgmeson"
darkness_view = 8
flash_protect = FLASH_PROTECTION_SENSITIVE
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_INVISIBLE
@@ -81,7 +81,7 @@
/obj/item/clothing/glasses/meson/gar
name = "gar mesons"
icon_state = "garm"
- item_state = "garm"
+ inhand_icon_state = "garm"
desc = "Do the impossible, see the invisible!"
force = 10
throwforce = 10
@@ -94,7 +94,7 @@
name = "science goggles"
desc = "A pair of snazzy goggles used to protect against chemical spills. Fitted with an analyzer for scanning items and reagents."
icon_state = "purple"
- item_state = "glasses"
+ inhand_icon_state = "glasses"
clothing_flags = SCAN_REAGENTS //You can see reagents while wearing science goggles
actions_types = list(/datum/action/item_action/toggle_research_scanner)
glass_colour_type = /datum/client_colour/glass_colour/purple
@@ -109,7 +109,7 @@
name = "night vision goggles"
desc = "You can totally see in the dark now!"
icon_state = "night"
- item_state = "glasses"
+ inhand_icon_state = "glasses"
darkness_view = 8
flash_protect = FLASH_PROTECTION_SENSITIVE
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_INVISIBLE
@@ -123,19 +123,19 @@
name = "eyepatch"
desc = "Yarr."
icon_state = "eyepatch"
- item_state = "eyepatch"
+ inhand_icon_state = "eyepatch"
/obj/item/clothing/glasses/monocle
name = "monocle"
desc = "Such a dapper eyepiece!"
icon_state = "monocle"
- item_state = "headset" // lol
+ inhand_icon_state = "headset" // lol
/obj/item/clothing/glasses/material
name = "optical material scanner"
desc = "Very confusing glasses."
icon_state = "material"
- item_state = "glasses"
+ inhand_icon_state = "glasses"
vision_flags = SEE_OBJS
glass_colour_type = /datum/client_colour/glass_colour/lightblue
@@ -143,13 +143,13 @@
name = "optical material scanner"
desc = "Used by miners to detect ores deep within the rock."
icon_state = "material"
- item_state = "glasses"
+ inhand_icon_state = "glasses"
darkness_view = 0
/obj/item/clothing/glasses/material/mining/gar
name = "gar material scanner"
icon_state = "garm"
- item_state = "garm"
+ inhand_icon_state = "garm"
desc = "Do the impossible, see the invisible!"
force = 10
throwforce = 20
@@ -163,26 +163,26 @@
name = "prescription glasses"
desc = "Made by Nerd. Co."
icon_state = "glasses"
- item_state = "glasses"
+ inhand_icon_state = "glasses"
vision_correction = 1 //corrects nearsightedness
/obj/item/clothing/glasses/regular/jamjar
name = "jamjar glasses"
desc = "Also known as Virginity Protectors."
icon_state = "jamjar_glasses"
- item_state = "jamjar_glasses"
+ inhand_icon_state = "jamjar_glasses"
/obj/item/clothing/glasses/regular/hipster
name = "prescription glasses"
desc = "Made by Uncool. Co."
icon_state = "hipster_glasses"
- item_state = "hipster_glasses"
+ inhand_icon_state = "hipster_glasses"
/obj/item/clothing/glasses/regular/circle
name = "circle glasses"
desc = "Why would you wear something so controversial yet so brave?"
icon_state = "circle_glasses"
- item_state = "circle_glasses"
+ inhand_icon_state = "circle_glasses"
//Here lies green glasses, so ugly they died. RIP
@@ -190,7 +190,7 @@
name = "sunglasses"
desc = "Strangely ancient technology used to help provide rudimentary eye cover. Enhanced shielding blocks flashes."
icon_state = "sun"
- item_state = "sunglasses"
+ inhand_icon_state = "sunglasses"
darkness_view = 1
flash_protect = FLASH_PROTECTION_FLASH
tint = 1
@@ -222,7 +222,7 @@
name = "black gar glasses"
desc = "Go beyond impossible and kick reason to the curb!"
icon_state = "garb"
- item_state = "garb"
+ inhand_icon_state = "garb"
force = 10
throwforce = 10
throw_speed = 4
@@ -234,7 +234,7 @@
name = "black giga gar glasses"
desc = "Believe in us humans."
icon_state = "supergarb"
- item_state = "garb"
+ inhand_icon_state = "garb"
force = 12
throwforce = 12
@@ -242,7 +242,7 @@
name = "gar glasses"
desc = "Just who the hell do you think I am?!"
icon_state = "gar"
- item_state = "gar"
+ inhand_icon_state = "gar"
force = 10
throwforce = 10
throw_speed = 4
@@ -255,7 +255,7 @@
name = "giga gar glasses"
desc = "We evolve past the person we were a minute before. Little by little we advance with each turn. That's how a drill works!"
icon_state = "supergar"
- item_state = "gar"
+ inhand_icon_state = "gar"
force = 12
throwforce = 12
glass_colour_type = /datum/client_colour/glass_colour/red
@@ -264,7 +264,7 @@
name = "welding goggles"
desc = "Protects the eyes from bright flashes; approved by the mad scientist association."
icon_state = "welding-g"
- item_state = "welding-g"
+ inhand_icon_state = "welding-g"
actions_types = list(/datum/action/item_action/toggle)
flash_protect = FLASH_PROTECTION_WELDER
custom_materials = list(/datum/material/iron = 250)
@@ -281,7 +281,7 @@
name = "blindfold"
desc = "Covers the eyes, preventing sight."
icon_state = "blindfold"
- item_state = "blindfold"
+ inhand_icon_state = "blindfold"
flash_protect = FLASH_PROTECTION_WELDER
tint = 3
darkness_view = 1
@@ -300,13 +300,13 @@
name = "blindfold"
desc = "A see-through blindfold perfect for cheating at games like pin the stun baton on the clown."
icon_state = "trickblindfold"
- item_state = "blindfold"
+ inhand_icon_state = "blindfold"
/obj/item/clothing/glasses/blindfold/white
name = "blind personnel blindfold"
desc = "Indicates that the wearer suffers from blindness."
icon_state = "blindfoldwhite"
- item_state = "blindfoldwhite"
+ inhand_icon_state = "blindfoldwhite"
var/colored_before = FALSE
/obj/item/clothing/glasses/blindfold/white/equipped(mob/living/carbon/human/user, slot)
@@ -332,13 +332,13 @@
/obj/item/clothing/glasses/sunglasses/big
desc = "Strangely ancient technology used to help provide rudimentary eye cover. Larger than average enhanced shielding blocks flashes."
icon_state = "bigsunglasses"
- item_state = "bigsunglasses"
+ inhand_icon_state = "bigsunglasses"
/obj/item/clothing/glasses/thermal
name = "optical thermal scanner"
desc = "Thermals in the shape of glasses."
icon_state = "thermal"
- item_state = "glasses"
+ inhand_icon_state = "glasses"
vision_flags = SEE_MOBS
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE
flash_protect = FLASH_PROTECTION_SENSITIVE
@@ -393,39 +393,39 @@
name = "optical thermal eyepatch"
desc = "An eyepatch with built-in thermal optics."
icon_state = "eyepatch"
- item_state = "eyepatch"
+ inhand_icon_state = "eyepatch"
/obj/item/clothing/glasses/cold
name = "cold goggles"
desc = "A pair of goggles meant for low temperatures."
icon_state = "cold"
- item_state = "cold"
+ inhand_icon_state = "cold"
/obj/item/clothing/glasses/heat
name = "heat goggles"
desc = "A pair of goggles meant for high temperatures."
icon_state = "heat"
- item_state = "heat"
+ inhand_icon_state = "heat"
/obj/item/clothing/glasses/orange
name = "orange glasses"
desc = "A sweet pair of orange shades."
icon_state = "orangeglasses"
- item_state = "orangeglasses"
+ inhand_icon_state = "orangeglasses"
glass_colour_type = /datum/client_colour/glass_colour/lightorange
/obj/item/clothing/glasses/red
name = "red glasses"
desc = "Hey, you're looking good, senpai!"
icon_state = "redglasses"
- item_state = "redglasses"
+ inhand_icon_state = "redglasses"
glass_colour_type = /datum/client_colour/glass_colour/red
/obj/item/clothing/glasses/godeye
name = "eye of god"
desc = "A strange eye, said to have been torn from an omniscient creature that used to roam the wastes."
icon_state = "godeye"
- item_state = "godeye"
+ inhand_icon_state = "godeye"
vision_flags = SEE_TURFS|SEE_MOBS|SEE_OBJS
darkness_view = 8
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_INVISIBLE
@@ -440,7 +440,7 @@
if(istype(W, src) && W != src && W.loc == user)
if(W.icon_state == "godeye")
W.icon_state = "doublegodeye"
- W.item_state = "doublegodeye"
+ W.inhand_icon_state = "doublegodeye"
W.desc = "A pair of strange eyes, said to have been torn from an omniscient creature that used to roam the wastes. There's no real reason to have two, but that isn't stopping you."
if(iscarbon(user))
var/mob/living/carbon/C = user
@@ -486,7 +486,7 @@
name = "debug glasses"
desc = "Medical, security and diagnostic hud. Alt click to toggle xray."
icon_state = "nvgmeson"
- item_state = "nvgmeson"
+ inhand_icon_state = "nvgmeson"
flags_cover = GLASSESCOVERSEYES
darkness_view = 8
flash_protect = FLASH_PROTECTION_WELDER
diff --git a/code/modules/clothing/glasses/engine_goggles.dm b/code/modules/clothing/glasses/engine_goggles.dm
index a5cd6911b28..cda1f14ad7e 100644
--- a/code/modules/clothing/glasses/engine_goggles.dm
+++ b/code/modules/clothing/glasses/engine_goggles.dm
@@ -10,7 +10,7 @@
name = "engineering scanner goggles"
desc = "Goggles used by engineers. The Meson Scanner mode lets you see basic structural and terrain layouts through walls, the T-ray Scanner mode lets you see underfloor objects such as cables and pipes, and the Radiation Scanner mode lets you see objects contaminated by radiation."
icon_state = "trayson-meson"
- item_state = "trayson-meson"
+ inhand_icon_state = "trayson-meson"
actions_types = list(/datum/action/item_action/toggle_mode)
vision_flags = NONE
@@ -120,12 +120,12 @@
flick_overlay(pic, list(user.client), 8)
/obj/item/clothing/glasses/meson/engine/update_icon_state()
- icon_state = item_state = "trayson-[mode]"
+ icon_state = inhand_icon_state = "trayson-[mode]"
/obj/item/clothing/glasses/meson/engine/tray //atmos techs have lived far too long without tray goggles while those damned engineers get their dual-purpose gogles all to themselves
name = "optical t-ray scanner"
icon_state = "trayson-t-ray"
- item_state = "trayson-t-ray"
+ inhand_icon_state = "trayson-t-ray"
desc = "Used by engineering staff to see underfloor objects such as cables and pipes."
range = 2
@@ -134,7 +134,7 @@
/obj/item/clothing/glasses/meson/engine/shuttle
name = "shuttle region scanner"
icon_state = "trayson-shuttle"
- item_state = "trayson-shuttle"
+ inhand_icon_state = "trayson-shuttle"
desc = "Used to see the boundaries of shuttle regions."
modes = list(MODE_NONE = MODE_SHUTTLE, MODE_SHUTTLE = MODE_NONE)
diff --git a/code/modules/clothing/glasses/hud.dm b/code/modules/clothing/glasses/hud.dm
index 683abef2a3a..6f4ef1381af 100644
--- a/code/modules/clothing/glasses/hud.dm
+++ b/code/modules/clothing/glasses/hud.dm
@@ -53,7 +53,7 @@
name = "night vision health scanner HUD"
desc = "An advanced medical head-up display that allows doctors to find patients in complete darkness."
icon_state = "healthhudnight"
- item_state = "glasses"
+ inhand_icon_state = "glasses"
darkness_view = 8
flash_protect = FLASH_PROTECTION_SENSITIVE
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE
@@ -80,7 +80,7 @@
name = "night vision diagnostic HUD"
desc = "A robotics diagnostic HUD fitted with a light amplifier."
icon_state = "diagnostichudnight"
- item_state = "glasses"
+ inhand_icon_state = "glasses"
darkness_view = 8
flash_protect = FLASH_PROTECTION_SENSITIVE
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE
@@ -90,7 +90,7 @@
name = "diagnostic sunglasses"
desc = "Sunglasses with a diagnostic HUD."
icon_state = "sunhuddiag"
- item_state = "glasses"
+ inhand_icon_state = "glasses"
flash_protect = FLASH_PROTECTION_FLASH
tint = 1
@@ -153,7 +153,7 @@
name = "\improper HUD gar glasses"
desc = "GAR glasses with a HUD."
icon_state = "gars"
- item_state = "garb"
+ inhand_icon_state = "garb"
force = 10
throwforce = 10
throw_speed = 4
@@ -165,7 +165,7 @@
name = "giga HUD gar glasses"
desc = "GIGA GAR glasses with a HUD."
icon_state = "supergars"
- item_state = "garb"
+ inhand_icon_state = "garb"
force = 12
throwforce = 12
@@ -240,5 +240,5 @@
name = "sunglasses"
desc = "These sunglasses are special, and let you view potential criminals."
icon_state = "sun"
- item_state = "sunglasses"
+ inhand_icon_state = "sunglasses"
diff --git a/code/modules/clothing/gloves/boxing.dm b/code/modules/clothing/gloves/boxing.dm
index f1016b0cc12..ea060c0295f 100644
--- a/code/modules/clothing/gloves/boxing.dm
+++ b/code/modules/clothing/gloves/boxing.dm
@@ -2,18 +2,18 @@
name = "boxing gloves"
desc = "Because you really needed another excuse to punch your crewmates."
icon_state = "boxing"
- item_state = "boxing"
+ inhand_icon_state = "boxing"
equip_delay_other = 60
species_exception = list(/datum/species/golem) // now you too can be a golem boxing champion
/obj/item/clothing/gloves/boxing/green
icon_state = "boxinggreen"
- item_state = "boxinggreen"
+ inhand_icon_state = "boxinggreen"
/obj/item/clothing/gloves/boxing/blue
icon_state = "boxingblue"
- item_state = "boxingblue"
+ inhand_icon_state = "boxingblue"
/obj/item/clothing/gloves/boxing/yellow
icon_state = "boxingyellow"
- item_state = "boxingyellow"
+ inhand_icon_state = "boxingyellow"
diff --git a/code/modules/clothing/gloves/color.dm b/code/modules/clothing/gloves/color.dm
index ffe50e6bf56..6901a0d12f4 100644
--- a/code/modules/clothing/gloves/color.dm
+++ b/code/modules/clothing/gloves/color.dm
@@ -5,7 +5,7 @@
desc = "These gloves provide protection against electric shock."
name = "insulated gloves"
icon_state = "yellow"
- item_state = "ygloves"
+ inhand_icon_state = "ygloves"
siemens_coefficient = 0
permeability_coefficient = 0.05
resistance_flags = NONE
@@ -37,7 +37,7 @@
desc = "How're you gonna get 'em off, nerd?"
name = "spray-on insulated gloves"
icon_state = "sprayon"
- item_state = "sprayon"
+ inhand_icon_state = "sprayon"
permeability_coefficient = 0
resistance_flags = ACID_PROOF
var/shocks_remaining = 10
@@ -63,7 +63,7 @@
desc = "These gloves are cheap knockoffs of the coveted ones - no way this can end badly."
name = "budget insulated gloves"
icon_state = "yellow"
- item_state = "ygloves"
+ inhand_icon_state = "ygloves"
siemens_coefficient = 1 //Set to a default of 1, gets overridden in Initialize()
permeability_coefficient = 0.05
resistance_flags = NONE
@@ -84,7 +84,7 @@
desc = "These gloves are fire-resistant."
name = "black gloves"
icon_state = "black"
- item_state = "blackgloves"
+ inhand_icon_state = "blackgloves"
cold_protection = HANDS
min_cold_protection_temperature = GLOVES_MIN_TEMP_PROTECT
heat_protection = HANDS
@@ -105,13 +105,13 @@
name = "orange gloves"
desc = "A pair of gloves, they don't look special in any way."
icon_state = "orange"
- item_state = "orangegloves"
+ inhand_icon_state = "orangegloves"
/obj/item/clothing/gloves/color/red
name = "red gloves"
desc = "A pair of gloves, they don't look special in any way."
icon_state = "red"
- item_state = "redgloves"
+ inhand_icon_state = "redgloves"
/obj/item/clothing/gloves/color/red/insulated
@@ -125,49 +125,49 @@
name = "rainbow gloves"
desc = "A pair of gloves, they don't look special in any way."
icon_state = "rainbow"
- item_state = "rainbowgloves"
+ inhand_icon_state = "rainbowgloves"
/obj/item/clothing/gloves/color/blue
name = "blue gloves"
desc = "A pair of gloves, they don't look special in any way."
icon_state = "blue"
- item_state = "bluegloves"
+ inhand_icon_state = "bluegloves"
/obj/item/clothing/gloves/color/purple
name = "purple gloves"
desc = "A pair of gloves, they don't look special in any way."
icon_state = "purple"
- item_state = "purplegloves"
+ inhand_icon_state = "purplegloves"
/obj/item/clothing/gloves/color/green
name = "green gloves"
desc = "A pair of gloves, they don't look special in any way."
icon_state = "green"
- item_state = "greengloves"
+ inhand_icon_state = "greengloves"
/obj/item/clothing/gloves/color/grey
name = "grey gloves"
desc = "A pair of gloves, they don't look special in any way."
icon_state = "gray"
- item_state = "graygloves"
+ inhand_icon_state = "graygloves"
/obj/item/clothing/gloves/color/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"
+ inhand_icon_state = "lightbrowngloves"
/obj/item/clothing/gloves/color/brown
name = "brown gloves"
desc = "A pair of gloves, they don't look special in any way."
icon_state = "brown"
- item_state = "browngloves"
+ inhand_icon_state = "browngloves"
/obj/item/clothing/gloves/color/captain
desc = "Regal blue gloves, with a nice gold trim, a diamond anti-shock coating, and an integrated thermal barrier. Swanky."
name = "captain's gloves"
icon_state = "captain"
- item_state = "egloves"
+ inhand_icon_state = "egloves"
siemens_coefficient = 0
permeability_coefficient = 0.05
cold_protection = HANDS
@@ -181,7 +181,7 @@
name = "latex gloves"
desc = "Cheap sterile gloves made from latex. Transfers minor paramedic knowledge to the user via budget nanochips."
icon_state = "latex"
- item_state = "latex"
+ inhand_icon_state = "latex"
siemens_coefficient = 0.3
permeability_coefficient = 0.01
transfer_prints = TRUE
@@ -201,7 +201,7 @@
name = "nitrile gloves"
desc = "Pricy sterile gloves that are thicker than latex. Transfers intimate paramedic knowledge into the user via nanochips."
icon_state = "nitrile"
- item_state = "nitrilegloves"
+ inhand_icon_state = "nitrilegloves"
transfer_prints = FALSE
carrytrait = TRAIT_QUICKER_CARRY
@@ -209,7 +209,7 @@
name = "infiltrator gloves"
desc = "Specialized combat gloves for carrying people around. Transfers tactical kidnapping knowledge into the user via nanochips."
icon_state = "infiltrator"
- item_state = "infiltrator"
+ inhand_icon_state = "infiltrator"
siemens_coefficient = 0
permeability_coefficient = 0.3
resistance_flags = FIRE_PROOF | ACID_PROOF
@@ -219,7 +219,7 @@
desc = "Overdesigned engineering gloves that have automated construction subrutines dialed in, allowing for faster construction while worn."
icon = 'icons/obj/clothing/clockwork_garb.dmi'
icon_state = "clockwork_gauntlets"
- item_state = "clockwork_gauntlets"
+ inhand_icon_state = "clockwork_gauntlets"
siemens_coefficient = 0.8
permeability_coefficient = 0.3
carrytrait = TRAIT_QUICK_BUILD
@@ -229,7 +229,7 @@
name = "white gloves"
desc = "These look pretty fancy."
icon_state = "white"
- item_state = "wgloves"
+ inhand_icon_state = "wgloves"
custom_price = 200
/obj/effect/spawner/lootdrop/gloves
diff --git a/code/modules/clothing/gloves/miscellaneous.dm b/code/modules/clothing/gloves/miscellaneous.dm
index 907c58152ce..3536687c864 100644
--- a/code/modules/clothing/gloves/miscellaneous.dm
+++ b/code/modules/clothing/gloves/miscellaneous.dm
@@ -3,7 +3,7 @@
name = "fingerless gloves"
desc = "Plain black gloves without fingertips for the hard working."
icon_state = "fingerless"
- item_state = "fingerless"
+ inhand_icon_state = "fingerless"
transfer_prints = TRUE
strip_delay = 40
equip_delay_other = 20
@@ -16,7 +16,7 @@
name = "botanist's leather gloves"
desc = "These leather gloves protect against thorns, barbs, prickles, spikes and other harmful objects of floral origin. They're also quite warm."
icon_state = "leather"
- item_state = "ggloves"
+ inhand_icon_state = "ggloves"
permeability_coefficient = 0.9
cold_protection = HANDS
min_cold_protection_temperature = GLOVES_MIN_TEMP_PROTECT
@@ -29,7 +29,7 @@
name = "combat gloves"
desc = "These tactical gloves are fireproof and electrically insulated."
icon_state = "black"
- item_state = "blackgloves"
+ inhand_icon_state = "blackgloves"
siemens_coefficient = 0
permeability_coefficient = 0.05
strip_delay = 80
@@ -44,7 +44,7 @@
name = "bone bracers"
desc = "For when you're expecting to get slapped on the wrist. Offers modest protection to your arms."
icon_state = "bracers"
- item_state = "bracers"
+ inhand_icon_state = "bracers"
transfer_prints = TRUE
strip_delay = 40
equip_delay_other = 20
@@ -59,7 +59,7 @@
name = "Gloves of the North Star"
desc = "Just looking at these fills you with an urge to beat the shit out of people."
icon_state = "rapid"
- item_state = "rapid"
+ inhand_icon_state = "rapid"
transfer_prints = TRUE
/obj/item/clothing/gloves/rapid/ComponentInitialize()
@@ -71,7 +71,7 @@
desc = "Covers up those scandalous boney hands."
name = "plasma envirogloves"
icon_state = "plasmaman"
- item_state = "plasmaman"
+ inhand_icon_state = "plasmaman"
cold_protection = HANDS
min_cold_protection_temperature = GLOVES_MIN_TEMP_PROTECT
heat_protection = HANDS
@@ -83,65 +83,65 @@
/obj/item/clothing/gloves/color/plasmaman/black
name = "black envirogloves"
icon_state = "blackplasma"
- item_state = "blackplasma"
+ inhand_icon_state = "blackplasma"
/obj/item/clothing/gloves/color/plasmaman/white
name = "white envirogloves"
icon_state = "whiteplasma"
- item_state = "whiteplasma"
+ inhand_icon_state = "whiteplasma"
/obj/item/clothing/gloves/color/plasmaman/robot
name = "roboticist envirogloves"
icon_state = "robotplasma"
- item_state = "robotplasma"
+ inhand_icon_state = "robotplasma"
/obj/item/clothing/gloves/color/plasmaman/janny
name = "janitor envirogloves"
icon_state = "jannyplasma"
- item_state = "jannyplasma"
+ inhand_icon_state = "jannyplasma"
/obj/item/clothing/gloves/color/plasmaman/cargo
name = "cargo envirogloves"
icon_state = "cargoplasma"
- item_state = "cargoplasma"
+ inhand_icon_state = "cargoplasma"
/obj/item/clothing/gloves/color/plasmaman/engineer
name = "engineering envirogloves"
icon_state = "engieplasma"
- item_state = "engieplasma"
+ inhand_icon_state = "engieplasma"
siemens_coefficient = 0
/obj/item/clothing/gloves/color/plasmaman/atmos
name = "atmos envirogloves"
icon_state = "atmosplasma"
- item_state = "atmosplasma"
+ inhand_icon_state = "atmosplasma"
siemens_coefficient = 0
/obj/item/clothing/gloves/color/plasmaman/explorer
name = "explorer envirogloves"
icon_state = "explorerplasma"
- item_state = "explorerplasma"
+ inhand_icon_state = "explorerplasma"
/obj/item/clothing/gloves/color/botanic_leather/plasmaman
name = "botany envirogloves"
desc = "Covers up those scandalous boney hands."
icon_state = "botanyplasma"
- item_state = "botanyplasma"
+ inhand_icon_state = "botanyplasma"
permeability_coefficient = 0.05
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 0, "fire" = 95, "acid" = 95)
/obj/item/clothing/gloves/color/plasmaman/prototype
name = "prototype envirogloves"
icon_state = "protoplasma"
- item_state = "protoplasma"
+ inhand_icon_state = "protoplasma"
/obj/item/clothing/gloves/color/plasmaman/clown
name = "clown envirogloves"
icon_state = "clownplasma"
- item_state = "clownplasma"
+ inhand_icon_state = "clownplasma"
/obj/item/clothing/gloves/combat/wizard
name = "enchanted gloves"
desc = "These gloves have been enchanted with a spell that makes them electrically insulated and fireproof."
icon_state = "wizard"
- item_state = "purplegloves"
+ inhand_icon_state = "purplegloves"
diff --git a/code/modules/clothing/gloves/tacklers.dm b/code/modules/clothing/gloves/tacklers.dm
index 59f198d5ef3..dafae30e50a 100644
--- a/code/modules/clothing/gloves/tacklers.dm
+++ b/code/modules/clothing/gloves/tacklers.dm
@@ -2,7 +2,7 @@
name = "gripper gloves"
desc = "Special gloves that manipulate the blood vessels in the wearer's hands, granting them the ability to launch headfirst into walls."
icon_state = "tackle"
- item_state = "tackle"
+ inhand_icon_state = "tackle"
transfer_prints = TRUE
cold_protection = HANDS
min_cold_protection_temperature = GLOVES_MIN_TEMP_PROTECT
@@ -43,7 +43,7 @@
name = "dolphin gloves"
desc = "Sleek, aerodynamic gripper gloves that are less effective at actually performing takedowns, but more effective at letting the user sail through the hallways and cause accidents."
icon_state = "tackledolphin"
- item_state = "tackledolphin"
+ inhand_icon_state = "tackledolphin"
tackle_stam_cost = 15
base_knockdown = 0.5 SECONDS
@@ -56,7 +56,7 @@
name = "gorilla gloves"
desc = "Premium quality combative gloves, heavily reinforced to give the user an edge in close combat tackles, though they are more taxing to use than normal gripper gloves. Fireproof to boot!"
icon_state = "black"
- item_state = "blackgloves"
+ inhand_icon_state = "blackgloves"
tackle_stam_cost = 35
base_knockdown = 1.5 SECONDS
@@ -79,7 +79,7 @@
name = "rocket gloves"
desc = "The ultimate in high risk, high reward, perfect for when you need to stop a criminal from fifty feet away or die trying. Banned in most Spinward gridiron football and rugby leagues."
icon_state = "tacklerocket"
- item_state = "tacklerocket"
+ inhand_icon_state = "tacklerocket"
tackle_stam_cost = 50
base_knockdown = 2 SECONDS
@@ -92,7 +92,7 @@
name = "improvised gripper gloves"
desc = "Ratty looking fingerless gloves wrapped with sticky tape. Beware anyone wearing these, for they clearly have no shame and nothing to lose."
icon_state = "fingerless"
- item_state = "fingerless"
+ inhand_icon_state = "fingerless"
tackle_stam_cost = 30
base_knockdown = 1.75 SECONDS
diff --git a/code/modules/clothing/head/_head.dm b/code/modules/clothing/head/_head.dm
index 867104f49a1..8f7f9985596 100644
--- a/code/modules/clothing/head/_head.dm
+++ b/code/modules/clothing/head/_head.dm
@@ -2,7 +2,7 @@
name = BODY_ZONE_HEAD
icon = 'icons/obj/clothing/hats.dmi'
icon_state = "top_hat"
- item_state = "that"
+ inhand_icon_state = "that"
body_parts_covered = HEAD
slot_flags = ITEM_SLOT_HEAD
var/blockTracking = 0 //For AI tracking
diff --git a/code/modules/clothing/head/collectable.dm b/code/modules/clothing/head/collectable.dm
index 29a63c4260e..3111bb4f674 100644
--- a/code/modules/clothing/head/collectable.dm
+++ b/code/modules/clothing/head/collectable.dm
@@ -20,7 +20,7 @@
name = "collectable chef's hat"
desc = "A rare chef's hat meant for hat collectors!"
icon_state = "chef"
- item_state = "chef"
+ inhand_icon_state = "chef"
dynamic_hair_suffix = ""
dog_fashion = /datum/dog_fashion/head/chef
@@ -36,13 +36,13 @@
name = "collectable top hat"
desc = "A top hat worn by only the most prestigious hat collectors."
icon_state = "tophat"
- item_state = "that"
+ inhand_icon_state = "that"
/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 = "caphat"
+ inhand_icon_state = "caphat"
dog_fashion = /datum/dog_fashion/head/captain
@@ -65,14 +65,14 @@
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"
+ inhand_icon_state = "welding"
clothing_flags = SNUG_FIT
/obj/item/clothing/head/collectable/slime
name = "collectable slime hat"
desc = "Just like a real brain slug!"
icon_state = "headslime"
- item_state = "headslime"
+ inhand_icon_state = "headslime"
clothing_flags = SNUG_FIT
dynamic_hair_suffix = ""
@@ -80,13 +80,13 @@
name = "collectable flat cap"
desc = "A collectible farmer's flat cap!"
icon_state = "flat_cap"
- item_state = "detective"
+ inhand_icon_state = "detective"
/obj/item/clothing/head/collectable/pirate
name = "collectable pirate hat"
desc = "You'd make a great Dread Syndie Roberts!"
icon_state = "pirate"
- item_state = "pirate"
+ inhand_icon_state = "pirate"
dog_fashion = /datum/dog_fashion/head/pirate
@@ -94,7 +94,7 @@
name = "collectable kitty ears"
desc = "The fur feels... a bit too realistic."
icon_state = "kitty"
- item_state = "kitty"
+ inhand_icon_state = "kitty"
dynamic_hair_suffix = ""
dog_fashion = /datum/dog_fashion/head/kitty
@@ -103,7 +103,7 @@
name = "collectable rabbit ears"
desc = "Not as lucky as the feet!"
icon_state = "bunny"
- item_state = "bunny"
+ inhand_icon_state = "bunny"
dynamic_hair_suffix = ""
dog_fashion = /datum/dog_fashion/head/rabbit
@@ -120,7 +120,7 @@
desc = "WARNING! Offers no real protection, or luminosity, but damn, is it fancy!"
clothing_flags = SNUG_FIT
icon_state = "hardhat0_yellow"
- item_state = "hardhat0_yellow"
+ inhand_icon_state = "hardhat0_yellow"
dog_fashion = /datum/dog_fashion/head
@@ -140,7 +140,7 @@
name = "collectable Thunderdome helmet"
desc = "Go Red! I mean Green! I mean Red! No Green!"
icon_state = "thunderdome"
- item_state = "thunderdome"
+ inhand_icon_state = "thunderdome"
clothing_flags = SNUG_FIT
flags_inv = HIDEHAIR
@@ -148,6 +148,6 @@
name = "collectable SWAT helmet"
desc = "That's not real blood. That's red paint." //Reference to the actual description
icon_state = "swat"
- item_state = "swat"
+ inhand_icon_state = "swat"
clothing_flags = SNUG_FIT
flags_inv = HIDEHAIR
diff --git a/code/modules/clothing/head/hardhat.dm b/code/modules/clothing/head/hardhat.dm
index ac1c8c53727..223525d2f54 100644
--- a/code/modules/clothing/head/hardhat.dm
+++ b/code/modules/clothing/head/hardhat.dm
@@ -2,7 +2,7 @@
name = "hard hat"
desc = "A piece of headgear used in dangerous working conditions to protect the head. Comes with a built-in flashlight."
icon_state = "hardhat0_yellow"
- item_state = "hardhat0_yellow"
+ inhand_icon_state = "hardhat0_yellow"
var/brightness_on = 4 //luminosity when on
var/on = FALSE
var/hat_type = "yellow" //Determines used sprites: hardhat[on]_[hat_type] and hardhat[on]_[hat_type]2 (lying down sprite)
@@ -31,7 +31,7 @@
update_icon()
/obj/item/clothing/head/hardhat/update_icon_state()
- icon_state = item_state = "hardhat[on]_[hat_type]"
+ icon_state = inhand_icon_state = "hardhat[on]_[hat_type]"
/obj/item/clothing/head/hardhat/proc/turn_on(mob/user)
set_light(brightness_on)
@@ -41,13 +41,13 @@
/obj/item/clothing/head/hardhat/orange
icon_state = "hardhat0_orange"
- item_state = "hardhat0_orange"
+ inhand_icon_state = "hardhat0_orange"
hat_type = "orange"
dog_fashion = null
/obj/item/clothing/head/hardhat/red
icon_state = "hardhat0_red"
- item_state = "hardhat0_red"
+ inhand_icon_state = "hardhat0_red"
hat_type = "red"
dog_fashion = null
name = "firefighter helmet"
@@ -61,7 +61,7 @@
name = "workplace-ready firefighter helmet"
desc = "By applying state of the art lighting technology to a fire helmet, and using photo-chemical hardening methods, this hardhat will protect you from robust workplace hazards."
icon_state = "hardhat0_purple"
- item_state = "hardhat0_purple"
+ inhand_icon_state = "hardhat0_purple"
brightness_on = 5
resistance_flags = FIRE_PROOF | ACID_PROOF
custom_materials = list(/datum/material/iron = 4000, /datum/material/glass = 1000, /datum/material/plastic = 3000, /datum/material/silver = 500)
@@ -69,7 +69,7 @@
/obj/item/clothing/head/hardhat/white
icon_state = "hardhat0_white"
- item_state = "hardhat0_white"
+ inhand_icon_state = "hardhat0_white"
hat_type = "white"
clothing_flags = STOPSPRESSUREDAMAGE
heat_protection = HEAD
@@ -80,13 +80,13 @@
/obj/item/clothing/head/hardhat/dblue
icon_state = "hardhat0_dblue"
- item_state = "hardhat0_dblue"
+ inhand_icon_state = "hardhat0_dblue"
hat_type = "dblue"
dog_fashion = null
/obj/item/clothing/head/hardhat/atmos
icon_state = "hardhat0_atmos"
- item_state = "hardhat0_atmos"
+ inhand_icon_state = "hardhat0_atmos"
hat_type = "atmos"
dog_fashion = null
name = "atmospheric technician's firefighting helmet"
@@ -143,13 +143,13 @@
/obj/item/clothing/head/hardhat/weldhat/orange
icon_state = "hardhat0_orange"
- item_state = "hardhat0_orange"
+ inhand_icon_state = "hardhat0_orange"
hat_type = "orange"
/obj/item/clothing/head/hardhat/weldhat/white
desc = "A piece of headgear used in dangerous working conditions to protect the head. Comes with a built-in flashlight AND welding shield!" //This bulb is not smaller
icon_state = "hardhat0_white"
- item_state = "hardhat0_white"
+ inhand_icon_state = "hardhat0_white"
brightness_on = 4 //Boss always takes the best stuff
hat_type = "white"
clothing_flags = STOPSPRESSUREDAMAGE
@@ -160,5 +160,5 @@
/obj/item/clothing/head/hardhat/weldhat/dblue
icon_state = "hardhat0_dblue"
- item_state = "hardhat0_dblue"
+ inhand_icon_state = "hardhat0_dblue"
hat_type = "dblue"
diff --git a/code/modules/clothing/head/helmet.dm b/code/modules/clothing/head/helmet.dm
index 31290ac508c..9cec2e37a5c 100644
--- a/code/modules/clothing/head/helmet.dm
+++ b/code/modules/clothing/head/helmet.dm
@@ -2,7 +2,7 @@
name = "helmet"
desc = "Standard Security gear. Protects the head from impacts."
icon_state = "helmet"
- item_state = "helmet"
+ inhand_icon_state = "helmet"
armor = list("melee" = 35, "bullet" = 30, "laser" = 30,"energy" = 40, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
cold_protection = HEAD
min_cold_protection_temperature = HELMET_MIN_TEMP_PROTECT
@@ -68,7 +68,7 @@
name = "bulletproof helmet"
desc = "A bulletproof combat helmet that excels in protecting the wearer against traditional projectile weaponry and explosives to a minor extent."
icon_state = "helmetalt"
- item_state = "helmetalt"
+ inhand_icon_state = "helmetalt"
armor = list("melee" = 15, "bullet" = 60, "laser" = 10, "energy" = 10, "bomb" = 40, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
can_flashlight = TRUE
dog_fashion = null
@@ -82,14 +82,14 @@
name = "blue helmet"
desc = "A reliable, blue tinted helmet reminding you that you still owe that engineer a beer."
icon_state = "blueshift"
- item_state = "blueshift"
+ inhand_icon_state = "blueshift"
custom_premium_price = 750
/obj/item/clothing/head/helmet/riot
name = "riot helmet"
desc = "It's a helmet specifically designed to protect against close range attacks."
icon_state = "riot"
- item_state = "helmet"
+ inhand_icon_state = "helmet"
toggle_message = "You pull the visor down on"
alt_toggle_message = "You push the visor up on"
can_toggle = 1
@@ -147,7 +147,7 @@
name = "\improper SWAT helmet"
desc = "An extremely robust, space-worthy helmet in a nefarious red and black stripe pattern."
icon_state = "swatsyndie"
- item_state = "swatsyndie"
+ inhand_icon_state = "swatsyndie"
armor = list("melee" = 40, "bullet" = 30, "laser" = 30,"energy" = 40, "bomb" = 50, "bio" = 90, "rad" = 20, "fire" = 100, "acid" = 100)
cold_protection = HEAD
min_cold_protection_temperature = SPACE_HELM_MIN_TEMP_PROTECT
@@ -167,9 +167,9 @@
/obj/item/clothing/head/helmet/constable
name = "constable helmet"
desc = "A british looking helmet."
- mob_overlay_icon = 'icons/mob/large-worn-icons/64x64/head.dmi'
+ worn_icon = 'icons/mob/large-worn-icons/64x64/head.dmi'
icon_state = "constable"
- item_state = "constable"
+ inhand_icon_state = "constable"
worn_x_dimension = 64
worn_y_dimension = 64
custom_price = 350
@@ -178,14 +178,14 @@
name = "\improper SWAT helmet"
desc = "An extremely robust, space-worthy helmet with the Nanotrasen logo emblazoned on the top."
icon_state = "swat"
- item_state = "swat"
+ inhand_icon_state = "swat"
/obj/item/clothing/head/helmet/thunderdome
name = "\improper Thunderdome helmet"
desc = "'Let the battle commence!'"
flags_inv = HIDEEARS|HIDEHAIR
icon_state = "thunderdome"
- item_state = "thunderdome"
+ inhand_icon_state = "thunderdome"
armor = list("melee" = 80, "bullet" = 80, "laser" = 50, "energy" = 50, "bomb" = 100, "bio" = 100, "rad" = 100, "fire" = 90, "acid" = 90)
cold_protection = HEAD
min_cold_protection_temperature = SPACE_HELM_MIN_TEMP_PROTECT
@@ -202,7 +202,7 @@
armor = list("melee" = 25, "bullet" = 0, "laser" = 25, "energy" = 10, "bomb" = 10, "bio" = 0, "rad" = 0, "fire" = 100, "acid" = 50)
resistance_flags = FIRE_PROOF
icon_state = "roman"
- item_state = "roman"
+ inhand_icon_state = "roman"
strip_delay = 100
dog_fashion = null
@@ -214,7 +214,7 @@
name = "\improper Roman legionnaire helmet"
desc = "An ancient helmet made of bronze and leather. Has a red crest on top of it."
icon_state = "roman_c"
- item_state = "roman_c"
+ inhand_icon_state = "roman_c"
/obj/item/clothing/head/helmet/roman/legionnaire/fake
desc = "An ancient helmet made of plastic and leather. Has a red crest on top of it."
@@ -224,7 +224,7 @@
name = "gladiator helmet"
desc = "Ave, Imperator, morituri te salutant."
icon_state = "gladiator"
- item_state = "gladiator"
+ inhand_icon_state = "gladiator"
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEHAIR
flags_cover = HEADCOVERSEYES
dog_fashion = null
@@ -234,7 +234,7 @@
desc = "They have chosen their own end."
icon_state = "redtaghelm"
flags_cover = HEADCOVERSEYES
- item_state = "redtaghelm"
+ inhand_icon_state = "redtaghelm"
armor = list("melee" = 15, "bullet" = 10, "laser" = 20,"energy" = 10, "bomb" = 20, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 50)
// Offer about the same protection as a hardhat.
dog_fashion = null
@@ -244,7 +244,7 @@
desc = "They'll need more men."
icon_state = "bluetaghelm"
flags_cover = HEADCOVERSEYES
- item_state = "bluetaghelm"
+ inhand_icon_state = "bluetaghelm"
armor = list("melee" = 15, "bullet" = 10, "laser" = 20,"energy" = 10, "bomb" = 20, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 50)
// Offer about the same protection as a hardhat.
dog_fashion = null
@@ -253,7 +253,7 @@
name = "medieval helmet"
desc = "A classic metal helmet."
icon_state = "knight_green"
- item_state = "knight_green"
+ inhand_icon_state = "knight_green"
armor = list("melee" = 50, "bullet" = 10, "laser" = 10, "energy" = 10, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 80, "acid" = 80)
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR
flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH
@@ -268,21 +268,21 @@
/obj/item/clothing/head/helmet/knight/blue
icon_state = "knight_blue"
- item_state = "knight_blue"
+ inhand_icon_state = "knight_blue"
/obj/item/clothing/head/helmet/knight/yellow
icon_state = "knight_yellow"
- item_state = "knight_yellow"
+ inhand_icon_state = "knight_yellow"
/obj/item/clothing/head/helmet/knight/red
icon_state = "knight_red"
- item_state = "knight_red"
+ inhand_icon_state = "knight_red"
/obj/item/clothing/head/helmet/knight/greyscale
name = "knight helmet"
desc = "A classic medieval helmet, if you hold it upside down you could see that it's actually a bucket."
icon_state = "knight_greyscale"
- item_state = "knight_greyscale"
+ inhand_icon_state = "knight_greyscale"
armor = list("melee" = 35, "bullet" = 10, "laser" = 10, "energy" = 10, "bomb" = 10, "bio" = 10, "rad" = 10, "fire" = 40, "acid" = 40)
material_flags = MATERIAL_ADD_PREFIX | MATERIAL_COLOR | MATERIAL_AFFECT_STATISTICS //Can change color and add prefix
@@ -293,14 +293,14 @@
flags_cover = HEADCOVERSEYES
armor = list("melee" = 35, "bullet" = 25, "laser" = 25, "energy" = 35, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
icon_state = "skull"
- item_state = "skull"
+ inhand_icon_state = "skull"
strip_delay = 100
/obj/item/clothing/head/helmet/durathread
name = "durathread helmet"
desc = "A helmet made from durathread and leather."
icon_state = "durathread"
- item_state = "durathread"
+ inhand_icon_state = "durathread"
resistance_flags = FLAMMABLE
armor = list("melee" = 20, "bullet" = 10, "laser" = 30, "energy" = 40, "bomb" = 15, "bio" = 0, "rad" = 0, "fire" = 40, "acid" = 50)
strip_delay = 60
@@ -309,7 +309,7 @@
name = "russian helmet"
desc = "It can hold a bottle of vodka."
icon_state = "rus_helmet"
- item_state = "rus_helmet"
+ inhand_icon_state = "rus_helmet"
armor = list("melee" = 25, "bullet" = 30, "laser" = 0, "energy" = 10, "bomb" = 10, "bio" = 0, "rad" = 20, "fire" = 20, "acid" = 50)
pocket_storage_component_path = /datum/component/storage/concrete/pockets/helmet
@@ -317,7 +317,7 @@
name = "battle ushanka"
desc = "100% bear."
icon_state = "rus_ushanka"
- item_state = "rus_ushanka"
+ inhand_icon_state = "rus_ushanka"
body_parts_covered = HEAD
cold_protection = HEAD
min_cold_protection_temperature = SPACE_HELM_MIN_TEMP_PROTECT
@@ -327,7 +327,7 @@
name = "infiltrator helmet"
desc = "The galaxy isn't big enough for the two of us."
icon_state = "infiltrator"
- item_state = "infiltrator"
+ inhand_icon_state = "infiltrator"
armor = list("melee" = 40, "bullet" = 40, "laser" = 30, "energy" = 40, "bomb" = 70, "bio" = 0, "rad" = 0, "fire" = 100, "acid" = 100)
resistance_flags = FIRE_PROOF | ACID_PROOF
flash_protect = FLASH_PROTECTION_WELDER
diff --git a/code/modules/clothing/head/jobs.dm b/code/modules/clothing/head/jobs.dm
index aed1d81c9d3..25e0952951b 100644
--- a/code/modules/clothing/head/jobs.dm
+++ b/code/modules/clothing/head/jobs.dm
@@ -7,7 +7,7 @@
//Chef
/obj/item/clothing/head/chefhat
name = "chef's hat"
- item_state = "chef"
+ inhand_icon_state = "chef"
icon_state = "chef"
desc = "The commander in chef's head wear."
strip_delay = 10
@@ -29,7 +29,7 @@
name = "captain's hat"
desc = "It's good being the king."
icon_state = "captain"
- item_state = "that"
+ inhand_icon_state = "that"
flags_inv = 0
armor = list("melee" = 25, "bullet" = 15, "laser" = 25, "energy" = 35, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
strip_delay = 60
@@ -170,7 +170,7 @@
name = "warden's campaign hat"
desc = "A special armored campaign hat with the security insignia emblazoned on it. Uses reinforced fabric to offer sufficient protection."
icon_state = "wardendrill"
- item_state = "wardendrill"
+ inhand_icon_state = "wardendrill"
dog_fashion = null
var/mode = DRILL_DEFAULT
diff --git a/code/modules/clothing/head/misc.dm b/code/modules/clothing/head/misc.dm
index 62d37002749..f9443468c63 100644
--- a/code/modules/clothing/head/misc.dm
+++ b/code/modules/clothing/head/misc.dm
@@ -3,7 +3,7 @@
name = "\improper CentCom hat"
icon_state = "centcom"
desc = "It's good to be emperor."
- item_state = "that"
+ inhand_icon_state = "that"
flags_inv = 0
armor = list("melee" = 30, "bullet" = 15, "laser" = 30, "energy" = 40, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
strip_delay = 80
@@ -12,19 +12,19 @@
name = "space police cap"
desc = "A blue cap for patrolling the daily beat."
icon_state = "policecap_families"
- item_state = "policecap_families"
+ inhand_icon_state = "policecap_families"
/obj/item/clothing/head/powdered_wig
name = "powdered wig"
desc = "A powdered wig."
icon_state = "pwig"
- item_state = "pwig"
+ inhand_icon_state = "pwig"
/obj/item/clothing/head/that
name = "top-hat"
desc = "It's an amish looking hat."
icon_state = "tophat"
- item_state = "that"
+ inhand_icon_state = "that"
dog_fashion = /datum/dog_fashion/head
throwforce = 1
@@ -32,7 +32,7 @@
name = "striped red tophat"
desc = "It smells like fresh donut holes. / Il sent comme des trous de beignets frais."
icon_state = "canada"
- item_state = "canada"
+ inhand_icon_state = "canada"
/obj/item/clothing/head/redcoat
name = "redcoat's hat"
@@ -68,7 +68,7 @@
/obj/item/clothing/head/syndicatefake
name = "black space-helmet replica"
icon_state = "syndicate-helm-black-red"
- item_state = "syndicate-helm-black-red"
+ inhand_icon_state = "syndicate-helm-black-red"
desc = "A plastic replica of a Syndicate agent's space helmet. You'll look just like a real murderous Syndicate agent in this! This is a toy, it is not made for use in space!"
clothing_flags = SNUG_FIT
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
@@ -77,7 +77,7 @@
name = "cueball helmet"
desc = "A large, featureless white orb meant to be worn on your head. How do you even see out of this thing?"
icon_state = "cueball"
- item_state="cueball"
+ inhand_icon_state="cueball"
clothing_flags = SNUG_FIT
flags_cover = HEADCOVERSEYES|HEADCOVERSMOUTH
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
@@ -86,7 +86,7 @@
name = "Snowman Head"
desc = "A ball of white styrofoam. So festive."
icon_state = "snowman_h"
- item_state = "snowman_h"
+ inhand_icon_state = "snowman_h"
clothing_flags = SNUG_FIT
flags_cover = HEADCOVERSEYES
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
@@ -95,26 +95,26 @@
name = "justice hat"
desc = "Fight for what's righteous!"
icon_state = "justicered"
- item_state = "justicered"
+ inhand_icon_state = "justicered"
clothing_flags = SNUG_FIT
flags_inv = HIDEHAIR|HIDEEARS|HIDEEYES|HIDEFACE|HIDEFACIALHAIR
flags_cover = HEADCOVERSEYES
/obj/item/clothing/head/justice/blue
icon_state = "justiceblue"
- item_state = "justiceblue"
+ inhand_icon_state = "justiceblue"
/obj/item/clothing/head/justice/yellow
icon_state = "justiceyellow"
- item_state = "justiceyellow"
+ inhand_icon_state = "justiceyellow"
/obj/item/clothing/head/justice/green
icon_state = "justicegreen"
- item_state = "justicegreen"
+ inhand_icon_state = "justicegreen"
/obj/item/clothing/head/justice/pink
icon_state = "justicepink"
- item_state = "justicepink"
+ inhand_icon_state = "justicepink"
/obj/item/clothing/head/rabbitears
name = "rabbit ears"
@@ -128,7 +128,7 @@
name = "pirate hat"
desc = "Yarr."
icon_state = "pirate"
- item_state = "pirate"
+ inhand_icon_state = "pirate"
dog_fashion = /datum/dog_fashion/head/pirate
/obj/item/clothing/head/pirate
@@ -154,34 +154,34 @@
/obj/item/clothing/head/pirate/captain
name = "pirate captain hat"
icon_state = "hgpiratecap"
- item_state = "hgpiratecap"
+ inhand_icon_state = "hgpiratecap"
/obj/item/clothing/head/bandana
name = "pirate bandana"
desc = "Yarr."
icon_state = "bandana"
- item_state = "bandana"
+ inhand_icon_state = "bandana"
dynamic_hair_suffix = ""
/obj/item/clothing/head/bowler
name = "bowler-hat"
desc = "Gentleman, elite aboard!"
icon_state = "bowler"
- item_state = "bowler"
+ inhand_icon_state = "bowler"
dynamic_hair_suffix = ""
/obj/item/clothing/head/witchwig
name = "witch costume wig"
desc = "Eeeee~heheheheheheh!"
icon_state = "witch"
- item_state = "witch"
+ inhand_icon_state = "witch"
flags_inv = HIDEHAIR
/obj/item/clothing/head/chicken
name = "chicken suit head"
desc = "Bkaw!"
icon_state = "chickenhead"
- item_state = "chickensuit"
+ inhand_icon_state = "chickensuit"
clothing_flags = SNUG_FIT
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
@@ -189,7 +189,7 @@
name = "griffon head"
desc = "Why not 'eagle head'? Who knows."
icon_state = "griffinhat"
- item_state = "griffinhat"
+ inhand_icon_state = "griffinhat"
clothing_flags = SNUG_FIT
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
@@ -197,12 +197,12 @@
name = "bear pelt hat"
desc = "Fuzzy."
icon_state = "bearpelt"
- item_state = "bearpelt"
+ inhand_icon_state = "bearpelt"
/obj/item/clothing/head/xenos
name = "xenos helmet"
icon_state = "xenos"
- item_state = "xenos_helm"
+ inhand_icon_state = "xenos_helm"
desc = "A helmet made out of chitinous alien hide."
clothing_flags = SNUG_FIT
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
@@ -211,19 +211,19 @@
/obj/item/clothing/head/fedora
name = "fedora"
icon_state = "fedora"
- item_state = "fedora"
+ inhand_icon_state = "fedora"
desc = "A really cool hat if you're a mobster. A really lame hat if you're not."
pocket_storage_component_path = /datum/component/storage/concrete/pockets/small/fedora
/obj/item/clothing/head/fedora/white
name = "white fedora"
icon_state = "fedora_white"
- item_state = "fedora_white"
+ inhand_icon_state = "fedora_white"
/obj/item/clothing/head/fedora/beige
name = "beige fedora"
icon_state = "fedora_beige"
- item_state = "fedora_beige"
+ inhand_icon_state = "fedora_beige"
/obj/item/clothing/head/fedora/suicide_act(mob/user)
if(user.gender == FEMALE)
@@ -238,7 +238,7 @@
/obj/item/clothing/head/sombrero
name = "sombrero"
icon_state = "sombrero"
- item_state = "sombrero"
+ inhand_icon_state = "sombrero"
desc = "You can practically taste the fiesta."
flags_inv = HIDEHAIR
@@ -247,7 +247,7 @@
/obj/item/clothing/head/sombrero/green
name = "green sombrero"
icon_state = "greensombrero"
- item_state = "greensombrero"
+ inhand_icon_state = "greensombrero"
desc = "As elegant as a dancing cactus."
flags_inv = HIDEHAIR|HIDEFACE|HIDEEARS
dog_fashion = null
@@ -255,7 +255,7 @@
/obj/item/clothing/head/sombrero/shamebrero
name = "shamebrero"
icon_state = "shamebrero"
- item_state = "shamebrero"
+ inhand_icon_state = "shamebrero"
desc = "Once it's on, it never comes off."
dog_fashion = null
@@ -267,13 +267,13 @@
name = "flat cap"
desc = "A working man's cap."
icon_state = "flat_cap"
- item_state = "detective"
+ inhand_icon_state = "detective"
/obj/item/clothing/head/hunter
name = "bounty hunting hat"
desc = "Ain't nobody gonna cheat the hangman in my town."
icon_state = "hunter"
- item_state = "hunter"
+ inhand_icon_state = "hunter"
armor = list("melee" = 5, "bullet" = 5, "laser" = 5, "energy" = 15, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 0)
resistance_flags = FIRE_PROOF | ACID_PROOF
@@ -282,7 +282,7 @@
name = "warning cone"
icon = 'icons/obj/janitor.dmi'
icon_state = "cone"
- item_state = "cone"
+ inhand_icon_state = "cone"
force = 1
throwforce = 3
throw_speed = 2
@@ -296,7 +296,7 @@
name = "santa hat"
desc = "On the first day of christmas my employer gave to me!"
icon_state = "santahatnorm"
- item_state = "that"
+ inhand_icon_state = "that"
cold_protection = HEAD
min_cold_protection_temperature = FIRE_HELM_MIN_TEMP_PROTECT
dog_fashion = /datum/dog_fashion/head/santa
@@ -367,7 +367,7 @@
name = "pharaoh hat"
desc = "Walk like an Egyptian."
icon_state = "pharoah_hat"
- item_state = "pharoah_hat"
+ inhand_icon_state = "pharoah_hat"
/obj/item/clothing/head/nemes
name = "headdress of Nemes"
@@ -446,9 +446,9 @@
name = "shrine maiden's wig"
desc = "Purify in style!"
flags_inv = HIDEHAIR //bald
- mob_overlay_icon = 'icons/mob/large-worn-icons/64x64/head.dmi'
+ worn_icon = 'icons/mob/large-worn-icons/64x64/head.dmi'
icon_state = "shrine_wig"
- item_state = "shrine_wig"
+ inhand_icon_state = "shrine_wig"
worn_x_dimension = 64
worn_y_dimension = 64
dynamic_hair_suffix = ""
@@ -457,26 +457,26 @@
name = "\improper CentCom Head Intern beancap"
desc = "A horrifying mix of beanie and softcap in CentCom green. You'd have to be pretty desperate for power over your peers to agree to wear this."
icon_state = "intern_hat"
- item_state = "intern_hat"
+ inhand_icon_state = "intern_hat"
/obj/item/clothing/head/coordinator
name = "coordinator cap"
desc = "A cap for a party ooordinator, stylish!."
icon_state = "capcap"
- item_state = "that"
+ inhand_icon_state = "that"
armor = list("melee" = 25, "bullet" = 15, "laser" = 25, "energy" = 35, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
/obj/item/clothing/head/goatpelt
name = "goat pelt hat"
desc = "Fuzzy and Warm!"
icon_state = "goatpelt"
- item_state = "goatpelt"
+ inhand_icon_state = "goatpelt"
/obj/item/clothing/head/goatpelt/king
name = "king goat pelt hat"
desc = "Fuzzy, Warm and Robust!"
icon_state = "goatpelt"
- item_state = "goatpelt"
+ inhand_icon_state = "goatpelt"
color = "#ffd700"
body_parts_covered = HEAD
armor = list("melee" = 60, "bullet" = 55, "laser" = 55, "energy" = 45, "bomb" = 100, "bio" = 20, "rad" = 20, "fire" = 100, "acid" = 100)
@@ -496,9 +496,9 @@
/obj/item/clothing/head/goatpope
name = "goat pope hat"
desc = "And on the seventh day King Goat said there will be cabbage!"
- mob_overlay_icon = 'icons/mob/large-worn-icons/64x64/head.dmi'
+ worn_icon = 'icons/mob/large-worn-icons/64x64/head.dmi'
icon_state = "goatpope"
- item_state = "goatpope"
+ inhand_icon_state = "goatpope"
worn_x_dimension = 64
worn_y_dimension = 64
resistance_flags = FLAMMABLE
@@ -512,5 +512,5 @@
name = "frosty hat"
desc = "Hee-ho!"
icon_state = "JackFrostHat"
- item_state = "JackFrostHat"
+ inhand_icon_state = "JackFrostHat"
diff --git a/code/modules/clothing/head/misc_special.dm b/code/modules/clothing/head/misc_special.dm
index 6b906e258ad..e46b345e6ea 100644
--- a/code/modules/clothing/head/misc_special.dm
+++ b/code/modules/clothing/head/misc_special.dm
@@ -18,7 +18,7 @@
desc = "A head-mounted face cover designed to protect the wearer completely from space-arc eye."
icon_state = "welding"
flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH
- item_state = "welding"
+ inhand_icon_state = "welding"
custom_materials = list(/datum/material/iron=1750, /datum/material/glass=400)
flash_protect = FLASH_PROTECTION_WELDER
tint = 2
@@ -40,7 +40,7 @@
name = "cakehat"
desc = "You put the cake on your head. Brilliant."
icon_state = "hardhat0_cakehat"
- item_state = "hardhat0_cakehat"
+ inhand_icon_state = "hardhat0_cakehat"
hat_type = "cakehat"
lefthand_file = 'icons/mob/inhands/clothing_lefthand.dmi'
righthand_file = 'icons/mob/inhands/clothing_righthand.dmi'
@@ -91,7 +91,7 @@
name = "energy cake"
desc = "You put the energy sword on your cake. Brilliant."
icon_state = "hardhat0_energycake"
- item_state = "hardhat0_energycake"
+ inhand_icon_state = "hardhat0_energycake"
hat_type = "energycake"
hitsound = 'sound/weapons/tap.ogg'
hitsound_on = 'sound/weapons/blade1.ogg'
@@ -118,7 +118,7 @@
name = "ushanka"
desc = "Perfect for winter in Siberia, da?"
icon_state = "ushankadown"
- item_state = "ushankadown"
+ inhand_icon_state = "ushankadown"
flags_inv = HIDEEARS|HIDEHAIR
var/earflaps = 1
cold_protection = HEAD
@@ -129,12 +129,12 @@
/obj/item/clothing/head/ushanka/attack_self(mob/user)
if(earflaps)
src.icon_state = "ushankaup"
- src.item_state = "ushankaup"
+ src.inhand_icon_state = "ushankaup"
earflaps = 0
to_chat(user, "You raise the ear flaps on the ushanka.")
else
src.icon_state = "ushankadown"
- src.item_state = "ushankadown"
+ src.inhand_icon_state = "ushankadown"
earflaps = 1
to_chat(user, "You lower the ear flaps on the ushanka.")
@@ -145,7 +145,7 @@
name = "carved pumpkin"
desc = "A jack o' lantern! Believed to ward off evil spirits."
icon_state = "hardhat0_pumpkin"
- item_state = "hardhat0_pumpkin"
+ inhand_icon_state = "hardhat0_pumpkin"
hat_type = "pumpkin"
clothing_flags = SNUG_FIT
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
@@ -182,7 +182,7 @@
name = "novelty reindeer hat"
desc = "Some fake antlers and a very fake red nose."
icon_state = "hardhat0_reindeer"
- item_state = "hardhat0_reindeer"
+ inhand_icon_state = "hardhat0_reindeer"
hat_type = "reindeer"
flags_inv = 0
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 0)
@@ -195,7 +195,7 @@
name = "cardborg helmet"
desc = "A helmet made out of a box."
icon_state = "cardborg_h"
- item_state = "cardborg_h"
+ inhand_icon_state = "cardborg_h"
clothing_flags = SNUG_FIT
flags_cover = HEADCOVERSEYES
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
@@ -217,9 +217,9 @@
/obj/item/clothing/head/wig
name = "wig"
desc = "A bunch of hair without a head attached."
- icon = 'icons/obj/clothing/hats.dmi'
- icon_state = "wig"
- item_state = "pwig"
+ icon = 'icons/mob/human_face.dmi' // default icon for all hairs
+ icon_state = "hair_vlong"
+ inhand_icon_state = "pwig"
flags_inv = HIDEHAIR
color = "#000"
var/hairstyle = "Very Long Hair"
@@ -305,7 +305,7 @@
name = "tinfoil hat"
desc = "Thought control rays, psychotronic scanning. Don't mind that, I'm protected cause I made this hat."
icon_state = "foilhat"
- item_state = "foilhat"
+ inhand_icon_state = "foilhat"
armor = list("melee" = 0, "bullet" = 0, "laser" = -5,"energy" = -15, "bomb" = 0, "bio" = 0, "rad" = -5, "fire" = 0, "acid" = 0)
equip_delay_other = 140
clothing_flags = ANTI_TINFOIL_MANEUVER
diff --git a/code/modules/clothing/head/soft_caps.dm b/code/modules/clothing/head/soft_caps.dm
index 822a63480b6..22e8a48f87d 100644
--- a/code/modules/clothing/head/soft_caps.dm
+++ b/code/modules/clothing/head/soft_caps.dm
@@ -2,7 +2,7 @@
name = "cargo cap"
desc = "It's a baseball hat in a tasteless yellow colour."
icon_state = "cargosoft"
- item_state = "helmet"
+ inhand_icon_state = "helmet"
var/soft_type = "cargo"
dog_fashion = /datum/dog_fashion/head/cargo_tech
diff --git a/code/modules/clothing/masks/boxing.dm b/code/modules/clothing/masks/boxing.dm
index b518cd29cbd..695076ac21a 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"
+ inhand_icon_state = "balaclava"
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
visor_flags_inv = HIDEFACE|HIDEFACIALHAIR
w_class = WEIGHT_CLASS_SMALL
@@ -15,14 +15,14 @@
name = "infiltrator balaclava"
desc = "It makes you feel safe in your anonymity, but for a stealth outfit you sure do look obvious that you're up to no good. It seems to have a built in heads-up display."
icon_state = "syndicate_balaclava"
- item_state = "syndicate_balaclava"
+ inhand_icon_state = "syndicate_balaclava"
clothing_flags = MASKINTERNALS
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
visor_flags_inv = HIDEFACE|HIDEFACIALHAIR
w_class = WEIGHT_CLASS_SMALL
armor = list("melee" = 10, "bullet" = 5, "laser" = 5,"energy" = 5, "bomb" = 0, "bio" = 0, "rad" = 10, "fire" = 100, "acid" = 40)
resistance_flags = FIRE_PROOF | ACID_PROOF
-
+
var/voice_unknown = FALSE ///This makes it so that your name shows up as unknown when wearing the mask.
/obj/item/clothing/mask/infiltrator/equipped(mob/living/carbon/human/user, slot)
@@ -47,7 +47,7 @@
name = "Luchador Mask"
desc = "Worn by robust fighters, flying high to defeat their foes!"
icon_state = "luchag"
- item_state = "luchag"
+ inhand_icon_state = "luchag"
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
w_class = WEIGHT_CLASS_SMALL
modifies_speech = TRUE
@@ -80,19 +80,19 @@
name = "Tecnicos Mask"
desc = "Worn by robust fighters who uphold justice and fight honorably."
icon_state = "luchador"
- item_state = "luchador"
+ inhand_icon_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"
+ inhand_icon_state = "luchar"
/obj/item/clothing/mask/russian_balaclava
name = "russian balaclava"
desc = "Protects your face from snow."
icon_state = "rus_balaclava"
- item_state = "rus_balaclava"
+ inhand_icon_state = "rus_balaclava"
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
visor_flags_inv = HIDEFACE|HIDEFACIALHAIR
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/modules/clothing/masks/breath.dm b/code/modules/clothing/masks/breath.dm
index 0e496e6f141..095316b6d0b 100644
--- a/code/modules/clothing/masks/breath.dm
+++ b/code/modules/clothing/masks/breath.dm
@@ -2,7 +2,7 @@
desc = "A close-fitting mask that can be connected to an air supply."
name = "breath mask"
icon_state = "breath"
- item_state = "m_mask"
+ inhand_icon_state = "m_mask"
body_parts_covered = 0
clothing_flags = MASKINTERNALS
visor_flags = MASKINTERNALS
@@ -36,6 +36,6 @@
desc = "A close-fitting sterile mask that can be connected to an air supply."
name = "medical mask"
icon_state = "medical"
- item_state = "m_mask"
+ inhand_icon_state = "m_mask"
permeability_coefficient = 0.01
equip_delay_other = 10
diff --git a/code/modules/clothing/masks/gasmask.dm b/code/modules/clothing/masks/gasmask.dm
index 8fe36c6e04c..1166fc0f4be 100644
--- a/code/modules/clothing/masks/gasmask.dm
+++ b/code/modules/clothing/masks/gasmask.dm
@@ -5,7 +5,7 @@
clothing_flags = BLOCK_GAS_SMOKE_EFFECT | MASKINTERNALS
flags_inv = HIDEEARS|HIDEEYES|HIDEFACE|HIDEFACIALHAIR
w_class = WEIGHT_CLASS_NORMAL
- item_state = "gas_alt"
+ inhand_icon_state = "gas_alt"
gas_transfer_coefficient = 0.01
permeability_coefficient = 0.01
flags_cover = MASKCOVERSEYES | MASKCOVERSMOUTH | PEPPERPROOF
@@ -15,7 +15,7 @@
name = "atmospheric gas mask"
desc = "Improved gas mask utilized by atmospheric technicians. Still not very good at blocking gas flow, but it's flameproof!"
icon_state = "gas_atmos"
- item_state = "gas_atmos"
+ inhand_icon_state = "gas_atmos"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 10, "fire" = 20, "acid" = 10)
w_class = WEIGHT_CLASS_SMALL
gas_transfer_coefficient = 0.001 //cargo cult time, this var does nothing but just in case someone actually makes it do something
@@ -26,7 +26,7 @@
name = "captain's gas mask"
desc = "Nanotrasen cut corners and repainted a spare atmospheric gas mask, but don't tell anyone."
icon_state = "gas_cap"
- item_state = "gas_cap"
+ inhand_icon_state = "gas_cap"
resistance_flags = FIRE_PROOF | ACID_PROOF
// **** Welding gas mask ****
@@ -62,7 +62,7 @@
name = "plague doctor mask"
desc = "A modernised version of the classic design, this mask will not only filter out toxins but it can also be connected to an air supply."
icon_state = "plaguedoctor"
- item_state = "gas_mask"
+ inhand_icon_state = "gas_mask"
armor = list("melee" = 0, "bullet" = 0, "laser" = 2,"energy" = 2, "bomb" = 0, "bio" = 75, "rad" = 0, "fire" = 0, "acid" = 0)
/obj/item/clothing/mask/gas/syndicate
@@ -76,7 +76,7 @@
desc = "A true prankster's facial attire. A clown is incomplete without his wig and mask."
clothing_flags = MASKINTERNALS
icon_state = "clown"
- item_state = "clown_hat"
+ inhand_icon_state = "clown_hat"
dye_color = "clown"
w_class = WEIGHT_CLASS_SMALL
flags_cover = MASKCOVERSEYES
@@ -124,7 +124,7 @@
desc = "A feminine clown mask for the dabbling crossdressers or female entertainers."
clothing_flags = MASKINTERNALS
icon_state = "sexyclown"
- item_state = "sexyclown"
+ inhand_icon_state = "sexyclown"
flags_cover = MASKCOVERSEYES
resistance_flags = FLAMMABLE
@@ -133,7 +133,7 @@
desc = "The traditional mime's mask. It has an eerie facial posture."
clothing_flags = MASKINTERNALS
icon_state = "mime"
- item_state = "mime"
+ inhand_icon_state = "mime"
w_class = WEIGHT_CLASS_SMALL
flags_cover = MASKCOVERSEYES
resistance_flags = FLAMMABLE
@@ -177,7 +177,7 @@
desc = "A mask used when acting as a monkey."
clothing_flags = MASKINTERNALS
icon_state = "monkeymask"
- item_state = "monkeymask"
+ inhand_icon_state = "monkeymask"
flags_cover = MASKCOVERSEYES
resistance_flags = FLAMMABLE
@@ -186,7 +186,7 @@
desc = "A traditional female mime's mask."
clothing_flags = MASKINTERNALS
icon_state = "sexymime"
- item_state = "sexymime"
+ inhand_icon_state = "sexymime"
flags_cover = MASKCOVERSEYES
resistance_flags = FLAMMABLE
@@ -213,7 +213,7 @@
name = "tiki mask"
desc = "A creepy wooden mask. Surprisingly expressive for a poorly carved bit of wood."
icon_state = "tiki_eyebrow"
- item_state = "tiki_eyebrow"
+ inhand_icon_state = "tiki_eyebrow"
custom_materials = list(/datum/material/wood = MINERAL_MATERIAL_AMOUNT * 1.25)
resistance_flags = FLAMMABLE
max_integrity = 100
@@ -259,6 +259,6 @@
name = "bounty hunting mask"
desc = "A custom tactical mask with decals added."
icon_state = "hunter"
- item_state = "hunter"
+ inhand_icon_state = "hunter"
resistance_flags = FIRE_PROOF | ACID_PROOF
flags_inv = HIDEFACIALHAIR|HIDEFACE|HIDEEYES|HIDEEARS|HIDEHAIR
diff --git a/code/modules/clothing/masks/hailer.dm b/code/modules/clothing/masks/hailer.dm
index e997a3c0b42..b53b153be3b 100644
--- a/code/modules/clothing/masks/hailer.dm
+++ b/code/modules/clothing/masks/hailer.dm
@@ -47,7 +47,7 @@ GLOBAL_LIST_INIT(hailer_phrases, list(
desc = "A standard issue Security gas mask with integrated 'Compli-o-nator 3000' device. Plays over a dozen pre-recorded compliance phrases designed to get scumbags to stand still whilst you tase them. Do not tamper with the device."
actions_types = list(/datum/action/item_action/halt, /datum/action/item_action/adjust)
icon_state = "sechailer"
- item_state = "sechailer"
+ inhand_icon_state = "sechailer"
clothing_flags = BLOCK_GAS_SMOKE_EFFECT | MASKINTERNALS
flags_inv = HIDEFACIALHAIR | HIDEFACE
w_class = WEIGHT_CLASS_SMALL
@@ -66,7 +66,7 @@ GLOBAL_LIST_INIT(hailer_phrases, list(
desc = "A close-fitting tactical mask with an especially aggressive Compli-o-nator 3000."
actions_types = list(/datum/action/item_action/halt)
icon_state = "swat"
- item_state = "swat"
+ inhand_icon_state = "swat"
aggressiveness = AGGR_SHIT_COP
flags_inv = HIDEFACIALHAIR | HIDEFACE | HIDEEYES | HIDEEARS | HIDEHAIR
visor_flags_inv = 0
@@ -75,7 +75,7 @@ GLOBAL_LIST_INIT(hailer_phrases, list(
name = "spacepol mask"
desc = "A close-fitting tactical mask created in cooperation with a certain megacorporation, comes with an especially aggressive Compli-o-nator 3000."
icon_state = "spacepol"
- item_state = "spacepol"
+ inhand_icon_state = "spacepol"
/obj/item/clothing/mask/gas/sechailer/cyborg
name = "security hailer"
@@ -180,7 +180,7 @@ GLOBAL_LIST_INIT(hailer_phrases, list(
name = "police whistle"
desc = "A police whistle for when you need to make sure the criminals hear you."
icon_state = "whistle"
- item_state = "whistle"
+ inhand_icon_state = "whistle"
slot_flags = ITEM_SLOT_MASK|ITEM_SLOT_NECK
custom_price = 150
actions_types = list(/datum/action/item_action/halt)
diff --git a/code/modules/clothing/masks/miscellaneous.dm b/code/modules/clothing/masks/miscellaneous.dm
index 51528c016a3..aa29d048e05 100644
--- a/code/modules/clothing/masks/miscellaneous.dm
+++ b/code/modules/clothing/masks/miscellaneous.dm
@@ -2,7 +2,7 @@
name = "muzzle"
desc = "To stop that awful noise."
icon_state = "muzzle"
- item_state = "blindfold"
+ inhand_icon_state = "blindfold"
flags_cover = MASKCOVERSMOUTH
w_class = WEIGHT_CLASS_SMALL
gas_transfer_coefficient = 0.9
@@ -20,7 +20,7 @@
name = "sterile mask"
desc = "A sterile mask designed to help prevent the spread of diseases."
icon_state = "sterile"
- item_state = "sterile"
+ inhand_icon_state = "sterile"
w_class = WEIGHT_CLASS_TINY
flags_inv = HIDEFACE
flags_cover = MASKCOVERSMOUTH
@@ -73,7 +73,7 @@
name = "pig mask"
desc = "A rubber pig mask with a built-in voice modulator."
icon_state = "pig"
- item_state = "pig"
+ inhand_icon_state = "pig"
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
clothing_flags = VOICEBOX_TOGGLABLE
w_class = WEIGHT_CLASS_SMALL
@@ -99,7 +99,7 @@
name = "frog mask"
desc = "An ancient mask carved in the shape of a frog.
Sanity is like gravity, all it needs is a push."
icon_state = "frog"
- item_state = "frog"
+ inhand_icon_state = "frog"
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
w_class = WEIGHT_CLASS_SMALL
clothing_flags = VOICEBOX_TOGGLABLE
@@ -128,7 +128,7 @@
/obj/item/clothing/mask/cowmask
name = "cow mask"
icon_state = "cowmask"
- item_state = "cowmask"
+ inhand_icon_state = "cowmask"
clothing_flags = VOICEBOX_TOGGLABLE
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
w_class = WEIGHT_CLASS_SMALL
@@ -153,7 +153,7 @@
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"
+ inhand_icon_state = "horsehead"
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR|HIDEEYES|HIDEEARS
w_class = WEIGHT_CLASS_SMALL
clothing_flags = VOICEBOX_TOGGLABLE
@@ -177,7 +177,7 @@
name = "rat mask"
desc = "A mask made of soft vinyl and latex, representing the head of a rat."
icon_state = "rat"
- item_state = "rat"
+ inhand_icon_state = "rat"
flags_inv = HIDEFACE
flags_cover = MASKCOVERSMOUTH
@@ -185,43 +185,43 @@
name = "fox mask"
desc = "A mask made of soft vinyl and latex, representing the head of a fox."
icon_state = "fox"
- item_state = "fox"
+ inhand_icon_state = "fox"
/obj/item/clothing/mask/rat/bee
name = "bee mask"
desc = "A mask made of soft vinyl and latex, representing the head of a bee."
icon_state = "bee"
- item_state = "bee"
+ inhand_icon_state = "bee"
/obj/item/clothing/mask/rat/bear
name = "bear mask"
desc = "A mask made of soft vinyl and latex, representing the head of a bear."
icon_state = "bear"
- item_state = "bear"
+ inhand_icon_state = "bear"
/obj/item/clothing/mask/rat/bat
name = "bat mask"
desc = "A mask made of soft vinyl and latex, representing the head of a bat."
icon_state = "bat"
- item_state = "bat"
+ inhand_icon_state = "bat"
/obj/item/clothing/mask/rat/raven
name = "raven mask"
desc = "A mask made of soft vinyl and latex, representing the head of a raven."
icon_state = "raven"
- item_state = "raven"
+ inhand_icon_state = "raven"
/obj/item/clothing/mask/rat/jackal
name = "jackal mask"
desc = "A mask made of soft vinyl and latex, representing the head of a jackal."
icon_state = "jackal"
- item_state = "jackal"
+ inhand_icon_state = "jackal"
/obj/item/clothing/mask/rat/tribal
name = "tribal mask"
desc = "A mask carved out of wood, detailed carefully by hand."
icon_state = "bumba"
- item_state = "bumba"
+ inhand_icon_state = "bumba"
/obj/item/clothing/mask/bandana
name = "botany bandana"
@@ -301,21 +301,21 @@
name = "mummy mask"
desc = "Ancient bandages."
icon_state = "mummy_mask"
- item_state = "mummy_mask"
+ inhand_icon_state = "mummy_mask"
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
/obj/item/clothing/mask/scarecrow
name = "sack mask"
desc = "A burlap sack with eyeholes."
icon_state = "scarecrow_sack"
- item_state = "scarecrow_sack"
+ inhand_icon_state = "scarecrow_sack"
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
/obj/item/clothing/mask/gondola
name = "gondola mask"
desc = "Genuine gondola fur."
icon_state = "gondola"
- item_state = "gondola"
+ inhand_icon_state = "gondola"
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
w_class = WEIGHT_CLASS_SMALL
modifies_speech = TRUE
diff --git a/code/modules/clothing/neck/_neck.dm b/code/modules/clothing/neck/_neck.dm
index d5ab3001406..6b932abea0d 100644
--- a/code/modules/clothing/neck/_neck.dm
+++ b/code/modules/clothing/neck/_neck.dm
@@ -20,7 +20,7 @@
desc = "A neosilk clip-on tie."
icon = 'icons/obj/clothing/neck.dmi'
icon_state = "bluetie"
- item_state = "" //no inhands
+ inhand_icon_state = "" //no inhands
w_class = WEIGHT_CLASS_SMALL
custom_price = 60
diff --git a/code/modules/clothing/shoes/miscellaneous.dm b/code/modules/clothing/shoes/miscellaneous.dm
index 60b04a4adff..e1260df3d0d 100644
--- a/code/modules/clothing/shoes/miscellaneous.dm
+++ b/code/modules/clothing/shoes/miscellaneous.dm
@@ -9,7 +9,7 @@
name = "combat boots"
desc = "High speed, low drag combat boots."
icon_state = "jackboots"
- item_state = "jackboots"
+ inhand_icon_state = "jackboots"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
armor = list("melee" = 25, "bullet" = 25, "laser" = 25, "energy" = 25, "bomb" = 50, "bio" = 10, "rad" = 0, "fire" = 70, "acid" = 50)
@@ -23,7 +23,7 @@
name = "sneakboots"
desc = "These boots have special noise cancelling soles. Perfect for stealth, if it wasn't for the color scheme."
icon_state = "sneakboots"
- item_state = "sneakboots"
+ inhand_icon_state = "sneakboots"
w_class = WEIGHT_CLASS_SMALL
resistance_flags = FIRE_PROOF | ACID_PROOF
@@ -35,7 +35,7 @@
/obj/item/clothing/shoes/combat/sneakboots/dropped(mob/living/carbon/human/user)
REMOVE_TRAIT(user, TRAIT_SILENT_FOOTSTEPS, SHOES_TRAIT)
return ..()
-
+
/obj/item/clothing/shoes/combat/swat //overpowered boots for death squads
name = "\improper SWAT boots"
desc = "High speed, no drag combat boots."
@@ -92,7 +92,7 @@
desc = "The prankster's standard-issue clowning shoes. Damn, they're huge! Ctrl-click to toggle waddle dampeners."
name = "clown shoes"
icon_state = "clown"
- item_state = "clown_shoes"
+ inhand_icon_state = "clown_shoes"
slowdown = SHOES_SLOWDOWN+1
pocket_storage_component_path = /datum/component/storage/concrete/pockets/shoes/clown
var/enabled_waddle = TRUE
@@ -138,7 +138,7 @@
name = "jackboots"
desc = "Nanotrasen-issue Security combat boots for combat scenarios or combat situations. All combat, all the time."
icon_state = "jackboots"
- item_state = "jackboots"
+ inhand_icon_state = "jackboots"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
strip_delay = 30
@@ -155,7 +155,7 @@
name = "winter boots"
desc = "Boots lined with 'synthetic' animal fur."
icon_state = "winterboots"
- item_state = "winterboots"
+ inhand_icon_state = "winterboots"
permeability_coefficient = 0.15
cold_protection = FEET|LEGS
min_cold_protection_temperature = SHOES_MIN_TEMP_PROTECT
@@ -168,14 +168,14 @@
name = "ice hiking boots"
desc = "A pair of winter boots with special grips on the bottom, designed to prevent slipping on frozen surfaces."
icon_state = "iceboots"
- item_state = "iceboots"
+ inhand_icon_state = "iceboots"
clothing_flags = NOSLIP_ICE
/obj/item/clothing/shoes/workboots
name = "work boots"
desc = "Nanotrasen-issue Engineering lace-up work boots for the especially blue-collar."
icon_state = "workboots"
- item_state = "jackboots"
+ inhand_icon_state = "jackboots"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
permeability_coefficient = 0.15
@@ -194,7 +194,7 @@
name = "\improper Nar'Sien invoker boots"
desc = "A pair of boots worn by the followers of Nar'Sie."
icon_state = "cult"
- item_state = "cult"
+ inhand_icon_state = "cult"
cold_protection = FEET
min_cold_protection_temperature = SHOES_MIN_TEMP_PROTECT
heat_protection = FEET
@@ -227,7 +227,7 @@
name = "roman sandals"
desc = "Sandals with buckled leather straps on it."
icon_state = "roman"
- item_state = "roman"
+ inhand_icon_state = "roman"
strip_delay = 100
equip_delay_other = 100
permeability_coefficient = 0.9
@@ -237,7 +237,7 @@
name = "griffon boots"
desc = "A pair of costume boots fashioned after bird talons."
icon_state = "griffinboots"
- item_state = "griffinboots"
+ inhand_icon_state = "griffinboots"
pocket_storage_component_path = /datum/component/storage/concrete/pockets/shoes
lace_time = 8 SECONDS
@@ -245,7 +245,7 @@
name = "jump boots"
desc = "A specialized pair of combat boots with a built-in propulsion system for rapid foward movement."
icon_state = "jetboots"
- item_state = "jetboots"
+ inhand_icon_state = "jetboots"
resistance_flags = FIRE_PROOF
pocket_storage_component_path = /datum/component/storage/concrete/pockets/shoes
actions_types = list(/datum/action/item_action/bhop)
@@ -300,7 +300,7 @@
name = "Wheely-Heels"
desc = "Uses patented retractable wheel technology. Never sacrifice speed for style - not that this provides much of either." //Thanks Fel
icon_state = "wheelys"
- item_state = "wheelys"
+ inhand_icon_state = "wheelys"
actions_types = list(/datum/action/item_action/wheelys)
var/wheelToggle = FALSE //False means wheels are not popped out
var/obj/vehicle/ridden/scooter/wheelys/W
@@ -339,7 +339,7 @@
name = "Kindle Kicks"
desc = "They'll sure kindle something in you, and it's not childhood nostalgia..."
icon_state = "kindleKicks"
- item_state = "kindleKicks"
+ inhand_icon_state = "kindleKicks"
actions_types = list(/datum/action/item_action/kindleKicks)
var/lightCycle = 0
var/active = FALSE
@@ -365,7 +365,7 @@
name = "russian boots"
desc = "Comfy shoes."
icon_state = "rus_shoes"
- item_state = "rus_shoes"
+ inhand_icon_state = "rus_shoes"
pocket_storage_component_path = /datum/component/storage/concrete/pockets/shoes
lace_time = 8 SECONDS
@@ -462,10 +462,10 @@
name = "tojo clan shoes"
desc = "Steel-toed and intimidating."
icon_state = "MajimaShoes"
- item_state = "MajimaShoes_worn"
+ inhand_icon_state = "MajimaShoes_worn"
/obj/item/clothing/shoes/jackbros
name = "frosty boots"
desc = "For when you're stepping on up to the plate."
icon_state = "JackFrostShoes"
- item_state = "JackFrostShoes_worn"
+ inhand_icon_state = "JackFrostShoes_worn"
diff --git a/code/modules/clothing/spacesuits/_spacesuits.dm b/code/modules/clothing/spacesuits/_spacesuits.dm
index 553a575bd08..ae071a8682d 100644
--- a/code/modules/clothing/spacesuits/_spacesuits.dm
+++ b/code/modules/clothing/spacesuits/_spacesuits.dm
@@ -7,7 +7,7 @@
icon_state = "spaceold"
desc = "A special helmet with solar UV shielding to protect your eyes from harmful rays."
clothing_flags = STOPSPRESSUREDAMAGE | THICKMATERIAL | SNUG_FIT
- item_state = "spaceold"
+ inhand_icon_state = "spaceold"
permeability_coefficient = 0.01
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 50, "fire" = 80, "acid" = 70)
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
@@ -28,7 +28,7 @@
name = "space suit"
desc = "A suit that protects against low pressure environments. Has a big 13 on the back."
icon_state = "spaceold"
- item_state = "s_suit"
+ inhand_icon_state = "s_suit"
w_class = WEIGHT_CLASS_BULKY
gas_transfer_coefficient = 0.01
permeability_coefficient = 0.02
diff --git a/code/modules/clothing/spacesuits/chronosuit.dm b/code/modules/clothing/spacesuits/chronosuit.dm
index 35c2f68252a..c9e7e0f5a09 100644
--- a/code/modules/clothing/spacesuits/chronosuit.dm
+++ b/code/modules/clothing/spacesuits/chronosuit.dm
@@ -2,7 +2,7 @@
name = "Chronosuit Helmet"
desc = "A white helmet with an opaque blue visor."
icon_state = "chronohelmet"
- item_state = "chronohelmet"
+ inhand_icon_state = "chronohelmet"
slowdown = 1
armor = list("melee" = 60, "bullet" = 60, "laser" = 60, "energy" = 60, "bomb" = 30, "bio" = 90, "rad" = 90, "fire" = 100, "acid" = 100)
resistance_flags = FIRE_PROOF | ACID_PROOF
@@ -22,7 +22,7 @@
name = "Chronosuit"
desc = "An advanced spacesuit equipped with time-bluespace teleportation and anti-compression technology."
icon_state = "chronosuit"
- item_state = "chronosuit"
+ inhand_icon_state = "chronosuit"
actions_types = list(/datum/action/item_action/toggle_spacesuit, /datum/action/item_action/toggle)
armor = list("melee" = 60, "bullet" = 60, "laser" = 60, "energy" = 60, "bomb" = 30, "bio" = 90, "rad" = 90, "fire" = 100, "acid" = 1000)
resistance_flags = FIRE_PROOF | ACID_PROOF
diff --git a/code/modules/clothing/spacesuits/hardsuit.dm b/code/modules/clothing/spacesuits/hardsuit.dm
index 2c61e9cd5b6..f8f06fecd71 100644
--- a/code/modules/clothing/spacesuits/hardsuit.dm
+++ b/code/modules/clothing/spacesuits/hardsuit.dm
@@ -6,7 +6,7 @@
name = "hardsuit helmet"
desc = "A special helmet designed for work in a hazardous, low-pressure environment. Has radiation shielding."
icon_state = "hardsuit0-engineering"
- item_state = "eng_helm"
+ inhand_icon_state = "eng_helm"
max_integrity = 300
armor = list("melee" = 10, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 10, "bio" = 100, "rad" = 75, "fire" = 50, "acid" = 75)
var/basestate = "hardsuit"
@@ -98,7 +98,7 @@
name = "hardsuit"
desc = "A special suit that protects against hazardous, low pressure environments. Has radiation shielding."
icon_state = "hardsuit-engineering"
- item_state = "eng_hardsuit"
+ inhand_icon_state = "eng_hardsuit"
max_integrity = 300
armor = list("melee" = 10, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 10, "bio" = 100, "rad" = 75, "fire" = 50, "acid" = 75)
allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/t_scanner, /obj/item/construction/rcd, /obj/item/pipe_dispenser)
@@ -204,7 +204,7 @@
name = "engineering hardsuit helmet"
desc = "A special helmet designed for work in a hazardous, low-pressure environment. Has radiation shielding."
icon_state = "hardsuit0-engineering"
- item_state = "eng_helm"
+ inhand_icon_state = "eng_helm"
armor = list("melee" = 30, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 10, "bio" = 100, "rad" = 75, "fire" = 100, "acid" = 75)
hardsuit_type = "engineering"
resistance_flags = FIRE_PROOF
@@ -213,7 +213,7 @@
name = "engineering hardsuit"
desc = "A special suit that protects against hazardous, low pressure environments. Has radiation shielding."
icon_state = "hardsuit-engineering"
- item_state = "eng_hardsuit"
+ inhand_icon_state = "eng_hardsuit"
armor = list("melee" = 30, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 10, "bio" = 100, "rad" = 75, "fire" = 100, "acid" = 75)
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/engine
resistance_flags = FIRE_PROOF
@@ -223,7 +223,7 @@
name = "atmospherics hardsuit helmet"
desc = "A special helmet designed for work in a hazardous, low-pressure environment. Has thermal shielding."
icon_state = "hardsuit0-atmospherics"
- item_state = "atmo_helm"
+ inhand_icon_state = "atmo_helm"
hardsuit_type = "atmospherics"
armor = list("melee" = 30, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 10, "bio" = 100, "rad" = 25, "fire" = 100, "acid" = 75)
heat_protection = HEAD //Uncomment to enable firesuit protection
@@ -233,7 +233,7 @@
name = "atmospherics hardsuit"
desc = "A special suit that protects against hazardous, low pressure environments. Has thermal shielding."
icon_state = "hardsuit-atmospherics"
- item_state = "atmo_hardsuit"
+ inhand_icon_state = "atmo_hardsuit"
armor = list("melee" = 30, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 10, "bio" = 100, "rad" = 25, "fire" = 100, "acid" = 75)
heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS //Uncomment to enable firesuit protection
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
@@ -245,7 +245,7 @@
name = "advanced hardsuit helmet"
desc = "An advanced helmet designed for work in a hazardous, low pressure environment. Shines with a high polish."
icon_state = "hardsuit0-white"
- item_state = "ce_helm"
+ inhand_icon_state = "ce_helm"
hardsuit_type = "white"
armor = list("melee" = 40, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 50, "bio" = 100, "rad" = 100, "fire" = 100, "acid" = 90)
heat_protection = HEAD
@@ -255,7 +255,7 @@
icon_state = "hardsuit-white"
name = "advanced hardsuit"
desc = "An advanced suit that protects against hazardous, low pressure environments. Shines with a high polish."
- item_state = "ce_hardsuit"
+ inhand_icon_state = "ce_hardsuit"
armor = list("melee" = 40, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 50, "bio" = 100, "rad" = 100, "fire" = 100, "acid" = 90)
heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
@@ -268,7 +268,7 @@
name = "mining hardsuit helmet"
desc = "A special helmet designed for work in a hazardous, low pressure environment. Has reinforced plating for wildlife encounters and dual floodlights."
icon_state = "hardsuit0-mining"
- item_state = "mining_helm"
+ inhand_icon_state = "mining_helm"
hardsuit_type = "mining"
max_heat_protection_temperature = FIRE_SUIT_MAX_TEMP_PROTECT
resistance_flags = FIRE_PROOF
@@ -285,7 +285,7 @@
name = "mining hardsuit"
desc = "A special suit that protects against hazardous, low pressure environments. Has reinforced plating for wildlife encounters."
icon_state = "hardsuit-mining"
- item_state = "mining_hardsuit"
+ inhand_icon_state = "mining_hardsuit"
max_heat_protection_temperature = FIRE_SUIT_MAX_TEMP_PROTECT
resistance_flags = FIRE_PROOF
armor = list("melee" = 30, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 50, "bio" = 100, "rad" = 50, "fire" = 50, "acid" = 75)
@@ -303,7 +303,7 @@
desc = "A dual-mode advanced helmet designed for work in special operations. It is in EVA mode. Property of Gorlex Marauders."
alt_desc = "A dual-mode advanced helmet designed for work in special operations. It is in combat mode. Property of Gorlex Marauders."
icon_state = "hardsuit1-syndi"
- item_state = "syndie_helm"
+ inhand_icon_state = "syndie_helm"
hardsuit_type = "syndi"
armor = list("melee" = 40, "bullet" = 50, "laser" = 30, "energy" = 40, "bomb" = 35, "bio" = 100, "rad" = 50, "fire" = 50, "acid" = 90)
on = TRUE
@@ -381,7 +381,7 @@
desc = "A dual-mode advanced hardsuit designed for work in special operations. It is in EVA mode. Property of Gorlex Marauders."
alt_desc = "A dual-mode advanced hardsuit designed for work in special operations. It is in combat mode. Property of Gorlex Marauders."
icon_state = "hardsuit1-syndi"
- item_state = "syndie_hardsuit"
+ inhand_icon_state = "syndie_hardsuit"
hardsuit_type = "syndi"
w_class = WEIGHT_CLASS_NORMAL
armor = list("melee" = 40, "bullet" = 50, "laser" = 30, "energy" = 40, "bomb" = 35, "bio" = 100, "rad" = 50, "fire" = 50, "acid" = 90)
@@ -430,7 +430,7 @@
desc = "A dual-mode advanced helmet designed for any crime-fighting situation. It is in travel mode."
alt_desc = "A dual-mode advanced helmet designed for any crime-fighting situation. It is in combat mode."
icon_state = "hardsuit1-owl"
- item_state = "s_helmet"
+ inhand_icon_state = "s_helmet"
hardsuit_type = "owl"
visor_flags_inv = 0
visor_flags = 0
@@ -441,7 +441,7 @@
desc = "A dual-mode advanced hardsuit designed for any crime-fighting situation. It is in travel mode."
alt_desc = "A dual-mode advanced hardsuit designed for any crime-fighting situation. It is in combat mode."
icon_state = "hardsuit1-owl"
- item_state = "s_suit"
+ inhand_icon_state = "s_suit"
hardsuit_type = "owl"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/syndi/owl
@@ -451,7 +451,7 @@
name = "gem-encrusted hardsuit helmet"
desc = "A bizarre gem-encrusted helmet that radiates magical energies."
icon_state = "hardsuit0-wiz"
- item_state = "wiz_helm"
+ inhand_icon_state = "wiz_helm"
hardsuit_type = "wiz"
resistance_flags = FIRE_PROOF | ACID_PROOF //No longer shall our kind be foiled by lone chemists with spray bottles!
armor = list("melee" = 40, "bullet" = 40, "laser" = 40, "energy" = 50, "bomb" = 35, "bio" = 100, "rad" = 50, "fire" = 100, "acid" = 100)
@@ -462,7 +462,7 @@
name = "gem-encrusted hardsuit"
desc = "A bizarre gem-encrusted suit that radiates magical energies."
icon_state = "hardsuit-wiz"
- item_state = "wiz_hardsuit"
+ inhand_icon_state = "wiz_hardsuit"
w_class = WEIGHT_CLASS_NORMAL
resistance_flags = FIRE_PROOF | ACID_PROOF
armor = list("melee" = 40, "bullet" = 40, "laser" = 40, "energy" = 50, "bomb" = 35, "bio" = 100, "rad" = 50, "fire" = 100, "acid" = 100)
@@ -482,7 +482,7 @@
name = "medical hardsuit helmet"
desc = "A special helmet designed for work in a hazardous, low pressure environment. Built with lightweight materials for extra comfort, but does not protect the eyes from intense light."
icon_state = "hardsuit0-medical"
- item_state = "medical_helm"
+ inhand_icon_state = "medical_helm"
hardsuit_type = "medical"
flash_protect = FLASH_PROTECTION_NONE
armor = list("melee" = 30, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 10, "bio" = 100, "rad" = 60, "fire" = 60, "acid" = 75)
@@ -492,7 +492,7 @@
name = "medical hardsuit"
desc = "A special suit that protects against hazardous, low pressure environments. Built with lightweight materials for easier movement."
icon_state = "hardsuit-medical"
- item_state = "medical_hardsuit"
+ inhand_icon_state = "medical_hardsuit"
allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/storage/firstaid, /obj/item/healthanalyzer, /obj/item/stack/medical)
armor = list("melee" = 30, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 10, "bio" = 100, "rad" = 60, "fire" = 60, "acid" = 75)
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/medical
@@ -540,7 +540,7 @@
name = "prototype hardsuit"
desc = "A prototype suit that protects against hazardous, low pressure environments. Fitted with extensive plating for handling explosives and dangerous research materials."
icon_state = "hardsuit-rd"
- item_state = "hardsuit-rd"
+ inhand_icon_state = "hardsuit-rd"
resistance_flags = ACID_PROOF | FIRE_PROOF
max_heat_protection_temperature = FIRE_SUIT_MAX_TEMP_PROTECT //Same as an emergency firesuit. Not ideal for extended exposure.
allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/gun/energy/wormhole_projector,
@@ -554,7 +554,7 @@
name = "security hardsuit helmet"
desc = "A special helmet designed for work in a hazardous, low pressure environment. Has an additional layer of armor."
icon_state = "hardsuit0-sec"
- item_state = "sec_helm"
+ inhand_icon_state = "sec_helm"
hardsuit_type = "sec"
armor = list("melee" = 35, "bullet" = 15, "laser" = 30,"energy" = 40, "bomb" = 10, "bio" = 100, "rad" = 50, "fire" = 75, "acid" = 75)
@@ -563,7 +563,7 @@
icon_state = "hardsuit-sec"
name = "security hardsuit"
desc = "A special suit that protects against hazardous, low pressure environments. Has an additional layer of armor."
- item_state = "sec_hardsuit"
+ inhand_icon_state = "sec_hardsuit"
armor = list("melee" = 35, "bullet" = 15, "laser" = 30, "energy" = 40, "bomb" = 10, "bio" = 100, "rad" = 50, "fire" = 75, "acid" = 75)
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/security
@@ -593,7 +593,7 @@
/obj/item/clothing/head/helmet/space/hardsuit/swat
name = "\improper MK.II SWAT Helmet"
icon_state = "swat2helm"
- item_state = "swat2helm"
+ inhand_icon_state = "swat2helm"
desc = "A tactical SWAT helmet MK.II."
armor = list("melee" = 40, "bullet" = 50, "laser" = 50, "energy" = 60, "bomb" = 50, "bio" = 100, "rad" = 50, "fire" = 100, "acid" = 100)
resistance_flags = FIRE_PROOF | ACID_PROOF
@@ -608,7 +608,7 @@
name = "\improper MK.II SWAT Suit"
desc = "A MK.II SWAT suit with streamlined joints and armor made out of superior materials, insulated against intense heat if worn with the complementary gas mask. The most advanced tactical armor available."
icon_state = "swat2"
- item_state = "swat2"
+ inhand_icon_state = "swat2"
armor = list("melee" = 40, "bullet" = 50, "laser" = 50, "energy" = 60, "bomb" = 50, "bio" = 100, "rad" = 50, "fire" = 100, "acid" = 100)
resistance_flags = FIRE_PROOF | ACID_PROOF
heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
@@ -624,14 +624,14 @@
/obj/item/clothing/head/helmet/space/hardsuit/swat/captain
name = "captain's SWAT helmet"
icon_state = "capspace"
- item_state = "capspacehelmet"
+ inhand_icon_state = "capspacehelmet"
desc = "A tactical MK.II SWAT helmet boasting better protection and a reasonable fashion sense."
/obj/item/clothing/suit/space/hardsuit/swat/captain
name = "captain's SWAT suit"
desc = "A MK.II SWAT suit with streamlined joints and armor made out of superior materials, insulated against intense heat with the complementary gas mask. The most advanced tactical armor available. Usually reserved for heavy hitter corporate security, this one has a regal finish in Nanotrasen company colors. Better not let the assistants get a hold of it."
icon_state = "caparmor"
- item_state = "capspacesuit"
+ inhand_icon_state = "capspacesuit"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/swat/captain
cell = /obj/item/stock_parts/cell/super
@@ -640,7 +640,7 @@
name = "cosmohonk hardsuit helmet"
desc = "A special helmet designed for work in a hazardous, low-humor environment. Has radiation shielding."
icon_state = "hardsuit0-clown"
- item_state = "hardsuit0-clown"
+ inhand_icon_state = "hardsuit0-clown"
armor = list("melee" = 30, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 10, "bio" = 100, "rad" = 75, "fire" = 60, "acid" = 30)
hardsuit_type = "clown"
@@ -648,7 +648,7 @@
name = "cosmohonk hardsuit"
desc = "A special suit that protects against hazardous, low humor environments. Has radiation shielding. Only a true clown can wear it."
icon_state = "hardsuit-clown"
- item_state = "clown_hardsuit"
+ inhand_icon_state = "clown_hardsuit"
armor = list("melee" = 30, "bullet" = 5, "laser" = 10, "energy" = 20, "bomb" = 10, "bio" = 100, "rad" = 75, "fire" = 60, "acid" = 30)
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/clown
@@ -666,7 +666,7 @@
name = "prototype RIG hardsuit helmet"
desc = "Early prototype RIG hardsuit helmet, designed to quickly shift over a user's head. Design constraints of the helmet mean it has no inbuilt cameras, thus it restricts the users visability."
icon_state = "hardsuit0-ancient"
- item_state = "anc_helm"
+ inhand_icon_state = "anc_helm"
armor = list("melee" = 30, "bullet" = 5, "laser" = 5, "energy" = 15, "bomb" = 50, "bio" = 100, "rad" = 100, "fire" = 100, "acid" = 75)
hardsuit_type = "ancient"
resistance_flags = FIRE_PROOF
@@ -675,7 +675,7 @@
name = "prototype RIG hardsuit"
desc = "Prototype powered RIG hardsuit. Provides excellent protection from the elements of space while being comfortable to move around in, thanks to the powered locomotives. Remains very bulky however."
icon_state = "hardsuit-ancient"
- item_state = "anc_hardsuit"
+ inhand_icon_state = "anc_hardsuit"
armor = list("melee" = 30, "bullet" = 5, "laser" = 5, "energy" = 15, "bomb" = 50, "bio" = 100, "rad" = 100, "fire" = 100, "acid" = 75)
slowdown = 3
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/ancient
@@ -783,7 +783,7 @@
name = "white shielded hardsuit"
desc = "Standard issue hardsuit for playing capture the flag."
icon_state = "ert_medical"
- item_state = "ert_medical"
+ inhand_icon_state = "ert_medical"
hardsuit_type = "ert_medical"
// Adding TRAIT_NODROP is done when the CTF spawner equips people
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/shielded/ctf
@@ -794,7 +794,7 @@
/obj/item/clothing/suit/space/hardsuit/shielded/ctf/red
name = "red shielded hardsuit"
icon_state = "ert_security"
- item_state = "ert_security"
+ inhand_icon_state = "ert_security"
hardsuit_type = "ert_security"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/shielded/ctf/red
shield_state = "shield-red"
@@ -804,7 +804,7 @@
name = "blue shielded hardsuit"
desc = "Standard issue hardsuit for playing capture the flag."
icon_state = "ert_command"
- item_state = "ert_command"
+ inhand_icon_state = "ert_command"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/shielded/ctf/blue
@@ -813,21 +813,21 @@
name = "shielded hardsuit helmet"
desc = "Standard issue hardsuit helmet for playing capture the flag."
icon_state = "hardsuit0-ert_medical"
- item_state = "hardsuit0-ert_medical"
+ inhand_icon_state = "hardsuit0-ert_medical"
hardsuit_type = "ert_medical"
armor = list("melee" = 0, "bullet" = 30, "laser" = 30, "energy" = 40, "bomb" = 50, "bio" = 100, "rad" = 100, "fire" = 95, "acid" = 95)
/obj/item/clothing/head/helmet/space/hardsuit/shielded/ctf/red
icon_state = "hardsuit0-ert_security"
- item_state = "hardsuit0-ert_security"
+ inhand_icon_state = "hardsuit0-ert_security"
hardsuit_type = "ert_security"
/obj/item/clothing/head/helmet/space/hardsuit/shielded/ctf/blue
name = "shielded hardsuit helmet"
desc = "Standard issue hardsuit helmet for playing capture the flag."
icon_state = "hardsuit0-ert_commander"
- item_state = "hardsuit0-ert_commander"
+ inhand_icon_state = "hardsuit0-ert_commander"
hardsuit_type = "ert_commander"
@@ -840,7 +840,7 @@
name = "blood-red hardsuit"
desc = "An advanced hardsuit with built in energy shielding."
icon_state = "hardsuit1-syndi"
- item_state = "syndie_hardsuit"
+ inhand_icon_state = "syndie_hardsuit"
hardsuit_type = "syndi"
armor = list("melee" = 40, "bullet" = 50, "laser" = 30, "energy" = 40, "bomb" = 35, "bio" = 100, "rad" = 50, "fire" = 100, "acid" = 100)
allowed = list(/obj/item/gun, /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/melee/baton, /obj/item/melee/transforming/energy/sword/saber, /obj/item/restraints/handcuffs, /obj/item/tank/internals)
@@ -874,7 +874,7 @@
name = "blood-red hardsuit helmet"
desc = "An advanced hardsuit helmet with built in energy shielding."
icon_state = "hardsuit1-syndi"
- item_state = "syndie_helm"
+ inhand_icon_state = "syndie_helm"
hardsuit_type = "syndi"
armor = list("melee" = 40, "bullet" = 50, "laser" = 30, "energy" = 40, "bomb" = 35, "bio" = 100, "rad" = 50, "fire" = 100, "acid" = 100)
@@ -883,7 +883,7 @@
name = "death commando spacesuit"
desc = "An advanced hardsuit favored by commandos for use in special operations."
icon_state = "deathsquad"
- item_state = "swat_suit"
+ inhand_icon_state = "swat_suit"
hardsuit_type = "syndi"
max_charges = 4
current_charges = 4
@@ -898,7 +898,7 @@
name = "death commando helmet"
desc = "A tactical helmet with built in energy shielding."
icon_state = "deathsquad"
- item_state = "deathsquad"
+ inhand_icon_state = "deathsquad"
hardsuit_type = "syndi"
armor = list("melee" = 80, "bullet" = 80, "laser" = 50, "energy" = 60, "bomb" = 100, "bio" = 100, "rad" = 100, "fire" = 100, "acid" = 100)
strip_delay = 130
diff --git a/code/modules/clothing/spacesuits/miscellaneous.dm b/code/modules/clothing/spacesuits/miscellaneous.dm
index f3e5b7a3eb4..d977692e96a 100644
--- a/code/modules/clothing/spacesuits/miscellaneous.dm
+++ b/code/modules/clothing/spacesuits/miscellaneous.dm
@@ -21,7 +21,7 @@ Contains:
name = "MK.III SWAT Helmet"
desc = "An advanced tactical space helmet."
icon_state = "deathsquad"
- item_state = "deathsquad"
+ inhand_icon_state = "deathsquad"
armor = list("melee" = 80, "bullet" = 80, "laser" = 50, "energy" = 60, "bomb" = 100, "bio" = 100, "rad" = 100, "fire" = 100, "acid" = 100)
strip_delay = 130
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
@@ -35,7 +35,7 @@ Contains:
name = "MK.III SWAT Suit"
desc = "A prototype designed to replace the ageing MK.II SWAT suit. Based on the streamlined MK.II model, the traditional ceramic and graphene plate construction was replaced with plasteel, allowing superior armor against most threats. There's room for some kind of energy projection device on the back."
icon_state = "deathsquad"
- item_state = "swat_suit"
+ inhand_icon_state = "swat_suit"
allowed = list(/obj/item/gun, /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/melee/baton, /obj/item/restraints/handcuffs, /obj/item/tank/internals, /obj/item/kitchen/knife/combat)
armor = list("melee" = 80, "bullet" = 80, "laser" = 50, "energy" = 60, "bomb" = 100, "bio" = 100, "rad" = 100, "fire" = 100, "acid" = 100)
strip_delay = 130
@@ -50,7 +50,7 @@ Contains:
name = "MK.I SWAT Suit"
desc = "A tactical space suit first developed in a joint effort by the defunct IS-ERI and Nanotrasen in 20XX for military space operations. A tried and true workhorse, it is very difficult to move in but offers robust protection against all threats!"
icon_state = "heavy"
- item_state = "swat_suit"
+ inhand_icon_state = "swat_suit"
allowed = list(/obj/item/gun, /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/melee/baton, /obj/item/restraints/handcuffs, /obj/item/tank/internals, /obj/item/kitchen/knife/combat)
armor = list("melee" = 40, "bullet" = 30, "laser" = 30,"energy" = 40, "bomb" = 50, "bio" = 90, "rad" = 20, "fire" = 100, "acid" = 100)
strip_delay = 120
@@ -72,7 +72,7 @@ Contains:
name = "officer's jacket"
desc = "An armored, space-proof jacket used in special operations."
icon_state = "detective"
- item_state = "det_suit"
+ inhand_icon_state = "det_suit"
blood_overlay_type = "coat"
slowdown = 0
flags_inv = 0
@@ -88,12 +88,12 @@ Contains:
name = "NASA Void Helmet"
desc = "An old, NASA CentCom branch designed, dark red space suit helmet."
icon_state = "void"
- item_state = "void"
+ inhand_icon_state = "void"
/obj/item/clothing/suit/space/nasavoid
name = "NASA Voidsuit"
icon_state = "void"
- item_state = "void"
+ inhand_icon_state = "void"
desc = "An old, NASA CentCom branch designed, dark red space suit."
allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/multitool)
@@ -101,12 +101,12 @@ Contains:
name = "Engineering Void Helmet"
desc = "A CentCom engineering dark red space suit helmet. While old and dusty, it still gets the job done."
icon_state = "void"
- item_state = "void"
+ inhand_icon_state = "void"
/obj/item/clothing/suit/space/nasavoid/old
name = "Engineering Voidsuit"
icon_state = "void"
- item_state = "void"
+ inhand_icon_state = "void"
desc = "A CentCom engineering dark red space suit. Age has degraded the suit making is difficult to move around in."
slowdown = 4
allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/multitool)
@@ -124,7 +124,7 @@ Contains:
name = "Santa's suit"
desc = "Festive!"
icon_state = "santa"
- item_state = "santa"
+ inhand_icon_state = "santa"
slowdown = 0
allowed = list(/obj/item) //for stuffing exta special presents
@@ -134,7 +134,7 @@ Contains:
name = "pirate hat"
desc = "Yarr."
icon_state = "pirate"
- item_state = "pirate"
+ inhand_icon_state = "pirate"
armor = list("melee" = 30, "bullet" = 50, "laser" = 30,"energy" = 40, "bomb" = 30, "bio" = 30, "rad" = 30, "fire" = 60, "acid" = 75)
flags_inv = HIDEHAIR
strip_delay = 40
@@ -144,13 +144,13 @@ Contains:
/obj/item/clothing/head/helmet/space/pirate/bandana
name = "pirate bandana"
icon_state = "bandana"
- item_state = "bandana"
+ inhand_icon_state = "bandana"
/obj/item/clothing/suit/space/pirate
name = "pirate coat"
desc = "Yarr."
icon_state = "pirate"
- item_state = "pirate"
+ inhand_icon_state = "pirate"
w_class = WEIGHT_CLASS_NORMAL
flags_inv = 0
allowed = list(/obj/item/gun, /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/melee/baton, /obj/item/restraints/handcuffs, /obj/item/tank/internals, /obj/item/melee/transforming/energy/sword/pirate, /obj/item/clothing/glasses/eyepatch, /obj/item/reagent_containers/food/drinks/bottle/rum)
@@ -164,7 +164,7 @@ Contains:
name = "emergency response team commander helmet"
desc = "The integrated helmet of an ERT hardsuit, this one has blue highlights."
icon_state = "hardsuit0-ert_commander"
- item_state = "hardsuit0-ert_commander"
+ inhand_icon_state = "hardsuit0-ert_commander"
hardsuit_type = "ert_commander"
armor = list("melee" = 65, "bullet" = 50, "laser" = 50, "energy" = 60, "bomb" = 50, "bio" = 100, "rad" = 100, "fire" = 80, "acid" = 80)
strip_delay = 130
@@ -180,7 +180,7 @@ Contains:
name = "emergency response team commander hardsuit"
desc = "The standard issue hardsuit of the ERT, this one has blue highlights. Offers superb protection against environmental hazards."
icon_state = "ert_command"
- item_state = "ert_command"
+ inhand_icon_state = "ert_command"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/ert
allowed = list(/obj/item/gun, /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/melee/baton, /obj/item/restraints/handcuffs, /obj/item/tank/internals)
armor = list("melee" = 65, "bullet" = 50, "laser" = 50, "energy" = 60, "bomb" = 50, "bio" = 100, "rad" = 100, "fire" = 80, "acid" = 80)
@@ -200,14 +200,14 @@ Contains:
name = "emergency response team security helmet"
desc = "The integrated helmet of an ERT hardsuit, this one has red highlights."
icon_state = "hardsuit0-ert_security"
- item_state = "hardsuit0-ert_security"
+ inhand_icon_state = "hardsuit0-ert_security"
hardsuit_type = "ert_security"
/obj/item/clothing/suit/space/hardsuit/ert/sec
name = "emergency response team security hardsuit"
desc = "The standard issue hardsuit of the ERT, this one has red highlights. Offers superb protection against environmental hazards."
icon_state = "ert_security"
- item_state = "ert_security"
+ inhand_icon_state = "ert_security"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/ert/sec
//ERT Engineering
@@ -215,14 +215,14 @@ Contains:
name = "emergency response team engineering helmet"
desc = "The integrated helmet of an ERT hardsuit, this one has orange highlights."
icon_state = "hardsuit0-ert_engineer"
- item_state = "hardsuit0-ert_engineer"
+ inhand_icon_state = "hardsuit0-ert_engineer"
hardsuit_type = "ert_engineer"
/obj/item/clothing/suit/space/hardsuit/ert/engi
name = "emergency response team engineering hardsuit"
desc = "The standard issue hardsuit of the ERT, this one has orange highlights. Offers superb protection against environmental hazards."
icon_state = "ert_engineer"
- item_state = "ert_engineer"
+ inhand_icon_state = "ert_engineer"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/ert/engi
//ERT Medical
@@ -230,14 +230,14 @@ Contains:
name = "emergency response team medical helmet"
desc = "The integrated helmet of an ERT hardsuit, this one has white highlights."
icon_state = "hardsuit0-ert_medical"
- item_state = "hardsuit0-ert_medical"
+ inhand_icon_state = "hardsuit0-ert_medical"
hardsuit_type = "ert_medical"
/obj/item/clothing/suit/space/hardsuit/ert/med
name = "emergency response team medical hardsuit"
desc = "The standard issue hardsuit of the ERT, this one has white highlights. Offers superb protection against environmental hazards."
icon_state = "ert_medical"
- item_state = "ert_medical"
+ inhand_icon_state = "ert_medical"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/ert/med
//ERT Janitor
@@ -245,14 +245,14 @@ Contains:
name = "emergency response team janitorial helmet"
desc = "The integrated helmet of an ERT hardsuit, this one has purple highlights."
icon_state = "hardsuit0-ert_janitor"
- item_state = "hardsuit0-ert_janitor"
+ inhand_icon_state = "hardsuit0-ert_janitor"
hardsuit_type = "ert_janitor"
/obj/item/clothing/suit/space/hardsuit/ert/jani
name = "emergency response team janitorial hardsuit"
desc = "The standard issue hardsuit of the ERT, this one has purple highlights. Offers superb protection against environmental hazards. This one has extra clips for holding various janitorial tools."
icon_state = "ert_janitor"
- item_state = "ert_janitor"
+ inhand_icon_state = "ert_janitor"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/ert/jani
allowed = list(/obj/item/tank/internals, /obj/item/storage/bag/trash, /obj/item/melee/flyswatter, /obj/item/mop, /obj/item/holosign_creator, /obj/item/reagent_containers/glass/bucket, /obj/item/reagent_containers/spray/chemsprayer/janitor)
@@ -261,28 +261,28 @@ Contains:
name = "emergency response team clown helmet"
desc = "The integrated helmet of an ERT hardsuit, this one is colourful!"
icon_state = "hardsuit0-ert_clown"
- item_state = "hardsuit0-ert_clown"
+ inhand_icon_state = "hardsuit0-ert_clown"
hardsuit_type = "ert_clown"
/obj/item/clothing/suit/space/hardsuit/ert/clown
name = "emergency response team clown hardsuit"
desc = "The non-standard issue hardsuit of the ERT, this one is colourful! Offers superb protection against environmental hazards. Does not offer superb protection against a ravaging crew."
icon_state = "ert_clown"
- item_state = "ert_clown"
+ inhand_icon_state = "ert_clown"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/ert/clown
allowed = list(/obj/item/tank/internals, /obj/item/bikehorn, /obj/item/instrument, /obj/item/reagent_containers/food/snacks/grown/banana, /obj/item/grown/bananapeel)
/obj/item/clothing/suit/space/eva
name = "EVA suit"
icon_state = "space"
- item_state = "s_suit"
+ inhand_icon_state = "s_suit"
desc = "A lightweight space suit with the basic ability to protect the wearer from the vacuum of space during emergencies."
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 20, "fire" = 50, "acid" = 65)
/obj/item/clothing/head/helmet/space/eva
name = "EVA helmet"
icon_state = "space"
- item_state = "space"
+ inhand_icon_state = "space"
desc = "A lightweight space helmet with the basic ability to protect the wearer from the vacuum of space during emergencies."
flash_protect = FLASH_PROTECTION_NONE
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 20, "fire" = 50, "acid" = 65)
@@ -291,7 +291,7 @@ Contains:
name = "eagle helmet"
desc = "An advanced, space-proof helmet. It appears to be modeled after an old-world eagle."
icon_state = "griffinhat"
- item_state = "griffinhat"
+ inhand_icon_state = "griffinhat"
armor = list("melee" = 20, "bullet" = 40, "laser" = 30, "energy" = 40, "bomb" = 100, "bio" = 100, "rad" = 100, "fire" = 80, "acid" = 80)
strip_delay = 130
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
@@ -301,7 +301,7 @@ Contains:
name = "eagle suit"
desc = "An advanced, light suit, fabricated from a mixture of synthetic feathers and space-resistant material. A gun holster appears to be integrated into the suit and the wings appear to be stuck in 'freedom' mode."
icon_state = "freedom"
- item_state = "freedom"
+ inhand_icon_state = "freedom"
allowed = list(/obj/item/gun, /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/melee/baton, /obj/item/restraints/handcuffs, /obj/item/tank/internals)
armor = list("melee" = 20, "bullet" = 40, "laser" = 30,"energy" = 40, "bomb" = 100, "bio" = 100, "rad" = 100, "fire" = 80, "acid" = 80)
strip_delay = 130
@@ -314,7 +314,7 @@ Contains:
name = "carp helmet"
desc = "Spaceworthy and it looks like a space carp's head, smells like one too."
icon_state = "carp_helm"
- item_state = "syndicate"
+ inhand_icon_state = "syndicate"
armor = list("melee" = -20, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 75, "fire" = 60, "acid" = 75) //As whimpy as a space carp
brightness_on = 0 //luminosity when on
actions_types = list()
@@ -328,7 +328,7 @@ Contains:
name = "carp space suit"
desc = "A slimming piece of dubious space carp technology, you suspect it won't stand up to hand-to-hand blows."
icon_state = "carp_suit"
- item_state = "space_suit_syndicate"
+ inhand_icon_state = "space_suit_syndicate"
slowdown = 0 //Space carp magic, never stop believing
armor = list("melee" = -20, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 75, "fire" = 60, "acid" = 75) //As whimpy whimpy whoo
allowed = list(/obj/item/tank/internals, /obj/item/pneumatic_cannon/speargun) //I'm giving you a hint here
@@ -353,7 +353,7 @@ Contains:
name = "paranormal response team helmet"
desc = "A helmet worn by those who deal with paranormal threats for a living."
icon_state = "hardsuit0-prt"
- item_state = "hardsuit0-prt"
+ inhand_icon_state = "hardsuit0-prt"
hardsuit_type = "prt"
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
actions_types = list()
@@ -367,7 +367,7 @@ Contains:
name = "paranormal response team hardsuit"
desc = "Powerful wards are built into this hardsuit, protecting the user from all manner of paranormal threats."
icon_state = "knight_grey"
- item_state = "knight_grey"
+ inhand_icon_state = "knight_grey"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/ert/paranormal
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
resistance_flags = FIRE_PROOF
@@ -379,34 +379,34 @@ Contains:
/obj/item/clothing/suit/space/hardsuit/ert/paranormal/inquisitor
name = "inquisitor's hardsuit"
icon_state = "hardsuit-inq"
- item_state = "hardsuit-inq"
+ inhand_icon_state = "hardsuit-inq"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/ert/paranormal/inquisitor
/obj/item/clothing/head/helmet/space/hardsuit/ert/paranormal/inquisitor
name = "inquisitor's helmet"
icon_state = "hardsuit0-inq"
- item_state = "hardsuit0-inq"
+ inhand_icon_state = "hardsuit0-inq"
hardsuit_type = "inq"
/obj/item/clothing/suit/space/hardsuit/ert/paranormal/berserker
name = "champion's hardsuit"
desc = "Voices echo from the hardsuit, driving the user insane."
icon_state = "hardsuit-berserker"
- item_state = "hardsuit-berserker"
+ inhand_icon_state = "hardsuit-berserker"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/ert/paranormal/berserker
/obj/item/clothing/head/helmet/space/hardsuit/ert/paranormal/berserker
name = "champion's helmet"
desc = "Peering into the eyes of the helmet is enough to seal damnation."
icon_state = "hardsuit0-berserker"
- item_state = "hardsuit0-berserker"
+ inhand_icon_state = "hardsuit0-berserker"
hardsuit_type = "berserker"
/obj/item/clothing/head/helmet/space/fragile
name = "emergency space helmet"
desc = "A bulky, air-tight helmet meant to protect the user during emergency situations. It doesn't look very durable."
icon_state = "syndicate-helm-orange"
- item_state = "syndicate-helm-orange"
+ inhand_icon_state = "syndicate-helm-orange"
armor = list("melee" = 5, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 10, "fire" = 0, "acid" = 0)
strip_delay = 65
@@ -415,7 +415,7 @@ Contains:
desc = "A bulky, air-tight suit meant to protect the user during emergency situations. It doesn't look very durable."
var/torn = FALSE
icon_state = "syndicate-orange"
- item_state = "syndicate-orange"
+ inhand_icon_state = "syndicate-orange"
slowdown = 2
armor = list("melee" = 5, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 10, "fire" = 0, "acid" = 0)
strip_delay = 65
@@ -434,7 +434,7 @@ Contains:
name = "bounty hunting suit"
desc = "A custom version of the MK.II SWAT suit, modified to look rugged and tough. Works as a space suit, if you can find a helmet."
icon_state = "hunter"
- item_state = "swat_suit"
+ inhand_icon_state = "swat_suit"
allowed = list(/obj/item/gun, /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/melee/baton, /obj/item/restraints/handcuffs, /obj/item/tank/internals, /obj/item/kitchen/knife/combat)
armor = list("melee" = 60, "bullet" = 40, "laser" = 40, "energy" = 50, "bomb" = 100, "bio" = 100, "rad" = 100, "fire" = 100, "acid" = 100)
strip_delay = 130
@@ -446,7 +446,7 @@ Contains:
name = "endemic combat medic helmet"
desc = "The integrated helmet of the combat medic hardsuit, this has a bright, glowing facemask."
icon_state = "hardsuit0-combatmedic"
- item_state = "hardsuit0-combatmedic"
+ inhand_icon_state = "hardsuit0-combatmedic"
armor = list("melee" = 35, "bullet" = 10, "laser" = 20, "energy" = 30, "bomb" = 5, "bio" = 100, "rad" = 50, "fire" = 65, "acid" = 75)
hardsuit_type = "combatmedic"
@@ -454,7 +454,7 @@ Contains:
name = "endemic combat medic hardsuit"
desc = "The standard issue hardsuit of infectious disease officers, before the formation of ERT teams. This model is labeled 'Veradux'."
icon_state = "combatmedic"
- item_state = "combatmedic"
+ inhand_icon_state = "combatmedic"
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/combatmedic
armor = list("melee" = 35, "bullet" = 10, "laser" = 20, "energy" = 30, "bomb" = 5, "bio" = 100, "rad" = 50, "fire" = 65, "acid" = 75)
allowed = list(/obj/item/gun, /obj/item/melee/baton, /obj/item/circular_saw, /obj/item/tank/internals, /obj/item/storage/box/pillbottles,\
diff --git a/code/modules/clothing/spacesuits/plasmamen.dm b/code/modules/clothing/spacesuits/plasmamen.dm
index 87f57f39f6e..802d0245faf 100644
--- a/code/modules/clothing/spacesuits/plasmamen.dm
+++ b/code/modules/clothing/spacesuits/plasmamen.dm
@@ -8,7 +8,7 @@
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 0, "fire" = 100, "acid" = 75)
resistance_flags = FIRE_PROOF
icon_state = "plasmaman_suit"
- item_state = "plasmaman_suit"
+ inhand_icon_state = "plasmaman_suit"
var/next_extinguish = 0
var/extinguish_cooldown = 100
var/extinguishes_left = 10
@@ -39,7 +39,7 @@
name = "plasma envirosuit helmet"
desc = "A special containment helmet that allows plasma-based lifeforms to exist safely in an oxygenated environment. It is space-worthy, and may be worn in tandem with other EVA gear."
icon_state = "plasmaman-helm"
- item_state = "plasmaman-helm"
+ inhand_icon_state = "plasmaman-helm"
strip_delay = 80
flash_protect = FLASH_PROTECTION_WELDER
tint = 2
@@ -127,7 +127,7 @@
/obj/item/clothing/head/helmet/space/plasmaman/attack_self(mob/user)
on = !on
icon_state = "[initial(icon_state)][on ? "-light":""]"
- item_state = icon_state
+ inhand_icon_state = icon_state
user.update_inv_head() //So the mob overlay updates
if(on)
@@ -147,106 +147,106 @@
name = "security plasma envirosuit helmet"
desc = "A plasmaman containment helmet designed for security officers, protecting them from being flashed and burning alive, alongside other undesirables."
icon_state = "security_envirohelm"
- item_state = "security_envirohelm"
+ inhand_icon_state = "security_envirohelm"
armor = list("melee" = 10, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 0, "fire" = 100, "acid" = 75)
/obj/item/clothing/head/helmet/space/plasmaman/security/warden
name = "warden's plasma envirosuit helmet"
desc = "A plasmaman containment helmet designed for the warden, a pair of white stripes being added to differeciate them from other members of security."
icon_state = "warden_envirohelm"
- item_state = "warden_envirohelm"
+ inhand_icon_state = "warden_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/prisoner
name = "prisoner's plasma envirosuit helmet"
desc = "A plasmaman containment helmet for prisoners."
icon_state = "prisoner_envirohelm"
- item_state = "prisoner_envirohelm"
+ inhand_icon_state = "prisoner_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/medical
name = "medical doctor's plasma envirosuit helmet"
desc = "An envirohelmet designed for plasmaman medical doctors, having two stripes down its length to denote as much."
icon_state = "doctor_envirohelm"
- item_state = "doctor_envirohelm"
+ inhand_icon_state = "doctor_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/paramedic
name = "paramedic plasma envirosuit helmet"
desc = "An envirohelmet designed for plasmaman paramedics, with darker blue stripes compared to the medical model."
icon_state = "paramedic_envirohelm"
- item_state = "paramedic_envirohelm"
+ inhand_icon_state = "paramedic_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/genetics
name = "geneticist's plasma envirosuit helmet"
desc = "A plasmaman envirohelmet designed for geneticists."
icon_state = "geneticist_envirohelm"
- item_state = "geneticist_envirohelm"
+ inhand_icon_state = "geneticist_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/viro
name = "virology plasma envirosuit helmet"
desc = "The helmet worn by the safest people on the station, those who are completely immune to the monstrosities they create."
icon_state = "virologist_envirohelm"
- item_state = "virologist_envirohelm"
+ inhand_icon_state = "virologist_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/chemist
name = "chemistry plasma envirosuit helmet"
desc = "A plasmaman envirosuit designed for chemists, two orange stripes going down it's face."
icon_state = "chemist_envirohelm"
- item_state = "chemist_envirohelm"
+ inhand_icon_state = "chemist_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/science
name = "science plasma envirosuit helmet"
desc = "A plasmaman envirohelmet designed for scientists."
icon_state = "scientist_envirohelm"
- item_state = "scientist_envirohelm"
+ inhand_icon_state = "scientist_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/robotics
name = "robotics plasma envirosuit helmet"
desc = "A plasmaman envirohelmet designed for roboticists."
icon_state = "roboticist_envirohelm"
- item_state = "roboticist_envirohelm"
+ inhand_icon_state = "roboticist_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/engineering
name = "engineering plasma envirosuit helmet"
desc = "A space-worthy helmet specially designed for engineer plasmamen, the usual purple stripes being replaced by engineering's orange."
icon_state = "engineer_envirohelm"
- item_state = "engineer_envirohelm"
+ inhand_icon_state = "engineer_envirohelm"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 10, "fire" = 100, "acid" = 75)
/obj/item/clothing/head/helmet/space/plasmaman/atmospherics
name = "atmospherics plasma envirosuit helmet"
desc = "A space-worthy helmet specially designed for atmos technician plasmamen, the usual purple stripes being replaced by engineering's blue."
icon_state = "atmos_envirohelm"
- item_state = "atmos_envirohelm"
+ inhand_icon_state = "atmos_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/cargo
name = "cargo plasma envirosuit helmet"
desc = "A plasmaman envirohelmet designed for cargo techs and quartermasters."
icon_state = "cargo_envirohelm"
- item_state = "cargo_envirohelm"
+ inhand_icon_state = "cargo_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/mining
name = "mining plasma envirosuit helmet"
desc = "A khaki helmet given to plasmamen miners operating on lavaland."
icon_state = "explorer_envirohelm"
- item_state = "explorer_envirohelm"
+ inhand_icon_state = "explorer_envirohelm"
visor_icon = "explorer_envisor"
/obj/item/clothing/head/helmet/space/plasmaman/chaplain
name = "chaplain's plasma envirosuit helmet"
desc = "An envirohelmet specially designed for only the most pious of plasmamen."
icon_state = "chap_envirohelm"
- item_state = "chap_envirohelm"
+ inhand_icon_state = "chap_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/white
name = "white plasma envirosuit helmet"
desc = "A generic white envirohelm."
icon_state = "white_envirohelm"
- item_state = "white_envirohelm"
+ inhand_icon_state = "white_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/curator
name = "curator's plasma envirosuit helmet"
desc = "A slight modification on a tradiational voidsuit helmet, this helmet was Nano-Trasen's first solution to the *logistical problems* that come with employing plasmamen. Despite their limitations, these helmets still see use by historian and old-styled plasmamen alike."
icon_state = "prototype_envirohelm"
- item_state = "prototype_envirohelm"
+ inhand_icon_state = "prototype_envirohelm"
actions_types = list(/datum/action/item_action/toggle_welding_screen/plasmaman)
smile_state = "prototype_smile"
visor_icon = "prototype_envisor"
@@ -255,25 +255,25 @@
name = "botany plasma envirosuit helmet"
desc = "A green and blue envirohelmet designating it's wearer as a botanist. While not specially designed for it, it would protect against minor planet-related injuries."
icon_state = "botany_envirohelm"
- item_state = "botany_envirohelm"
+ inhand_icon_state = "botany_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/janitor
name = "janitor's plasma envirosuit helmet"
desc = "A grey helmet bearing a pair of purple stripes, designating the wearer as a janitor."
icon_state = "janitor_envirohelm"
- item_state = "janitor_envirohelm"
+ inhand_icon_state = "janitor_envirohelm"
/obj/item/clothing/head/helmet/space/plasmaman/mime
name = "mime envirosuit helmet"
desc = "The make-up is painted on, it's a miracle it doesn't chip. It's not very colourful."
icon_state = "mime_envirohelm"
- item_state = "mime_envirohelm"
+ inhand_icon_state = "mime_envirohelm"
visor_icon = "mime_envisor"
/obj/item/clothing/head/helmet/space/plasmaman/clown
name = "clown envirosuit helmet"
desc = "The make-up is painted on, it's a miracle it doesn't chip. 'HONK!'"
icon_state = "clown_envirohelm"
- item_state = "clown_envirohelm"
+ inhand_icon_state = "clown_envirohelm"
visor_icon = "clown_envisor"
smile_state = "clown_smile"
diff --git a/code/modules/clothing/spacesuits/syndi.dm b/code/modules/clothing/spacesuits/syndi.dm
index e1c40d2c011..a72a4967ed8 100644
--- a/code/modules/clothing/spacesuits/syndi.dm
+++ b/code/modules/clothing/spacesuits/syndi.dm
@@ -2,14 +2,14 @@
/obj/item/clothing/head/helmet/space/syndicate
name = "red space helmet"
icon_state = "syndicate"
- item_state = "syndicate"
+ inhand_icon_state = "syndicate"
desc = "Has a tag on it: Totally not property of an enemy corporation, honest!"
armor = list("melee" = 40, "bullet" = 50, "laser" = 30,"energy" = 40, "bomb" = 30, "bio" = 30, "rad" = 30, "fire" = 80, "acid" = 85)
/obj/item/clothing/suit/space/syndicate
name = "red space suit"
icon_state = "syndicate"
- item_state = "space_suit_syndicate"
+ inhand_icon_state = "space_suit_syndicate"
desc = "Has a tag on it: Totally not property of an enemy corporation, honest!"
w_class = WEIGHT_CLASS_NORMAL
allowed = list(/obj/item/gun, /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/melee/baton, /obj/item/melee/transforming/energy/sword/saber, /obj/item/restraints/handcuffs, /obj/item/tank/internals)
@@ -20,119 +20,119 @@
/obj/item/clothing/head/helmet/space/syndicate/green
name = "green space helmet"
icon_state = "syndicate-helm-green"
- item_state = "syndicate-helm-green"
+ inhand_icon_state = "syndicate-helm-green"
/obj/item/clothing/suit/space/syndicate/green
name = "green space suit"
icon_state = "syndicate-green"
- item_state = "syndicate-green"
+ inhand_icon_state = "syndicate-green"
//Dark green syndicate space suit
/obj/item/clothing/head/helmet/space/syndicate/green/dark
name = "dark green space helmet"
icon_state = "syndicate-helm-green-dark"
- item_state = "syndicate-helm-green-dark"
+ inhand_icon_state = "syndicate-helm-green-dark"
/obj/item/clothing/suit/space/syndicate/green/dark
name = "dark green space suit"
icon_state = "syndicate-green-dark"
- item_state = "syndicate-green-dark"
+ inhand_icon_state = "syndicate-green-dark"
//Orange syndicate space suit
/obj/item/clothing/head/helmet/space/syndicate/orange
name = "orange space helmet"
icon_state = "syndicate-helm-orange"
- item_state = "syndicate-helm-orange"
+ inhand_icon_state = "syndicate-helm-orange"
/obj/item/clothing/suit/space/syndicate/orange
name = "orange space suit"
icon_state = "syndicate-orange"
- item_state = "syndicate-orange"
+ inhand_icon_state = "syndicate-orange"
//Blue syndicate space suit
/obj/item/clothing/head/helmet/space/syndicate/blue
name = "blue space helmet"
icon_state = "syndicate-helm-blue"
- item_state = "syndicate-helm-blue"
+ inhand_icon_state = "syndicate-helm-blue"
/obj/item/clothing/suit/space/syndicate/blue
name = "blue space suit"
icon_state = "syndicate-blue"
- item_state = "syndicate-blue"
+ inhand_icon_state = "syndicate-blue"
//Black syndicate space suit
/obj/item/clothing/head/helmet/space/syndicate/black
name = "black space helmet"
icon_state = "syndicate-helm-black"
- item_state = "syndicate-helm-black"
+ inhand_icon_state = "syndicate-helm-black"
/obj/item/clothing/suit/space/syndicate/black
name = "black space suit"
icon_state = "syndicate-black"
- item_state = "syndicate-black"
+ inhand_icon_state = "syndicate-black"
//Black-green syndicate space suit
/obj/item/clothing/head/helmet/space/syndicate/black/green
name = "black space helmet"
icon_state = "syndicate-helm-black-green"
- item_state = "syndicate-helm-black-green"
+ inhand_icon_state = "syndicate-helm-black-green"
/obj/item/clothing/suit/space/syndicate/black/green
name = "black and green space suit"
icon_state = "syndicate-black-green"
- item_state = "syndicate-black-green"
+ inhand_icon_state = "syndicate-black-green"
//Black-blue syndicate space suit
/obj/item/clothing/head/helmet/space/syndicate/black/blue
name = "black space helmet"
icon_state = "syndicate-helm-black-blue"
- item_state = "syndicate-helm-black-blue"
+ inhand_icon_state = "syndicate-helm-black-blue"
/obj/item/clothing/suit/space/syndicate/black/blue
name = "black and blue space suit"
icon_state = "syndicate-black-blue"
- item_state = "syndicate-black-blue"
+ inhand_icon_state = "syndicate-black-blue"
//Black medical syndicate space suit
/obj/item/clothing/head/helmet/space/syndicate/black/med
name = "black space helmet"
icon_state = "syndicate-helm-black-med"
- item_state = "syndicate-helm-black"
+ inhand_icon_state = "syndicate-helm-black"
/obj/item/clothing/suit/space/syndicate/black/med
name = "green space suit"
icon_state = "syndicate-black-med"
- item_state = "syndicate-black"
+ inhand_icon_state = "syndicate-black"
//Black-orange syndicate space suit
/obj/item/clothing/head/helmet/space/syndicate/black/orange
name = "black space helmet"
icon_state = "syndicate-helm-black-orange"
- item_state = "syndicate-helm-black"
+ inhand_icon_state = "syndicate-helm-black"
/obj/item/clothing/suit/space/syndicate/black/orange
name = "black and orange space suit"
icon_state = "syndicate-black-orange"
- item_state = "syndicate-black"
+ inhand_icon_state = "syndicate-black"
//Black-red syndicate space suit
/obj/item/clothing/head/helmet/space/syndicate/black/red
name = "black space helmet"
icon_state = "syndicate-helm-black-red"
- item_state = "syndicate-helm-black-red"
+ inhand_icon_state = "syndicate-helm-black-red"
/obj/item/clothing/suit/space/syndicate/black/red
name = "black and red space suit"
icon_state = "syndicate-black-red"
- item_state = "syndicate-black-red"
+ inhand_icon_state = "syndicate-black-red"
//Black-red syndicate contract varient
/obj/item/clothing/head/helmet/space/syndicate/contract
@@ -140,7 +140,7 @@
desc = "A specialised black and gold helmet that's more compact than its standard Syndicate counterpart. Can be ultra-compressed into even the tightest of spaces."
w_class = WEIGHT_CLASS_SMALL
icon_state = "syndicate-contract-helm"
- item_state = "syndicate-contract-helm"
+ inhand_icon_state = "syndicate-contract-helm"
/obj/item/clothing/suit/space/syndicate/contract
name = "contractor space suit"
@@ -148,15 +148,15 @@
slowdown = 1
w_class = WEIGHT_CLASS_SMALL
icon_state = "syndicate-contract"
- item_state = "syndicate-contract"
+ inhand_icon_state = "syndicate-contract"
//Black with yellow/red engineering syndicate space suit
/obj/item/clothing/head/helmet/space/syndicate/black/engie
name = "black space helmet"
icon_state = "syndicate-helm-black-engie"
- item_state = "syndicate-helm-black"
+ inhand_icon_state = "syndicate-helm-black"
/obj/item/clothing/suit/space/syndicate/black/engie
name = "black engineering space suit"
icon_state = "syndicate-black-engie"
- item_state = "syndicate-black"
+ inhand_icon_state = "syndicate-black"
diff --git a/code/modules/clothing/suits/armor.dm b/code/modules/clothing/suits/armor.dm
index 6d486af3f0a..c7a7b004865 100644
--- a/code/modules/clothing/suits/armor.dm
+++ b/code/modules/clothing/suits/armor.dm
@@ -20,34 +20,34 @@
name = "armor vest"
desc = "A slim Type I armored vest that provides decent protection against most types of damage."
icon_state = "armoralt"
- item_state = "armoralt"
+ inhand_icon_state = "armoralt"
blood_overlay_type = "armor"
dog_fashion = /datum/dog_fashion/back
/obj/item/clothing/suit/armor/vest/alt
desc = "A Type I armored vest that provides decent protection against most types of damage."
icon_state = "armor"
- item_state = "armor"
+ inhand_icon_state = "armor"
/obj/item/clothing/suit/armor/vest/old
name = "degrading armor vest"
desc = "Older generation Type 1 armored vest. Due to degradation over time the vest is far less maneuverable to move in."
icon_state = "armor"
- item_state = "armor"
+ inhand_icon_state = "armor"
slowdown = 1
/obj/item/clothing/suit/armor/vest/blueshirt
name = "large armor vest"
desc = "A large, yet comfortable piece of armor, protecting you from some threats."
icon_state = "blueshift"
- item_state = "blueshift"
+ inhand_icon_state = "blueshift"
custom_premium_price = 750
/obj/item/clothing/suit/armor/hos
name = "armored greatcoat"
desc = "A greatcoat enhanced with a special alloy for some extra protection and style for those with a commanding presence."
icon_state = "hos"
- item_state = "greatcoat"
+ inhand_icon_state = "greatcoat"
body_parts_covered = CHEST|GROIN|ARMS|LEGS
armor = list("melee" = 30, "bullet" = 30, "laser" = 30, "energy" = 40, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 70, "acid" = 90)
cold_protection = CHEST|GROIN|LEGS|ARMS
@@ -58,7 +58,7 @@
name = "armored trenchcoat"
desc = "A trenchcoat enhanced with a special lightweight kevlar. The epitome of tactical plainclothes."
icon_state = "hostrench"
- item_state = "hostrench"
+ inhand_icon_state = "hostrench"
flags_inv = 0
strip_delay = 80
@@ -66,7 +66,7 @@
name = "warden's jacket"
desc = "A navy-blue armored jacket with blue shoulder designations and '/Warden/' stitched into one of the chest pockets."
icon_state = "warden_alt"
- item_state = "armor"
+ inhand_icon_state = "armor"
body_parts_covered = CHEST|GROIN|ARMS
cold_protection = CHEST|GROIN|ARMS|HANDS
heat_protection = CHEST|GROIN|ARMS|HANDS
@@ -83,7 +83,7 @@
name = "security overcoat"
desc = "Lightly armored leather overcoat meant as casual wear for high-ranking officers. Bears the crest of Nanotrasen Security."
icon_state = "leathercoat-sec"
- item_state = "hostrench"
+ inhand_icon_state = "hostrench"
body_parts_covered = CHEST|GROIN|ARMS|LEGS
cold_protection = CHEST|GROIN|LEGS|ARMS
heat_protection = CHEST|GROIN|LEGS|ARMS
@@ -93,7 +93,7 @@
name = "captain's carapace"
desc = "A fireproof armored chestpiece reinforced with ceramic plates and plasteel pauldrons to provide additional protection whilst still offering maximum mobility and flexibility. Issued only to the station's finest, although it does chafe your nipples."
icon_state = "capcarapace"
- item_state = "armor"
+ inhand_icon_state = "armor"
body_parts_covered = CHEST|GROIN
armor = list("melee" = 50, "bullet" = 40, "laser" = 50, "energy" = 50, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 100, "acid" = 90)
dog_fashion = null
@@ -108,13 +108,13 @@
name = "captain's parade jacket"
desc = "For when an armoured vest isn't fashionable enough."
icon_state = "capformal"
- item_state = "capspacesuit"
+ inhand_icon_state = "capspacesuit"
/obj/item/clothing/suit/armor/riot
name = "riot suit"
desc = "A suit of semi-flexible polycarbonate body armor with heavy padding to protect against melee attacks. Helps the wearer resist shoving in close quarters."
icon_state = "riot"
- item_state = "swat_suit"
+ inhand_icon_state = "swat_suit"
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
cold_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
@@ -127,7 +127,7 @@
name = "bone armor"
desc = "A tribal armor plate, crafted from animal bone."
icon_state = "bonearmor"
- item_state = "bonearmor"
+ inhand_icon_state = "bonearmor"
blood_overlay_type = "armor"
armor = list("melee" = 35, "bullet" = 25, "laser" = 25, "energy" = 35, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS
@@ -136,7 +136,7 @@
name = "bulletproof armor"
desc = "A Type III heavy bulletproof vest that excels in protecting the wearer against traditional projectile weaponry and explosives to a minor extent."
icon_state = "bulletproof"
- item_state = "armor"
+ inhand_icon_state = "armor"
blood_overlay_type = "armor"
armor = list("melee" = 15, "bullet" = 60, "laser" = 10, "energy" = 10, "bomb" = 40, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
strip_delay = 70
@@ -146,7 +146,7 @@
name = "reflector vest"
desc = "A vest that excels in protecting the wearer against energy projectiles, as well as occasionally reflecting them."
icon_state = "armor_reflec"
- item_state = "armor_reflec"
+ inhand_icon_state = "armor_reflec"
blood_overlay_type = "armor"
body_parts_covered = CHEST|GROIN|ARMS
cold_protection = CHEST|GROIN|ARMS
@@ -176,7 +176,7 @@
name = "infiltrator vest"
desc = "This vest appears to be made of of highly flexible materials that absorb impacts with ease."
icon_state = "infiltrator"
- item_state = "infiltrator"
+ inhand_icon_state = "infiltrator"
armor = list("melee" = 40, "bullet" = 40, "laser" = 30, "energy" = 40, "bomb" = 70, "bio" = 0, "rad" = 0, "fire" = 100, "acid" = 100)
resistance_flags = FIRE_PROOF | ACID_PROOF
strip_delay = 80
@@ -187,7 +187,7 @@
name = "\improper CentCom armor"
desc = "A suit that protects against some damage."
icon_state = "centcom"
- item_state = "centcom"
+ inhand_icon_state = "centcom"
w_class = WEIGHT_CLASS_BULKY
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
allowed = list(/obj/item/gun/energy, /obj/item/melee/baton, /obj/item/restraints/handcuffs, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman)
@@ -203,7 +203,7 @@
name = "heavy armor"
desc = "A heavily armored suit that protects against moderate damage."
icon_state = "heavy"
- item_state = "swat_suit"
+ inhand_icon_state = "swat_suit"
w_class = WEIGHT_CLASS_BULKY
gas_transfer_coefficient = 0.9
clothing_flags = THICKMATERIAL
@@ -224,39 +224,39 @@
name = "thunderdome suit"
desc = "Reddish armor."
icon_state = "tdred"
- item_state = "tdred"
+ inhand_icon_state = "tdred"
/obj/item/clothing/suit/armor/tdome/green
name = "thunderdome suit"
desc = "Pukish armor." //classy.
icon_state = "tdgreen"
- item_state = "tdgreen"
+ inhand_icon_state = "tdgreen"
/obj/item/clothing/suit/armor/riot/knight
name = "plate armour"
desc = "A classic suit of plate armour, highly effective at stopping melee attacks."
icon_state = "knight_green"
- item_state = "knight_green"
+ inhand_icon_state = "knight_green"
allowed = list(/obj/item/nullrod, /obj/item/claymore, /obj/item/banner, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman)
/obj/item/clothing/suit/armor/riot/knight/yellow
icon_state = "knight_yellow"
- item_state = "knight_yellow"
+ inhand_icon_state = "knight_yellow"
/obj/item/clothing/suit/armor/riot/knight/blue
icon_state = "knight_blue"
- item_state = "knight_blue"
+ inhand_icon_state = "knight_blue"
/obj/item/clothing/suit/armor/riot/knight/red
icon_state = "knight_red"
- item_state = "knight_red"
+ inhand_icon_state = "knight_red"
/obj/item/clothing/suit/armor/riot/knight/greyscale
name = "knight armour"
desc = "A classic suit of armour, able to be made from many different materials."
icon_state = "knight_greyscale"
- item_state = "knight_greyscale"
+ inhand_icon_state = "knight_greyscale"
material_flags = MATERIAL_ADD_PREFIX | MATERIAL_COLOR | MATERIAL_AFFECT_STATISTICS//Can change color and add prefix
armor = list("melee" = 35, "bullet" = 10, "laser" = 10, "energy" = 10, "bomb" = 10, "bio" = 10, "rad" = 10, "fire" = 40, "acid" = 40)
@@ -264,7 +264,7 @@
name = "durathread vest"
desc = "A vest made of durathread with strips of leather acting as trauma plates."
icon_state = "durathread"
- item_state = "durathread"
+ inhand_icon_state = "durathread"
strip_delay = 60
equip_delay_other = 40
max_integrity = 200
@@ -275,14 +275,14 @@
name = "russian vest"
desc = "A bulletproof vest with forest camo. Good thing there's plenty of forests to hide in around here, right?"
icon_state = "rus_armor"
- item_state = "rus_armor"
+ inhand_icon_state = "rus_armor"
armor = list("melee" = 25, "bullet" = 30, "laser" = 0, "energy" = 10, "bomb" = 10, "bio" = 0, "rad" = 20, "fire" = 20, "acid" = 50)
/obj/item/clothing/suit/armor/vest/russian_coat
name = "russian battle coat"
desc = "Used in extremly cold fronts, made out of real bears."
icon_state = "rus_coat"
- item_state = "rus_coat"
+ inhand_icon_state = "rus_coat"
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
cold_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
min_cold_protection_temperature = SPACE_SUIT_MIN_TEMP_PROTECT
diff --git a/code/modules/clothing/suits/bio.dm b/code/modules/clothing/suits/bio.dm
index 3bc1adb9400..2ba4d8250f7 100644
--- a/code/modules/clothing/suits/bio.dm
+++ b/code/modules/clothing/suits/bio.dm
@@ -14,7 +14,7 @@
name = "bio suit"
desc = "A suit that protects against biological contamination."
icon_state = "bio"
- item_state = "bio_suit"
+ inhand_icon_state = "bio_suit"
w_class = WEIGHT_CLASS_BULKY
gas_transfer_coefficient = 0.01
permeability_coefficient = 0.01
@@ -91,7 +91,7 @@
name = "plague doctor suit"
desc = "It protected doctors from the Black Death, back then. You bet your arse it's gonna help you against viruses."
icon_state = "plaguedoctor"
- item_state = "bio_suit"
+ inhand_icon_state = "bio_suit"
strip_delay = 40
equip_delay_other = 20
diff --git a/code/modules/clothing/suits/chaplainsuits.dm b/code/modules/clothing/suits/chaplainsuits.dm
index 949265f8337..bfe4499d02d 100644
--- a/code/modules/clothing/suits/chaplainsuits.dm
+++ b/code/modules/clothing/suits/chaplainsuits.dm
@@ -11,7 +11,7 @@
name = "holiday priest"
desc = "This is a nice holiday, my son."
icon_state = "holidaypriest"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
flags_inv = HIDEJUMPSUIT
@@ -19,7 +19,7 @@
name = "nun robe"
desc = "Maximum piety in this star system."
icon_state = "nun"
- item_state = "nun"
+ inhand_icon_state = "nun"
body_parts_covered = CHEST|GROIN|LEGS|ARMS|HANDS
flags_inv = HIDESHOES|HIDEJUMPSUIT
@@ -27,7 +27,7 @@
name = "bishop's robes"
desc = "Glad to see the tithes you collected were well spent."
icon_state = "bishoprobe"
- item_state = "bishoprobe"
+ inhand_icon_state = "bishoprobe"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
flags_inv = HIDEJUMPSUIT
@@ -35,21 +35,21 @@
name = "student robe"
desc = "The uniform of a bygone institute of learning."
icon_state = "studentuni"
- item_state = "studentuni"
+ inhand_icon_state = "studentuni"
body_parts_covered = ARMS|CHEST
/obj/item/clothing/suit/chaplainsuit/witchhunter
name = "witchunter garb"
desc = "This worn outfit saw much use back in the day."
icon_state = "witchhunter"
- item_state = "witchhunter"
+ inhand_icon_state = "witchhunter"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
/obj/item/clothing/suit/hooded/chaplainsuit/monkhabit
name = "monk's habit"
desc = "A few steps above rended sackcloth."
icon_state = "monkfrock"
- item_state = "monkfrock"
+ inhand_icon_state = "monkfrock"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
hoodtype = /obj/item/clothing/head/hooded/monkhabit
@@ -57,7 +57,7 @@
name = "monk's hood"
desc = "For when a man wants to cover up his tonsure."
icon_state = "monkhood"
- item_state = "monkhood"
+ inhand_icon_state = "monkhood"
body_parts_covered = HEAD
flags_inv = HIDEHAIR|HIDEEARS
@@ -65,7 +65,7 @@
name = "eastern monk's robes"
desc = "Best combined with a shaved head."
icon_state = "monkrobeeast"
- item_state = "monkrobeeast"
+ inhand_icon_state = "monkrobeeast"
body_parts_covered = GROIN|LEGS
flags_inv = HIDEJUMPSUIT
@@ -73,7 +73,7 @@
name = "white robe"
desc = "Good for clerics and sleepy crewmembers."
icon_state = "whiterobe"
- item_state = "whiterobe"
+ inhand_icon_state = "whiterobe"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
flags_inv = HIDEJUMPSUIT
@@ -81,7 +81,7 @@
name = "Robes of the Honkmother"
desc = "Meant for a clown of the cloth."
icon_state = "clownpriest"
- item_state = "clownpriest"
+ inhand_icon_state = "clownpriest"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
flags_inv = HIDEJUMPSUIT
allowed = list(/obj/item/megaphone/clown, /obj/item/soap, /obj/item/reagent_containers/food/snacks/pie/cream, /obj/item/bikehorn, /obj/item/bikehorn/golden, /obj/item/bikehorn/airhorn, /obj/item/instrument/bikehorn, /obj/item/reagent_containers/food/drinks/soda_cans/canned_laughter, /obj/item/toy/crayon, /obj/item/toy/crayon/spraycan, /obj/item/toy/crayon/spraycan/lubecan, /obj/item/grown/bananapeel, /obj/item/reagent_containers/food/snacks/grown/banana)
diff --git a/code/modules/clothing/suits/cloaks.dm b/code/modules/clothing/suits/cloaks.dm
index 5bc37574c81..d547e39ef14 100644
--- a/code/modules/clothing/suits/cloaks.dm
+++ b/code/modules/clothing/suits/cloaks.dm
@@ -5,7 +5,7 @@
desc = "It's a cape that can be worn around your neck."
icon = 'icons/obj/clothing/cloaks.dmi'
icon_state = "qmcloak"
- item_state = "qmcloak"
+ inhand_icon_state = "qmcloak"
w_class = WEIGHT_CLASS_SMALL
body_parts_covered = CHEST|GROIN|LEGS|ARMS
flags_inv = HIDESUITSTORAGE
diff --git a/code/modules/clothing/suits/jobs.dm b/code/modules/clothing/suits/jobs.dm
index b7f5b1a820f..b6e7c194904 100644
--- a/code/modules/clothing/suits/jobs.dm
+++ b/code/modules/clothing/suits/jobs.dm
@@ -7,7 +7,7 @@
name = "apron"
desc = "A basic blue apron."
icon_state = "apron"
- item_state = "apron"
+ inhand_icon_state = "apron"
blood_overlay_type = "armor"
body_parts_covered = CHEST|GROIN
allowed = list(/obj/item/reagent_containers/spray/plantbgone, /obj/item/plant_analyzer, /obj/item/seeds, /obj/item/reagent_containers/glass/bottle, /obj/item/reagent_containers/glass/beaker, /obj/item/cultivator, /obj/item/reagent_containers/spray/pestspray, /obj/item/hatchet, /obj/item/storage/bag/plants, /obj/item/graft, /obj/item/secateurs, /obj/item/geneshears)
@@ -16,7 +16,7 @@
name = "horticultural waders"
desc = "A pair of heavy duty leather waders, perfect for insulating your soft flesh from spills, soil and thorns."
icon_state = "hort_waders"
- item_state = "hort_waders"
+ inhand_icon_state = "hort_waders"
body_parts_covered = CHEST|GROIN|LEGS
permeability_coefficient = 0.5
@@ -25,7 +25,7 @@
name = "captain's parade tunic"
desc = "Worn by a Captain to show their class."
icon_state = "captunic"
- item_state = "bio_suit"
+ inhand_icon_state = "bio_suit"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
flags_inv = HIDEJUMPSUIT
allowed = list(/obj/item/disk, /obj/item/stamp, /obj/item/reagent_containers/food/drinks/flask, /obj/item/melee, /obj/item/storage/lockbox/medal, /obj/item/assembly/flash/handheld, /obj/item/storage/box/matches, /obj/item/lighter, /obj/item/clothing/mask/cigarette, /obj/item/storage/fancy/cigarettes, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman)
@@ -35,7 +35,7 @@
name = "chef's apron"
desc = "An apron-jacket used by a high class chef."
icon_state = "chef"
- item_state = "chef"
+ inhand_icon_state = "chef"
gas_transfer_coefficient = 0.9
permeability_coefficient = 0.5
body_parts_covered = CHEST|GROIN|ARMS
@@ -47,7 +47,7 @@
name = "cook's apron"
desc = "A basic, dull, white chef's apron."
icon_state = "apronchef"
- item_state = "apronchef"
+ inhand_icon_state = "apronchef"
blood_overlay_type = "armor"
body_parts_covered = CHEST|GROIN
allowed = list(/obj/item/kitchen)
@@ -57,7 +57,7 @@
name = "trenchcoat"
desc = "A 18th-century multi-purpose trenchcoat. Someone who wears this means serious business."
icon_state = "detective"
- item_state = "det_suit"
+ inhand_icon_state = "det_suit"
blood_overlay_type = "coat"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
armor = list("melee" = 25, "bullet" = 10, "laser" = 25, "energy" = 35, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 45)
@@ -72,20 +72,20 @@
name = "noir trenchcoat"
desc = "A hard-boiled private investigator's grey trenchcoat."
icon_state = "greydet"
- item_state = "greydet"
+ inhand_icon_state = "greydet"
/obj/item/clothing/suit/det_suit/noir
name = "noir suit coat"
desc = "A dapper private investigator's grey suit coat."
icon_state = "detsuit"
- item_state = "detsuit"
+ inhand_icon_state = "detsuit"
//Engineering
/obj/item/clothing/suit/hazardvest
name = "hazard vest"
desc = "A high-visibility vest used in work zones."
icon_state = "hazard"
- item_state = "hazard"
+ inhand_icon_state = "hazard"
blood_overlay_type = "armor"
allowed = list(/obj/item/flashlight, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman, /obj/item/t_scanner, /obj/item/radio)
resistance_flags = NONE
@@ -95,7 +95,7 @@
name = "blue suit jacket"
desc = "A snappy dress jacket."
icon_state = "suitjacket_blue"
- item_state = "suitjacket_blue"
+ inhand_icon_state = "suitjacket_blue"
blood_overlay_type = "coat"
body_parts_covered = CHEST|ARMS
togglename = "buttons"
@@ -104,13 +104,13 @@
name = "purple suit jacket"
desc = "A foppish dress jacket."
icon_state = "suitjacket_purp"
- item_state = "suitjacket_purp"
+ inhand_icon_state = "suitjacket_purp"
/obj/item/clothing/suit/toggle/lawyer/black
name = "black suit jacket"
desc = "A professional suit jacket."
icon_state = "suitjacket_black"
- item_state = "ro_suit"
+ inhand_icon_state = "ro_suit"
//Mime
@@ -127,21 +127,21 @@
name = "security officer's jacket"
desc = "This jacket is for those special occasions when a security officer isn't required to wear their armor."
icon_state = "officerbluejacket"
- item_state = "officerbluejacket"
+ inhand_icon_state = "officerbluejacket"
body_parts_covered = CHEST|ARMS
/obj/item/clothing/suit/security/warden
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"
+ inhand_icon_state = "wardenbluejacket"
body_parts_covered = CHEST|ARMS
/obj/item/clothing/suit/security/hos
name = "head of security's jacket"
desc = "This piece of clothing was specifically designed for asserting superior authority."
icon_state = "hosbluejacket"
- item_state = "hosbluejacket"
+ inhand_icon_state = "hosbluejacket"
body_parts_covered = CHEST|ARMS
//Surgeon
@@ -156,7 +156,7 @@
name = "treasure hunter's coat"
desc = "Both fashionable and lightly armoured, this jacket is favoured by treasure hunters the galaxy over."
icon_state = "curator"
- item_state = "curator"
+ inhand_icon_state = "curator"
blood_overlay_type = "coat"
body_parts_covered = CHEST|ARMS
allowed = list(/obj/item/tank/internals, /obj/item/melee/curator_whip)
@@ -171,7 +171,7 @@
name = "techpriest robes"
desc = "For those who REALLY love their toasters."
icon_state = "techpriest"
- item_state = "techpriest"
+ inhand_icon_state = "techpriest"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
hoodtype = /obj/item/clothing/head/hooded/techpriest
@@ -179,6 +179,6 @@
name = "techpriest's hood"
desc = "A hood for those who REALLY love their toasters."
icon_state = "techpriesthood"
- item_state = "techpriesthood"
+ inhand_icon_state = "techpriesthood"
body_parts_covered = HEAD
flags_inv = HIDEHAIR|HIDEEARS
diff --git a/code/modules/clothing/suits/labcoat.dm b/code/modules/clothing/suits/labcoat.dm
index fc1827264fa..74a147dc6c8 100644
--- a/code/modules/clothing/suits/labcoat.dm
+++ b/code/modules/clothing/suits/labcoat.dm
@@ -2,7 +2,7 @@
name = "labcoat"
desc = "A suit that protects against minor chemical spills."
icon_state = "labcoat"
- item_state = "labcoat"
+ inhand_icon_state = "labcoat"
blood_overlay_type = "coat"
body_parts_covered = CHEST|ARMS
allowed = list(/obj/item/analyzer, /obj/item/stack/medical, /obj/item/dnainjector, /obj/item/reagent_containers/dropper, /obj/item/reagent_containers/syringe, /obj/item/reagent_containers/hypospray, /obj/item/healthanalyzer, /obj/item/flashlight/pen, /obj/item/reagent_containers/glass/bottle, /obj/item/reagent_containers/glass/beaker, /obj/item/reagent_containers/pill, /obj/item/storage/pill_bottle, /obj/item/paper, /obj/item/melee/classic_baton/telescopic, /obj/item/soap, /obj/item/sensor_device, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman)
@@ -14,19 +14,19 @@
name = "chief medical officer's labcoat"
desc = "Bluer than the standard model."
icon_state = "labcoat_cmo"
- item_state = "labcoat_cmo"
+ inhand_icon_state = "labcoat_cmo"
/obj/item/clothing/suit/toggle/labcoat/paramedic
name = "paramedic's jacket"
desc = "A dark blue jacket for paramedics with reflective stripes."
icon_state = "labcoat_paramedic"
- item_state = "labcoat_paramedic"
+ inhand_icon_state = "labcoat_paramedic"
/obj/item/clothing/suit/toggle/labcoat/mad
name = "\proper The Mad's labcoat"
desc = "It makes you look capable of konking someone on the noggin and shooting them into space."
icon_state = "labgreen"
- item_state = "labgreen"
+ inhand_icon_state = "labgreen"
/obj/item/clothing/suit/toggle/labcoat/genetics
name = "geneticist labcoat"
diff --git a/code/modules/clothing/suits/miscellaneous.dm b/code/modules/clothing/suits/miscellaneous.dm
index f9819e91490..99e25d821c7 100644
--- a/code/modules/clothing/suits/miscellaneous.dm
+++ b/code/modules/clothing/suits/miscellaneous.dm
@@ -12,7 +12,7 @@
name = "blue laser tag armor"
desc = "A piece of plastic armor. It has sensors that react to red light." //Lasers are concentrated light
icon_state = "bluetag"
- item_state = "bluetag"
+ inhand_icon_state = "bluetag"
blood_overlay_type = "armor"
body_parts_covered = CHEST
allowed = list (/obj/item/gun/energy/laser/bluetag)
@@ -22,7 +22,7 @@
name = "red laser tag armor"
desc = "A piece of plastic armor. It has sensors that react to blue light."
icon_state = "redtag"
- item_state = "redtag"
+ inhand_icon_state = "redtag"
blood_overlay_type = "armor"
body_parts_covered = CHEST
allowed = list (/obj/item/gun/energy/laser/redtag)
@@ -35,7 +35,7 @@
name = "flashy costume"
desc = "What did you expect?"
icon_state = "flashsuit"
- item_state = "armor"
+ inhand_icon_state = "armor"
body_parts_covered = CHEST|GROIN
hoodtype = /obj/item/clothing/head/hooded/flashsuit
@@ -50,21 +50,21 @@
name = "pirate coat"
desc = "Yarr."
icon_state = "pirate"
- item_state = "pirate"
+ inhand_icon_state = "pirate"
allowed = list(/obj/item/melee/transforming/energy/sword/pirate, /obj/item/clothing/glasses/eyepatch, /obj/item/reagent_containers/food/drinks/bottle/rum)
/obj/item/clothing/suit/pirate/captain
name = "pirate captain coat"
desc = "Yarr."
icon_state = "hgpirate"
- item_state = "hgpirate"
+ inhand_icon_state = "hgpirate"
/obj/item/clothing/suit/cyborg_suit
name = "cyborg suit"
desc = "Suit for a cyborg costume."
icon_state = "death"
- item_state = "death"
+ inhand_icon_state = "death"
flags_1 = CONDUCT_1
fire_resist = T0C+5200
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
@@ -74,7 +74,7 @@
name = "justice suit"
desc = "this pretty much looks ridiculous" //Needs no fixing
icon_state = "justice"
- item_state = "justice"
+ inhand_icon_state = "justice"
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
armor = list("melee" = 35, "bullet" = 30, "laser" = 30, "energy" = 40, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
@@ -83,7 +83,7 @@
name = "judge's robe"
desc = "This robe commands authority."
icon_state = "judge"
- item_state = "judge"
+ inhand_icon_state = "judge"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
allowed = list(/obj/item/storage/fancy/cigarettes, /obj/item/stack/spacecash)
flags_inv = HIDEJUMPSUIT
@@ -93,20 +93,20 @@
name = "coveralls"
desc = "A set of denim overalls."
icon_state = "overalls"
- item_state = "overalls"
+ inhand_icon_state = "overalls"
body_parts_covered = CHEST|GROIN|LEGS
/obj/item/clothing/suit/apron/purple_bartender
name = "purple bartender apron"
desc = "A fancy purple apron for a stylish person."
icon_state = "purplebartenderapron"
- item_state = "purplebartenderapron"
+ inhand_icon_state = "purplebartenderapron"
body_parts_covered = CHEST|GROIN|LEGS
/obj/item/clothing/suit/syndicatefake
name = "black and red space suit replica"
icon_state = "syndicate-black-red"
- item_state = "syndicate-black-red"
+ inhand_icon_state = "syndicate-black-red"
desc = "A plastic replica of the Syndicate space suit. You'll look just like a real murderous Syndicate agent in this! This is a toy, it is not made for use in space!"
w_class = WEIGHT_CLASS_NORMAL
allowed = list(/obj/item/flashlight, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman, /obj/item/toy)
@@ -117,7 +117,7 @@
name = "\improper Hastur's robe"
desc = "Robes not meant to be worn by man."
icon_state = "hastur"
- item_state = "hastur"
+ inhand_icon_state = "hastur"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
@@ -126,7 +126,7 @@
name = "\improper Imperium monk suit"
desc = "Have YOU killed a xeno today?"
icon_state = "imperium_monk"
- item_state = "imperium_monk"
+ inhand_icon_state = "imperium_monk"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
flags_inv = HIDESHOES|HIDEJUMPSUIT
allowed = list(/obj/item/storage/book/bible, /obj/item/nullrod, /obj/item/reagent_containers/food/drinks/bottle/holywater, /obj/item/storage/fancy/candle_box, /obj/item/candle, /obj/item/tank/internals/emergency_oxygen)
@@ -136,7 +136,7 @@
name = "chicken suit"
desc = "A suit made long ago by the ancient empire KFC."
icon_state = "chickensuit"
- item_state = "chickensuit"
+ inhand_icon_state = "chickensuit"
body_parts_covered = CHEST|ARMS|GROIN|LEGS|FEET
flags_inv = HIDESHOES|HIDEJUMPSUIT
@@ -145,7 +145,7 @@
name = "monkey suit"
desc = "A suit that looks like a primate."
icon_state = "monkeysuit"
- item_state = "monkeysuit"
+ inhand_icon_state = "monkeysuit"
body_parts_covered = CHEST|ARMS|GROIN|LEGS|FEET|HANDS
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
@@ -153,7 +153,7 @@
name = "owl cloak"
desc = "A soft brown cloak made of synthetic feathers. Soft to the touch, stylish, and a 2 meter wing span that will drive the ladies mad."
icon_state = "owl_wings"
- item_state = "owl_wings"
+ inhand_icon_state = "owl_wings"
togglename = "wings"
body_parts_covered = ARMS|CHEST
actions_types = list(/datum/action/item_action/toggle_wings)
@@ -166,13 +166,13 @@
name = "griffon cloak"
desc = "A plush white cloak made of synthetic feathers. Soft to the touch, stylish, and a 2 meter wing span that will drive your captives mad."
icon_state = "griffin_wings"
- item_state = "griffin_wings"
+ inhand_icon_state = "griffin_wings"
/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"
+ inhand_icon_state = "cardborg"
body_parts_covered = CHEST|GROIN
flags_inv = HIDEJUMPSUIT
dog_fashion = /datum/dog_fashion/back
@@ -201,7 +201,7 @@
name = "snowman outfit"
desc = "Two white spheres covered in white glitter. 'Tis the season."
icon_state = "snowman"
- item_state = "snowman"
+ inhand_icon_state = "snowman"
body_parts_covered = CHEST|GROIN
flags_inv = HIDEJUMPSUIT
@@ -209,25 +209,25 @@
name = "poncho"
desc = "Your classic, non-racist poncho."
icon_state = "classicponcho"
- item_state = "classicponcho"
+ inhand_icon_state = "classicponcho"
/obj/item/clothing/suit/poncho/green
name = "green poncho"
desc = "Your classic, non-racist poncho. This one is green."
icon_state = "greenponcho"
- item_state = "greenponcho"
+ inhand_icon_state = "greenponcho"
/obj/item/clothing/suit/poncho/red
name = "red poncho"
desc = "Your classic, non-racist poncho. This one is red."
icon_state = "redponcho"
- item_state = "redponcho"
+ inhand_icon_state = "redponcho"
/obj/item/clothing/suit/poncho/ponchoshame
name = "poncho of shame"
desc = "Forced to live on your shameful acting as a fake Mexican, you and your poncho have grown inseparable. Literally."
icon_state = "ponchoshame"
- item_state = "ponchoshame"
+ inhand_icon_state = "ponchoshame"
/obj/item/clothing/suit/poncho/ponchoshame/Initialize()
. = ..()
@@ -237,7 +237,7 @@
name = "white dress"
desc = "A fancy white dress."
icon_state = "white_dress"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
body_parts_covered = CHEST|GROIN|LEGS|FEET
flags_inv = HIDEJUMPSUIT|HIDESHOES
@@ -245,7 +245,7 @@
name = "carp costume"
desc = "A costume made from 'synthetic' carp scales, it smells."
icon_state = "carp_casual"
- item_state = "labcoat"
+ inhand_icon_state = "labcoat"
body_parts_covered = CHEST|GROIN|ARMS
cold_protection = CHEST|GROIN|ARMS
min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT //Space carp like space, so you should too
@@ -275,7 +275,7 @@
name = "corgi costume"
desc = "A costume that looks like someone made a human-like corgi, it won't guarantee belly rubs."
icon_state = "ian"
- item_state = "labcoat"
+ inhand_icon_state = "labcoat"
body_parts_covered = CHEST|GROIN|ARMS
//cold_protection = CHEST|GROIN|ARMS
//min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT
@@ -296,7 +296,7 @@
name = "bee costume"
desc = "Bee the true Queen!"
icon_state = "bee"
- item_state = "labcoat"
+ inhand_icon_state = "labcoat"
body_parts_covered = CHEST|GROIN|ARMS
clothing_flags = THICKMATERIAL
hoodtype = /obj/item/clothing/head/hooded/bee_hood
@@ -314,7 +314,7 @@
name = "bloated human suit"
desc = "A horribly bloated suit made from human skins."
icon_state = "lingspacesuit"
- item_state = "labcoat"
+ inhand_icon_state = "labcoat"
body_parts_covered = CHEST|GROIN|ARMS
allowed = list()
actions_types = list(/datum/action/item_action/toggle_human_head)
@@ -333,14 +333,14 @@
name = "\improper Russian officer's jacket"
desc = "This jacket is for those special occasions when a russian officer isn't required to wear their armor."
icon_state = "officertanjacket"
- item_state = "officertanjacket"
+ inhand_icon_state = "officertanjacket"
body_parts_covered = CHEST|ARMS
/obj/item/clothing/suit/shrine_maiden
name = "shrine maiden's outfit"
desc = "Makes you want to exterminate some troublesome youkai."
icon_state = "shrine_maiden"
- item_state = "shrine_maiden"
+ inhand_icon_state = "shrine_maiden"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
flags_inv = HIDEJUMPSUIT
@@ -352,7 +352,7 @@
name = "straight jacket"
desc = "A suit that completely restrains the wearer. Manufactured by Antyphun Corp." //Straight jacket is antifun
icon_state = "straight_jacket"
- item_state = "straight_jacket"
+ inhand_icon_state = "straight_jacket"
body_parts_covered = CHEST|GROIN|LEGS|ARMS|HANDS
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
clothing_flags = DANGEROUS_OBJECT
@@ -364,31 +364,31 @@
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"
+ inhand_icon_state = "ianshirt"
/obj/item/clothing/suit/nerdshirt
name = "gamer shirt"
desc = "A baggy shirt with vintage game character Phanic the Weasel. Why would anyone wear this?"
icon_state = "nerdshirt"
- item_state = "nerdshirt"
+ inhand_icon_state = "nerdshirt"
/obj/item/clothing/suit/vapeshirt //wearing this is asking to get beat.
name = "Vape Naysh shirt"
desc = "A cheap white T-shirt with a big tacky \"VN\" on the front, Why would you wear this unironically?"
icon_state = "vapeshirt"
- item_state = "vapeshirt"
+ inhand_icon_state = "vapeshirt"
/obj/item/clothing/suit/striped_sweater
name = "striped sweater"
desc = "Reminds you of someone, but you just can't put your finger on it..."
icon_state = "waldo_shirt"
- item_state = "waldo_shirt"
+ inhand_icon_state = "waldo_shirt"
/obj/item/clothing/suit/jacket
name = "bomber jacket"
desc = "Aviators not included."
icon_state = "bomberjacket"
- item_state = "brownjsuit"
+ inhand_icon_state = "brownjsuit"
allowed = list(/obj/item/flashlight, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman, /obj/item/toy, /obj/item/storage/fancy/cigarettes, /obj/item/lighter, /obj/item/radio)
body_parts_covered = CHEST|GROIN|ARMS
cold_protection = CHEST|GROIN|ARMS
@@ -398,7 +398,7 @@
name = "leather jacket"
desc = "Pompadour not included."
icon_state = "leatherjacket"
- item_state = "hostrench"
+ inhand_icon_state = "hostrench"
resistance_flags = NONE
max_heat_protection_temperature = ARMOR_MAX_TEMP_PROTECT
allowed = list(/obj/item/flashlight, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman, /obj/item/toy, /obj/item/storage/fancy/cigarettes, /obj/item/lighter, /obj/item/gun/ballistic/automatic/pistol, /obj/item/gun/ballistic/revolver, /obj/item/gun/ballistic/revolver/detective, /obj/item/radio)
@@ -414,14 +414,14 @@
name = "puffer jacket"
desc = "A thick jacket with a rubbery, water-resistant shell."
icon_state = "pufferjacket"
- item_state = "hostrench"
+ inhand_icon_state = "hostrench"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 50, "rad" = 0, "fire" = 0, "acid" = 0)
/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 = "armor"
+ inhand_icon_state = "armor"
body_parts_covered = CHEST|GROIN
cold_protection = CHEST|GROIN
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 30, "rad" = 0, "fire" = 0, "acid" = 0)
@@ -430,56 +430,56 @@
name = "military jacket"
desc = "A canvas jacket styled after classical American military garb. Feels sturdy, yet comfortable."
icon_state = "militaryjacket"
- item_state = "militaryjacket"
+ inhand_icon_state = "militaryjacket"
allowed = list(/obj/item/flashlight, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman, /obj/item/toy, /obj/item/storage/fancy/cigarettes, /obj/item/lighter, /obj/item/gun/ballistic/automatic/pistol, /obj/item/gun/ballistic/revolver, /obj/item/radio)
/obj/item/clothing/suit/jacket/letterman
name = "letterman jacket"
desc = "A classic brown letterman jacket. Looks pretty hot and heavy."
icon_state = "letterman"
- item_state = "letterman"
+ inhand_icon_state = "letterman"
/obj/item/clothing/suit/jacket/letterman_red
name = "red letterman jacket"
desc = "A letterman jacket in a sick red color. Radical."
icon_state = "letterman_red"
- item_state = "letterman_red"
+ inhand_icon_state = "letterman_red"
/obj/item/clothing/suit/jacket/letterman_syndie
name = "blood-red letterman jacket"
desc = "Oddly, this jacket seems to have a large S on the back..."
icon_state = "letterman_s"
- item_state = "letterman_s"
+ inhand_icon_state = "letterman_s"
/obj/item/clothing/suit/jacket/letterman_nanotrasen
name = "blue letterman jacket"
desc = "A blue letterman jacket with a proud Nanotrasen N on the back. The tag says that it was made in Space China."
icon_state = "letterman_n"
- item_state = "letterman_n"
+ inhand_icon_state = "letterman_n"
/obj/item/clothing/suit/dracula
name = "dracula coat"
desc = "Looks like this belongs in a very old movie set."
icon_state = "draculacoat"
- item_state = "draculacoat"
+ inhand_icon_state = "draculacoat"
/obj/item/clothing/suit/drfreeze_coat
name = "doctor freeze's labcoat"
desc = "A labcoat imbued with the power of features and freezes."
icon_state = "drfreeze_coat"
- item_state = "drfreeze_coat"
+ inhand_icon_state = "drfreeze_coat"
/obj/item/clothing/suit/gothcoat
name = "gothic coat"
desc = "Perfect for those who want to stalk around a corner of a bar."
icon_state = "gothcoat"
- item_state = "gothcoat"
+ inhand_icon_state = "gothcoat"
/obj/item/clothing/suit/xenos
name = "xenos suit"
desc = "A suit made out of chitinous alien hide."
icon_state = "xenos"
- item_state = "xenos_helm"
+ inhand_icon_state = "xenos_helm"
body_parts_covered = CHEST|GROIN|LEGS|ARMS|HANDS
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
allowed = list(/obj/item/clothing/mask/facehugger/toy)
@@ -488,7 +488,7 @@
name = "pharoah tunic"
desc = "Lavish space tomb not included."
icon_state = "pharoah"
- item_state = "pharoah"
+ inhand_icon_state = "pharoah"
body_parts_covered = CHEST|GROIN
/obj/item/clothing/suit/caution
@@ -510,28 +510,28 @@
name = "red changshan"
desc = "A gorgeously embroidered silk shirt."
icon_state = "changshan_red"
- item_state = "changshan_red"
+ inhand_icon_state = "changshan_red"
body_parts_covered = CHEST|GROIN|ARMS|LEGS
/obj/item/clothing/suit/changshan_blue
name = "blue changshan"
desc = "A gorgeously embroidered silk shirt."
icon_state = "changshan_blue"
- item_state = "changshan_blue"
+ inhand_icon_state = "changshan_blue"
body_parts_covered = CHEST|GROIN|ARMS|LEGS
/obj/item/clothing/suit/cheongsam_red
name = "red cheongsam"
desc = "A gorgeously embroidered silk dress."
icon_state = "cheongsam_red"
- item_state = "cheongsam_red"
+ inhand_icon_state = "cheongsam_red"
body_parts_covered = CHEST|GROIN|ARMS|LEGS
/obj/item/clothing/suit/cheongsam_blue
name = "blue cheongsam"
desc = "A gorgeously embroidered silk dress."
icon_state = "cheongsam_blue"
- item_state = "cheongsam_blue"
+ inhand_icon_state = "cheongsam_blue"
body_parts_covered = CHEST|GROIN|ARMS|LEGS
// WINTER COATS
@@ -540,7 +540,7 @@
name = "winter coat"
desc = "A heavy jacket made from 'synthetic' animal furs."
icon_state = "coatwinter"
- item_state = "coatwinter"
+ inhand_icon_state = "coatwinter"
body_parts_covered = CHEST|GROIN|ARMS
cold_protection = CHEST|GROIN|ARMS
min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT
@@ -560,7 +560,7 @@
/obj/item/clothing/suit/hooded/wintercoat/captain
name = "captain's winter coat"
icon_state = "coatcaptain"
- item_state = "coatcaptain"
+ inhand_icon_state = "coatcaptain"
armor = list("melee" = 25, "bullet" = 30, "laser" = 30, "energy" = 40, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 50)
hoodtype = /obj/item/clothing/head/hooded/winterhood/captain
@@ -575,7 +575,7 @@
/obj/item/clothing/suit/hooded/wintercoat/security
name = "security winter coat"
icon_state = "coatsecurity"
- item_state = "coatsecurity"
+ inhand_icon_state = "coatsecurity"
armor = list("melee" = 25, "bullet" = 15, "laser" = 30, "energy" = 40, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 45)
hoodtype = /obj/item/clothing/head/hooded/winterhood/security
@@ -590,7 +590,7 @@
/obj/item/clothing/suit/hooded/wintercoat/medical
name = "medical winter coat"
icon_state = "coatmedical"
- item_state = "coatmedical"
+ inhand_icon_state = "coatmedical"
allowed = list(/obj/item/analyzer, /obj/item/sensor_device, /obj/item/stack/medical, /obj/item/dnainjector, /obj/item/reagent_containers/dropper, /obj/item/reagent_containers/syringe, /obj/item/reagent_containers/hypospray, /obj/item/healthanalyzer, /obj/item/flashlight/pen, /obj/item/reagent_containers/glass/bottle, /obj/item/reagent_containers/glass/beaker, /obj/item/reagent_containers/pill, /obj/item/storage/pill_bottle, /obj/item/paper, /obj/item/melee/classic_baton/telescopic, /obj/item/toy, /obj/item/storage/fancy/cigarettes, /obj/item/lighter, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman)
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 50, "rad" = 0, "fire" = 0, "acid" = 45)
hoodtype = /obj/item/clothing/head/hooded/winterhood/medical
@@ -602,7 +602,7 @@
/obj/item/clothing/suit/hooded/wintercoat/science
name = "science winter coat"
icon_state = "coatscience"
- item_state = "coatscience"
+ inhand_icon_state = "coatscience"
allowed = list(/obj/item/analyzer, /obj/item/stack/medical, /obj/item/dnainjector, /obj/item/reagent_containers/dropper, /obj/item/reagent_containers/syringe, /obj/item/reagent_containers/hypospray, /obj/item/healthanalyzer, /obj/item/flashlight/pen, /obj/item/reagent_containers/glass/bottle, /obj/item/reagent_containers/glass/beaker, /obj/item/reagent_containers/pill, /obj/item/storage/pill_bottle, /obj/item/paper, /obj/item/melee/classic_baton/telescopic, /obj/item/toy, /obj/item/storage/fancy/cigarettes, /obj/item/lighter, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman)
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 10, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 0)
hoodtype = /obj/item/clothing/head/hooded/winterhood/science
@@ -614,7 +614,7 @@
/obj/item/clothing/suit/hooded/wintercoat/engineering
name = "engineering winter coat"
icon_state = "coatengineer"
- item_state = "coatengineer"
+ inhand_icon_state = "coatengineer"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 20, "fire" = 30, "acid" = 45)
allowed = list(/obj/item/flashlight, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman, /obj/item/t_scanner, /obj/item/construction/rcd, /obj/item/pipe_dispenser, /obj/item/toy, /obj/item/storage/fancy/cigarettes, /obj/item/lighter)
hoodtype = /obj/item/clothing/head/hooded/winterhood/engineering
@@ -626,7 +626,7 @@
/obj/item/clothing/suit/hooded/wintercoat/engineering/atmos
name = "atmospherics winter coat"
icon_state = "coatatmos"
- item_state = "coatatmos"
+ inhand_icon_state = "coatatmos"
hoodtype = /obj/item/clothing/head/hooded/winterhood/engineering/atmos
/obj/item/clothing/head/hooded/winterhood/engineering/atmos
@@ -635,7 +635,7 @@
/obj/item/clothing/suit/hooded/wintercoat/hydro
name = "hydroponics winter coat"
icon_state = "coathydro"
- item_state = "coathydro"
+ inhand_icon_state = "coathydro"
allowed = list(/obj/item/reagent_containers/spray/plantbgone, /obj/item/plant_analyzer, /obj/item/seeds, /obj/item/reagent_containers/glass/bottle, /obj/item/cultivator, /obj/item/reagent_containers/spray/pestspray, /obj/item/hatchet, /obj/item/storage/bag/plants, /obj/item/toy, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman, /obj/item/storage/fancy/cigarettes, /obj/item/lighter)
hoodtype = /obj/item/clothing/head/hooded/winterhood/hydro
@@ -645,7 +645,7 @@
/obj/item/clothing/suit/hooded/wintercoat/cargo
name = "cargo winter coat"
icon_state = "coatcargo"
- item_state = "coatcargo"
+ inhand_icon_state = "coatcargo"
hoodtype = /obj/item/clothing/head/hooded/winterhood/cargo
/obj/item/clothing/head/hooded/winterhood/cargo
@@ -654,7 +654,7 @@
/obj/item/clothing/suit/hooded/wintercoat/miner
name = "mining winter coat"
icon_state = "coatminer"
- item_state = "coatminer"
+ inhand_icon_state = "coatminer"
allowed = list(/obj/item/pickaxe, /obj/item/flashlight, /obj/item/tank/internals/emergency_oxygen, /obj/item/tank/internals/plasmaman, /obj/item/toy, /obj/item/storage/fancy/cigarettes, /obj/item/lighter)
armor = list("melee" = 10, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 0)
hoodtype = /obj/item/clothing/head/hooded/winterhood/miner
@@ -695,7 +695,7 @@
name = "ablative trenchcoat"
desc = "Experimental trenchcoat specially crafted to reflect and absorb laser and disabler shots. Don't expect it to do all that much against an axe or a shotgun, however."
icon_state = "ablativecoat"
- item_state = "ablativecoat"
+ inhand_icon_state = "ablativecoat"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
armor = list("melee" = 10, "bullet" = 10, "laser" = 60, "energy" = 60, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 100, "acid" = 100)
hoodtype = /obj/item/clothing/head/hooded/ablative
@@ -731,7 +731,7 @@
name = "ghost sheet"
desc = "The hands float by themselves, so it's extra spooky."
icon_state = "ghost_sheet"
- item_state = "ghost_sheet"
+ inhand_icon_state = "ghost_sheet"
throwforce = 0
throw_speed = 1
throw_range = 2
@@ -755,7 +755,7 @@
name = "mystic's robe"
desc = "Wearing this makes you feel more attuned with the nature of the universe... as well as a bit more irresponsible. "
icon_state = "mysticrobe"
- item_state = "mysticrobe"
+ inhand_icon_state = "mysticrobe"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
allowed = list(/obj/item/spellbook, /obj/item/storage/book/bible)
flags_inv = HIDEJUMPSUIT
@@ -765,7 +765,7 @@
name = "mystic's hood"
desc = "The balance of reality tips towards order."
icon_state = "mystichood"
- item_state = "mystichood"
+ inhand_icon_state = "mystichood"
body_parts_covered = HEAD
flags_inv = HIDEHAIR|HIDEEARS|HIDEFACIALHAIR|HIDEFACE|HIDEMASK
@@ -773,26 +773,26 @@
name = "coordinator jacket"
desc = "A jacket for a party ooordinator, stylish!."
icon_state = "capformal"
- item_state = "capspacesuit"
+ inhand_icon_state = "capspacesuit"
armor = list("melee" = 25, "bullet" = 15, "laser" = 25, "energy" = 35, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
/obj/item/clothing/suit/hawaiian
name = "hawaiian overshirt"
desc = "A cool shirt for chilling on the beach."
icon_state = "hawaiian_blue"
- item_state = "hawaiian_blue"
+ inhand_icon_state = "hawaiian_blue"
/obj/item/clothing/suit/yakuza
name = "tojo clan jacket"
desc = "The jacket of a mad dog."
icon_state = "MajimaJacket"
- item_state = "MajimaJacket"
+ inhand_icon_state = "MajimaJacket"
body_parts_covered = ARMS
/obj/item/clothing/suit/dutch
name = "dutch's jacket"
desc = "For those long nights on the beach in Tahiti."
icon_state = "DutchJacket"
- item_state = "DutchJacket"
+ inhand_icon_state = "DutchJacket"
body_parts_covered = ARMS
diff --git a/code/modules/clothing/suits/reactive_armour.dm b/code/modules/clothing/suits/reactive_armour.dm
index 696852c774c..4b5d7d98ade 100644
--- a/code/modules/clothing/suits/reactive_armour.dm
+++ b/code/modules/clothing/suits/reactive_armour.dm
@@ -31,7 +31,7 @@
var/reactivearmor_cooldown_duration = 0 //cooldown specific to reactive armor
var/reactivearmor_cooldown = 0
icon_state = "reactiveoff"
- item_state = "reactiveoff"
+ inhand_icon_state = "reactiveoff"
blood_overlay_type = "armor"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 100, "acid" = 100)
actions_types = list(/datum/action/item_action/toggle)
@@ -43,11 +43,11 @@
if(active)
to_chat(user, "[src] is now active.")
icon_state = "reactive"
- item_state = "reactive"
+ inhand_icon_state = "reactive"
else
to_chat(user, "[src] is now inactive.")
icon_state = "reactiveoff"
- item_state = "reactiveoff"
+ inhand_icon_state = "reactiveoff"
add_fingerprint(user)
return
@@ -57,7 +57,7 @@
return
active = 0
icon_state = "reactiveoff"
- item_state = "reactiveoff"
+ inhand_icon_state = "reactiveoff"
reactivearmor_cooldown = world.time + 200
//When the wearer gets hit, this armor will teleport the user a short distance away (to safety or to more danger, no one knows. That's the fun of it!)
diff --git a/code/modules/clothing/suits/utility.dm b/code/modules/clothing/suits/utility.dm
index 883730f7491..d4417ba92b8 100644
--- a/code/modules/clothing/suits/utility.dm
+++ b/code/modules/clothing/suits/utility.dm
@@ -13,7 +13,7 @@
name = "emergency firesuit"
desc = "A suit that helps protect against fire and heat."
icon_state = "fire"
- item_state = "ro_suit"
+ inhand_icon_state = "ro_suit"
w_class = WEIGHT_CLASS_BULKY
gas_transfer_coefficient = 0.9
permeability_coefficient = 0.5
@@ -33,20 +33,20 @@
/obj/item/clothing/suit/fire/firefighter
icon_state = "firesuit"
- item_state = "firefighter"
+ inhand_icon_state = "firefighter"
/obj/item/clothing/suit/fire/heavy
name = "heavy firesuit"
desc = "An old, bulky thermal protection suit."
icon_state = "thermal"
- item_state = "ro_suit"
+ inhand_icon_state = "ro_suit"
slowdown = 1.5
/obj/item/clothing/suit/fire/atmos
name = "firesuit"
desc = "An expensive firesuit that protects against even the most deadly of station fires. Designed to protect even if the wearer is set aflame."
icon_state = "atmos_firesuit"
- item_state = "firesuit_atmos"
+ inhand_icon_state = "firesuit_atmos"
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
/*
@@ -75,7 +75,7 @@
name = "bomb suit"
desc = "A suit designed for safety when handling explosives."
icon_state = "bombsuit"
- item_state = "bombsuit"
+ inhand_icon_state = "bombsuit"
w_class = WEIGHT_CLASS_BULKY
gas_transfer_coefficient = 0.01
permeability_coefficient = 0.01
@@ -95,21 +95,21 @@
/obj/item/clothing/head/bomb_hood/security
icon_state = "bombsuit_sec"
- item_state = "bombsuit_sec"
+ inhand_icon_state = "bombsuit_sec"
/obj/item/clothing/suit/bomb_suit/security
icon_state = "bombsuit_sec"
- item_state = "bombsuit_sec"
+ inhand_icon_state = "bombsuit_sec"
allowed = list(/obj/item/gun/energy, /obj/item/melee/baton, /obj/item/restraints/handcuffs)
/obj/item/clothing/head/bomb_hood/white
icon_state = "bombsuit_white"
- item_state = "bombsuit_white"
+ inhand_icon_state = "bombsuit_white"
/obj/item/clothing/suit/bomb_suit/white
icon_state = "bombsuit_white"
- item_state = "bombsuit_white"
+ inhand_icon_state = "bombsuit_white"
/*
* Radiation protection
@@ -132,7 +132,7 @@
name = "radiation suit"
desc = "A suit that protects against radiation. The label reads, 'Made with lead. Please do not consume insulation.'"
icon_state = "rad"
- item_state = "rad_suit"
+ inhand_icon_state = "rad_suit"
w_class = WEIGHT_CLASS_BULKY
gas_transfer_coefficient = 0.9
permeability_coefficient = 0.5
diff --git a/code/modules/clothing/suits/wiz_robe.dm b/code/modules/clothing/suits/wiz_robe.dm
index 6854ec38fcd..69b5b54d0cc 100644
--- a/code/modules/clothing/suits/wiz_robe.dm
+++ b/code/modules/clothing/suits/wiz_robe.dm
@@ -49,7 +49,7 @@
name = "\improper Magus helm"
desc = "A mysterious helmet that hums with an unearthly power."
icon_state = "magus"
- item_state = "magus"
+ inhand_icon_state = "magus"
dog_fashion = null
/obj/item/clothing/head/wizard/santa
@@ -63,7 +63,7 @@
name = "wizard robe"
desc = "A magnificent, gem-lined robe that seems to radiate power."
icon_state = "wizard"
- item_state = "wizrobe"
+ inhand_icon_state = "wizrobe"
gas_transfer_coefficient = 0.01
permeability_coefficient = 0.01
body_parts_covered = CHEST|GROIN|ARMS|LEGS
@@ -78,50 +78,50 @@
name = "red wizard robe"
desc = "A magnificent red gem-lined robe that seems to radiate power."
icon_state = "redwizard"
- item_state = "redwizrobe"
+ inhand_icon_state = "redwizrobe"
/obj/item/clothing/suit/wizrobe/yellow
name = "yellow wizard robe"
desc = "A magnificent yellow gem-lined robe that seems to radiate power."
icon_state = "yellowwizard"
- item_state = "yellowwizrobe"
+ inhand_icon_state = "yellowwizrobe"
/obj/item/clothing/suit/wizrobe/black
name = "black wizard robe"
desc = "An unnerving black gem-lined robe that reeks of death and decay."
icon_state = "blackwizard"
- item_state = "blackwizrobe"
+ inhand_icon_state = "blackwizrobe"
/obj/item/clothing/suit/wizrobe/marisa
name = "witch robe"
desc = "Magic is all about the spell power, ZE!"
icon_state = "marisa"
- item_state = "marisarobe"
+ inhand_icon_state = "marisarobe"
/obj/item/clothing/suit/wizrobe/magusblue
name = "\improper Magus robe"
desc = "A set of armored robes that seem to radiate a dark power."
icon_state = "magusblue"
- item_state = "magusblue"
+ inhand_icon_state = "magusblue"
/obj/item/clothing/suit/wizrobe/magusred
name = "\improper Magus robe"
desc = "A set of armored robes that seem to radiate a dark power."
icon_state = "magusred"
- item_state = "magusred"
+ inhand_icon_state = "magusred"
/obj/item/clothing/suit/wizrobe/santa
name = "Santa's suit"
desc = "Festive!"
icon_state = "santa"
- item_state = "santa"
+ inhand_icon_state = "santa"
/obj/item/clothing/suit/wizrobe/fake
name = "wizard robe"
desc = "A rather dull blue robe meant to mimic real wizard robes."
icon_state = "wizard-fake"
- item_state = "wizrobe"
+ inhand_icon_state = "wizrobe"
gas_transfer_coefficient = 1
permeability_coefficient = 1
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 0)
@@ -140,7 +140,7 @@
name = "witch robe"
desc = "Magic is all about the spell power, ZE!"
icon_state = "marisa"
- item_state = "marisarobe"
+ inhand_icon_state = "marisarobe"
gas_transfer_coefficient = 1
permeability_coefficient = 1
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 0)
@@ -150,7 +150,7 @@
name = "papier-mache robe" // no non-latin characters!
desc = "A robe held together by various bits of clear-tape and paste."
icon_state = "wizard-paper"
- item_state = "wizard-paper"
+ inhand_icon_state = "wizard-paper"
var/robe_charge = TRUE
actions_types = list(/datum/action/item_action/stickmen)
@@ -186,7 +186,7 @@
name = "battlemage armour"
desc = "Not all wizards are afraid of getting up close and personal."
icon_state = "battlemage"
- item_state = "battlemage"
+ inhand_icon_state = "battlemage"
recharge_rate = 0
current_charges = 15
recharge_cooldown = INFINITY
@@ -203,7 +203,7 @@
name = "battlemage helmet"
desc = "A suitably impressive helmet."
icon_state = "battlemage"
- item_state = "battlemage"
+ inhand_icon_state = "battlemage"
min_cold_protection_temperature = ARMOR_MIN_TEMP_PROTECT
max_heat_protection_temperature = ARMOR_MAX_TEMP_PROTECT
armor = list("melee" = 30, "bullet" = 20, "laser" = 20, "energy" = 30, "bomb" = 20, "bio" = 20, "rad" = 20, "fire" = 100, "acid" = 100)
diff --git a/code/modules/clothing/under/_under.dm b/code/modules/clothing/under/_under.dm
index a664c45615d..34c00eed38f 100644
--- a/code/modules/clothing/under/_under.dm
+++ b/code/modules/clothing/under/_under.dm
@@ -1,7 +1,7 @@
/obj/item/clothing/under
name = "under"
icon = 'icons/obj/clothing/under/default.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/default.dmi'
+ worn_icon = 'icons/mob/clothing/under/default.dmi'
body_parts_covered = CHEST|GROIN|LEGS|ARMS
permeability_coefficient = 0.9
slot_flags = ITEM_SLOT_ICLOTHING
diff --git a/code/modules/clothing/under/accessories.dm b/code/modules/clothing/under/accessories.dm
index 4945cc5ed5f..ff504dcfa42 100755
--- a/code/modules/clothing/under/accessories.dm
+++ b/code/modules/clothing/under/accessories.dm
@@ -3,7 +3,7 @@
desc = "Something has gone wrong!"
icon = 'icons/obj/clothing/accessories.dmi'
icon_state = "plasma"
- item_state = "" //no inhands
+ inhand_icon_state = "" //no inhands
slot_flags = 0
w_class = WEIGHT_CLASS_SMALL
var/above_suit = FALSE
@@ -88,7 +88,7 @@
name = "waistcoat"
desc = "For some classy, murderous fun."
icon_state = "waistcoat"
- item_state = "waistcoat"
+ inhand_icon_state = "waistcoat"
minimize_when_attached = FALSE
attachment_slot = null
@@ -96,7 +96,7 @@
name = "maid apron"
desc = "The best part of a maid costume."
icon_state = "maidapron"
- item_state = "maidapron"
+ inhand_icon_state = "maidapron"
minimize_when_attached = FALSE
attachment_slot = null
diff --git a/code/modules/clothing/under/color.dm b/code/modules/clothing/under/color.dm
index beec7b720ff..97c4f515ed8 100644
--- a/code/modules/clothing/under/color.dm
+++ b/code/modules/clothing/under/color.dm
@@ -2,7 +2,7 @@
desc = "A standard issue colored jumpsuit. Variety is the spice of life!"
dying_key = DYE_REGISTRY_UNDER
icon = 'icons/obj/clothing/under/color.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/color.dmi'
+ worn_icon = 'icons/mob/clothing/under/color.dmi'
/obj/item/clothing/under/color/jumpskirt
body_parts_covered = CHEST|GROIN|ARMS
@@ -38,13 +38,13 @@
/obj/item/clothing/under/color/black
name = "black jumpsuit"
icon_state = "black"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
resistance_flags = NONE
/obj/item/clothing/under/color/jumpskirt/black
name = "black jumpskirt"
icon_state = "black_skirt"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
/obj/item/clothing/under/color/black/ghost
item_flags = DROPDEL
@@ -57,13 +57,13 @@
name = "grey jumpsuit"
desc = "A tasteful grey jumpsuit that reminds you of the good old days."
icon_state = "grey"
- item_state = "gy_suit"
+ inhand_icon_state = "gy_suit"
/obj/item/clothing/under/color/jumpskirt/grey
name = "grey jumpskirt"
desc = "A tasteful grey jumpskirt that reminds you of the good old days."
icon_state = "grey_skirt"
- item_state = "gy_suit"
+ inhand_icon_state = "gy_suit"
/obj/item/clothing/under/color/grey/glorf
name = "ancient jumpsuit"
@@ -76,156 +76,156 @@
/obj/item/clothing/under/color/blue
name = "blue jumpsuit"
icon_state = "blue"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
/obj/item/clothing/under/color/jumpskirt/blue
name = "blue jumpskirt"
icon_state = "blue_skirt"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
/obj/item/clothing/under/color/green
name = "green jumpsuit"
icon_state = "green"
- item_state = "g_suit"
+ inhand_icon_state = "g_suit"
/obj/item/clothing/under/color/jumpskirt/green
name = "green jumpskirt"
icon_state = "green_skirt"
- item_state = "g_suit"
+ inhand_icon_state = "g_suit"
/obj/item/clothing/under/color/orange
name = "orange jumpsuit"
desc = "Don't wear this near paranoid security officers."
icon_state = "orange"
- item_state = "o_suit"
+ inhand_icon_state = "o_suit"
/obj/item/clothing/under/color/jumpskirt/orange
name = "orange jumpskirt"
icon_state = "orange_skirt"
- item_state = "o_suit"
+ inhand_icon_state = "o_suit"
/obj/item/clothing/under/color/pink
name = "pink jumpsuit"
icon_state = "pink"
desc = "Just looking at this makes you feel fabulous."
- item_state = "p_suit"
+ inhand_icon_state = "p_suit"
/obj/item/clothing/under/color/jumpskirt/pink
name = "pink jumpskirt"
icon_state = "pink_skirt"
- item_state = "p_suit"
+ inhand_icon_state = "p_suit"
/obj/item/clothing/under/color/red
name = "red jumpsuit"
icon_state = "red"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
/obj/item/clothing/under/color/jumpskirt/red
name = "red jumpskirt"
icon_state = "red_skirt"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
/obj/item/clothing/under/color/white
name = "white jumpsuit"
icon_state = "white"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
/obj/item/clothing/under/color/jumpskirt/white
name = "white jumpskirt"
icon_state = "white_skirt"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
/obj/item/clothing/under/color/yellow
name = "yellow jumpsuit"
icon_state = "yellow"
- item_state = "y_suit"
+ inhand_icon_state = "y_suit"
/obj/item/clothing/under/color/jumpskirt/yellow
name = "yellow jumpskirt"
icon_state = "yellow_skirt"
- item_state = "y_suit"
+ inhand_icon_state = "y_suit"
/obj/item/clothing/under/color/darkblue
name = "darkblue jumpsuit"
icon_state = "darkblue"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
/obj/item/clothing/under/color/jumpskirt/darkblue
name = "darkblue jumpskirt"
icon_state = "darkblue_skirt"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
/obj/item/clothing/under/color/teal
name = "teal jumpsuit"
icon_state = "teal"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
/obj/item/clothing/under/color/jumpskirt/teal
name = "teal jumpskirt"
icon_state = "teal_skirt"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
/obj/item/clothing/under/color/lightpurple
name = "purple jumpsuit"
icon_state = "lightpurple"
- item_state = "p_suit"
+ inhand_icon_state = "p_suit"
/obj/item/clothing/under/color/jumpskirt/lightpurple
name = "lightpurple jumpskirt"
icon_state = "lightpurple_skirt"
- item_state = "p_suit"
+ inhand_icon_state = "p_suit"
/obj/item/clothing/under/color/darkgreen
name = "darkgreen jumpsuit"
icon_state = "darkgreen"
- item_state = "g_suit"
+ inhand_icon_state = "g_suit"
/obj/item/clothing/under/color/jumpskirt/darkgreen
name = "darkgreen jumpskirt"
icon_state = "darkgreen_skirt"
- item_state = "g_suit"
+ inhand_icon_state = "g_suit"
/obj/item/clothing/under/color/lightbrown
name = "lightbrown jumpsuit"
icon_state = "lightbrown"
- item_state = "lb_suit"
+ inhand_icon_state = "lb_suit"
/obj/item/clothing/under/color/jumpskirt/lightbrown
name = "lightbrown jumpskirt"
icon_state = "lightbrown_skirt"
- item_state = "lb_suit"
+ inhand_icon_state = "lb_suit"
/obj/item/clothing/under/color/brown
name = "brown jumpsuit"
icon_state = "brown"
- item_state = "lb_suit"
+ inhand_icon_state = "lb_suit"
/obj/item/clothing/under/color/jumpskirt/brown
name = "brown jumpskirt"
icon_state = "brown_skirt"
- item_state = "lb_suit"
+ inhand_icon_state = "lb_suit"
/obj/item/clothing/under/color/maroon
name = "maroon jumpsuit"
icon_state = "maroon"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
/obj/item/clothing/under/color/jumpskirt/maroon
name = "maroon jumpskirt"
icon_state = "maroon_skirt"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
/obj/item/clothing/under/color/rainbow
name = "rainbow jumpsuit"
desc = "A multi-colored jumpsuit!"
icon_state = "rainbow"
- item_state = "rainbow"
+ inhand_icon_state = "rainbow"
can_adjust = FALSE
/obj/item/clothing/under/color/jumpskirt/rainbow
name = "rainbow jumpskirt"
desc = "A multi-colored jumpskirt!"
icon_state = "rainbow_skirt"
- item_state = "rainbow"
+ inhand_icon_state = "rainbow"
can_adjust = FALSE
diff --git a/code/modules/clothing/under/costume.dm b/code/modules/clothing/under/costume.dm
index fbeec1457b1..5bf4ecbff9f 100644
--- a/code/modules/clothing/under/costume.dm
+++ b/code/modules/clothing/under/costume.dm
@@ -1,12 +1,12 @@
/obj/item/clothing/under/costume
icon = 'icons/obj/clothing/under/costume.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/costume.dmi'
+ worn_icon = 'icons/mob/clothing/under/costume.dmi'
/obj/item/clothing/under/costume/roman
name = "\improper Roman armor"
desc = "Ancient Roman armor. Made of metallic and leather straps."
icon_state = "roman"
- item_state = "armor"
+ inhand_icon_state = "armor"
can_adjust = FALSE
strip_delay = 100
resistance_flags = NONE
@@ -15,7 +15,7 @@
name = "jabroni outfit"
desc = "The leather club is two sectors down."
icon_state = "darkholme"
- item_state = "darkholme"
+ inhand_icon_state = "darkholme"
can_adjust = FALSE
/obj/item/clothing/under/costume/owl
@@ -34,7 +34,7 @@
name = "blue schoolgirl uniform"
desc = "It's just like one of my Japanese animes!"
icon_state = "schoolgirl"
- item_state = "schoolgirl"
+ inhand_icon_state = "schoolgirl"
body_parts_covered = CHEST|GROIN|ARMS
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -42,44 +42,44 @@
/obj/item/clothing/under/costume/schoolgirl/red
name = "red schoolgirl uniform"
icon_state = "schoolgirlred"
- item_state = "schoolgirlred"
+ inhand_icon_state = "schoolgirlred"
/obj/item/clothing/under/costume/schoolgirl/green
name = "green schoolgirl uniform"
icon_state = "schoolgirlgreen"
- item_state = "schoolgirlgreen"
+ inhand_icon_state = "schoolgirlgreen"
/obj/item/clothing/under/costume/schoolgirl/orange
name = "orange schoolgirl uniform"
icon_state = "schoolgirlorange"
- item_state = "schoolgirlorange"
+ inhand_icon_state = "schoolgirlorange"
/obj/item/clothing/under/costume/pirate
name = "pirate outfit"
desc = "Yarr."
icon_state = "pirate"
- item_state = "pirate"
+ inhand_icon_state = "pirate"
can_adjust = FALSE
/obj/item/clothing/under/costume/soviet
name = "soviet uniform"
desc = "For the Motherland!"
icon_state = "soviet"
- item_state = "soviet"
+ inhand_icon_state = "soviet"
can_adjust = FALSE
/obj/item/clothing/under/costume/redcoat
name = "redcoat uniform"
desc = "Looks old."
icon_state = "redcoat"
- item_state = "redcoat"
+ inhand_icon_state = "redcoat"
can_adjust = FALSE
/obj/item/clothing/under/costume/kilt
name = "kilt"
desc = "Includes shoes and plaid."
icon_state = "kilt"
- item_state = "kilt"
+ inhand_icon_state = "kilt"
body_parts_covered = CHEST|GROIN|LEGS|FEET
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -95,7 +95,7 @@
name = "gladiator uniform"
desc = "Are you not entertained? Is that not why you are here?"
icon_state = "gladiator"
- item_state = "gladiator"
+ inhand_icon_state = "gladiator"
body_parts_covered = CHEST|GROIN|ARMS
fitted = NO_FEMALE_UNIFORM
can_adjust = FALSE
@@ -109,7 +109,7 @@
name = "maid costume"
desc = "Maid in China."
icon_state = "maid"
- item_state = "maid"
+ inhand_icon_state = "maid"
body_parts_covered = CHEST|GROIN
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -136,7 +136,7 @@
name = "sailor suit"
desc = "Skipper's in the wardroom drinkin gin'."
icon_state = "sailor"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
can_adjust = FALSE
/obj/item/clothing/under/costume/singer
@@ -148,20 +148,20 @@
/obj/item/clothing/under/costume/singer/yellow
name = "yellow performer's outfit"
icon_state = "ysing"
- item_state = "ysing"
+ inhand_icon_state = "ysing"
fitted = NO_FEMALE_UNIFORM
/obj/item/clothing/under/costume/singer/blue
name = "blue performer's outfit"
icon_state = "bsing"
- item_state = "bsing"
+ inhand_icon_state = "bsing"
fitted = FEMALE_UNIFORM_TOP
/obj/item/clothing/under/costume/mummy
name = "mummy wrapping"
desc = "Return the slab or suffer my stale references."
icon_state = "mummy"
- item_state = "mummy"
+ inhand_icon_state = "mummy"
body_parts_covered = CHEST|GROIN|ARMS|LEGS
fitted = NO_FEMALE_UNIFORM
can_adjust = FALSE
@@ -171,7 +171,7 @@
name = "scarecrow clothes"
desc = "Perfect camouflage for hiding in botany."
icon_state = "scarecrow"
- item_state = "scarecrow"
+ inhand_icon_state = "scarecrow"
body_parts_covered = CHEST|GROIN|ARMS|LEGS
fitted = NO_FEMALE_UNIFORM
can_adjust = FALSE
@@ -181,7 +181,7 @@
name = "draculass coat"
desc = "A dress inspired by the ancient \"Victorian\" era."
icon_state = "draculass"
- item_state = "draculass"
+ inhand_icon_state = "draculass"
body_parts_covered = CHEST|GROIN|ARMS
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -190,14 +190,14 @@
name = "doctor freeze's jumpsuit"
desc = "A modified scientist jumpsuit to look extra cool."
icon_state = "drfreeze"
- item_state = "drfreeze"
+ inhand_icon_state = "drfreeze"
can_adjust = FALSE
/obj/item/clothing/under/costume/lobster
name = "foam lobster suit"
desc = "Who beheaded the college mascot?"
icon_state = "lobster"
- item_state = "lobster"
+ inhand_icon_state = "lobster"
fitted = NO_FEMALE_UNIFORM
can_adjust = FALSE
@@ -205,14 +205,14 @@
name = "gondola hide suit"
desc = "Now you're cooking."
icon_state = "gondola"
- item_state = "lb_suit"
+ inhand_icon_state = "lb_suit"
can_adjust = FALSE
/obj/item/clothing/under/costume/skeleton
name = "skeleton jumpsuit"
desc = "A black jumpsuit with a white bone pattern printed on it. Spooky!"
icon_state = "skeleton"
- item_state = "skeleton"
+ inhand_icon_state = "skeleton"
body_parts_covered = CHEST|GROIN|ARMS|LEGS
fitted = NO_FEMALE_UNIFORM
can_adjust = FALSE
@@ -222,7 +222,7 @@
name = "red mech pilot's suit"
desc = "A red mech pilot's suit. Might make your butt look big."
icon_state = "red_mech_suit"
- item_state = "red_mech_suit"
+ inhand_icon_state = "red_mech_suit"
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
cold_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
fitted = NO_FEMALE_UNIFORM
@@ -233,21 +233,21 @@
name = "white mech pilot's suit"
desc = "A white mech pilot's suit. Very fetching."
icon_state = "white_mech_suit"
- item_state = "white_mech_suit"
+ inhand_icon_state = "white_mech_suit"
/obj/item/clothing/under/costume/mech_suit/blue
name = "blue mech pilot's suit"
desc = "A blue mech pilot's suit. For the more reluctant mech pilots."
icon_state = "blue_mech_suit"
- item_state = "blue_mech_suit"
+ inhand_icon_state = "blue_mech_suit"
/obj/item/clothing/under/costume/russian_officer
name = "\improper Russian officer's uniform"
desc = "The latest in fashionable russian outfits."
icon = 'icons/obj/clothing/under/security.dmi'
icon_state = "hostanclothes"
- item_state = "hostanclothes"
- mob_overlay_icon = 'icons/mob/clothing/under/security.dmi'
+ inhand_icon_state = "hostanclothes"
+ worn_icon = 'icons/mob/clothing/under/security.dmi'
alt_covers_chest = TRUE
armor = list("melee" = 10, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 30, "acid" = 30)
strip_delay = 50
@@ -258,19 +258,19 @@
name = "jack bros outfit"
desc = "For when it's time to hee some hos."
icon_state = "JackFrostUniform"
- item_state = "JackFrostUniform"
+ inhand_icon_state = "JackFrostUniform"
can_adjust = FALSE
/obj/item/clothing/under/costume/yakuza
name = "tojo clan pants"
desc = "For those long nights under the traffic cone."
icon_state = "MajimaPants"
- item_state = "MajimaPants"
+ inhand_icon_state = "MajimaPants"
can_adjust = FALSE
/obj/item/clothing/under/costume/dutch
name = "dutch's suit"
desc = "You can feel a god damn plan coming on."
icon_state = "DutchUniform"
- item_state = "DutchUniform"
+ inhand_icon_state = "DutchUniform"
can_adjust = FALSE
diff --git a/code/modules/clothing/under/jobs/Plasmaman/civilian_service.dm b/code/modules/clothing/under/jobs/Plasmaman/civilian_service.dm
index 9de5b69cf38..fcbbfc4119f 100644
--- a/code/modules/clothing/under/jobs/Plasmaman/civilian_service.dm
+++ b/code/modules/clothing/under/jobs/Plasmaman/civilian_service.dm
@@ -2,69 +2,69 @@
name = "cargo plasma envirosuit"
desc = "A joint envirosuit used by plasmamen quartermasters and cargo techs alike, due to the logistical problems of differenciating the two with the length of their pant legs."
icon_state = "cargo_envirosuit"
- item_state = "cargo_envirosuit"
+ inhand_icon_state = "cargo_envirosuit"
/obj/item/clothing/under/plasmaman/mining
name = "mining plasma envirosuit"
desc = "An air-tight khaki suit designed for operations on lavaland by plasmamen."
icon_state = "explorer_envirosuit"
- item_state = "explorer_envirosuit"
+ inhand_icon_state = "explorer_envirosuit"
/obj/item/clothing/under/plasmaman/chef
name = "chef's plasma envirosuit"
desc = "A white plasmaman envirosuit designed for cullinary practices. One might question why a member of a species that doesn't need to eat would become a chef."
icon_state = "chef_envirosuit"
- item_state = "chef_envirosuit"
+ inhand_icon_state = "chef_envirosuit"
/obj/item/clothing/under/plasmaman/enviroslacks
name = "enviroslacks"
desc = "The pet project of a particularly posh plasmaman, this custom suit was quickly appropriated by Nano-Trasen for it's detectives, lawyers, and bar-tenders alike."
icon_state = "enviroslacks"
- item_state = "enviroslacks"
+ inhand_icon_state = "enviroslacks"
/obj/item/clothing/under/plasmaman/chaplain
name = "chaplain's plasma envirosuit"
desc = "An envirosuit specially designed for only the most pious of plasmamen."
icon_state = "chap_envirosuit"
- item_state = "chap_envirosuit"
+ inhand_icon_state = "chap_envirosuit"
/obj/item/clothing/under/plasmaman/curator
name = "curator's plasma envirosuit"
desc = "Made out of a modified voidsuit, this suit was Nano-Trasen's first solution to the *logistical problems* that come with employing plasmamen. Due to the modifications, the suit is no longer space-worthy. Despite their limitations, these suits are still in used by historian and old-styled plasmamen alike."
icon_state = "prototype_envirosuit"
- item_state = "prototype_envirosuit"
+ inhand_icon_state = "prototype_envirosuit"
/obj/item/clothing/under/plasmaman/janitor
name = "janitor's plasma envirosuit"
desc = "A grey and purple envirosuit designated for plasmamen janitors."
icon_state = "janitor_envirosuit"
- item_state = "janitor_envirosuit"
+ inhand_icon_state = "janitor_envirosuit"
/obj/item/clothing/under/plasmaman/botany
name = "botany envirosuit"
desc = "A green and blue envirosuit designed to protect plasmamen from minor plant-related injuries."
icon_state = "botany_envirosuit"
- item_state = "botany_envirosuit"
+ inhand_icon_state = "botany_envirosuit"
/obj/item/clothing/under/plasmaman/mime
name = "mime envirosuit"
desc = "It's not very colourful."
icon_state = "mime_envirosuit"
- item_state = "mime_envirosuit"
+ inhand_icon_state = "mime_envirosuit"
/obj/item/clothing/under/plasmaman/clown
name = "clown envirosuit"
desc = "'HONK!'"
icon_state = "clown_envirosuit"
- item_state = "clown_envirosuit"
+ inhand_icon_state = "clown_envirosuit"
/obj/item/clothing/under/plasmaman/prisoner
name = "prisoner envirosuit"
desc = "An orange envirosuit identifying and protecting a criminal plasmaman."
icon_state = "prisoner_envirosuit"
- item_state = "prisoner_envirosuit"
+ inhand_icon_state = "prisoner_envirosuit"
/obj/item/clothing/under/plasmaman/clown/Extinguish(mob/living/carbon/human/H)
if(!istype(H))
diff --git a/code/modules/clothing/under/jobs/Plasmaman/engineering.dm b/code/modules/clothing/under/jobs/Plasmaman/engineering.dm
index 06a3dff5ce9..fe91e376bd2 100644
--- a/code/modules/clothing/under/jobs/Plasmaman/engineering.dm
+++ b/code/modules/clothing/under/jobs/Plasmaman/engineering.dm
@@ -2,12 +2,12 @@
name = "engineering plasma envirosuit"
desc = "An air-tight suit designed to be used by plasmamen exployed as engineers, the usual purple stripes being replaced by engineer's orange. It protects the user from fire and acid damage."
icon_state = "engineer_envirosuit"
- item_state = "engineer_envirosuit"
+ inhand_icon_state = "engineer_envirosuit"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 10, "fire" = 95, "acid" = 95)
/obj/item/clothing/under/plasmaman/atmospherics
name = "atmospherics plasma envirosuit"
desc = "An air-tight suit designed to be used by plasmamen exployed as atmos technicians, the usual purple stripes being replaced by atmos's blue."
icon_state = "atmos_envirosuit"
- item_state = "atmos_envirosuit"
+ inhand_icon_state = "atmos_envirosuit"
diff --git a/code/modules/clothing/under/jobs/Plasmaman/medsci.dm b/code/modules/clothing/under/jobs/Plasmaman/medsci.dm
index 6b39ac6aaf4..5c57f0f4b04 100644
--- a/code/modules/clothing/under/jobs/Plasmaman/medsci.dm
+++ b/code/modules/clothing/under/jobs/Plasmaman/medsci.dm
@@ -2,40 +2,40 @@
name = "medical plasma envirosuit"
desc = "A suit designed for the station's more plasma-based doctors."
icon_state = "doctor_envirosuit"
- item_state = "doctor_envirosuit"
+ inhand_icon_state = "doctor_envirosuit"
/obj/item/clothing/under/plasmaman/paramedic
name = "paramedic envirosuit"
desc = "A suit designed for the station's plasmaman paramedics."
icon_state = "paramedic_envirosuit"
- item_state = "paramedic_envirosuit"
+ inhand_icon_state = "paramedic_envirosuit"
/obj/item/clothing/under/plasmaman/science
name = "science plasma envirosuit"
desc = "A plasmaman envirosuit designed for scientists."
icon_state = "scientist_envirosuit"
- item_state = "scientist_envirosuit"
+ inhand_icon_state = "scientist_envirosuit"
/obj/item/clothing/under/plasmaman/robotics
name = "robotics plasma envirosuit"
desc = "A plasmaman envirosuit designed for roboticists."
icon_state = "roboticist_envirosuit"
- item_state = "roboticist_envirosuit"
+ inhand_icon_state = "roboticist_envirosuit"
/obj/item/clothing/under/plasmaman/viro
name = "virology plasma envirosuit"
desc = "The suit worn by the safest people on the station, those who are completely immune to the monstrosities they create."
icon_state = "virologist_envirosuit"
- item_state = "virologist_envirosuit"
+ inhand_icon_state = "virologist_envirosuit"
/obj/item/clothing/under/plasmaman/genetics
name = "genetics plasma envirosuit"
desc = "A plasmaman envirosuit designed for geneticists."
icon_state = "geneticist_envirosuit"
- item_state = "geneticist_envirosuit"
+ inhand_icon_state = "geneticist_envirosuit"
/obj/item/clothing/under/plasmaman/chemist
name = "chemistry plasma envirosuit"
desc = "A plasmaman envirosuit designed for chemists."
icon_state = "chemist_envirosuit"
- item_state = "chemist_envirosuit"
+ inhand_icon_state = "chemist_envirosuit"
diff --git a/code/modules/clothing/under/jobs/Plasmaman/security.dm b/code/modules/clothing/under/jobs/Plasmaman/security.dm
index 2f8c4e96b3a..84b21c163c4 100644
--- a/code/modules/clothing/under/jobs/Plasmaman/security.dm
+++ b/code/modules/clothing/under/jobs/Plasmaman/security.dm
@@ -2,11 +2,11 @@
name = "security plasma envirosuit"
desc = "A plasmaman containment suit designed for security officers, offering a limited amount of extra protection."
icon_state = "security_envirosuit"
- item_state = "security_envirosuit"
+ inhand_icon_state = "security_envirosuit"
armor = list("melee" = 10, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 0, "fire" = 95, "acid" = 95)
/obj/item/clothing/under/plasmaman/security/warden
name = "warden plasma envirosuit"
desc = "A plasmaman containment suit designed for the warden, white stripes being added to differeciate them from other members of security."
icon_state = "warden_envirosuit"
- item_state = "warden_envirosuit"
+ inhand_icon_state = "warden_envirosuit"
diff --git a/code/modules/clothing/under/jobs/cargo.dm b/code/modules/clothing/under/jobs/cargo.dm
index 6d7eef66329..3ddf8f795ab 100644
--- a/code/modules/clothing/under/jobs/cargo.dm
+++ b/code/modules/clothing/under/jobs/cargo.dm
@@ -1,18 +1,18 @@
/obj/item/clothing/under/rank/cargo
icon = 'icons/obj/clothing/under/cargo.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/cargo.dmi'
+ worn_icon = 'icons/mob/clothing/under/cargo.dmi'
/obj/item/clothing/under/rank/cargo/qm
name = "quartermaster's jumpsuit"
desc = "It's a jumpsuit worn by the quartermaster. It's specially designed to prevent back injuries caused by pushing paper."
icon_state = "qm"
- item_state = "lb_suit"
+ inhand_icon_state = "lb_suit"
/obj/item/clothing/under/rank/cargo/qm/skirt
name = "quartermaster's jumpskirt"
desc = "It's a jumpskirt worn by the quartermaster. It's specially designed to prevent back injuries caused by pushing paper."
icon_state = "qm_skirt"
- item_state = "lb_suit"
+ inhand_icon_state = "lb_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -21,7 +21,7 @@
name = "cargo technician's jumpsuit"
desc = "Shooooorts! They're comfy and easy to wear!"
icon_state = "cargotech"
- item_state = "lb_suit"
+ inhand_icon_state = "lb_suit"
body_parts_covered = CHEST|GROIN|ARMS
mutantrace_variation = MUTANTRACE_VARIATION
alt_covers_chest = TRUE
@@ -30,7 +30,7 @@
name = "cargo technician's jumpskirt"
desc = "Skiiiiirts! They're comfy and easy to wear"
icon_state = "cargo_skirt"
- item_state = "lb_suit"
+ inhand_icon_state = "lb_suit"
body_parts_covered = CHEST|GROIN|ARMS
mutantrace_variation = NO_MUTANTRACE_VARIATION
can_adjust = FALSE
@@ -40,7 +40,7 @@
desc = "It's a snappy jumpsuit with a sturdy set of overalls. It is very dirty."
name = "shaft miner's jumpsuit"
icon_state = "miner"
- item_state = "miner"
+ inhand_icon_state = "miner"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 80, "acid" = 0)
resistance_flags = NONE
@@ -48,5 +48,5 @@
desc = "A green uniform for operating in hazardous environments."
name = "shaft miner's jumpsuit"
icon_state = "explorer"
- item_state = "explorer"
+ inhand_icon_state = "explorer"
can_adjust = FALSE
diff --git a/code/modules/clothing/under/jobs/centcom.dm b/code/modules/clothing/under/jobs/centcom.dm
index 7b098735416..b9afe75a81c 100644
--- a/code/modules/clothing/under/jobs/centcom.dm
+++ b/code/modules/clothing/under/jobs/centcom.dm
@@ -1,23 +1,23 @@
/obj/item/clothing/under/rank/centcom
icon = 'icons/obj/clothing/under/centcom.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/centcom.dmi'
+ worn_icon = 'icons/mob/clothing/under/centcom.dmi'
/obj/item/clothing/under/rank/centcom/officer
name = "\improper CentCom officer's jumpsuit"
desc = "It's a jumpsuit worn by CentCom Officers."
icon_state = "officer"
- item_state = "g_suit"
+ inhand_icon_state = "g_suit"
alt_covers_chest = TRUE
/obj/item/clothing/under/rank/centcom/commander
name = "\improper CentCom officer's jumpsuit"
desc = "It's a jumpsuit worn by CentCom's highest-tier Commanders."
icon_state = "centcom"
- item_state = "dg_suit"
+ inhand_icon_state = "dg_suit"
/obj/item/clothing/under/rank/centcom/intern
name = "\improper CentCom intern's jumpsuit"
desc = "It's a jumpsuit worn by those interning for CentCom. The top is styled after a polo shirt for easy identification."
icon_state = "intern"
- item_state = "g_suit"
+ inhand_icon_state = "g_suit"
can_adjust = FALSE
diff --git a/code/modules/clothing/under/jobs/civilian/civilian.dm b/code/modules/clothing/under/jobs/civilian/civilian.dm
index cf3a1520fee..a21c82ccfff 100644
--- a/code/modules/clothing/under/jobs/civilian/civilian.dm
+++ b/code/modules/clothing/under/jobs/civilian/civilian.dm
@@ -2,13 +2,13 @@
/obj/item/clothing/under/rank/civilian
icon = 'icons/obj/clothing/under/civilian.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/civilian.dmi'
+ worn_icon = 'icons/mob/clothing/under/civilian.dmi'
/obj/item/clothing/under/rank/civilian/bartender
desc = "It looks like it could use some more flair."
name = "bartender's uniform"
icon_state = "barman"
- item_state = "bar_suit"
+ inhand_icon_state = "bar_suit"
alt_covers_chest = TRUE
/obj/item/clothing/under/rank/civilian/bartender/purple
@@ -21,7 +21,7 @@
name = "bartender's skirt"
desc = "It looks like it could use some more flair."
icon_state = "barman_skirt"
- item_state = "bar_suit"
+ inhand_icon_state = "bar_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -30,14 +30,14 @@
desc = "It's a black jumpsuit, often worn by religious folk."
name = "chaplain's jumpsuit"
icon_state = "chaplain"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
can_adjust = FALSE
/obj/item/clothing/under/rank/civilian/chaplain/skirt
name = "chaplain's jumpskirt"
desc = "It's a black jumpskirt. If you wear this, you probably need religious help more than you will be providing it."
icon_state = "chapblack_skirt"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -60,14 +60,14 @@
desc = "It's a jumpsuit worn by someone who works in the position of \"Head of Personnel\"."
name = "head of personnel's jumpsuit"
icon_state = "hop"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
can_adjust = FALSE
/obj/item/clothing/under/rank/civilian/head_of_personnel/skirt
name = "head of personnel's jumpskirt"
desc = "It's a jumpskirt worn by someone who works in the position of \"Head of Personnel\"."
icon_state = "hop_skirt"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -76,14 +76,14 @@
name = "head of personnel's suit"
desc = "A teal suit and yellow necktie. An authoritative yet tacky ensemble."
icon_state = "teal_suit"
- item_state = "g_suit"
+ inhand_icon_state = "g_suit"
can_adjust = FALSE
/obj/item/clothing/under/rank/civilian/head_of_personnel/suit/skirt
name = "teal suitskirt"
desc = "A teal suitskirt and yellow necktie. An authoritative yet tacky ensemble."
icon_state = "teal_suit_skirt"
- item_state = "g_suit"
+ inhand_icon_state = "g_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -92,14 +92,14 @@
desc = "It's a jumpsuit designed to protect against minor plant-related hazards."
name = "botanist's jumpsuit"
icon_state = "hydroponics"
- item_state = "g_suit"
+ inhand_icon_state = "g_suit"
permeability_coefficient = 0.5
/obj/item/clothing/under/rank/civilian/hydroponics/skirt
name = "botanist's jumpskirt"
desc = "It's a jumpskirt designed to protect against minor plant-related hazards."
icon_state = "hydroponics_skirt"
- item_state = "g_suit"
+ inhand_icon_state = "g_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -122,7 +122,7 @@
name = "maid uniform"
desc = "A simple maid uniform for housekeeping."
icon_state = "janimaid"
- item_state = "janimaid"
+ inhand_icon_state = "janimaid"
body_parts_covered = CHEST|GROIN
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -141,54 +141,54 @@
/obj/item/clothing/under/rank/civilian/lawyer/black
name = "lawyer black suit"
icon_state = "lawyer_black"
- item_state = "lawyer_black"
+ inhand_icon_state = "lawyer_black"
/obj/item/clothing/under/rank/civilian/lawyer/black/skirt
name = "lawyer black suitskirt"
icon_state = "lawyer_black_skirt"
- item_state = "lawyer_black"
+ inhand_icon_state = "lawyer_black"
fitted = FEMALE_UNIFORM_TOP
/obj/item/clothing/under/rank/civilian/lawyer/female
name = "female black suit"
icon_state = "black_suit_fem"
- item_state = "black_suit_fem"
- mob_overlay_icon = 'icons/mob/clothing/under/suits.dmi'
+ inhand_icon_state = "black_suit_fem"
+ worn_icon = 'icons/mob/clothing/under/suits.dmi'
/obj/item/clothing/under/rank/civilian/lawyer/female/skirt
name = "female black suitskirt"
icon_state = "black_suit_fem_skirt"
- item_state = "black_suit_fem_skirt"
- mob_overlay_icon = 'icons/mob/clothing/under/suits.dmi'
+ inhand_icon_state = "black_suit_fem_skirt"
+ worn_icon = 'icons/mob/clothing/under/suits.dmi'
fitted = FEMALE_UNIFORM_TOP
/obj/item/clothing/under/rank/civilian/lawyer/red
name = "lawyer red suit"
icon_state = "lawyer_red"
- item_state = "lawyer_red"
+ inhand_icon_state = "lawyer_red"
/obj/item/clothing/under/rank/civilian/lawyer/red/skirt
name = "lawyer red suitskirt"
icon_state = "lawyer_red_skirt"
- item_state = "lawyer_red"
+ inhand_icon_state = "lawyer_red"
fitted = FEMALE_UNIFORM_TOP
/obj/item/clothing/under/rank/civilian/lawyer/blue
name = "lawyer blue suit"
icon_state = "lawyer_blue"
- item_state = "lawyer_blue"
+ inhand_icon_state = "lawyer_blue"
/obj/item/clothing/under/rank/civilian/lawyer/blue/skirt
name = "lawyer blue suitskirt"
icon_state = "lawyer_blue_skirt"
- item_state = "lawyer_blue"
+ inhand_icon_state = "lawyer_blue"
fitted = FEMALE_UNIFORM_TOP
/obj/item/clothing/under/rank/civilian/lawyer/bluesuit
name = "blue suit"
desc = "A classy suit and tie."
icon_state = "bluesuit"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
can_adjust = TRUE
alt_covers_chest = TRUE
@@ -196,7 +196,7 @@
name = "blue suitskirt"
desc = "A classy suitskirt and tie."
icon_state = "bluesuit_skirt"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -204,7 +204,7 @@
/obj/item/clothing/under/rank/civilian/lawyer/purpsuit
name = "purple suit"
icon_state = "lawyer_purp"
- item_state = "p_suit"
+ inhand_icon_state = "p_suit"
fitted = NO_FEMALE_UNIFORM
can_adjust = TRUE
alt_covers_chest = TRUE
@@ -212,22 +212,22 @@
/obj/item/clothing/under/rank/civilian/lawyer/purpsuit/skirt
name = "purple suitskirt"
icon_state = "lawyer_purp_skirt"
- item_state = "p_suit"
+ inhand_icon_state = "p_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
/obj/item/clothing/under/rank/civilian/lawyer/galaxy
- mob_overlay_icon = 'icons/mob/clothing/under/lawyer_galaxy.dmi'
+ worn_icon = 'icons/mob/clothing/under/lawyer_galaxy.dmi'
can_adjust = FALSE
name = "blue galaxy suit"
icon_state = "lawyer_galaxy_blue"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
/obj/item/clothing/under/rank/civilian/lawyer/galaxy/red
name = "red galaxy suit"
icon_state = "lawyer_galaxy_red"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
/obj/item/clothing/under/rank/civilian/cookjorts
name = "grilling shorts"
diff --git a/code/modules/clothing/under/jobs/civilian/clown_mime.dm b/code/modules/clothing/under/jobs/civilian/clown_mime.dm
index 6f1f2f7b589..47ffa8b918e 100644
--- a/code/modules/clothing/under/jobs/civilian/clown_mime.dm
+++ b/code/modules/clothing/under/jobs/civilian/clown_mime.dm
@@ -3,13 +3,13 @@
name = "mime's outfit"
desc = "It's not very colourful."
icon_state = "mime"
- item_state = "mime"
+ inhand_icon_state = "mime"
/obj/item/clothing/under/rank/civilian/mime/skirt
name = "mime's skirt"
desc = "It's not very colourful."
icon_state = "mime_skirt"
- item_state = "mime"
+ inhand_icon_state = "mime"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -18,7 +18,7 @@
name = "sexy mime outfit"
desc = "The only time when you DON'T enjoy looking at someone's rack."
icon_state = "sexymime"
- item_state = "sexymime"
+ inhand_icon_state = "sexymime"
body_parts_covered = CHEST|GROIN|LEGS
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -27,13 +27,13 @@
name = "clown suit"
desc = "'HONK!'"
icon_state = "clown"
- item_state = "clown"
+ inhand_icon_state = "clown"
/obj/item/clothing/under/rank/civilian/clown/blue
name = "blue clown suit"
desc = "'BLUE HONK!'"
icon_state = "blueclown"
- item_state = "blueclown"
+ inhand_icon_state = "blueclown"
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -41,7 +41,7 @@
name = "green clown suit"
desc = "'GREEN HONK!'"
icon_state = "greenclown"
- item_state = "greenclown"
+ inhand_icon_state = "greenclown"
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -49,7 +49,7 @@
name = "yellow clown suit"
desc = "'YELLOW HONK!'"
icon_state = "yellowclown"
- item_state = "yellowclown"
+ inhand_icon_state = "yellowclown"
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -57,7 +57,7 @@
name = "purple clown suit"
desc = "'PURPLE HONK!'"
icon_state = "purpleclown"
- item_state = "purpleclown"
+ inhand_icon_state = "purpleclown"
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -65,7 +65,7 @@
name = "orange clown suit"
desc = "'ORANGE HONK!'"
icon_state = "orangeclown"
- item_state = "orangeclown"
+ inhand_icon_state = "orangeclown"
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -73,7 +73,7 @@
name = "rainbow clown suit"
desc = "'R A I N B O W HONK!'"
icon_state = "rainbowclown"
- item_state = "rainbowclown"
+ inhand_icon_state = "rainbowclown"
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -90,7 +90,7 @@
name = "sexy-clown suit"
desc = "It makes you look HONKable!"
icon_state = "sexyclown"
- item_state = "sexyclown"
+ inhand_icon_state = "sexyclown"
can_adjust = FALSE
/obj/item/clothing/under/rank/civilian/clown/Initialize()
diff --git a/code/modules/clothing/under/jobs/civilian/curator.dm b/code/modules/clothing/under/jobs/civilian/curator.dm
index 3de7cde60f9..c835b31e311 100644
--- a/code/modules/clothing/under/jobs/civilian/curator.dm
+++ b/code/modules/clothing/under/jobs/civilian/curator.dm
@@ -3,8 +3,8 @@
desc = "It's very... sensible."
icon = 'icons/obj/clothing/under/suits.dmi'
icon_state = "red_suit"
- item_state = "red_suit"
- mob_overlay_icon = 'icons/mob/clothing/under/suits.dmi'
+ inhand_icon_state = "red_suit"
+ worn_icon = 'icons/mob/clothing/under/suits.dmi'
can_adjust = FALSE
/obj/item/clothing/under/rank/civilian/curator/skirt
@@ -12,8 +12,8 @@
desc = "It's very... sensible."
icon = 'icons/obj/clothing/under/suits.dmi'
icon_state = "red_suit_skirt"
- item_state = "red_suit"
- mob_overlay_icon = 'icons/mob/clothing/under/suits.dmi'
+ inhand_icon_state = "red_suit"
+ worn_icon = 'icons/mob/clothing/under/suits.dmi'
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -23,16 +23,16 @@
desc = "A rugged uniform suitable for treasure hunting."
icon = 'icons/obj/clothing/under/civilian.dmi'
icon_state = "curator"
- item_state = "curator"
- mob_overlay_icon = 'icons/mob/clothing/under/civilian.dmi'
+ inhand_icon_state = "curator"
+ worn_icon = 'icons/mob/clothing/under/civilian.dmi'
/obj/item/clothing/under/rank/civilian/curator/nasa
name = "\improper NASA jumpsuit"
desc = "It has a NASA logo on it and is made of space-proofed materials."
icon = 'icons/obj/clothing/under/color.dmi'
icon_state = "black"
- item_state = "bl_suit"
- mob_overlay_icon = 'icons/mob/clothing/under/color.dmi'
+ inhand_icon_state = "bl_suit"
+ worn_icon = 'icons/mob/clothing/under/color.dmi'
w_class = WEIGHT_CLASS_BULKY
gas_transfer_coefficient = 0.01
permeability_coefficient = 0.02
diff --git a/code/modules/clothing/under/jobs/command.dm b/code/modules/clothing/under/jobs/command.dm
index f45eccdda6f..d4a225a17ed 100644
--- a/code/modules/clothing/under/jobs/command.dm
+++ b/code/modules/clothing/under/jobs/command.dm
@@ -2,17 +2,17 @@
desc = "It's a blue jumpsuit with some gold markings denoting the rank of \"Captain\"."
name = "captain's jumpsuit"
icon_state = "captain"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
sensor_mode = SENSOR_COORDS
random_sensor = FALSE
icon = 'icons/obj/clothing/under/captain.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/captain.dmi'
+ worn_icon = 'icons/mob/clothing/under/captain.dmi'
/obj/item/clothing/under/rank/captain/skirt
name = "captain's jumpskirt"
desc = "It's a blue jumpskirt with some gold markings denoting the rank of \"Captain\"."
icon_state = "captain_skirt"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -21,14 +21,14 @@
name = "captain's suit"
desc = "A green suit and yellow necktie. Exemplifies authority."
icon_state = "green_suit"
- item_state = "dg_suit"
+ inhand_icon_state = "dg_suit"
can_adjust = FALSE
/obj/item/clothing/under/rank/captain/suit/skirt
name = "green suitskirt"
desc = "A green suitskirt and yellow necktie. Exemplifies authority."
icon_state = "green_suit_skirt"
- item_state = "dg_suit"
+ inhand_icon_state = "dg_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -37,5 +37,5 @@
name = "captain's parade uniform"
desc = "A captain's luxury-wear, for special occasions."
icon_state = "captain_parade"
- item_state = "by_suit"
+ inhand_icon_state = "by_suit"
can_adjust = FALSE
diff --git a/code/modules/clothing/under/jobs/engineering.dm b/code/modules/clothing/under/jobs/engineering.dm
index 50c37a10527..3e5da292e1f 100644
--- a/code/modules/clothing/under/jobs/engineering.dm
+++ b/code/modules/clothing/under/jobs/engineering.dm
@@ -2,13 +2,13 @@
/obj/item/clothing/under/rank/engineering
icon = 'icons/obj/clothing/under/engineering.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/engineering.dmi'
+ worn_icon = 'icons/mob/clothing/under/engineering.dmi'
/obj/item/clothing/under/rank/engineering/chief_engineer
desc = "It's a high visibility jumpsuit given to those engineers insane enough to achieve the rank of \"Chief Engineer\". It has minor radiation shielding."
name = "chief engineer's jumpsuit"
icon_state = "chiefengineer"
- item_state = "gy_suit"
+ inhand_icon_state = "gy_suit"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 10, "fire" = 80, "acid" = 40)
resistance_flags = NONE
@@ -16,7 +16,7 @@
name = "chief engineer's jumpskirt"
desc = "It's a high visibility jumpskirt given to those engineers insane enough to achieve the rank of \"Chief Engineer\". It has minor radiation shielding."
icon_state = "chief_skirt"
- item_state = "gy_suit"
+ inhand_icon_state = "gy_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -25,14 +25,14 @@
desc = "It's a jumpsuit worn by atmospheric technicians."
name = "atmospheric technician's jumpsuit"
icon_state = "atmos"
- item_state = "atmos_suit"
+ inhand_icon_state = "atmos_suit"
resistance_flags = NONE
/obj/item/clothing/under/rank/engineering/atmospheric_technician/skirt
name = "atmospheric technician's jumpskirt"
desc = "It's a jumpskirt worn by atmospheric technicians."
icon_state = "atmos_skirt"
- item_state = "atmos_suit"
+ inhand_icon_state = "atmos_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -41,7 +41,7 @@
desc = "It's an orange high visibility jumpsuit worn by engineers. It has minor radiation shielding."
name = "engineer's jumpsuit"
icon_state = "engine"
- item_state = "engi_suit"
+ inhand_icon_state = "engi_suit"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 10, "fire" = 60, "acid" = 20)
resistance_flags = NONE
@@ -49,14 +49,14 @@
name = "engineer's hazard jumpsuit"
desc = "A high visibility jumpsuit made from heat and radiation resistant materials."
icon_state = "hazard"
- item_state = "suit-orange"
+ inhand_icon_state = "suit-orange"
alt_covers_chest = TRUE
/obj/item/clothing/under/rank/engineering/engineer/skirt
name = "engineer's jumpskirt"
desc = "It's an orange high visibility jumpskirt worn by engineers."
icon_state = "engine_skirt"
- item_state = "engi_suit"
+ inhand_icon_state = "engi_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
diff --git a/code/modules/clothing/under/jobs/medical.dm b/code/modules/clothing/under/jobs/medical.dm
index 7b9f193ba9e..c572f53cb19 100644
--- a/code/modules/clothing/under/jobs/medical.dm
+++ b/code/modules/clothing/under/jobs/medical.dm
@@ -1,12 +1,12 @@
/obj/item/clothing/under/rank/medical
icon = 'icons/obj/clothing/under/medical.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/medical.dmi'
+ worn_icon = 'icons/mob/clothing/under/medical.dmi'
/obj/item/clothing/under/rank/medical/chief_medical_officer
desc = "It's a jumpsuit worn by those with the experience to be \"Chief Medical Officer\". It provides minor biological protection."
name = "chief medical officer's jumpsuit"
icon_state = "cmo"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
permeability_coefficient = 0.5
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 10, "rad" = 0, "fire" = 0, "acid" = 0)
@@ -14,7 +14,7 @@
name = "chief medical officer's jumpskirt"
desc = "It's a jumpskirt worn by those with the experience to be \"Chief Medical Officer\". It provides minor biological protection."
icon_state = "cmo_skirt"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -23,7 +23,7 @@
desc = "It's made of a special fiber that gives special protection against biohazards. It has a virologist rank stripe on it."
name = "virologist's jumpsuit"
icon_state = "virology"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
permeability_coefficient = 0.5
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 10, "rad" = 0, "fire" = 0, "acid" = 0)
@@ -31,7 +31,7 @@
name = "virologist's jumpskirt"
desc = "It's made of a special fiber that gives special protection against biohazards. It has a virologist rank stripe on it."
icon_state = "virologywhite_skirt"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -40,7 +40,7 @@
desc = "It's a jumpsuit commonly worn by nursing staff in the medical department."
name = "nurse's suit"
icon_state = "nursesuit"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
permeability_coefficient = 0.5
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 10, "rad" = 0, "fire" = 0, "acid" = 0)
body_parts_covered = CHEST|GROIN|ARMS
@@ -51,7 +51,7 @@
desc = "It's made of a special fiber that provides minor protection against biohazards. It has a cross on the chest denoting that the wearer is trained medical personnel."
name = "medical doctor's jumpsuit"
icon_state = "medical"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
permeability_coefficient = 0.5
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 10, "rad" = 0, "fire" = 0, "acid" = 0)
@@ -77,7 +77,7 @@
name = "medical doctor's jumpskirt"
desc = "It's made of a special fiber that provides minor protection against biohazards. It has a cross on the chest denoting that the wearer is trained medical personnel."
icon_state = "medical_skirt"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -86,7 +86,7 @@
desc = "It's made of a special fiber that gives special protection against biohazards. It has a chemist rank stripe on it."
name = "chemist's jumpsuit"
icon_state = "chemistry"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
permeability_coefficient = 0.5
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 10, "rad" = 0, "fire" = 50, "acid" = 65)
@@ -94,7 +94,7 @@
name = "chemist's jumpskirt"
desc = "It's made of a special fiber that gives special protection against biohazards. It has a chemist rank stripe on it."
icon_state = "chemistrywhite_skirt"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -103,7 +103,7 @@
desc = "It's made of a special fiber that provides minor protection against biohazards. It has a dark blue cross on the chest denoting that the wearer is a trained paramedic."
name = "paramedic jumpsuit"
icon_state = "paramedic"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
permeability_coefficient = 0.5
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 10, "rad" = 0, "fire" = 0, "acid" = 0)
@@ -111,7 +111,7 @@
name = "paramedic jumpskirt"
desc = "It's made of a special fiber that provides minor protection against biohazards. It has a dark blue cross on the chest denoting that the wearer is a trained paramedic."
icon_state = "paramedic_skirt"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
diff --git a/code/modules/clothing/under/jobs/rnd.dm b/code/modules/clothing/under/jobs/rnd.dm
index c4d04278094..1a1a65489d3 100644
--- a/code/modules/clothing/under/jobs/rnd.dm
+++ b/code/modules/clothing/under/jobs/rnd.dm
@@ -1,12 +1,12 @@
/obj/item/clothing/under/rank/rnd
icon = 'icons/obj/clothing/under/rnd.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/rnd.dmi'
+ worn_icon = 'icons/mob/clothing/under/rnd.dmi'
/obj/item/clothing/under/rank/rnd/research_director
desc = "It's a suit worn by those with the know-how to achieve the position of \"Research Director\". Its fabric provides minor protection from biological contaminants."
name = "research director's vest suit"
icon_state = "director"
- item_state = "lb_suit"
+ inhand_icon_state = "lb_suit"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 10, "bio" = 10, "rad" = 0, "fire" = 0, "acid" = 35)
can_adjust = FALSE
@@ -14,7 +14,7 @@
name = "research director's vest suitskirt"
desc = "It's a suitskirt worn by those with the know-how to achieve the position of \"Research Director\". Its fabric provides minor protection from biological contaminants."
icon_state = "director_skirt"
- item_state = "lb_suit"
+ inhand_icon_state = "lb_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -23,7 +23,7 @@
desc = "Maybe you'll engineer your own half-man, half-pig creature some day. Its fabric provides minor protection from biological contaminants."
name = "research director's tan suit"
icon_state = "rdwhimsy"
- item_state = "rdwhimsy"
+ inhand_icon_state = "rdwhimsy"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 10, "bio" = 10, "rad" = 0, "fire" = 0, "acid" = 0)
can_adjust = TRUE
alt_covers_chest = TRUE
@@ -32,7 +32,7 @@
name = "research director's tan suitskirt"
desc = "Maybe you'll engineer your own half-man, half-pig creature some day. Its fabric provides minor protection from biological contaminants."
icon_state = "rdwhimsy_skirt"
- item_state = "rdwhimsy"
+ inhand_icon_state = "rdwhimsy"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -41,7 +41,7 @@
desc = "A dark purple turtleneck and tan khakis, for a director with a superior sense of style."
name = "research director's turtleneck"
icon_state = "rdturtle"
- item_state = "p_suit"
+ inhand_icon_state = "p_suit"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 10, "bio" = 10, "rad" = 0, "fire" = 0, "acid" = 0)
can_adjust = TRUE
alt_covers_chest = TRUE
@@ -50,7 +50,7 @@
name = "research director's turtleneck skirt"
desc = "A dark purple turtleneck and tan khaki skirt, for a director with a superior sense of style."
icon_state = "rdturtle_skirt"
- item_state = "p_suit"
+ inhand_icon_state = "p_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -59,7 +59,7 @@
desc = "It's made of a special fiber that provides minor protection against explosives. It has markings that denote the wearer as a scientist."
name = "scientist's jumpsuit"
icon_state = "toxins"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
permeability_coefficient = 0.5
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 10, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 0)
@@ -67,7 +67,7 @@
name = "scientist's jumpskirt"
desc = "It's made of a special fiber that provides minor protection against explosives. It has markings that denote the wearer as a scientist."
icon_state = "toxinswhite_skirt"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -76,14 +76,14 @@
desc = "It's a slimming black with reinforced seams; great for industrial work."
name = "roboticist's jumpsuit"
icon_state = "robotics"
- item_state = "robotics"
+ inhand_icon_state = "robotics"
resistance_flags = NONE
/obj/item/clothing/under/rank/rnd/roboticist/skirt
name = "roboticist's jumpskirt"
desc = "It's a slimming black with reinforced seams; great for industrial work."
icon_state = "robotics_skirt"
- item_state = "robotics"
+ inhand_icon_state = "robotics"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -92,7 +92,7 @@
desc = "It's made of a special fiber that gives special protection against biohazards. It has a genetics rank stripe on it."
name = "geneticist's jumpsuit"
icon_state = "genetics"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
permeability_coefficient = 0.5
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 10, "rad" = 0, "fire" = 0, "acid" = 0)
@@ -100,7 +100,7 @@
name = "geneticist's jumpskirt"
desc = "It's made of a special fiber that gives special protection against biohazards. It has a genetics rank stripe on it."
icon_state = "geneticswhite_skirt"
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
diff --git a/code/modules/clothing/under/jobs/security.dm b/code/modules/clothing/under/jobs/security.dm
index b66de7aa4b3..864d68c667a 100644
--- a/code/modules/clothing/under/jobs/security.dm
+++ b/code/modules/clothing/under/jobs/security.dm
@@ -11,13 +11,13 @@
/obj/item/clothing/under/rank/security
icon = 'icons/obj/clothing/under/security.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/security.dmi'
+ worn_icon = 'icons/mob/clothing/under/security.dmi'
/obj/item/clothing/under/rank/security/officer
name = "security jumpsuit"
desc = "A tactical security jumpsuit for officers complete with Nanotrasen belt buckle."
icon_state = "rsecurity"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
armor = list("melee" = 10, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 30, "acid" = 30)
strip_delay = 50
alt_covers_chest = TRUE
@@ -28,13 +28,13 @@
name = "grey security jumpsuit"
desc = "A tactical relic of years past before Nanotrasen decided it was cheaper to dye the suits red instead of washing out the blood."
icon_state = "security"
- item_state = "gy_suit"
+ inhand_icon_state = "gy_suit"
/obj/item/clothing/under/rank/security/officer/skirt
name = "security jumpskirt"
desc = "A \"tactical\" security jumpsuit with the legs replaced by a skirt."
icon_state = "secskirt"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE //you know now that i think of it if you adjust the skirt and the sprite disappears isn't that just like flashing everyone
fitted = FEMALE_UNIFORM_TOP
@@ -43,21 +43,21 @@
name = "blue shirt and tie"
desc = "I'm a little busy right now, Calhoun."
icon_state = "blueshift"
- item_state = "blueshift"
+ inhand_icon_state = "blueshift"
can_adjust = FALSE
/obj/item/clothing/under/rank/security/officer/formal
name = "security officer's formal uniform"
desc = "The latest in fashionable security outfits."
icon_state = "officerblueclothes"
- item_state = "officerblueclothes"
+ inhand_icon_state = "officerblueclothes"
alt_covers_chest = TRUE
/obj/item/clothing/under/rank/security/constable
name = "constable outfit"
desc = "A british looking outfit."
icon_state = "constable"
- item_state = "constable"
+ inhand_icon_state = "constable"
can_adjust = FALSE
custom_price = 200
@@ -65,7 +65,7 @@
name = "security suit"
desc = "A formal security suit for officers complete with Nanotrasen belt buckle."
icon_state = "rwarden"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
armor = list("melee" = 10, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 30, "acid" = 30)
strip_delay = 50
alt_covers_chest = TRUE
@@ -76,13 +76,13 @@
name = "grey security suit"
desc = "A formal relic of years past before Nanotrasen decided it was cheaper to dye the suits red instead of washing out the blood."
icon_state = "warden"
- item_state = "gy_suit"
+ inhand_icon_state = "gy_suit"
/obj/item/clothing/under/rank/security/warden/skirt
name = "warden's suitskirt"
desc = "A formal security suitskirt for officers complete with Nanotrasen belt buckle."
icon_state = "rwarden_skirt"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -91,7 +91,7 @@
desc = "The insignia on this uniform tells you that this uniform belongs to the Warden."
name = "warden's formal uniform"
icon_state = "wardenblueclothes"
- item_state = "wardenblueclothes"
+ inhand_icon_state = "wardenblueclothes"
alt_covers_chest = TRUE
/*
@@ -101,7 +101,7 @@
name = "hard-worn suit"
desc = "Someone who wears this means business."
icon_state = "detective"
- item_state = "det"
+ inhand_icon_state = "det"
armor = list("melee" = 10, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 30, "acid" = 30)
strip_delay = 50
alt_covers_chest = TRUE
@@ -112,7 +112,7 @@
name = "detective's suitskirt"
desc = "Someone who wears this means business."
icon_state = "detective_skirt"
- item_state = "det"
+ inhand_icon_state = "det"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -121,14 +121,14 @@
name = "noir suit"
desc = "A hard-boiled private investigator's grey suit, complete with tie clip."
icon_state = "greydet"
- item_state = "greydet"
+ inhand_icon_state = "greydet"
alt_covers_chest = TRUE
/obj/item/clothing/under/rank/security/detective/grey/skirt
name = "noir suitskirt"
desc = "A hard-boiled private investigator's grey suitskirt, complete with tie clip."
icon_state = "greydet_skirt"
- item_state = "greydet"
+ inhand_icon_state = "greydet"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -140,7 +140,7 @@
name = "head of security's jumpsuit"
desc = "A security jumpsuit decorated for those few with the dedication to achieve the position of Head of Security."
icon_state = "rhos"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
armor = list("melee" = 10, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
strip_delay = 60
alt_covers_chest = TRUE
@@ -151,7 +151,7 @@
name = "head of security's jumpskirt"
desc = "A security jumpskirt decorated for those few with the dedication to achieve the position of Head of Security."
icon_state = "rhos_skirt"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -160,19 +160,19 @@
name = "head of security's grey jumpsuit"
desc = "There are old men, and there are bold men, but there are very few old, bold men."
icon_state = "hos"
- item_state = "gy_suit"
+ inhand_icon_state = "gy_suit"
/obj/item/clothing/under/rank/security/head_of_security/alt
name = "head of security's turtleneck"
desc = "A stylish alternative to the normal head of security jumpsuit, complete with tactical pants."
icon_state = "hosalt"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
/obj/item/clothing/under/rank/security/head_of_security/alt/skirt
name = "head of security's turtleneck skirt"
desc = "A stylish alternative to the normal head of security jumpsuit, complete with a tactical skirt."
icon_state = "hosalt_skirt"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -181,14 +181,14 @@
name = "head of security's parade uniform"
desc = "A male head of security's luxury-wear, for special occasions."
icon_state = "hos_parade_male"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
can_adjust = FALSE
/obj/item/clothing/under/rank/security/head_of_security/parade/female
name = "head of security's parade uniform"
desc = "A female head of security's luxury-wear, for special occasions."
icon_state = "hos_parade_fem"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -196,7 +196,7 @@
desc = "The insignia on this uniform tells you that this uniform belongs to the Head of Security."
name = "head of security's formal uniform"
icon_state = "hosblueclothes"
- item_state = "hosblueclothes"
+ inhand_icon_state = "hosblueclothes"
alt_covers_chest = TRUE
/*
@@ -207,7 +207,7 @@
name = "police uniform"
desc = "Space not controlled by megacorporations, planets, or pirates is under the jurisdiction of Spacepol."
icon_state = "spacepol"
- item_state = "spacepol"
+ inhand_icon_state = "spacepol"
can_adjust = FALSE
/obj/item/clothing/under/rank/prisoner
@@ -215,8 +215,8 @@
desc = "It's standardised Nanotrasen prisoner-wear. Its suit sensors are stuck in the \"Fully On\" position."
icon = 'icons/obj/clothing/under/security.dmi'
icon_state = "prisoner"
- item_state = "o_suit"
- mob_overlay_icon = 'icons/mob/clothing/under/security.dmi'
+ inhand_icon_state = "o_suit"
+ worn_icon = 'icons/mob/clothing/under/security.dmi'
has_sensor = LOCKED_SENSORS
sensor_mode = SENSOR_COORDS
random_sensor = FALSE
@@ -225,7 +225,7 @@
name = "prison jumpskirt"
desc = "It's standardised Nanotrasen prisoner-wear. Its suit sensors are stuck in the \"Fully On\" position."
icon_state = "prisoner_skirt"
- item_state = "o_suit"
+ inhand_icon_state = "o_suit"
body_parts_covered = CHEST|GROIN|ARMS
can_adjust = FALSE
fitted = FEMALE_UNIFORM_TOP
@@ -234,5 +234,5 @@
name = "space police uniform"
desc = "A police uniform often found in the lines at donut shops."
icon_state = "spacepolice_families"
- item_state = "spacepolice_families"
+ inhand_icon_state = "spacepolice_families"
can_adjust = FALSE
diff --git a/code/modules/clothing/under/miscellaneous.dm b/code/modules/clothing/under/miscellaneous.dm
index f0fb36e26cb..81130063f9e 100644
--- a/code/modules/clothing/under/miscellaneous.dm
+++ b/code/modules/clothing/under/miscellaneous.dm
@@ -1,12 +1,12 @@
/obj/item/clothing/under/misc
icon = 'icons/obj/clothing/under/misc.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/misc.dmi'
+ worn_icon = 'icons/mob/clothing/under/misc.dmi'
/obj/item/clothing/under/misc/pj
name = "\improper PJs"
desc = "A comfy set of sleepwear, for taking naps or being lazy instead of working."
can_adjust = FALSE
- item_state = "w_suit"
+ inhand_icon_state = "w_suit"
/obj/item/clothing/under/misc/pj/red
icon_state = "red_pyjamas"
@@ -18,34 +18,34 @@
name = "Patriotic Suit"
desc = "Motorcycle not included."
icon_state = "ek"
- item_state = "ek"
+ inhand_icon_state = "ek"
can_adjust = FALSE
/obj/item/clothing/under/misc/mailman
name = "mailman's jumpsuit"
desc = "'Special delivery!'"
icon_state = "mailman"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
/obj/item/clothing/under/misc/psyche
name = "psychedelic jumpsuit"
desc = "Groovy!"
icon_state = "psyche"
- item_state = "p_suit"
+ inhand_icon_state = "p_suit"
/obj/item/clothing/under/misc/vice_officer
name = "vice officer's jumpsuit"
desc = "It's the standard issue pretty-boy outfit, as seen on Holo-Vision."
icon_state = "vice"
- item_state = "gy_suit"
+ inhand_icon_state = "gy_suit"
can_adjust = FALSE
/obj/item/clothing/under/misc/adminsuit
name = "administrative cybernetic jumpsuit"
icon = 'icons/obj/clothing/under/syndicate.dmi'
icon_state = "syndicate"
- item_state = "bl_suit"
- mob_overlay_icon = 'icons/mob/clothing/under/syndicate.dmi'
+ inhand_icon_state = "bl_suit"
+ worn_icon = 'icons/mob/clothing/under/syndicate.dmi'
desc = "A cybernetically enhanced jumpsuit used for administrative duties."
gas_transfer_coefficient = 0.01
permeability_coefficient = 0.01
@@ -62,7 +62,7 @@
name = "burial garments"
desc = "Traditional burial garments from the early 22nd century."
icon_state = "burial"
- item_state = "burial"
+ inhand_icon_state = "burial"
can_adjust = FALSE
has_sensor = NO_SENSORS
@@ -70,7 +70,7 @@
name = "laborer's overalls"
desc = "A set of durable overalls for getting the job done."
icon_state = "overalls"
- item_state = "lb_suit"
+ inhand_icon_state = "lb_suit"
can_adjust = FALSE
custom_price = 60
@@ -78,16 +78,16 @@
name = "assistant's formal uniform"
desc = "An assistant's formal-wear. Why an assistant needs formal-wear is still unknown."
icon_state = "assistant_formal"
- item_state = "gy_suit"
+ inhand_icon_state = "gy_suit"
can_adjust = FALSE
/obj/item/clothing/under/plasmaman
name = "plasma envirosuit"
desc = "A special containment suit that allows plasma-based lifeforms to exist safely in an oxygenated environment, and automatically extinguishes them in a crisis. Despite being airtight, it's not spaceworthy."
icon_state = "plasmaman"
- item_state = "plasmaman"
+ inhand_icon_state = "plasmaman"
icon = 'icons/obj/clothing/under/plasmaman.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/plasmaman.dmi'
+ worn_icon = 'icons/mob/clothing/under/plasmaman.dmi'
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 0, "fire" = 95, "acid" = 95)
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
can_adjust = FALSE
@@ -136,7 +136,7 @@
name = "durathread jumpsuit"
desc = "A jumpsuit made from durathread, its resilient fibres provide some protection to the wearer."
icon_state = "durathread"
- item_state = "durathread"
+ inhand_icon_state = "durathread"
can_adjust = FALSE
armor = list("melee" = 10, "laser" = 10, "fire" = 40, "acid" = 10, "bomb" = 5)
@@ -144,7 +144,7 @@
name = "bouncer uniform"
desc = "A uniform made from a little bit more resistant fibers, makes you seem like a cool guy."
icon_state = "bouncer"
- item_state = "bouncer"
+ inhand_icon_state = "bouncer"
can_adjust = FALSE
armor = list("melee" = 5, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 30, "acid" = 30)
@@ -152,7 +152,7 @@
name = "coordinator jumpsuit"
desc = "A jumpsuit made by party people, from party people, for party people."
icon = 'icons/obj/clothing/under/captain.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/captain.dmi'
+ worn_icon = 'icons/mob/clothing/under/captain.dmi'
icon_state = "captain_parade"
- item_state = "by_suit"
+ inhand_icon_state = "by_suit"
can_adjust = FALSE
diff --git a/code/modules/clothing/under/pants.dm b/code/modules/clothing/under/pants.dm
index a05d96f998c..28aa362f85c 100644
--- a/code/modules/clothing/under/pants.dm
+++ b/code/modules/clothing/under/pants.dm
@@ -5,7 +5,7 @@
can_adjust = FALSE
custom_price = 60
icon = 'icons/obj/clothing/under/shorts_pants.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/shorts_pants.dmi'
+ worn_icon = 'icons/mob/clothing/under/shorts_pants.dmi'
/obj/item/clothing/under/pants/classicjeans
name = "classic jeans"
diff --git a/code/modules/clothing/under/shorts.dm b/code/modules/clothing/under/shorts.dm
index 1d1ad2836f3..62e08a5c45b 100644
--- a/code/modules/clothing/under/shorts.dm
+++ b/code/modules/clothing/under/shorts.dm
@@ -7,7 +7,7 @@
mutantrace_variation = MUTANTRACE_VARIATION
can_adjust = FALSE
icon = 'icons/obj/clothing/under/shorts_pants.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/shorts_pants.dmi'
+ worn_icon = 'icons/mob/clothing/under/shorts_pants.dmi'
/obj/item/clothing/under/shorts/red
name = "red athletic shorts"
diff --git a/code/modules/clothing/under/skirt_dress.dm b/code/modules/clothing/under/skirt_dress.dm
index 0968ea5cc2f..0977cd1d01d 100644
--- a/code/modules/clothing/under/skirt_dress.dm
+++ b/code/modules/clothing/under/skirt_dress.dm
@@ -3,38 +3,38 @@
can_adjust = FALSE
body_parts_covered = CHEST|GROIN
icon = 'icons/obj/clothing/under/dress.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/dress.dmi'
+ worn_icon = 'icons/mob/clothing/under/dress.dmi'
/obj/item/clothing/under/dress/sundress
name = "sundress"
desc = "Makes you want to frolic in a field of daisies."
icon_state = "sundress"
- item_state = "sundress"
+ inhand_icon_state = "sundress"
/obj/item/clothing/under/dress/blacktango
name = "black tango dress"
desc = "Filled with Latin fire."
icon_state = "black_tango"
- item_state = "wcoat"
+ inhand_icon_state = "wcoat"
/obj/item/clothing/under/dress/striped
name = "striped dress"
desc = "Fashion in space."
icon_state = "striped_dress"
- item_state = "striped_dress"
+ inhand_icon_state = "striped_dress"
fitted = FEMALE_UNIFORM_FULL
/obj/item/clothing/under/dress/sailor
name = "sailor dress"
desc = "Formal wear for a leading lady."
icon_state = "sailor_dress"
- item_state = "sailor_dress"
+ inhand_icon_state = "sailor_dress"
/obj/item/clothing/under/dress/redeveninggown
name = "red evening gown"
desc = "Fancy dress for space bar singers."
icon_state = "red_evening_gown"
- item_state = "red_evening_gown"
+ inhand_icon_state = "red_evening_gown"
/obj/item/clothing/under/dress/skirt
name = "black skirt"
@@ -45,28 +45,28 @@
name = "blue skirt"
desc = "A blue, casual skirt."
icon_state = "blueskirt"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
custom_price = 60
/obj/item/clothing/under/dress/skirt/red
name = "red skirt"
desc = "A red, casual skirt."
icon_state = "redskirt"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
custom_price = 60
/obj/item/clothing/under/dress/skirt/purple
name = "purple skirt"
desc = "A purple, casual skirt."
icon_state = "purpleskirt"
- item_state = "p_suit"
+ inhand_icon_state = "p_suit"
custom_price = 60
/obj/item/clothing/under/dress/skirt/plaid
name = "red plaid skirt"
desc = "A preppy red skirt with a white blouse."
icon_state = "plaid_red"
- item_state = "plaid_red"
+ inhand_icon_state = "plaid_red"
can_adjust = TRUE
alt_covers_chest = TRUE
custom_price = 60
@@ -75,16 +75,16 @@
name = "blue plaid skirt"
desc = "A preppy blue skirt with a white blouse."
icon_state = "plaid_blue"
- item_state = "plaid_blue"
+ inhand_icon_state = "plaid_blue"
/obj/item/clothing/under/dress/skirt/plaid/purple
name = "purple plaid skirt"
desc = "A preppy purple skirt with a white blouse."
icon_state = "plaid_purple"
- item_state = "plaid_purple"
+ inhand_icon_state = "plaid_purple"
/obj/item/clothing/under/dress/skirt/plaid/green
name = "green plaid skirt"
desc = "A preppy green skirt with a white blouse."
icon_state = "plaid_green"
- item_state = "plaid_green"
+ inhand_icon_state = "plaid_green"
diff --git a/code/modules/clothing/under/suits.dm b/code/modules/clothing/under/suits.dm
index f6e692ae75f..45f7bb30c6c 100644
--- a/code/modules/clothing/under/suits.dm
+++ b/code/modules/clothing/under/suits.dm
@@ -1,19 +1,19 @@
/obj/item/clothing/under/suit
icon = 'icons/obj/clothing/under/suits.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/suits.dmi'
+ worn_icon = 'icons/mob/clothing/under/suits.dmi'
can_adjust = FALSE
/obj/item/clothing/under/suit/white_on_white
name = "white suit"
desc = "A white suit, suitable for an excellent host."
icon_state = "scratch"
- item_state = "scratch"
+ inhand_icon_state = "scratch"
/obj/item/clothing/under/suit/white/skirt
name = "white suitskirt"
desc = "A white suitskirt, suitable for an excellent host."
icon_state = "white_suit_skirt"
- item_state = "scratch"
+ inhand_icon_state = "scratch"
body_parts_covered = CHEST|GROIN|ARMS
fitted = FEMALE_UNIFORM_TOP
@@ -26,26 +26,26 @@
name = "waiter's outfit"
desc = "It's a very smart uniform with a special pocket for tip."
icon_state = "waiter"
- item_state = "waiter"
+ inhand_icon_state = "waiter"
/obj/item/clothing/under/suit/blacktwopiece
name = "black two piece suit"
desc = "A black suit and red tie. Very formal."
icon_state = "black_suit"
- item_state = "black_suit"
+ inhand_icon_state = "black_suit"
/obj/item/clothing/under/suit/black
name = "black suit"
desc = "A professional looking black suit. Ready for some serious law."
icon_state = "blacksuit"
- item_state = "blacksuit"
+ inhand_icon_state = "blacksuit"
can_adjust = TRUE
/obj/item/clothing/under/suit/black/skirt
name = "black suitskirt"
desc = "A professional black suitskirt. Nanotrasen Investigation Bureau approved!"
icon_state = "blacksuit_skirt"
- item_state = "bar_suit"
+ inhand_icon_state = "bar_suit"
alt_covers_chest = TRUE
fitted = FEMALE_UNIFORM_TOP
@@ -53,13 +53,13 @@
name = "executive suit"
desc = "A formal black suit and red tie, intended for the station's finest."
icon_state = "really_black_suit"
- item_state = "really_black_suit"
+ inhand_icon_state = "really_black_suit"
/obj/item/clothing/under/suit/black_really/skirt
name = "executive suitskirt"
desc = "A formal black suitskirt and red tie, intended for the station's finest."
icon_state = "really_black_suit_skirt"
- item_state = "really_black_suit_skirt"
+ inhand_icon_state = "really_black_suit_skirt"
body_parts_covered = CHEST|GROIN|ARMS
fitted = FEMALE_UNIFORM_TOP
@@ -67,69 +67,69 @@
name = "executive suit"
desc = "A formal trouser suit for women, intended for the station's finest."
icon_state = "black_suit_fem"
- item_state = "black_suit_fem"
+ inhand_icon_state = "black_suit_fem"
/obj/item/clothing/under/suit/green
name = "green suit"
desc = "A green suit and yellow necktie. Baller."
icon = 'icons/obj/clothing/under/captain.dmi'
icon_state = "green_suit"
- item_state = "dg_suit"
- mob_overlay_icon = 'icons/mob/clothing/under/captain.dmi'
+ inhand_icon_state = "dg_suit"
+ worn_icon = 'icons/mob/clothing/under/captain.dmi'
/obj/item/clothing/under/suit/red
name = "red suit"
desc = "A red suit and blue tie. Somewhat formal."
icon_state = "red_suit"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
/obj/item/clothing/under/suit/charcoal
name = "charcoal suit"
desc = "A charcoal suit and red tie. Very professional."
icon_state = "charcoal_suit"
- item_state = "charcoal_suit"
+ inhand_icon_state = "charcoal_suit"
/obj/item/clothing/under/suit/navy
name = "navy suit"
desc = "A navy suit and red tie, intended for the station's finest."
icon_state = "navy_suit"
- item_state = "navy_suit"
+ inhand_icon_state = "navy_suit"
/obj/item/clothing/under/suit/burgundy
name = "burgundy suit"
desc = "A burgundy suit and black tie. Somewhat formal."
icon_state = "burgundy_suit"
- item_state = "burgundy_suit"
+ inhand_icon_state = "burgundy_suit"
/obj/item/clothing/under/suit/checkered
name = "checkered suit"
desc = "That's a very nice suit you have there. Shame if something were to happen to it, eh?"
icon_state = "checkered_suit"
- item_state = "checkered_suit"
+ inhand_icon_state = "checkered_suit"
/obj/item/clothing/under/suit/tan
name = "tan suit"
desc = "A tan suit with a yellow tie. Smart, but casual."
icon_state = "tan_suit"
- item_state = "tan_suit"
+ inhand_icon_state = "tan_suit"
/obj/item/clothing/under/suit/white
name = "white suit"
desc = "A white suit and jacket with a blue shirt. You wanna play rough? OKAY!"
icon_state = "white_suit"
- item_state = "white_suit"
+ inhand_icon_state = "white_suit"
/obj/item/clothing/under/suit/beige
name = "beige suit"
desc = "An excellent light colored suit, experts in the field stress that it should not to be confused with the inferior tan suit."
icon_state = "beige_suit"
- item_state = "beige_suit"
+ inhand_icon_state = "beige_suit"
/obj/item/clothing/under/suit/henchmen
name = "henchmen jumpsuit"
desc = "A very gaudy jumpsuit for a proper Henchman. Guild regulations, you understand."
icon = 'icons/obj/clothing/under/syndicate.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/syndicate.dmi'
+ worn_icon = 'icons/mob/clothing/under/syndicate.dmi'
icon_state = "henchmen"
- item_state = "henchmen"
+ inhand_icon_state = "henchmen"
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS|HEAD
flags_inv = HIDEGLOVES|HIDESHOES|HIDEEARS|HIDEEYES|HIDEHAIR
diff --git a/code/modules/clothing/under/syndicate.dm b/code/modules/clothing/under/syndicate.dm
index a2ab06a161c..54df91ee745 100644
--- a/code/modules/clothing/under/syndicate.dm
+++ b/code/modules/clothing/under/syndicate.dm
@@ -2,18 +2,18 @@
name = "tactical turtleneck"
desc = "A non-descript and slightly suspicious looking turtleneck with digital camouflage cargo pants."
icon_state = "syndicate"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
has_sensor = NO_SENSORS
armor = list("melee" = 10, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 40)
alt_covers_chest = TRUE
icon = 'icons/obj/clothing/under/syndicate.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/syndicate.dmi'
+ worn_icon = 'icons/mob/clothing/under/syndicate.dmi'
/obj/item/clothing/under/syndicate/skirt
name = "tactical skirtleneck"
desc = "A non-descript and slightly suspicious looking skirtleneck."
icon_state = "syndicate_skirt"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
has_sensor = NO_SENSORS
armor = list("melee" = 10, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 40)
alt_covers_chest = TRUE
@@ -24,7 +24,7 @@
name = "blood-red sneaksuit"
desc = "It still counts as stealth if there are no witnesses."
icon_state = "bloodred_pajamas"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
armor = list("melee" = 10, "bullet" = 10, "laser" = 10,"energy" = 10, "bomb" = 0, "bio" = 0, "rad" = 10, "fire" = 50, "acid" = 40)
resistance_flags = FIRE_PROOF | ACID_PROOF
can_adjust = FALSE
@@ -33,21 +33,21 @@
name = "blood-red pajamas"
desc = "Do operatives dream of nuclear sheep?"
icon_state = "bloodred_pajamas"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 40)
-
+
/obj/item/clothing/under/syndicate/tacticool
name = "tacticool turtleneck"
desc = "Just looking at it makes you want to buy an SKS, go into the woods, and -operate-."
icon_state = "tactifool"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 40)
/obj/item/clothing/under/syndicate/tacticool/skirt
name = "tacticool skirtleneck"
desc = "Just looking at it makes you want to buy an SKS, go into the woods, and -operate-."
icon_state = "tactifool_skirt"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
armor = list("melee" = 0, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 40)
fitted = FEMALE_UNIFORM_TOP
can_adjust = FALSE
@@ -57,15 +57,15 @@
desc = "A double seamed tactical turtleneck disguised as a civilian grade silk suit. Intended for the most formal operator. The collar is really sharp."
icon = 'icons/obj/clothing/under/suits.dmi'
icon_state = "really_black_suit"
- item_state = "bl_suit"
- mob_overlay_icon = 'icons/mob/clothing/under/suits.dmi'
+ inhand_icon_state = "bl_suit"
+ worn_icon = 'icons/mob/clothing/under/suits.dmi'
can_adjust = FALSE
/obj/item/clothing/under/syndicate/camo
name = "camouflage fatigues"
desc = "A green military camouflage uniform."
icon_state = "camogreen"
- item_state = "g_suit"
+ inhand_icon_state = "g_suit"
can_adjust = FALSE
/obj/item/clothing/under/syndicate/soviet
diff --git a/code/modules/clothing/under/trek.dm b/code/modules/clothing/under/trek.dm
index 202a135bc13..bcb24abfe21 100644
--- a/code/modules/clothing/under/trek.dm
+++ b/code/modules/clothing/under/trek.dm
@@ -4,7 +4,7 @@
/obj/item/clothing/under/trek
can_adjust = FALSE
icon = 'icons/obj/clothing/under/trek.dmi'
- mob_overlay_icon = 'icons/mob/clothing/under/trek.dmi'
+ worn_icon = 'icons/mob/clothing/under/trek.dmi'
//TOS
@@ -12,13 +12,13 @@
name = "command uniform"
desc = "The uniform worn by command officers."
icon_state = "trek_command"
- item_state = "y_suit"
+ inhand_icon_state = "y_suit"
/obj/item/clothing/under/trek/engsec
name = "engsec uniform"
desc = "The uniform worn by engineering/security officers."
icon_state = "trek_engsec"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
armor = list("melee" = 10, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 0) //more sec than eng, but w/e.
strip_delay = 50
@@ -26,17 +26,17 @@
name = "medsci uniform"
desc = "The uniform worn by medical/science officers."
icon_state = "trek_medsci"
- item_state = "b_suit"
+ inhand_icon_state = "b_suit"
//TNG
/obj/item/clothing/under/trek/command/next
icon_state = "trek_next_command"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
/obj/item/clothing/under/trek/engsec/next
icon_state = "trek_next_engsec"
- item_state = "y_suit"
+ inhand_icon_state = "y_suit"
/obj/item/clothing/under/trek/medsci/next
icon_state = "trek_next_medsci"
@@ -45,15 +45,15 @@
//ENT
/obj/item/clothing/under/trek/command/ent
icon_state = "trek_ent_command"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
/obj/item/clothing/under/trek/engsec/ent
icon_state = "trek_ent_engsec"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
/obj/item/clothing/under/trek/medsci/ent
icon_state = "trek_ent_medsci"
- item_state = "bl_suit"
+ inhand_icon_state = "bl_suit"
//Q
@@ -61,4 +61,4 @@
name = "french marshall's uniform"
desc = "Something about it feels off..."
icon_state = "trek_Q"
- item_state = "r_suit"
+ inhand_icon_state = "r_suit"
diff --git a/code/modules/detectivework/evidence.dm b/code/modules/detectivework/evidence.dm
index 32452f477fc..b0689e3407f 100644
--- a/code/modules/detectivework/evidence.dm
+++ b/code/modules/detectivework/evidence.dm
@@ -5,7 +5,7 @@
desc = "An empty evidence bag."
icon = 'icons/obj/storage.dmi'
icon_state = "evidenceobj"
- item_state = ""
+ inhand_icon_state = ""
w_class = WEIGHT_CLASS_TINY
/obj/item/evidencebag/afterattack(obj/item/I, mob/user,proximity)
diff --git a/code/modules/detectivework/scanner.dm b/code/modules/detectivework/scanner.dm
index 14047cbd9cc..44771f47aa9 100644
--- a/code/modules/detectivework/scanner.dm
+++ b/code/modules/detectivework/scanner.dm
@@ -8,7 +8,7 @@
icon = 'icons/obj/device.dmi'
icon_state = "forensicnew"
w_class = WEIGHT_CLASS_SMALL
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
flags_1 = CONDUCT_1
diff --git a/code/modules/food_and_drinks/drinks/drinks.dm b/code/modules/food_and_drinks/drinks/drinks.dm
index 4ea8a8d0534..6a27297ea29 100644
--- a/code/modules/food_and_drinks/drinks/drinks.dm
+++ b/code/modules/food_and_drinks/drinks/drinks.dm
@@ -222,7 +222,7 @@
name = "mug"
desc = "A drink served in a classy mug."
icon_state = "tea"
- item_state = "coffee"
+ inhand_icon_state = "coffee"
spillable = TRUE
/obj/item/reagent_containers/food/drinks/mug/on_reagent_change(changetype)
@@ -259,7 +259,7 @@
desc = "A bottle of water filled at an old Earth bottling facility."
icon = 'icons/obj/drinks.dmi'
icon_state = "smallbottle"
- item_state = "bottle"
+ inhand_icon_state = "bottle"
list_reagents = list(/datum/reagent/water = 49.5, /datum/reagent/fluorine = 0.5)//see desc, don't think about it too hard
custom_materials = list(/datum/material/plastic=1000)
volume = 50
@@ -415,7 +415,7 @@
name = "Magm-Ale"
desc = "A true dorf's drink of choice."
icon_state = "alebottle"
- item_state = "beer"
+ inhand_icon_state = "beer"
list_reagents = list(/datum/reagent/consumable/ethanol/ale = 30)
foodtype = GRAIN | ALCOHOL
custom_price = 60
@@ -509,7 +509,7 @@
icon_state = "colocup"
lefthand_file = 'icons/mob/inhands/misc/food_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/food_righthand.dmi'
- item_state = "colocup"
+ inhand_icon_state = "colocup"
custom_materials = list(/datum/material/plastic = 1000)
possible_transfer_amounts = list(5, 10, 15, 20)
volume = 20
@@ -776,7 +776,7 @@
name = "Monkey Energy"
desc = "Unleash the ape!"
icon_state = "monkey_energy"
- item_state = "monkey_energy"
+ inhand_icon_state = "monkey_energy"
list_reagents = list(/datum/reagent/consumable/monkey_energy = 50)
foodtype = SUGAR | JUNKFOOD
diff --git a/code/modules/food_and_drinks/drinks/drinks/bottle.dm b/code/modules/food_and_drinks/drinks/drinks/bottle.dm
index 55a7874646a..8e01f69763d 100644
--- a/code/modules/food_and_drinks/drinks/drinks/bottle.dm
+++ b/code/modules/food_and_drinks/drinks/drinks/bottle.dm
@@ -14,7 +14,7 @@
volume = 100
force = 15 //Smashing bottles over someone's head hurts.
throwforce = 15
- item_state = "broken_beer" //Generic held-item sprite until unique ones are made.
+ inhand_icon_state = "broken_beer" //Generic held-item sprite until unique ones are made.
lefthand_file = 'icons/mob/inhands/misc/food_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/food_righthand.dmi'
var/const/duration = 13 //Directly relates to the 'knockdown' duration. Lowered by armor (i.e. helmets)
@@ -142,7 +142,7 @@
throw_speed = 3
throw_range = 5
w_class = WEIGHT_CLASS_TINY
- item_state = "beer"
+ inhand_icon_state = "beer"
hitsound = 'sound/weapons/bladeslice.ogg'
attack_verb = list("stabbed", "slashed", "attacked")
sharpness = IS_SHARP
@@ -358,7 +358,7 @@
desc = "Full of vitamins and deliciousness!"
custom_price = 100
icon_state = "orangejuice"
- item_state = "carton"
+ inhand_icon_state = "carton"
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
isGlass = FALSE
@@ -371,7 +371,7 @@
desc = "It's cream. Made from milk. What else did you think you'd find in there?"
custom_price = 100
icon_state = "cream"
- item_state = "carton"
+ inhand_icon_state = "carton"
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
isGlass = FALSE
@@ -384,7 +384,7 @@
desc = "Well, at least it LOOKS like tomato juice. You can't tell with all that redness."
custom_price = 100
icon_state = "tomatojuice"
- item_state = "carton"
+ inhand_icon_state = "carton"
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
isGlass = FALSE
@@ -397,7 +397,7 @@
desc = "Sweet-sour goodness."
custom_price = 100
icon_state = "limejuice"
- item_state = "carton"
+ inhand_icon_state = "carton"
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
isGlass = FALSE
@@ -410,7 +410,7 @@
desc = "Extremely tart, yellow juice."
custom_price = 100
icon_state = "pineapplejuice"
- item_state = "carton"
+ inhand_icon_state = "carton"
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
isGlass = FALSE
@@ -423,7 +423,7 @@
desc = "Tastes naturally minty, and imparts a very mild numbing sensation."
custom_price = 100
icon_state = "mentholbox"
- item_state = "carton"
+ inhand_icon_state = "carton"
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
isGlass = FALSE
diff --git a/code/modules/food_and_drinks/food/condiment.dm b/code/modules/food_and_drinks/food/condiment.dm
index 749fc31f5fc..a94a7ad54ee 100644
--- a/code/modules/food_and_drinks/food/condiment.dm
+++ b/code/modules/food_and_drinks/food/condiment.dm
@@ -16,21 +16,21 @@
volume = 50
//Possible_states has the reagent type as key and a list of, in order, the icon_state, the name and the desc as values. Used in the on_reagent_change(changetype) to change names, descs and sprites.
var/list/possible_states = list(
- /datum/reagent/consumable/enzyme = list("icon_state" = "enzyme", "item_state" = "", "icon_empty" = "", "name" = "universal enzyme bottle", "desc" = "Used in cooking various dishes."),
- /datum/reagent/consumable/flour = list("icon_state" = "flour", "item_state" = "flour", "icon_empty" = "", "name" = "flour sack", "desc" = "A big bag of flour. Good for baking!"),
- /datum/reagent/consumable/mayonnaise = list("icon_state" = "mayonnaise", "item_state" = "", "icon_empty" = "", "name" = "mayonnaise jar", "desc" = "An oily condiment made from egg yolks."),
- /datum/reagent/consumable/milk = list("icon_state" = "milk", "carton", "item_state" = "", "icon_empty" = "", "name" = "space milk", "desc" = "It's milk. White and nutritious goodness!"),
- /datum/reagent/consumable/blackpepper = list("icon_state" = "peppermillsmall", "item_state" = "", "icon_empty" = "emptyshaker", "name" = "pepper mill", "desc" = "Often used to flavor food or make people sneeze."),
- /datum/reagent/consumable/rice = list("icon_state" = "rice", "item_state" = "flour", "icon_empty" = "", "name" = "rice sack", "desc" = "A big bag of rice. Good for cooking!"),
- /datum/reagent/consumable/sodiumchloride = list("icon_state" = "saltshakersmall", "item_state" = "", "icon_empty" = "emptyshaker", "name" = "salt shaker", "desc" = "Salt. From dead crew, presumably."),
- /datum/reagent/consumable/soymilk = list("icon_state" = "soymilk", "item_state" = "carton", "icon_empty" = "", "name" = "soy milk", "desc" = "It's soy milk. White and nutritious goodness!"),
- /datum/reagent/consumable/soysauce = list("icon_state" = "soysauce", "item_state" = "", "icon_empty" = "", "name" = "soy sauce bottle", "desc" = "A salty soy-based flavoring."),
- /datum/reagent/consumable/sugar = list("icon_state" = "sugar", "item_state" = "flour", "icon_empty" = "", "name" = "sugar sack", "desc" = "Tasty spacey sugar!"),
- /datum/reagent/consumable/ketchup = list("icon_state" = "ketchup", "item_state" = "", "icon_empty" = "", "name" = "ketchup bottle", "desc" = "You feel more American already."),
- /datum/reagent/consumable/capsaicin = list("icon_state" = "hotsauce", "item_state" = "", "icon_empty" = "", "name" = "hotsauce bottle", "desc" = "You can almost TASTE the stomach ulcers!"),
- /datum/reagent/consumable/frostoil = list("icon_state" = "coldsauce", "item_state" = "", "icon_empty" = "", "name" = "coldsauce bottle", "desc" = "Leaves the tongue numb from its passage."),
- /datum/reagent/consumable/cornoil = list("icon_state" = "oliveoil", "item_state" = "", "icon_empty" = "", "name" = "corn oil bottle", "desc" = "A delicious oil used in cooking. Made from corn."),
- /datum/reagent/consumable/bbqsauce = list("icon_state" = "bbqsauce", "item_state" = "", "icon_empty" = "", "name" = "bbq sauce bottle", "desc" = "Hand wipes not included."),
+ /datum/reagent/consumable/enzyme = list("icon_state" = "enzyme", "inhand_icon_state" = "", "icon_empty" = "", "name" = "universal enzyme bottle", "desc" = "Used in cooking various dishes."),
+ /datum/reagent/consumable/flour = list("icon_state" = "flour", "inhand_icon_state" = "flour", "icon_empty" = "", "name" = "flour sack", "desc" = "A big bag of flour. Good for baking!"),
+ /datum/reagent/consumable/mayonnaise = list("icon_state" = "mayonnaise", "inhand_icon_state" = "", "icon_empty" = "", "name" = "mayonnaise jar", "desc" = "An oily condiment made from egg yolks."),
+ /datum/reagent/consumable/milk = list("icon_state" = "milk", "carton", "inhand_icon_state" = "", "icon_empty" = "", "name" = "space milk", "desc" = "It's milk. White and nutritious goodness!"),
+ /datum/reagent/consumable/blackpepper = list("icon_state" = "peppermillsmall", "inhand_icon_state" = "", "icon_empty" = "emptyshaker", "name" = "pepper mill", "desc" = "Often used to flavor food or make people sneeze."),
+ /datum/reagent/consumable/rice = list("icon_state" = "rice", "inhand_icon_state" = "flour", "icon_empty" = "", "name" = "rice sack", "desc" = "A big bag of rice. Good for cooking!"),
+ /datum/reagent/consumable/sodiumchloride = list("icon_state" = "saltshakersmall", "inhand_icon_state" = "", "icon_empty" = "emptyshaker", "name" = "salt shaker", "desc" = "Salt. From dead crew, presumably."),
+ /datum/reagent/consumable/soymilk = list("icon_state" = "soymilk", "inhand_icon_state" = "carton", "icon_empty" = "", "name" = "soy milk", "desc" = "It's soy milk. White and nutritious goodness!"),
+ /datum/reagent/consumable/soysauce = list("icon_state" = "soysauce", "inhand_icon_state" = "", "icon_empty" = "", "name" = "soy sauce bottle", "desc" = "A salty soy-based flavoring."),
+ /datum/reagent/consumable/sugar = list("icon_state" = "sugar", "inhand_icon_state" = "flour", "icon_empty" = "", "name" = "sugar sack", "desc" = "Tasty spacey sugar!"),
+ /datum/reagent/consumable/ketchup = list("icon_state" = "ketchup", "inhand_icon_state" = "", "icon_empty" = "", "name" = "ketchup bottle", "desc" = "You feel more American already."),
+ /datum/reagent/consumable/capsaicin = list("icon_state" = "hotsauce", "inhand_icon_state" = "", "icon_empty" = "", "name" = "hotsauce bottle", "desc" = "You can almost TASTE the stomach ulcers!"),
+ /datum/reagent/consumable/frostoil = list("icon_state" = "coldsauce", "inhand_icon_state" = "", "icon_empty" = "", "name" = "coldsauce bottle", "desc" = "Leaves the tongue numb from its passage."),
+ /datum/reagent/consumable/cornoil = list("icon_state" = "oliveoil", "inhand_icon_state" = "", "icon_empty" = "", "name" = "corn oil bottle", "desc" = "A delicious oil used in cooking. Made from corn."),
+ /datum/reagent/consumable/bbqsauce = list("icon_state" = "bbqsauce", "inhand_icon_state" = "", "icon_empty" = "", "name" = "bbq sauce bottle", "desc" = "Hand wipes not included."),
)
var/originalname = "condiment" //Can't use initial(name) for this. This stores the name set by condimasters.
var/icon_empty = ""
@@ -49,7 +49,7 @@
var/main_reagent = reagents.get_master_reagent_id()
if(main_reagent in possible_states)
icon_state = possible_states[main_reagent]["icon_state"]
- item_state = possible_states[main_reagent]["item_state"]
+ inhand_icon_state = possible_states[main_reagent]["inhand_icon_state"]
icon_empty = possible_states[main_reagent]["icon_empty"]
name = possible_states[main_reagent]["name"]
desc = possible_states[main_reagent]["desc"]
@@ -138,7 +138,7 @@
name = "sugar sack"
desc = "Tasty spacey sugar!"
icon_state = "sugar"
- item_state = "flour"
+ inhand_icon_state = "flour"
list_reagents = list(/datum/reagent/consumable/sugar = 50)
/obj/item/reagent_containers/food/condiment/saltshaker //Separate from above since it's a small shaker rather then
@@ -187,7 +187,7 @@
name = "space milk"
desc = "It's milk. White and nutritious goodness!"
icon_state = "milk"
- item_state = "carton"
+ inhand_icon_state = "carton"
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
list_reagents = list(/datum/reagent/consumable/milk = 50)
@@ -196,14 +196,14 @@
name = "flour sack"
desc = "A big bag of flour. Good for baking!"
icon_state = "flour"
- item_state = "flour"
+ inhand_icon_state = "flour"
list_reagents = list(/datum/reagent/consumable/flour = 30)
/obj/item/reagent_containers/food/condiment/soymilk
name = "soy milk"
desc = "It's soy milk. White and nutritious goodness!"
icon_state = "soymilk"
- item_state = "carton"
+ inhand_icon_state = "carton"
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
list_reagents = list(/datum/reagent/consumable/soymilk = 50)
@@ -212,7 +212,7 @@
name = "rice sack"
desc = "A big bag of rice. Good for cooking!"
icon_state = "rice"
- item_state = "flour"
+ inhand_icon_state = "flour"
list_reagents = list(/datum/reagent/consumable/rice = 30)
/obj/item/reagent_containers/food/condiment/soysauce
diff --git a/code/modules/food_and_drinks/food/snacks_bread.dm b/code/modules/food_and_drinks/food/snacks_bread.dm
index c154d436ae5..39ca684cfbf 100644
--- a/code/modules/food_and_drinks/food/snacks_bread.dm
+++ b/code/modules/food_and_drinks/food/snacks_bread.dm
@@ -197,7 +197,7 @@
desc = "Bon appetit!"
icon = 'icons/obj/food/burgerbread.dmi'
icon_state = "baguette"
- item_state = "baguette"
+ inhand_icon_state = "baguette"
bonus_reagents = list(/datum/reagent/consumable/nutriment = 2, /datum/reagent/consumable/nutriment/vitamin = 2)
list_reagents = list(/datum/reagent/consumable/nutriment = 6, /datum/reagent/consumable/nutriment/vitamin = 1)
bitesize = 3
@@ -213,7 +213,7 @@
desc = "Alas, it is limited."
icon = 'icons/obj/food/burgerbread.dmi'
icon_state = "garlicbread"
- item_state = "garlicbread"
+ inhand_icon_state = "garlicbread"
bonus_reagents = list(/datum/reagent/consumable/nutriment = 5, /datum/reagent/consumable/nutriment/vitamin = 2)
list_reagents = list(/datum/reagent/consumable/nutriment = 5, /datum/reagent/consumable/nutriment/vitamin = 4, /datum/reagent/consumable/garlic = 2)
bitesize = 3
@@ -237,7 +237,7 @@
plane = initial(plane)
lefthand_file = fried.lefthand_file
righthand_file = fried.righthand_file
- item_state = fried.item_state
+ inhand_icon_state = fried.inhand_icon_state
desc = fried.desc
w_class = fried.w_class
slowdown = fried.slowdown
diff --git a/code/modules/food_and_drinks/food/snacks_other.dm b/code/modules/food_and_drinks/food/snacks_other.dm
index c7e9a91edef..6a618ef3fe0 100644
--- a/code/modules/food_and_drinks/food/snacks_other.dm
+++ b/code/modules/food_and_drinks/food/snacks_other.dm
@@ -517,7 +517,7 @@
desc = "A delicious lollipop. Makes for a great Valentine's present."
icon = 'icons/obj/lollipop.dmi'
icon_state = "lollipop_stick"
- item_state = "lollipop_stick"
+ inhand_icon_state = "lollipop_stick"
list_reagents = list(/datum/reagent/consumable/nutriment = 1, /datum/reagent/consumable/nutriment/vitamin = 1, /datum/reagent/iron = 10, /datum/reagent/consumable/sugar = 5, /datum/reagent/medicine/omnizine = 2) //Honk
var/mutable_appearance/head
var/headcolor = rgb(0, 0, 0)
@@ -559,7 +559,7 @@
name = "bubblegum"
desc = "A rubbery strip of gum. Not exactly filling, but it keeps you busy."
icon_state = "bubblegum"
- item_state = "bubblegum"
+ inhand_icon_state = "bubblegum"
color = "#E48AB5" // craftable custom gums someday?
list_reagents = list(/datum/reagent/consumable/sugar = 5)
tastes = list("candy" = 1)
diff --git a/code/modules/food_and_drinks/food/snacks_pastry.dm b/code/modules/food_and_drinks/food/snacks_pastry.dm
index 915cf2e282e..583bfb582eb 100644
--- a/code/modules/food_and_drinks/food/snacks_pastry.dm
+++ b/code/modules/food_and_drinks/food/snacks_pastry.dm
@@ -779,7 +779,7 @@
name = "pancake"
desc = "A fluffy pancake. The softer, superior relative of the waffle."
icon_state = "pancakes_1"
- item_state = "pancakes"
+ inhand_icon_state = "pancakes"
bonus_reagents = list(/datum/reagent/consumable/nutriment/vitamin = 1)
list_reagents = list(/datum/reagent/consumable/nutriment = 4, /datum/reagent/consumable/nutriment/vitamin = 1)
filling_color = "#D2691E"
@@ -791,7 +791,7 @@
name = "blueberry pancake"
desc = "A fluffy and delicious blueberry pancake."
icon_state = "bbpancakes_1"
- item_state = "bbpancakes"
+ inhand_icon_state = "bbpancakes"
bonus_reagents = list(/datum/reagent/consumable/nutriment/vitamin = 2)
list_reagents = list(/datum/reagent/consumable/nutriment = 6, /datum/reagent/consumable/nutriment/vitamin = 3)
tastes = list("pancakes" = 1, "blueberries" = 1)
@@ -800,7 +800,7 @@
name = "chocolate chip pancake"
desc = "A fluffy and delicious chocolate chip pancake."
icon_state = "ccpancakes_1"
- item_state = "ccpancakes"
+ inhand_icon_state = "ccpancakes"
bonus_reagents = list(/datum/reagent/consumable/nutriment/vitamin = 2)
list_reagents = list(/datum/reagent/consumable/nutriment = 6, /datum/reagent/consumable/nutriment/vitamin = 3)
tastes = list("pancakes" = 1, "chocolate" = 1)
@@ -869,7 +869,7 @@
..()
/obj/item/reagent_containers/food/snacks/pancakes/update_snack_overlays(obj/item/reagent_containers/food/snacks/P)
- var/mutable_appearance/pancake = mutable_appearance(icon, "[P.item_state]_[rand(1,3)]")
+ var/mutable_appearance/pancake = mutable_appearance(icon, "[P.inhand_icon_state]_[rand(1,3)]")
pancake.pixel_x = rand(-1,1)
pancake.pixel_y = 3 * contents.len - 1
add_overlay(pancake)
diff --git a/code/modules/food_and_drinks/food/snacks_vend.dm b/code/modules/food_and_drinks/food/snacks_vend.dm
index 9cef4350349..5d936ce6062 100644
--- a/code/modules/food_and_drinks/food/snacks_vend.dm
+++ b/code/modules/food_and_drinks/food/snacks_vend.dm
@@ -18,7 +18,7 @@
name = "South Bronx Paradise bar"
desc = "Lose weight, guaranteed! Caramel Mocha Flavor. Something about product consumption..."
icon_state = "bronx"
- item_state = "candy"
+ inhand_icon_state = "candy"
trash = /obj/item/trash/candy
list_reagents = list(/datum/reagent/consumable/nutriment = 4, /datum/reagent/consumable/sugar = 2, /datum/reagent/yuck = 1)
junkiness = 10
diff --git a/code/modules/food_and_drinks/pizzabox.dm b/code/modules/food_and_drinks/pizzabox.dm
index ecc75ff9ba6..8ac6a7ef124 100644
--- a/code/modules/food_and_drinks/pizzabox.dm
+++ b/code/modules/food_and_drinks/pizzabox.dm
@@ -2,7 +2,7 @@
name = "pizza bomb"
desc = "Special delivery!"
icon_state = "pizzabomb_inactive"
- item_state = "eshield0"
+ inhand_icon_state = "eshield0"
lefthand_file = 'icons/mob/inhands/equipment/shields_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/shields_righthand.dmi'
@@ -11,7 +11,7 @@
desc = "A box suited for pizzas."
icon = 'icons/obj/food/containers.dmi'
icon_state = "pizzabox"
- item_state = "pizzabox"
+ inhand_icon_state = "pizzabox"
lefthand_file = 'icons/mob/inhands/misc/food_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/food_righthand.dmi'
@@ -91,7 +91,7 @@
var/current_offset = 2
if(isinhands)
for(var/V in boxes) //add EXTRA BOX per box
- var/mutable_appearance/M = mutable_appearance(icon_file, item_state)
+ var/mutable_appearance/M = mutable_appearance(icon_file, inhand_icon_state)
M.pixel_y = current_offset
current_offset += 2
. += M
diff --git a/code/modules/holiday/easter.dm b/code/modules/holiday/easter.dm
index 677b49f46c3..aefbc4fa980 100644
--- a/code/modules/holiday/easter.dm
+++ b/code/modules/holiday/easter.dm
@@ -88,7 +88,7 @@
/obj/item/clothing/head/bunnyhead
name = "Easter Bunny Head"
icon_state = "bunnyhead"
- item_state = "bunnyhead"
+ inhand_icon_state = "bunnyhead"
desc = "Considerably more cute than 'Frank'."
slowdown = -1
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
@@ -97,7 +97,7 @@
name = "Easter Bunny Suit"
desc = "Hop Hop Hop!"
icon_state = "bunnysuit"
- item_state = "bunnysuit"
+ inhand_icon_state = "bunnysuit"
slowdown = -1
body_parts_covered = CHEST|GROIN|LEGS|ARMS
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
@@ -107,7 +107,7 @@
name = "Easter Bunny Satchel"
desc = "Good for your eyes."
icon_state = "satchel_carrot"
- item_state = "satchel_carrot"
+ inhand_icon_state = "satchel_carrot"
//Egg prizes and egg spawns!
/obj/item/reagent_containers/food/snacks/egg
diff --git a/code/modules/holodeck/items.dm b/code/modules/holodeck/items.dm
index 6d681c3dc32..0c7edc527d9 100644
--- a/code/modules/holodeck/items.dm
+++ b/code/modules/holodeck/items.dm
@@ -71,14 +71,14 @@
name = "basketball"
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "basketball"
- item_state = "basketball"
+ inhand_icon_state = "basketball"
desc = "Here's your chance, do your dance at the Space Jam."
w_class = WEIGHT_CLASS_BULKY //Stops people from hiding it in their bags/pockets
/obj/item/toy/beach_ball/holoball/dodgeball
name = "dodgeball"
icon_state = "dodgeball"
- item_state = "dodgeball"
+ inhand_icon_state = "dodgeball"
desc = "Used for playing the most violent and degrading of childhood games."
/obj/item/toy/beach_ball/holoball/dodgeball/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatum)
diff --git a/code/modules/hydroponics/beekeeping/beekeeper_suit.dm b/code/modules/hydroponics/beekeeping/beekeeper_suit.dm
index 977245e9eb8..ae1eba13f05 100644
--- a/code/modules/hydroponics/beekeeping/beekeeper_suit.dm
+++ b/code/modules/hydroponics/beekeeping/beekeeper_suit.dm
@@ -3,7 +3,7 @@
name = "beekeeper hat"
desc = "Keeps the lil buzzing buggers out of your eyes."
icon_state = "beekeeper"
- item_state = "beekeeper"
+ inhand_icon_state = "beekeeper"
clothing_flags = THICKMATERIAL | SNUG_FIT
@@ -11,6 +11,6 @@
name = "beekeeper suit"
desc = "Keeps the lil buzzing buggers away from your squishy bits."
icon_state = "beekeeper"
- item_state = "beekeeper"
+ inhand_icon_state = "beekeeper"
clothing_flags = THICKMATERIAL
allowed = list(/obj/item/melee/flyswatter, /obj/item/reagent_containers/spray/plantbgone, /obj/item/plant_analyzer, /obj/item/seeds, /obj/item/reagent_containers/glass/bottle, /obj/item/reagent_containers/glass/beaker, /obj/item/cultivator, /obj/item/reagent_containers/spray/pestspray, /obj/item/hatchet, /obj/item/storage/bag/plants)
diff --git a/code/modules/hydroponics/grown/banana.dm b/code/modules/hydroponics/grown/banana.dm
index 1b0b4f5ea81..1837e37cb0e 100644
--- a/code/modules/hydroponics/grown/banana.dm
+++ b/code/modules/hydroponics/grown/banana.dm
@@ -21,7 +21,7 @@
name = "banana"
desc = "It's an excellent prop for a clown."
icon_state = "banana"
- item_state = "banana"
+ inhand_icon_state = "banana"
trash = /obj/item/grown/bananapeel
filling_color = "#FFFF00"
bitesize = 5
@@ -50,7 +50,7 @@
lefthand_file = 'icons/mob/inhands/misc/food_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/food_righthand.dmi'
icon_state = "banana_peel"
- item_state = "banana_peel"
+ inhand_icon_state = "banana_peel"
w_class = WEIGHT_CLASS_TINY
throwforce = 0
throw_speed = 3
@@ -89,7 +89,7 @@
name = "mimana peel"
desc = "A mimana peel."
icon_state = "mimana_peel"
- item_state = "mimana_peel"
+ inhand_icon_state = "mimana_peel"
// Bluespace Banana
/obj/item/seeds/banana/bluespace
@@ -111,7 +111,7 @@
seed = /obj/item/seeds/banana/bluespace
name = "bluespace banana"
icon_state = "banana_blue"
- item_state = "bluespace_peel"
+ inhand_icon_state = "bluespace_peel"
trash = /obj/item/grown/bananapeel/bluespace
filling_color = "#0000FF"
tastes = list("banana" = 1)
diff --git a/code/modules/hydroponics/grown/corn.dm b/code/modules/hydroponics/grown/corn.dm
index bfb7aa1e1c2..e352f61f465 100644
--- a/code/modules/hydroponics/grown/corn.dm
+++ b/code/modules/hydroponics/grown/corn.dm
@@ -34,7 +34,7 @@
name = "corn cob"
desc = "A reminder of meals gone by."
icon_state = "corncob"
- item_state = "corncob"
+ inhand_icon_state = "corncob"
w_class = WEIGHT_CLASS_TINY
throwforce = 0
throw_speed = 3
@@ -65,7 +65,7 @@
name = "snap corn"
desc = "A cob with snap pops."
icon_state = "snapcorn"
- item_state = "corncob"
+ inhand_icon_state = "corncob"
w_class = WEIGHT_CLASS_TINY
throwforce = 0
throw_speed = 3
diff --git a/code/modules/hydroponics/hydroitemdefines.dm b/code/modules/hydroponics/hydroitemdefines.dm
index 4293eadea76..f60f3366992 100644
--- a/code/modules/hydroponics/hydroitemdefines.dm
+++ b/code/modules/hydroponics/hydroitemdefines.dm
@@ -5,7 +5,7 @@
desc = "A scanner used to evaluate a plant's various areas of growth, and genetic traits."
icon = 'icons/obj/device.dmi'
icon_state = "hydro"
- item_state = "analyzer"
+ inhand_icon_state = "analyzer"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_TINY
@@ -27,7 +27,7 @@
icon = 'icons/obj/hydroponics/equipment.dmi'
name = "weed spray"
icon_state = "weedspray"
- item_state = "spraycan"
+ inhand_icon_state = "spraycan"
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
volume = 100
@@ -42,7 +42,7 @@
icon = 'icons/obj/hydroponics/equipment.dmi'
name = "pest spray"
icon_state = "pestspray"
- item_state = "plantbgone"
+ inhand_icon_state = "plantbgone"
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
volume = 100
@@ -57,7 +57,7 @@
desc = "It's used for removing weeds or scratching your back."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "cultivator"
- item_state = "cultivator"
+ inhand_icon_state = "cultivator"
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
flags_1 = CONDUCT_1
@@ -99,7 +99,7 @@
desc = "A very sharp axe blade upon a short fibremetal handle. It has a long history of chopping things, but now it is used for chopping wood."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "hatchet"
- item_state = "hatchet"
+ inhand_icon_state = "hatchet"
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
flags_1 = CONDUCT_1
@@ -180,7 +180,7 @@
desc = "It's a tool for cutting grafts off plants."
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "secateurs"
- item_state = "secateurs"
+ inhand_icon_state = "secateurs"
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
flags_1 = CONDUCT_1
@@ -197,7 +197,7 @@
desc = "A high tech, high fidelity pair of plant shears, capable of cutting genetic traits out of a plant."
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "genesheers"
- item_state = "secateurs"
+ inhand_icon_state = "secateurs"
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
flags_1 = CONDUCT_1
diff --git a/code/modules/jobs/job_types/chaplain.dm b/code/modules/jobs/job_types/chaplain.dm
index cf621eb417f..caa42d72f97 100644
--- a/code/modules/jobs/job_types/chaplain.dm
+++ b/code/modules/jobs/job_types/chaplain.dm
@@ -30,7 +30,7 @@
B.deity_name = GLOB.deity
B.name = GLOB.bible_name
B.icon_state = GLOB.bible_icon_state
- B.item_state = GLOB.bible_item_state
+ B.inhand_icon_state = GLOB.bible_inhand_icon_state
to_chat(H, "There is already an established religion onboard the station. You are an acolyte of [GLOB.deity]. Defer to the Chaplain.")
H.equip_to_slot_or_del(B, ITEM_SLOT_BACKPACK)
var/nrt = GLOB.holy_weapon_type || /obj/item/nullrod
diff --git a/code/modules/library/lib_machines.dm b/code/modules/library/lib_machines.dm
index c216acc6ba1..5378fe5496c 100644
--- a/code/modules/library/lib_machines.dm
+++ b/code/modules/library/lib_machines.dm
@@ -505,9 +505,9 @@ GLOBAL_LIST(cachedbooks) // List of our cached book datums
if(href_list["printbible"])
if(cooldown < world.time)
var/obj/item/storage/book/bible/B = new /obj/item/storage/book/bible(src.loc)
- if(GLOB.bible_icon_state && GLOB.bible_item_state)
+ if(GLOB.bible_icon_state && GLOB.bible_inhand_icon_state)
B.icon_state = GLOB.bible_icon_state
- B.item_state = GLOB.bible_item_state
+ B.inhand_icon_state = GLOB.bible_inhand_icon_state
B.name = GLOB.bible_name
B.deity_name = GLOB.deity
cooldown = world.time + PRINTER_COOLDOWN
diff --git a/code/modules/mining/aux_base.dm b/code/modules/mining/aux_base.dm
index cf92cf36966..b867eb48f47 100644
--- a/code/modules/mining/aux_base.dm
+++ b/code/modules/mining/aux_base.dm
@@ -186,7 +186,7 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
/obj/item/assault_pod/mining
name = "Landing Field Designator"
icon_state = "gangtool-purple"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
desc = "Deploy to designate the landing zone of the auxiliary base."
diff --git a/code/modules/mining/equipment/explorer_gear.dm b/code/modules/mining/equipment/explorer_gear.dm
index ca3ace93d2f..d658d2fc44c 100644
--- a/code/modules/mining/equipment/explorer_gear.dm
+++ b/code/modules/mining/equipment/explorer_gear.dm
@@ -3,7 +3,7 @@
name = "explorer suit"
desc = "An armoured suit for exploring harsh environments."
icon_state = "explorer"
- item_state = "explorer"
+ inhand_icon_state = "explorer"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT
cold_protection = CHEST|GROIN|LEGS|ARMS
@@ -59,7 +59,7 @@
name = "H.E.C.K. suit"
desc = "Hostile Environment Cross-Kinetic Suit: A suit designed to withstand the wide variety of hazards from Lavaland. It wasn't enough for its last owner."
icon_state = "hostile_env"
- item_state = "hostile_env"
+ inhand_icon_state = "hostile_env"
clothing_flags = THICKMATERIAL //not spaceproof
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
resistance_flags = FIRE_PROOF | LAVA_PROOF
@@ -85,7 +85,7 @@
name = "H.E.C.K. helmet"
desc = "Hostile Environiment Cross-Kinetic Helmet: A helmet designed to withstand the wide variety of hazards from Lavaland. It wasn't enough for its last owner."
icon_state = "hostile_env"
- item_state = "hostile_env"
+ inhand_icon_state = "hostile_env"
w_class = WEIGHT_CLASS_NORMAL
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
clothing_flags = THICKMATERIAL // no space protection
diff --git a/code/modules/mining/equipment/kinetic_crusher.dm b/code/modules/mining/equipment/kinetic_crusher.dm
index 0d521ff6034..c35e8dd0d54 100644
--- a/code/modules/mining/equipment/kinetic_crusher.dm
+++ b/code/modules/mining/equipment/kinetic_crusher.dm
@@ -2,7 +2,7 @@
/obj/item/kinetic_crusher
icon = 'icons/obj/mining.dmi'
icon_state = "crusher"
- item_state = "crusher0"
+ inhand_icon_state = "crusher0"
lefthand_file = 'icons/mob/inhands/weapons/hammers_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/hammers_righthand.dmi'
name = "proto-kinetic crusher"
@@ -156,7 +156,7 @@
set_light(0)
/obj/item/kinetic_crusher/update_icon_state()
- item_state = "crusher[wielded]" // this is not icon_state and not supported by 2hcomponent
+ inhand_icon_state = "crusher[wielded]" // this is not icon_state and not supported by 2hcomponent
/obj/item/kinetic_crusher/update_overlays()
. = ..()
diff --git a/code/modules/mining/equipment/lazarus_injector.dm b/code/modules/mining/equipment/lazarus_injector.dm
index b9c37e9b2d3..7e02a012ac4 100644
--- a/code/modules/mining/equipment/lazarus_injector.dm
+++ b/code/modules/mining/equipment/lazarus_injector.dm
@@ -4,7 +4,7 @@
desc = "An injector with a cocktail of nanomachines and chemicals, this device can seemingly raise animals from the dead, making them become friendly to the user. Unfortunately, the process is useless on higher forms of life and incredibly costly, so these were hidden in storage until an executive thought they'd be great motivation for some of their employees."
icon = 'icons/obj/syringe.dmi'
icon_state = "lazarus_hypo"
- item_state = "hypo"
+ inhand_icon_state = "hypo"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
throwforce = 0
diff --git a/code/modules/mining/equipment/mineral_scanner.dm b/code/modules/mining/equipment/mineral_scanner.dm
index 177ff37ade0..916d72f136f 100644
--- a/code/modules/mining/equipment/mineral_scanner.dm
+++ b/code/modules/mining/equipment/mineral_scanner.dm
@@ -4,7 +4,7 @@
name = "manual mining scanner"
icon = 'icons/obj/device.dmi'
icon_state = "mining1"
- item_state = "analyzer"
+ inhand_icon_state = "analyzer"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
@@ -33,7 +33,7 @@
desc = "A scanner that automatically checks surrounding rock for useful minerals; it can also be used to stop gibtonite detonations. This one has an extended range."
name = "advanced automatic mining scanner"
icon_state = "mining0"
- item_state = "analyzer"
+ inhand_icon_state = "analyzer"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/modules/mining/equipment/mining_tools.dm b/code/modules/mining/equipment/mining_tools.dm
index 9e7e8cda1eb..9254f2d9f05 100644
--- a/code/modules/mining/equipment/mining_tools.dm
+++ b/code/modules/mining/equipment/mining_tools.dm
@@ -7,7 +7,7 @@
slot_flags = ITEM_SLOT_BELT | ITEM_SLOT_BACK
force = 15
throwforce = 10
- item_state = "pickaxe"
+ inhand_icon_state = "pickaxe"
lefthand_file = 'icons/mob/inhands/equipment/mining_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/mining_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
@@ -44,7 +44,7 @@
/obj/item/pickaxe/silver
name = "silver-plated pickaxe"
icon_state = "spickaxe"
- item_state = "spickaxe"
+ inhand_icon_state = "spickaxe"
toolspeed = 0.5 //mines faster than a normal pickaxe, bought from mining vendor
desc = "A silver-plated pickaxe that mines slightly faster than standard-issue."
force = 17
@@ -52,7 +52,7 @@
/obj/item/pickaxe/diamond
name = "diamond-tipped pickaxe"
icon_state = "dpickaxe"
- item_state = "dpickaxe"
+ inhand_icon_state = "dpickaxe"
toolspeed = 0.3
desc = "A pickaxe with a diamond pick head. Extremely robust at cracking rock walls and digging up dirt."
force = 19
@@ -60,7 +60,7 @@
/obj/item/pickaxe/drill
name = "mining drill"
icon_state = "handdrill"
- item_state = "jackhammer"
+ inhand_icon_state = "jackhammer"
slot_flags = ITEM_SLOT_BELT
toolspeed = 0.6 //available from roundstart, faster than a pickaxe.
usesound = 'sound/weapons/drill.ogg'
@@ -90,7 +90,7 @@
/obj/item/pickaxe/drill/jackhammer
name = "sonic jackhammer"
icon_state = "jackhammer"
- item_state = "jackhammer"
+ inhand_icon_state = "jackhammer"
toolspeed = 0.1 //the epitome of powertools. extremely fast mining
usesound = 'sound/weapons/sonic_jackhammer.ogg'
hitsound = 'sound/weapons/sonic_jackhammer.ogg'
@@ -100,7 +100,7 @@
name = "improvised pickaxe"
desc = "A pickaxe made with a knife and crowbar taped together, how does it not break?"
icon_state = "ipickaxe"
- item_state = "ipickaxe"
+ inhand_icon_state = "ipickaxe"
force = 10
throwforce = 7
toolspeed = 3 //3 times slower than a normal pickaxe
@@ -122,7 +122,7 @@
toolspeed = 1
usesound = 'sound/effects/shovel_dig.ogg'
throwforce = 4
- item_state = "shovel"
+ inhand_icon_state = "shovel"
w_class = WEIGHT_CLASS_NORMAL
custom_materials = list(/datum/material/iron=50)
attack_verb = list("bashed", "bludgeoned", "thrashed", "whacked")
@@ -143,7 +143,7 @@
name = "spade"
desc = "A small tool for digging and moving dirt."
icon_state = "spade"
- item_state = "spade"
+ inhand_icon_state = "spade"
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
force = 5
@@ -154,7 +154,7 @@
name = "serrated bone shovel"
desc = "A wicked tool that cleaves through dirt just as easily as it does flesh. The design was styled after ancient lavaland tribal designs."
icon_state = "shovel_bone"
- item_state = "shovel_bone"
+ inhand_icon_state = "shovel_bone"
lefthand_file = 'icons/mob/inhands/equipment/mining_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/mining_righthand.dmi'
force = 15
diff --git a/code/modules/mining/equipment/resonator.dm b/code/modules/mining/equipment/resonator.dm
index e724dad76b5..6845b42387d 100644
--- a/code/modules/mining/equipment/resonator.dm
+++ b/code/modules/mining/equipment/resonator.dm
@@ -3,7 +3,7 @@
name = "resonator"
icon = 'icons/obj/mining.dmi'
icon_state = "resonator"
- item_state = "resonator"
+ inhand_icon_state = "resonator"
lefthand_file = 'icons/mob/inhands/equipment/mining_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/mining_righthand.dmi'
desc = "A handheld device that creates small fields of energy that resonate until they detonate, crushing rock. It does increased damage in low pressure."
@@ -19,7 +19,7 @@
name = "upgraded resonator"
desc = "An upgraded version of the resonator that can produce more fields at once, as well as having no damage penalty for bursting a resonance field early."
icon_state = "resonator_u"
- item_state = "resonator_u"
+ inhand_icon_state = "resonator_u"
fieldlimit = 6
quick_burst_mod = 1
diff --git a/code/modules/mining/equipment/survival_pod.dm b/code/modules/mining/equipment/survival_pod.dm
index 963feeec94f..b1610cad833 100644
--- a/code/modules/mining/equipment/survival_pod.dm
+++ b/code/modules/mining/equipment/survival_pod.dm
@@ -332,4 +332,4 @@
icon = initial(I.icon)
desc = initial(I.desc)
icon_state = initial(I.icon_state)
- item_state = initial(I.item_state)
+ inhand_icon_state = initial(I.inhand_icon_state)
diff --git a/code/modules/mining/equipment/vendor_items.dm b/code/modules/mining/equipment/vendor_items.dm
index 8868d4655b5..6ed7f962d14 100644
--- a/code/modules/mining/equipment/vendor_items.dm
+++ b/code/modules/mining/equipment/vendor_items.dm
@@ -3,7 +3,7 @@
/**********************Facehugger toy**********************/
/obj/item/clothing/mask/facehugger/toy
- item_state = "facehugger_inactive"
+ inhand_icon_state = "facehugger_inactive"
desc = "A toy often used to play pranks on other miners by putting it in their beds. It takes a bit to recharge after latching onto something."
throwforce = 0
real = 0
diff --git a/code/modules/mining/equipment/wormhole_jaunter.dm b/code/modules/mining/equipment/wormhole_jaunter.dm
index 5d1ec15897c..bf3968a25b4 100644
--- a/code/modules/mining/equipment/wormhole_jaunter.dm
+++ b/code/modules/mining/equipment/wormhole_jaunter.dm
@@ -4,7 +4,7 @@
desc = "A single use device harnessing outdated wormhole technology, Nanotrasen has since turned its eyes to bluespace for more accurate teleportation. The wormholes it creates are unpleasant to travel through, to say the least.\nThanks to modifications provided by the Free Golems, this jaunter can be worn on the belt to provide protection from chasms."
icon = 'icons/obj/mining.dmi'
icon_state = "Jaunter"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
throwforce = 0
diff --git a/code/modules/mining/lavaland/necropolis_chests.dm b/code/modules/mining/lavaland/necropolis_chests.dm
index 7a44148978e..56197b334c4 100644
--- a/code/modules/mining/lavaland/necropolis_chests.dm
+++ b/code/modules/mining/lavaland/necropolis_chests.dm
@@ -258,7 +258,7 @@
desc = "This lantern gives off no light, but is home to a friendly wisp."
icon = 'icons/obj/lighting.dmi'
icon_state = "lantern-blue"
- item_state = "lantern"
+ inhand_icon_state = "lantern"
lefthand_file = 'icons/mob/inhands/equipment/mining_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/mining_righthand.dmi'
var/obj/effect/wisp/wisp
@@ -393,7 +393,7 @@
desc = "Mid or feed."
ammo_type = /obj/item/ammo_casing/magic/hook
icon_state = "hook"
- item_state = "hook"
+ inhand_icon_state = "hook"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
fire_sound = 'sound/weapons/batonextend.ogg'
@@ -782,7 +782,7 @@
name = "\improper spectral blade"
desc = "A rusted and dulled blade. It doesn't look like it'd do much damage. It glows weakly."
icon_state = "spectral"
- item_state = "spectral"
+ inhand_icon_state = "spectral"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
flags_1 = CONDUCT_1
@@ -928,7 +928,7 @@
name = "staff of lava"
desc = "The ability to fill the emergency shuttle with lava. What more could you want out of life?"
icon_state = "staffofstorms"
- item_state = "staffofstorms"
+ inhand_icon_state = "staffofstorms"
lefthand_file = 'icons/mob/inhands/weapons/staves_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/staves_righthand.dmi'
icon = 'icons/obj/guns/magic.dmi'
@@ -1099,7 +1099,7 @@
name = "hierophant club"
desc = "The strange technology of this large club allows various nigh-magical feats. It used to beat you, but now you can set the beat."
icon_state = "hierophant_club_ready_beacon"
- item_state = "hierophant_club_ready_beacon"
+ inhand_icon_state = "hierophant_club_ready_beacon"
icon = 'icons/obj/lavaland/artefacts.dmi'
lefthand_file = 'icons/mob/inhands/64x64_lefthand.dmi'
righthand_file = 'icons/mob/inhands/64x64_righthand.dmi'
@@ -1188,7 +1188,7 @@
blast_range -= round(health_percent * 10) //one additional range for each missing 10% of health
/obj/item/hierophant_club/update_icon_state()
- icon_state = item_state = "hierophant_club[timer <= world.time ? "_ready":""][(beacon && !QDELETED(beacon)) ? "":"_beacon"]"
+ icon_state = inhand_icon_state = "hierophant_club[timer <= world.time ? "_ready":""][(beacon && !QDELETED(beacon)) ? "":"_beacon"]"
/obj/item/hierophant_club/proc/prepare_icon_update()
update_icon()
diff --git a/code/modules/mining/ores_coins.dm b/code/modules/mining/ores_coins.dm
index 06657d04af1..6f023dc0ce4 100644
--- a/code/modules/mining/ores_coins.dm
+++ b/code/modules/mining/ores_coins.dm
@@ -11,7 +11,7 @@
name = "rock"
icon = 'icons/obj/mining.dmi'
icon_state = "ore"
- item_state = "ore"
+ inhand_icon_state = "ore"
full_w_class = WEIGHT_CLASS_BULKY
singular_name = "ore chunk"
var/points = 0 //How many points this ore gets you from the ore redemption machine
@@ -69,7 +69,7 @@
/obj/item/stack/ore/uranium
name = "uranium ore"
icon_state = "Uranium ore"
- item_state = "Uranium ore"
+ inhand_icon_state = "Uranium ore"
singular_name = "uranium ore chunk"
points = 30
material_flags = MATERIAL_NO_EFFECTS
@@ -82,7 +82,7 @@
/obj/item/stack/ore/iron
name = "iron ore"
icon_state = "Iron ore"
- item_state = "Iron ore"
+ inhand_icon_state = "Iron ore"
singular_name = "iron ore chunk"
points = 1
custom_materials = list(/datum/material/iron=MINERAL_MATERIAL_AMOUNT)
@@ -94,7 +94,7 @@
/obj/item/stack/ore/glass
name = "sand pile"
icon_state = "Glass ore"
- item_state = "Glass ore"
+ inhand_icon_state = "Glass ore"
singular_name = "sand pile"
points = 1
custom_materials = list(/datum/material/glass=MINERAL_MATERIAL_AMOUNT)
@@ -132,14 +132,14 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
/obj/item/stack/ore/glass/basalt
name = "volcanic ash"
icon_state = "volcanic_sand"
- item_state = "volcanic_sand"
+ inhand_icon_state = "volcanic_sand"
singular_name = "volcanic ash pile"
mine_experience = 0
/obj/item/stack/ore/plasma
name = "plasma ore"
icon_state = "Plasma ore"
- item_state = "Plasma ore"
+ inhand_icon_state = "Plasma ore"
singular_name = "plasma ore chunk"
points = 15
custom_materials = list(/datum/material/plasma=MINERAL_MATERIAL_AMOUNT)
@@ -156,7 +156,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
/obj/item/stack/ore/silver
name = "silver ore"
icon_state = "Silver ore"
- item_state = "Silver ore"
+ inhand_icon_state = "Silver ore"
singular_name = "silver ore chunk"
points = 16
mine_experience = 3
@@ -168,7 +168,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
/obj/item/stack/ore/gold
name = "gold ore"
icon_state = "Gold ore"
- item_state = "Gold ore"
+ inhand_icon_state = "Gold ore"
singular_name = "gold ore chunk"
points = 18
mine_experience = 5
@@ -180,7 +180,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
/obj/item/stack/ore/diamond
name = "diamond ore"
icon_state = "Diamond ore"
- item_state = "Diamond ore"
+ inhand_icon_state = "Diamond ore"
singular_name = "diamond ore chunk"
points = 50
custom_materials = list(/datum/material/diamond=MINERAL_MATERIAL_AMOUNT)
@@ -191,7 +191,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
/obj/item/stack/ore/bananium
name = "bananium ore"
icon_state = "Bananium ore"
- item_state = "Bananium ore"
+ inhand_icon_state = "Bananium ore"
singular_name = "bananium ore chunk"
points = 60
custom_materials = list(/datum/material/bananium=MINERAL_MATERIAL_AMOUNT)
@@ -202,7 +202,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
/obj/item/stack/ore/titanium
name = "titanium ore"
icon_state = "Titanium ore"
- item_state = "Titanium ore"
+ inhand_icon_state = "Titanium ore"
singular_name = "titanium ore chunk"
points = 50
custom_materials = list(/datum/material/titanium=MINERAL_MATERIAL_AMOUNT)
@@ -215,7 +215,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
name = "slag"
desc = "Completely useless."
icon_state = "slag"
- item_state = "slag"
+ inhand_icon_state = "slag"
singular_name = "slag chunk"
/obj/item/gibtonite
@@ -223,7 +223,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
desc = "Extremely explosive if struck with mining equipment, Gibtonite is often used by miners to speed up their work by using it as a mining charge. This material is illegal to possess by unauthorized personnel under space law."
icon = 'icons/obj/mining.dmi'
icon_state = "Gibtonite ore"
- item_state = "Gibtonite ore"
+ inhand_icon_state = "Gibtonite ore"
w_class = WEIGHT_CLASS_BULKY
throw_range = 0
var/primed = FALSE
diff --git a/code/modules/mob/living/carbon/alien/humanoid/humanoid_update_icons.dm b/code/modules/mob/living/carbon/alien/humanoid/humanoid_update_icons.dm
index 2ee8347586a..9e5f47aedf0 100644
--- a/code/modules/mob/living/carbon/alien/humanoid/humanoid_update_icons.dm
+++ b/code/modules/mob/living/carbon/alien/humanoid/humanoid_update_icons.dm
@@ -76,14 +76,14 @@
var/obj/item/l_hand = get_item_for_held_index(1)
if(l_hand)
- var/itm_state = l_hand.item_state
+ var/itm_state = l_hand.inhand_icon_state
if(!itm_state)
itm_state = l_hand.icon_state
hands += mutable_appearance(alt_inhands_file, "[itm_state][caste]_l", -HANDS_LAYER)
var/obj/item/r_hand = get_item_for_held_index(2)
if(r_hand)
- var/itm_state = r_hand.item_state
+ var/itm_state = r_hand.inhand_icon_state
if(!itm_state)
itm_state = r_hand.icon_state
hands += mutable_appearance(alt_inhands_file, "[itm_state][caste]_r", -HANDS_LAYER)
diff --git a/code/modules/mob/living/carbon/alien/special/facehugger.dm b/code/modules/mob/living/carbon/alien/special/facehugger.dm
index bf08fd70d64..12de5aafd9a 100644
--- a/code/modules/mob/living/carbon/alien/special/facehugger.dm
+++ b/code/modules/mob/living/carbon/alien/special/facehugger.dm
@@ -13,7 +13,7 @@
desc = "It has some sort of a tube at the end of its tail."
icon = 'icons/mob/alien.dmi'
icon_state = "facehugger"
- item_state = "facehugger"
+ inhand_icon_state = "facehugger"
w_class = WEIGHT_CLASS_TINY //note: can be picked up by aliens unlike most other items of w_class below 4
clothing_flags = MASKINTERNALS
throw_range = 5
@@ -36,12 +36,12 @@
/obj/item/clothing/mask/facehugger/dead
icon_state = "facehugger_dead"
- item_state = "facehugger_inactive"
+ inhand_icon_state = "facehugger_inactive"
stat = DEAD
/obj/item/clothing/mask/facehugger/impregnated
icon_state = "facehugger_impregnated"
- item_state = "facehugger_impregnated"
+ inhand_icon_state = "facehugger_impregnated"
stat = DEAD
/obj/item/clothing/mask/facehugger/take_damage(damage_amount, damage_type = BRUTE, damage_flag = 0, sound_effect = 1, attack_dir)
@@ -240,7 +240,7 @@
return
icon_state = "[initial(icon_state)]_dead"
- item_state = "facehugger_inactive"
+ inhand_icon_state = "facehugger_inactive"
stat = DEAD
visible_message("[src] curls up into a ball!")
diff --git a/code/modules/mob/living/carbon/human/human_update_icons.dm b/code/modules/mob/living/carbon/human/human_update_icons.dm
index 5995c25d1d7..c6b35898724 100644
--- a/code/modules/mob/living/carbon/human/human_update_icons.dm
+++ b/code/modules/mob/living/carbon/human/human_update_icons.dm
@@ -292,7 +292,7 @@ There are several things that need to be remembered:
if(client && hud_used && hud_used.hud_shown)
client.screen += s_store
update_observer_view(s_store)
- var/t_state = s_store.item_state
+ var/t_state = s_store.inhand_icon_state
if(!t_state)
t_state = s_store.icon_state
overlays_standing[SUIT_STORE_LAYER] = mutable_appearance('icons/mob/clothing/belt_mirror.dmi', t_state, -SUIT_STORE_LAYER)
@@ -499,20 +499,20 @@ generate/load female uniform sprites matching all previously decided variables
if(override_state)
t_state = override_state
else
- if (mob_overlay_state)
- t_state = mob_overlay_state
- else if(isinhands && item_state)
- t_state = item_state
- else
- t_state = icon_state
- var/t_icon = mob_overlay_icon
+ t_state = icon_state
+ if(isinhands)
+ if(inhand_icon_state)
+ t_state = inhand_icon_state
+ else if(worn_icon_state)
+ t_state = worn_icon_state
+ var/t_icon = worn_icon
if(!t_icon)
t_icon = default_icon_file
//Find a valid icon file from variables+arguments
var/file2use
- if(!isinhands && mob_overlay_icon)
- file2use = mob_overlay_icon
+ if(!isinhands && worn_icon)
+ file2use = worn_icon
if(!file2use)
file2use = default_icon_file
diff --git a/code/modules/mob/living/carbon/human/species_types/shadowpeople.dm b/code/modules/mob/living/carbon/human/species_types/shadowpeople.dm
index 8ed56eda98f..63a5362042c 100644
--- a/code/modules/mob/living/carbon/human/species_types/shadowpeople.dm
+++ b/code/modules/mob/living/carbon/human/species_types/shadowpeople.dm
@@ -165,7 +165,7 @@
name = "light eater" //as opposed to heavy eater
icon = 'icons/obj/changeling_items.dmi'
icon_state = "arm_blade"
- item_state = "arm_blade"
+ inhand_icon_state = "arm_blade"
force = 25
armour_penetration = 35
lefthand_file = 'icons/mob/inhands/antag/changeling_lefthand.dmi'
diff --git a/code/modules/mob/living/carbon/human/species_types/snail.dm b/code/modules/mob/living/carbon/human/species_types/snail.dm
index 375ba7be6dc..73b133f46f3 100644
--- a/code/modules/mob/living/carbon/human/species_types/snail.dm
+++ b/code/modules/mob/living/carbon/human/species_types/snail.dm
@@ -48,7 +48,7 @@
name = "snail shell"
desc = "Worn by snails as armor and storage compartment."
icon_state = "snailshell"
- item_state = "snailshell"
+ inhand_icon_state = "snailshell"
lefthand_file = 'icons/mob/inhands/equipment/backpack_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/backpack_righthand.dmi'
armor = list("melee" = 40, "bullet" = 30, "laser" = 30, "energy" = 10, "bomb" = 25, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 50)
diff --git a/code/modules/mob/living/inhand_holder.dm b/code/modules/mob/living/inhand_holder.dm
index 4ecc6c39dd6..b9a51d19c03 100644
--- a/code/modules/mob/living/inhand_holder.dm
+++ b/code/modules/mob/living/inhand_holder.dm
@@ -12,9 +12,9 @@
/obj/item/clothing/head/mob_holder/Initialize(mapload, mob/living/M, worn_state, head_icon, lh_icon, rh_icon, worn_slot_flags = NONE)
. = ..()
if(head_icon)
- mob_overlay_icon = head_icon
+ worn_icon = head_icon
if(worn_state)
- item_state = worn_state
+ inhand_icon_state = worn_state
if(lh_icon)
lefthand_file = lh_icon
if(rh_icon)
diff --git a/code/modules/mob/living/silicon/robot/robot_modules.dm b/code/modules/mob/living/silicon/robot/robot_modules.dm
index 186e56550a6..808903d268a 100644
--- a/code/modules/mob/living/silicon/robot/robot_modules.dm
+++ b/code/modules/mob/living/silicon/robot/robot_modules.dm
@@ -3,7 +3,7 @@
icon = 'icons/obj/module.dmi'
icon_state = "std_mod"
w_class = WEIGHT_CLASS_GIGANTIC
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
flags_1 = CONDUCT_1
diff --git a/code/modules/mob/living/simple_animal/bot/cleanbot.dm b/code/modules/mob/living/simple_animal/bot/cleanbot.dm
index ba7fde151a9..f33a0c6ae72 100644
--- a/code/modules/mob/living/simple_animal/bot/cleanbot.dm
+++ b/code/modules/mob/living/simple_animal/bot/cleanbot.dm
@@ -61,7 +61,7 @@
weapon_orig_force = weapon.force
if(!emagged)
weapon.force = weapon.force / 2
- add_overlay(image(icon=weapon.lefthand_file,icon_state=weapon.item_state))
+ add_overlay(image(icon=weapon.lefthand_file,icon_state=weapon.inhand_icon_state))
/mob/living/simple_animal/bot/cleanbot/proc/update_titles()
var/working_title = ""
diff --git a/code/modules/mob/living/simple_animal/bot/construction.dm b/code/modules/mob/living/simple_animal/bot/construction.dm
index 9630dbeeb12..4bc7101f4b3 100644
--- a/code/modules/mob/living/simple_animal/bot/construction.dm
+++ b/code/modules/mob/living/simple_animal/bot/construction.dm
@@ -58,7 +58,7 @@
name = "incomplete ED-209 assembly"
desc = "Some sort of bizarre assembly."
icon_state = "ed209_frame"
- item_state = "ed209_frame"
+ inhand_icon_state = "ed209_frame"
created_name = "ED-209 Security Robot" //To preserve the name if it's a unique securitron I guess
var/lasercolor = ""
var/vest_type = /obj/item/clothing/suit/armor/vest
@@ -74,10 +74,10 @@
qdel(W)
name = "legs/frame assembly"
if(build_step == ASSEMBLY_FIRST_STEP)
- item_state = "ed209_leg"
+ inhand_icon_state = "ed209_leg"
icon_state = "ed209_leg"
else
- item_state = "ed209_legs"
+ inhand_icon_state = "ed209_legs"
icon_state = "ed209_legs"
build_step++
@@ -88,7 +88,7 @@
to_chat(user, "You add [W] to [src].")
qdel(W)
name = "vest/legs/frame assembly"
- item_state = "ed209_shell"
+ inhand_icon_state = "ed209_shell"
icon_state = "ed209_shell"
build_step++
@@ -106,7 +106,7 @@
to_chat(user, "You add [W] to [src].")
qdel(W)
name = "covered and shielded frame assembly"
- item_state = "ed209_hat"
+ inhand_icon_state = "ed209_hat"
icon_state = "ed209_hat"
build_step++
@@ -118,7 +118,7 @@
to_chat(user, "You add [W] to [src].")
qdel(W)
name = "covered, shielded and sensored frame assembly"
- item_state = "ed209_prox"
+ inhand_icon_state = "ed209_prox"
icon_state = "ed209_prox"
if(6)
@@ -141,7 +141,7 @@
return
name = "[W.name] ED-209 assembly"
to_chat(user, "You add [W] to [src].")
- item_state = "ed209_taser"
+ inhand_icon_state = "ed209_taser"
icon_state = "ed209_taser"
qdel(W)
build_step++
@@ -289,7 +289,7 @@
name = "incomplete securitron assembly"
desc = "Some sort of bizarre assembly made from a proximity sensor, helmet, and signaler."
icon_state = "helmet_signaler"
- item_state = "helmet"
+ inhand_icon_state = "helmet"
created_name = "Securitron" //To preserve the name if it's a unique securitron I guess
var/swordamt = 0 //If you're converting it into a grievousbot, how many swords have you attached
var/toyswordamt = 0 //honk
diff --git a/code/modules/mob/living/simple_animal/hostile/bees.dm b/code/modules/mob/living/simple_animal/hostile/bees.dm
index 60049c46103..14e64861fff 100644
--- a/code/modules/mob/living/simple_animal/hostile/bees.dm
+++ b/code/modules/mob/living/simple_animal/hostile/bees.dm
@@ -283,7 +283,7 @@
name = "queen bee"
desc = "She's the queen of bees, BZZ BZZ!"
icon_state = "queen_item"
- item_state = ""
+ inhand_icon_state = ""
icon = 'icons/mob/bees.dmi'
var/mob/living/simple_animal/hostile/poison/bees/queen/queen
diff --git a/code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm
index cc6309788a9..1d35a7f6c81 100644
--- a/code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm
+++ b/code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm
@@ -250,7 +250,7 @@
name = "staff of storms"
desc = "An ancient staff retrieved from the remains of Legion. The wind stirs as you move it."
icon_state = "staffofstorms"
- item_state = "staffofstorms"
+ inhand_icon_state = "staffofstorms"
icon = 'icons/obj/guns/magic.dmi'
slot_flags = ITEM_SLOT_BACK
w_class = WEIGHT_CLASS_BULKY
diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm
index 005437aae30..ecb8fceeaf1 100644
--- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm
+++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm
@@ -271,7 +271,7 @@ While using this makes the system rely on OnFire, it still gives options for tim
icon_state = "crevice_shard"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
- item_state = "screwdriver_head"
+ inhand_icon_state = "screwdriver_head"
throwforce = 5
w_class = WEIGHT_CLASS_SMALL
throw_speed = 3
diff --git a/code/modules/ninja/energy_katana.dm b/code/modules/ninja/energy_katana.dm
index e3d6bbda2c0..9f5f7913ff4 100644
--- a/code/modules/ninja/energy_katana.dm
+++ b/code/modules/ninja/energy_katana.dm
@@ -2,7 +2,7 @@
name = "energy katana"
desc = "A katana infused with strong energy."
icon_state = "energy_katana"
- item_state = "energy_katana"
+ inhand_icon_state = "energy_katana"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
force = 40
diff --git a/code/modules/ninja/suit/gloves.dm b/code/modules/ninja/suit/gloves.dm
index de876ecbed5..665a63b9933 100644
--- a/code/modules/ninja/suit/gloves.dm
+++ b/code/modules/ninja/suit/gloves.dm
@@ -24,7 +24,7 @@
desc = "These nano-enhanced gloves insulate from electricity and provide fire resistance."
name = "ninja gloves"
icon_state = "s-ninja"
- item_state = "s-ninja"
+ inhand_icon_state = "s-ninja"
siemens_coefficient = 0
cold_protection = HANDS
min_cold_protection_temperature = GLOVES_MIN_TEMP_PROTECT
diff --git a/code/modules/ninja/suit/head.dm b/code/modules/ninja/suit/head.dm
index 6604bc200ff..707073337da 100644
--- a/code/modules/ninja/suit/head.dm
+++ b/code/modules/ninja/suit/head.dm
@@ -4,7 +4,7 @@
desc = "What may appear to be a simple black garment is in fact a highly sophisticated nano-weave helmet. Standard issue ninja gear."
name = "ninja hood"
icon_state = "s-ninja"
- item_state = "s-ninja_mask"
+ inhand_icon_state = "s-ninja_mask"
armor = list("melee" = 60, "bullet" = 50, "laser" = 30,"energy" = 15, "bomb" = 30, "bio" = 30, "rad" = 25, "fire" = 100, "acid" = 100)
strip_delay = 12
resistance_flags = LAVA_PROOF | FIRE_PROOF | ACID_PROOF
diff --git a/code/modules/ninja/suit/mask.dm b/code/modules/ninja/suit/mask.dm
index 81d37886ddf..120e8bbf371 100644
--- a/code/modules/ninja/suit/mask.dm
+++ b/code/modules/ninja/suit/mask.dm
@@ -14,6 +14,6 @@ Contents:
name = "ninja mask"
desc = "A close-fitting mask that acts both as an air filter and a post-modern fashion statement."
icon_state = "s-ninja"
- item_state = "s-ninja_mask"
+ inhand_icon_state = "s-ninja_mask"
strip_delay = 120
resistance_flags = LAVA_PROOF | FIRE_PROOF | ACID_PROOF
diff --git a/code/modules/ninja/suit/shoes.dm b/code/modules/ninja/suit/shoes.dm
index 1b935a00de1..e83547b96ca 100644
--- a/code/modules/ninja/suit/shoes.dm
+++ b/code/modules/ninja/suit/shoes.dm
@@ -3,7 +3,7 @@
name = "ninja shoes"
desc = "A pair of running shoes. Excellent for running and even better for smashing skulls."
icon_state = "s-ninja"
- item_state = "secshoes"
+ inhand_icon_state = "secshoes"
permeability_coefficient = 0.01
clothing_flags = NOSLIP
resistance_flags = LAVA_PROOF | FIRE_PROOF | ACID_PROOF
diff --git a/code/modules/ninja/suit/suit.dm b/code/modules/ninja/suit/suit.dm
index 8a55e032d2e..d80752e46e5 100644
--- a/code/modules/ninja/suit/suit.dm
+++ b/code/modules/ninja/suit/suit.dm
@@ -11,7 +11,7 @@ Contents:
name = "ninja suit"
desc = "A unique, vacuum-proof suit of nano-enhanced armor designed specifically for Spider Clan assassins."
icon_state = "s-ninja"
- item_state = "s-ninja_suit"
+ inhand_icon_state = "s-ninja_suit"
allowed = list(/obj/item/gun, /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/melee/baton, /obj/item/restraints/handcuffs, /obj/item/tank/internals, /obj/item/stock_parts/cell)
slowdown = 1
resistance_flags = LAVA_PROOF | ACID_PROOF
@@ -146,7 +146,7 @@ Contents:
/obj/item/clothing/suit/space/space_ninja/proc/lockIcons(mob/living/carbon/human/H)
icon_state = H.gender==FEMALE ? "s-ninjanf" : "s-ninjan"
H.gloves.icon_state = "s-ninjan"
- H.gloves.item_state = "s-ninjan"
+ H.gloves.inhand_icon_state = "s-ninjan"
//This proc allows the suit to be taken off.
@@ -162,7 +162,7 @@ Contents:
n_shoes.slowdown++
if(n_gloves)
n_gloves.icon_state = "s-ninja"
- n_gloves.item_state = "s-ninja"
+ n_gloves.inhand_icon_state = "s-ninja"
REMOVE_TRAIT(n_gloves, TRAIT_NODROP, NINJA_SUIT_TRAIT)
n_gloves.candrain = FALSE
n_gloves.draining = FALSE
diff --git a/code/modules/paperwork/carbonpaper.dm b/code/modules/paperwork/carbonpaper.dm
index e174504f08c..8561de45dd5 100644
--- a/code/modules/paperwork/carbonpaper.dm
+++ b/code/modules/paperwork/carbonpaper.dm
@@ -1,7 +1,7 @@
/obj/item/paper/carbon
name = "sheet of carbon"
icon_state = "paper_stack"
- item_state = "paper"
+ inhand_icon_state = "paper"
var/copied = FALSE
var/iscopy = FALSE
diff --git a/code/modules/paperwork/clipboard.dm b/code/modules/paperwork/clipboard.dm
index 6a773211024..00d35d86a6b 100644
--- a/code/modules/paperwork/clipboard.dm
+++ b/code/modules/paperwork/clipboard.dm
@@ -2,7 +2,7 @@
name = "clipboard"
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "clipboard"
- item_state = "clipboard"
+ inhand_icon_state = "clipboard"
throwforce = 0
w_class = WEIGHT_CLASS_SMALL
throw_speed = 3
diff --git a/code/modules/paperwork/handlabeler.dm b/code/modules/paperwork/handlabeler.dm
index 10def176c53..dbfb1760790 100644
--- a/code/modules/paperwork/handlabeler.dm
+++ b/code/modules/paperwork/handlabeler.dm
@@ -3,7 +3,7 @@
desc = "A combined label printer, applicator, and remover, all in a single portable device. Designed to be easy to operate and use."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "labeler0"
- item_state = "flight"
+ inhand_icon_state = "flight"
var/label = null
var/labels_left = 30
var/mode = 0
@@ -116,7 +116,7 @@
icon = 'icons/obj/bureaucracy.dmi'
desc = "A roll of paper. Use it on a hand labeler to refill it."
icon_state = "labeler_refill"
- item_state = "electropack"
+ inhand_icon_state = "electropack"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_TINY
diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm
index b96bf4ede56..db8acabc74d 100644
--- a/code/modules/paperwork/paper.dm
+++ b/code/modules/paperwork/paper.dm
@@ -10,7 +10,7 @@
gender = NEUTER
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "paper"
- item_state = "paper"
+ inhand_icon_state = "paper"
throwforce = 0
w_class = WEIGHT_CLASS_TINY
throw_range = 1
diff --git a/code/modules/paperwork/paper_cutter.dm b/code/modules/paperwork/paper_cutter.dm
index 83dce334250..f3d0768abcc 100644
--- a/code/modules/paperwork/paper_cutter.dm
+++ b/code/modules/paperwork/paper_cutter.dm
@@ -124,6 +124,6 @@
desc = "The blade of a paper cutter. Most likely removed for polishing or sharpening."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "cutterblade"
- item_state = "knife"
+ inhand_icon_state = "knife"
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
diff --git a/code/modules/paperwork/paperbin.dm b/code/modules/paperwork/paperbin.dm
index 330557347dd..d6cb8ebe54e 100644
--- a/code/modules/paperwork/paperbin.dm
+++ b/code/modules/paperwork/paperbin.dm
@@ -3,7 +3,7 @@
desc = "Contains all the paper you'll never need."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "paper_bin1"
- item_state = "sheet-metal"
+ inhand_icon_state = "sheet-metal"
lefthand_file = 'icons/mob/inhands/misc/sheets_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/sheets_righthand.dmi'
throwforce = 0
diff --git a/code/modules/paperwork/pen.dm b/code/modules/paperwork/pen.dm
index 9c103357625..645a8917935 100644
--- a/code/modules/paperwork/pen.dm
+++ b/code/modules/paperwork/pen.dm
@@ -15,7 +15,7 @@
name = "pen"
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "pen"
- item_state = "pen"
+ inhand_icon_state = "pen"
slot_flags = ITEM_SLOT_BELT | ITEM_SLOT_EARS
throwforce = 0
w_class = WEIGHT_CLASS_TINY
@@ -242,12 +242,12 @@
/obj/item/pen/edagger/update_icon_state()
if(on)
- icon_state = item_state = "edagger"
+ icon_state = inhand_icon_state = "edagger"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
else
icon_state = initial(icon_state) //looks like a normal pen when off.
- item_state = initial(item_state)
+ inhand_icon_state = initial(inhand_icon_state)
lefthand_file = initial(lefthand_file)
righthand_file = initial(righthand_file)
@@ -256,7 +256,7 @@
desc = "The latest in portable survival technology, this pen was designed as a miniature diamond pickaxe. Watchers find them very desirable for their diamond exterior."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "digging_pen"
- item_state = "pen"
+ inhand_icon_state = "pen"
force = 3
w_class = WEIGHT_CLASS_TINY
custom_materials = list(/datum/material/iron=10, /datum/material/diamond=100, /datum/material/titanium = 10)
diff --git a/code/modules/paperwork/stamps.dm b/code/modules/paperwork/stamps.dm
index a02d7609368..ca6c9beb442 100644
--- a/code/modules/paperwork/stamps.dm
+++ b/code/modules/paperwork/stamps.dm
@@ -3,7 +3,7 @@
desc = "A rubber stamp for stamping important documents."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "stamp-ok"
- item_state = "stamp"
+ inhand_icon_state = "stamp"
throwforce = 0
w_class = WEIGHT_CLASS_TINY
throw_speed = 3
diff --git a/code/modules/photography/camera/camera.dm b/code/modules/photography/camera/camera.dm
index 22cefcd56f3..bce6e914faa 100644
--- a/code/modules/photography/camera/camera.dm
+++ b/code/modules/photography/camera/camera.dm
@@ -6,7 +6,7 @@
icon = 'icons/obj/items_and_weapons.dmi'
desc = "A polaroid camera."
icon_state = "camera"
- item_state = "camera"
+ inhand_icon_state = "camera"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
light_color = LIGHT_COLOR_WHITE
diff --git a/code/modules/photography/camera/film.dm b/code/modules/photography/camera/film.dm
index 4d05bb2ac32..1cd56487f13 100644
--- a/code/modules/photography/camera/film.dm
+++ b/code/modules/photography/camera/film.dm
@@ -6,7 +6,7 @@
icon = 'icons/obj/items_and_weapons.dmi'
desc = "A camera film cartridge. Insert it into a camera to reload it."
icon_state = "film"
- item_state = "electropack"
+ inhand_icon_state = "electropack"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_TINY
diff --git a/code/modules/photography/photos/album.dm b/code/modules/photography/photos/album.dm
index d831036767b..8e7654e71d1 100644
--- a/code/modules/photography/photos/album.dm
+++ b/code/modules/photography/photos/album.dm
@@ -6,7 +6,7 @@
desc = "A big book used to store photos and mementos."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "album"
- item_state = "album"
+ inhand_icon_state = "album"
lefthand_file = 'icons/mob/inhands/misc/books_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/books_righthand.dmi'
resistance_flags = FLAMMABLE
diff --git a/code/modules/photography/photos/photo.dm b/code/modules/photography/photos/photo.dm
index 3f53245385d..026cefb4283 100644
--- a/code/modules/photography/photos/photo.dm
+++ b/code/modules/photography/photos/photo.dm
@@ -5,7 +5,7 @@
name = "photo"
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "photo"
- item_state = "paper"
+ inhand_icon_state = "paper"
w_class = WEIGHT_CLASS_TINY
resistance_flags = FLAMMABLE
max_integrity = 50
diff --git a/code/modules/power/cable.dm b/code/modules/power/cable.dm
index d00367dd0b8..52a9b0f35b7 100644
--- a/code/modules/power/cable.dm
+++ b/code/modules/power/cable.dm
@@ -387,7 +387,7 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list(new/datum/stack_recipe("cable restrain
gender = NEUTER //That's a cable coil sounds better than that's some cable coils
icon = 'icons/obj/power.dmi'
icon_state = "coil"
- item_state = "coil"
+ inhand_icon_state = "coil"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
max_amount = MAXCOIL
@@ -449,7 +449,7 @@ GLOBAL_LIST(cable_radial_layer_list)
"Layer 2" = image(icon = 'icons/mob/radial.dmi', icon_state = "coil-yellow"),
"Layer 3" = image(icon = 'icons/mob/radial.dmi', icon_state = "coil-blue"),
"Multilayer cable hub" = image(icon = 'icons/obj/power.dmi', icon_state = "cable_bridge"),
- "Multi Z layer cable hub" = image(icon = 'icons/obj/power.dmi', icon_state = "cablerelay-broken-cable")
+ "Multi Z layer cable hub" = image(icon = 'icons/obj/power.dmi', icon_state = "cablerelay-broken-cable")
)
var/layer_result = show_radial_menu(user, src, GLOB.cable_radial_layer_list, custom_check = CALLBACK(src, .proc/check_menu, user), require_near = TRUE, tooltips = TRUE)
if(!check_menu(user))
@@ -627,7 +627,7 @@ GLOBAL_LIST(cable_radial_layer_list)
/obj/structure/cable/multilayer/update_icon()
machinery_node?.alpha = machinery_layer & MACHINERY_LAYER_1 ? 255 : 0
-
+
cable_node_1?.alpha = cable_layer & CABLE_LAYER_1 ? 255 : 0
cable_node_2?.alpha = cable_layer & CABLE_LAYER_2 ? 255 : 0
@@ -645,7 +645,7 @@ GLOBAL_LIST(cable_radial_layer_list)
C.deconstruct() // remove adversary cable
if(!mapload)
auto_propagate_cut_cable(src)
-
+
machinery_node = new /obj/effect/node()
vis_contents += machinery_node
cable_node_1 = new /obj/effect/node/layer1()
@@ -660,7 +660,7 @@ GLOBAL_LIST(cable_radial_layer_list)
QDEL_NULL(machinery_node)
QDEL_NULL(cable_node_1)
QDEL_NULL(cable_node_2)
- QDEL_NULL(cable_node_3)
+ QDEL_NULL(cable_node_3)
return ..() // then go ahead and delete the cable
/obj/structure/cable/multilayer/examine(mob/user)
diff --git a/code/modules/power/cell.dm b/code/modules/power/cell.dm
index 5504129bcbe..b4e5844576b 100644
--- a/code/modules/power/cell.dm
+++ b/code/modules/power/cell.dm
@@ -3,7 +3,7 @@
desc = "A rechargeable electrochemical power cell."
icon = 'icons/obj/power.dmi'
icon_state = "cell"
- item_state = "cell"
+ inhand_icon_state = "cell"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
force = 5
diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm
index 00610ada3d7..258738aab2c 100644
--- a/code/modules/power/lighting.dm
+++ b/code/modules/power/lighting.dm
@@ -796,7 +796,7 @@
desc = "A replacement light tube."
icon_state = "ltube"
base_state = "ltube"
- item_state = "c_tube"
+ inhand_icon_state = "c_tube"
brightness = 8
/obj/item/light/tube/broken
@@ -807,7 +807,7 @@
desc = "A replacement light bulb."
icon_state = "lbulb"
base_state = "lbulb"
- item_state = "contvapour"
+ inhand_icon_state = "contvapour"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
brightness = 4
diff --git a/code/modules/power/pipecleaners.dm b/code/modules/power/pipecleaners.dm
index 1b12d64a027..c1d9ad8681e 100644
--- a/code/modules/power/pipecleaners.dm
+++ b/code/modules/power/pipecleaners.dm
@@ -183,7 +183,7 @@ By design, d1 is the smallest direction and d2 is the highest
gender = NEUTER //That's a pipe_cleaner coil sounds better than that's some pipe_cleaner coils
icon = 'icons/obj/power.dmi'
icon_state = "pipecleaner"
- item_state = "pipecleaner"
+ inhand_icon_state = "pipecleaner"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
max_amount = MAXCOIL
@@ -238,7 +238,7 @@ By design, d1 is the smallest direction and d2 is the highest
/obj/item/stack/pipe_cleaner_coil/update_icon()
- icon_state = "[initial(item_state)][amount < 3 ? amount : ""]"
+ icon_state = "[initial(inhand_icon_state)][amount < 3 ? amount : ""]"
name = "pipe cleaner [amount < 3 ? "piece" : "coil"]"
color = null
add_atom_colour(pipe_cleaner_color, FIXED_COLOUR_PRIORITY)
diff --git a/code/modules/power/solar.dm b/code/modules/power/solar.dm
index 66a6719e492..e030bb0bdd3 100644
--- a/code/modules/power/solar.dm
+++ b/code/modules/power/solar.dm
@@ -201,7 +201,7 @@
desc = "A solar panel assembly kit, allows constructions of a solar panel, or with a tracking circuit board, a solar tracker."
icon = 'goon/icons/obj/power.dmi'
icon_state = "sp_base"
- item_state = "electropack"
+ inhand_icon_state = "electropack"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY // Pretty big!
diff --git a/code/modules/projectiles/boxes_magazines/_box_magazine.dm b/code/modules/projectiles/boxes_magazines/_box_magazine.dm
index d80821ebba2..4380bc2eacf 100644
--- a/code/modules/projectiles/boxes_magazines/_box_magazine.dm
+++ b/code/modules/projectiles/boxes_magazines/_box_magazine.dm
@@ -5,7 +5,7 @@
icon = 'icons/obj/ammo.dmi'
flags_1 = CONDUCT_1
slot_flags = ITEM_SLOT_BELT
- item_state = "syringe_kit"
+ inhand_icon_state = "syringe_kit"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
custom_materials = list(/datum/material/iron = 30000)
diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm
index 403a9e16140..b647984c444 100644
--- a/code/modules/projectiles/gun.dm
+++ b/code/modules/projectiles/gun.dm
@@ -7,7 +7,7 @@
desc = "It's a gun. It's pretty terrible, though."
icon = 'icons/obj/guns/projectile.dmi'
icon_state = "detective"
- item_state = "gun"
+ inhand_icon_state = "gun"
flags_1 = CONDUCT_1
slot_flags = ITEM_SLOT_BELT
custom_materials = list(/datum/material/iron=2000)
diff --git a/code/modules/projectiles/guns/ballistic.dm b/code/modules/projectiles/guns/ballistic.dm
index c338438ba87..03c5fdd01de 100644
--- a/code/modules/projectiles/guns/ballistic.dm
+++ b/code/modules/projectiles/guns/ballistic.dm
@@ -470,7 +470,7 @@ GLOBAL_LIST_INIT(gun_saw_types, typecacheof(list(
name = "sawn-off [src.name]"
desc = sawn_desc
w_class = WEIGHT_CLASS_NORMAL
- item_state = "gun"
+ inhand_icon_state = "gun"
slot_flags &= ~ITEM_SLOT_BACK //you can't sling it on your back
slot_flags |= ITEM_SLOT_BELT //but you can wear it on your belt (poorly concealed under a trenchcoat, ideally)
recoil = SAWN_OFF_RECOIL
diff --git a/code/modules/projectiles/guns/ballistic/automatic.dm b/code/modules/projectiles/guns/ballistic/automatic.dm
index 317c5eac004..0d3631dcdc4 100644
--- a/code/modules/projectiles/guns/ballistic/automatic.dm
+++ b/code/modules/projectiles/guns/ballistic/automatic.dm
@@ -59,7 +59,7 @@
name = "\improper C-20r SMG"
desc = "A bullpup two-round burst .45 SMG, designated 'C-20r'. Has a 'Scarborough Arms - Per falcis, per pravitas' buttstamp."
icon_state = "c20r"
- item_state = "c20r"
+ inhand_icon_state = "c20r"
mag_type = /obj/item/ammo_box/magazine/smgm45
fire_delay = 2
burst_size = 3
@@ -82,7 +82,7 @@
name = "security auto rifle"
desc = "An outdated personal defence weapon. Uses 4.6x30mm rounds and is designated the WT-550 Automatic Rifle."
icon_state = "wt550"
- item_state = "arg"
+ inhand_icon_state = "arg"
mag_type = /obj/item/ammo_box/magazine/wt550m9
fire_delay = 2
can_suppress = FALSE
@@ -109,7 +109,7 @@
name = "\improper M-90gl Carbine"
desc = "A three-round burst 5.56 toploading carbine, designated 'M-90gl'. Has an attached underbarrel grenade launcher which can be toggled on and off."
icon_state = "m90"
- item_state = "m90"
+ inhand_icon_state = "m90"
mag_type = /obj/item/ammo_box/magazine/m556
can_suppress = FALSE
var/obj/item/gun/ballistic/revolver/grenadelauncher/underbarrel
@@ -182,7 +182,7 @@
name = "\improper Thompson SMG"
desc = "Based on the classic 'Chicago Typewriter'."
icon_state = "tommygun"
- item_state = "shotgun"
+ inhand_icon_state = "shotgun"
w_class = WEIGHT_CLASS_HUGE
slot_flags = 0
mag_type = /obj/item/ammo_box/magazine/tommygunm45
@@ -195,7 +195,7 @@
name = "\improper NT-ARG 'Boarder'"
desc = "A robust assault rifle used by Nanotrasen fighting forces."
icon_state = "arg"
- item_state = "arg"
+ inhand_icon_state = "arg"
slot_flags = 0
mag_type = /obj/item/ammo_box/magazine/m556
can_suppress = FALSE
@@ -209,7 +209,7 @@
name = "\improper L6 SAW"
desc = "A heavily modified 7.12x82mm light machine gun, designated 'L6 SAW'. Has 'Aussec Armoury - 2531' engraved on the receiver below the designation."
icon_state = "l6"
- item_state = "l6closedmag"
+ inhand_icon_state = "l6closedmag"
w_class = WEIGHT_CLASS_HUGE
slot_flags = 0
mag_type = /obj/item/ammo_box/magazine/mm712x82
@@ -283,7 +283,7 @@
name = "sniper rifle"
desc = "A long ranged weapon that does significant damage. No, you can't quickscope."
icon_state = "sniper"
- item_state = "sniper"
+ inhand_icon_state = "sniper"
fire_sound = 'sound/weapons/gun/sniper/shot.ogg'
fire_sound_volume = 90
vary_fire_sound = FALSE
@@ -316,7 +316,7 @@
name = "Surplus Rifle"
desc = "One of countless obsolete ballistic rifles that still sees use as a cheap deterrent. Uses 10mm ammo and its bulky frame prevents one-hand firing."
icon_state = "surplus"
- item_state = "moistnugget"
+ inhand_icon_state = "moistnugget"
weapon_weight = WEAPON_HEAVY
mag_type = /obj/item/ammo_box/magazine/m10mm/rifle
fire_delay = 30
@@ -334,7 +334,7 @@
name = "laser rifle"
desc = "Though sometimes mocked for the relatively weak firepower of their energy weapons, the logistic miracle of rechargeable ammunition has given Nanotrasen a decisive edge over many a foe."
icon_state = "oldrifle"
- item_state = "arg"
+ inhand_icon_state = "arg"
mag_type = /obj/item/ammo_box/magazine/recharge
fire_delay = 2
can_suppress = FALSE
diff --git a/code/modules/projectiles/guns/ballistic/laser_gatling.dm b/code/modules/projectiles/guns/ballistic/laser_gatling.dm
index 42930d4b59f..8da663df6aa 100644
--- a/code/modules/projectiles/guns/ballistic/laser_gatling.dm
+++ b/code/modules/projectiles/guns/ballistic/laser_gatling.dm
@@ -6,7 +6,7 @@
desc = "The massive external power source for the laser gatling gun."
icon = 'icons/obj/guns/minigun.dmi'
icon_state = "holstered"
- item_state = "backpack"
+ inhand_icon_state = "backpack"
lefthand_file = 'icons/mob/inhands/equipment/backpack_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/backpack_righthand.dmi'
slot_flags = ITEM_SLOT_BACK
@@ -98,7 +98,7 @@
desc = "An advanced laser cannon with an incredible rate of fire. Requires a bulky backpack power source to use."
icon = 'icons/obj/guns/minigun.dmi'
icon_state = "minigun_spin"
- item_state = "minigun"
+ inhand_icon_state = "minigun"
flags_1 = CONDUCT_1
slowdown = 1
slot_flags = null
diff --git a/code/modules/projectiles/guns/ballistic/launchers.dm b/code/modules/projectiles/guns/ballistic/launchers.dm
index afe47a92b35..2da35374522 100644
--- a/code/modules/projectiles/guns/ballistic/launchers.dm
+++ b/code/modules/projectiles/guns/ballistic/launchers.dm
@@ -5,7 +5,7 @@
desc = "A break-operated grenade launcher."
name = "grenade launcher"
icon_state = "dshotgun_sawn"
- item_state = "gun"
+ inhand_icon_state = "gun"
mag_type = /obj/item/ammo_box/magazine/internal/grenadelauncher
fire_sound = 'sound/weapons/gun/general/grenade_launch.ogg'
w_class = WEIGHT_CLASS_NORMAL
@@ -46,7 +46,7 @@
name = "\improper PML-9"
desc = "A reusable rocket propelled grenade launcher. The words \"NT this way\" and an arrow have been written near the barrel."
icon_state = "rocketlauncher"
- item_state = "rocketlauncher"
+ inhand_icon_state = "rocketlauncher"
mag_type = /obj/item/ammo_box/magazine/internal/rocketlauncher
fire_sound = 'sound/weapons/gun/general/rocket_launch.ogg'
w_class = WEIGHT_CLASS_BULKY
diff --git a/code/modules/projectiles/guns/ballistic/pistol.dm b/code/modules/projectiles/guns/ballistic/pistol.dm
index e3cf79c3faf..07c8699cf3e 100644
--- a/code/modules/projectiles/guns/ballistic/pistol.dm
+++ b/code/modules/projectiles/guns/ballistic/pistol.dm
@@ -62,12 +62,12 @@
/obj/item/gun/ballistic/automatic/pistol/deagle/gold
desc = "A gold plated Desert Eagle folded over a million times by superior martian gunsmiths. Uses .50 AE ammo."
icon_state = "deagleg"
- item_state = "deagleg"
+ inhand_icon_state = "deagleg"
/obj/item/gun/ballistic/automatic/pistol/deagle/camo
desc = "A Deagle brand Deagle for operators operating operationally. Uses .50 AE ammo."
icon_state = "deaglecamo"
- item_state = "deagleg"
+ inhand_icon_state = "deagleg"
/obj/item/gun/ballistic/automatic/pistol/aps
name = "stechkin APS machine pistol"
diff --git a/code/modules/projectiles/guns/ballistic/rifle.dm b/code/modules/projectiles/guns/ballistic/rifle.dm
index 47c86cfca6d..ff281ba49c6 100644
--- a/code/modules/projectiles/guns/ballistic/rifle.dm
+++ b/code/modules/projectiles/guns/ballistic/rifle.dm
@@ -2,7 +2,7 @@
name = "Bolt Rifle"
desc = "Some kind of bolt action rifle. You get the feeling you shouldn't have this."
icon_state = "moistnugget"
- item_state = "moistnugget"
+ inhand_icon_state = "moistnugget"
mag_type = /obj/item/ammo_box/magazine/internal/boltaction
bolt_wording = "bolt"
bolt_type = BOLT_TYPE_STANDARD
@@ -55,7 +55,7 @@ obj/item/gun/ballistic/rifle/attackby(obj/item/A, mob/user, params)
w_class = WEIGHT_CLASS_BULKY
weapon_weight = WEAPON_HEAVY
icon_state = "moistnugget"
- item_state = "moistnugget"
+ inhand_icon_state = "moistnugget"
slot_flags = ITEM_SLOT_BACK
mag_type = /obj/item/ammo_box/magazine/internal/boltaction
can_bayonet = TRUE
@@ -88,7 +88,7 @@ obj/item/gun/ballistic/rifle/attackby(obj/item/A, mob/user, params)
fire_sound = 'sound/weapons/emitter.ogg'
pin = /obj/item/firing_pin/magic
icon_state = "arcane_barrage"
- item_state = "arcane_barrage"
+ inhand_icon_state = "arcane_barrage"
slot_flags = null
can_bayonet = FALSE
item_flags = NEEDS_PERMIT | DROPDEL | ABSTRACT | NOBLUDGEON
diff --git a/code/modules/projectiles/guns/ballistic/shotgun.dm b/code/modules/projectiles/guns/ballistic/shotgun.dm
index 7ed6c675aaf..fab20a6761d 100644
--- a/code/modules/projectiles/guns/ballistic/shotgun.dm
+++ b/code/modules/projectiles/guns/ballistic/shotgun.dm
@@ -4,7 +4,7 @@
icon_state = "shotgun"
lefthand_file = 'icons/mob/inhands/weapons/64x_guns_left.dmi'
righthand_file = 'icons/mob/inhands/weapons/64x_guns_right.dmi'
- item_state = "shotgun"
+ inhand_icon_state = "shotgun"
inhand_x_dimension = 64
inhand_y_dimension = 64
fire_sound = 'sound/weapons/gun/shotgun/shot.ogg'
@@ -42,7 +42,7 @@
name = "riot shotgun"
desc = "A sturdy shotgun with a longer magazine and a fixed tactical stock designed for non-lethal riot control."
icon_state = "riotshotgun"
- item_state = "shotgun"
+ inhand_icon_state = "shotgun"
fire_delay = 7
mag_type = /obj/item/ammo_box/magazine/internal/shot/riot
sawn_desc = "Come with me if you want to live."
@@ -58,7 +58,7 @@
name = "combat shotgun"
desc = "A semi automatic shotgun with tactical furniture and a six-shell capacity underneath."
icon_state = "cshotgun"
- item_state = "shotgun_combat"
+ inhand_icon_state = "shotgun_combat"
fire_delay = 5
mag_type = /obj/item/ammo_box/magazine/internal/shot/com
w_class = WEIGHT_CLASS_HUGE
@@ -112,7 +112,7 @@
name = "\improper Bulldog Shotgun"
desc = "A semi-auto, mag-fed shotgun for combat in narrow corridors, nicknamed 'Bulldog' by boarding parties. Compatible only with specialized 8-round drum magazines."
icon_state = "bulldog"
- item_state = "bulldog"
+ inhand_icon_state = "bulldog"
lefthand_file = 'icons/mob/inhands/weapons/guns_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/guns_righthand.dmi'
inhand_x_dimension = 32
@@ -145,7 +145,7 @@
name = "double-barreled shotgun"
desc = "A true classic."
icon_state = "dshotgun"
- item_state = "shotgun_db"
+ inhand_icon_state = "shotgun_db"
w_class = WEIGHT_CLASS_BULKY
weapon_weight = WEAPON_MEDIUM
force = 10
@@ -183,7 +183,7 @@
name = "improvised shotgun"
desc = "Essentially a tube that aims shotgun shells."
icon_state = "ishotgun"
- item_state = "ishotgun"
+ inhand_icon_state = "ishotgun"
w_class = WEIGHT_CLASS_BULKY
force = 10
slot_flags = null
@@ -207,9 +207,9 @@
/obj/item/gun/ballistic/shotgun/doublebarrel/improvised/update_icon_state()
. = ..()
if(slung)
- item_state = "ishotgunsling"
+ inhand_icon_state = "ishotgunsling"
if(sawn_off)
- item_state = "ishotgun_sawn"
+ inhand_icon_state = "ishotgun_sawn"
/obj/item/gun/ballistic/shotgun/doublebarrel/improvised/update_overlays()
. = ..()
@@ -229,7 +229,7 @@
name = "sawn-off improvised shotgun"
desc = "A single-shot shotgun. Better not miss."
icon_state = "ishotgun_sawn"
- item_state = "ishotgun_sawn"
+ inhand_icon_state = "ishotgun_sawn"
w_class = WEIGHT_CLASS_NORMAL
sawn_off = TRUE
slot_flags = ITEM_SLOT_BELT
@@ -238,7 +238,7 @@
name = "hook modified sawn-off shotgun"
desc = "Range isn't an issue when you can bring your victim to you."
icon_state = "hookshotgun"
- item_state = "shotgun"
+ inhand_icon_state = "shotgun"
load_sound = "sound/weapons/shotguninsert.ogg"
mag_type = /obj/item/ammo_box/magazine/internal/shot/bounty
w_class = WEIGHT_CLASS_BULKY
diff --git a/code/modules/projectiles/guns/ballistic/toy.dm b/code/modules/projectiles/guns/ballistic/toy.dm
index 895d6368431..7c9527fd1c6 100644
--- a/code/modules/projectiles/guns/ballistic/toy.dm
+++ b/code/modules/projectiles/guns/ballistic/toy.dm
@@ -2,7 +2,7 @@
name = "foam force SMG"
desc = "A prototype three-round burst toy submachine gun. Ages 8 and up."
icon_state = "saber"
- item_state = "gun"
+ inhand_icon_state = "gun"
mag_type = /obj/item/ammo_box/magazine/toy/smg
fire_sound = 'sound/items/syringeproj.ogg'
force = 0
@@ -75,7 +75,7 @@
desc = "A weapon favored by many overactive children. Ages 8 and up."
icon = 'icons/obj/toy.dmi'
icon_state = "foamcrossbow"
- item_state = "crossbow"
+ inhand_icon_state = "crossbow"
mag_type = /obj/item/ammo_box/magazine/internal/shot/toy/crossbow
fire_sound = 'sound/items/syringeproj.ogg'
slot_flags = ITEM_SLOT_BELT
diff --git a/code/modules/projectiles/guns/energy.dm b/code/modules/projectiles/guns/energy.dm
index 15238bfb3e8..ad72962b9ad 100644
--- a/code/modules/projectiles/guns/energy.dm
+++ b/code/modules/projectiles/guns/energy.dm
@@ -140,16 +140,16 @@
return
/obj/item/gun/energy/update_icon_state()
- if(initial(item_state))
+ if(initial(inhand_icon_state))
return
var/ratio = get_charge_ratio()
- var/new_item_state = ""
- new_item_state = initial(icon_state)
+ var/new_inhand_icon_state = ""
+ new_inhand_icon_state = initial(icon_state)
if(modifystate)
var/obj/item/ammo_casing/energy/shot = ammo_type[select]
- new_item_state += "[shot.select_name]"
- new_item_state += "[ratio]"
- item_state = new_item_state
+ new_inhand_icon_state += "[shot.select_name]"
+ new_inhand_icon_state += "[ratio]"
+ inhand_icon_state = new_inhand_icon_state
/obj/item/gun/energy/update_overlays()
. = ..()
diff --git a/code/modules/projectiles/guns/energy/dueling.dm b/code/modules/projectiles/guns/energy/dueling.dm
index 91d2928c6cf..2b0fe9d866b 100644
--- a/code/modules/projectiles/guns/energy/dueling.dm
+++ b/code/modules/projectiles/guns/energy/dueling.dm
@@ -132,7 +132,7 @@
name = "dueling pistol"
desc = "High-tech dueling pistol. Launches chaff and projectile according to preset settings."
icon_state = "dueling_pistol"
- item_state = "gun"
+ inhand_icon_state = "gun"
ammo_x_offset = 2
w_class = WEIGHT_CLASS_SMALL
ammo_type = list(/obj/item/ammo_casing/energy/duel)
@@ -306,7 +306,7 @@
name = "dueling pistol case"
desc = "Let's solve this like gentlespacemen."
icon_state = "medalbox+l"
- item_state = "syringe_kit"
+ inhand_icon_state = "syringe_kit"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
w_class = WEIGHT_CLASS_NORMAL
diff --git a/code/modules/projectiles/guns/energy/energy_gun.dm b/code/modules/projectiles/guns/energy/energy_gun.dm
index 7dedf94fade..b6628b29f8c 100644
--- a/code/modules/projectiles/guns/energy/energy_gun.dm
+++ b/code/modules/projectiles/guns/energy/energy_gun.dm
@@ -2,7 +2,7 @@
name = "energy gun"
desc = "A basic hybrid energy gun with two settings: disable and kill."
icon_state = "energy"
- item_state = null //so the human update icon uses the icon_state instead.
+ inhand_icon_state = null //so the human update icon uses the icon_state instead.
ammo_type = list(/obj/item/ammo_casing/energy/disabler, /obj/item/ammo_casing/energy/laser)
modifystate = 1
can_flashlight = TRUE
@@ -15,7 +15,7 @@
name = "miniature energy gun"
desc = "A small, pistol-sized energy gun with a built-in flashlight. It has two settings: disable and kill."
icon_state = "mini"
- item_state = "gun"
+ inhand_icon_state = "gun"
w_class = WEIGHT_CLASS_SMALL
cell_type = /obj/item/stock_parts/cell/mini_egun
ammo_x_offset = 2
@@ -63,7 +63,7 @@
name = "\improper DRAGnet"
desc = "The \"Dynamic Rapid-Apprehension of the Guilty\" net is a revolution in law enforcement technology."
icon_state = "dragnet"
- item_state = "dragnet"
+ inhand_icon_state = "dragnet"
lefthand_file = 'icons/mob/inhands/weapons/guns_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/guns_righthand.dmi'
ammo_type = list(/obj/item/ammo_casing/energy/net, /obj/item/ammo_casing/energy/trap)
@@ -79,7 +79,7 @@
name = "hybrid turret gun"
desc = "A heavy hybrid energy cannon with two settings: Stun and kill."
icon_state = "turretlaser"
- item_state = "turretlaser"
+ inhand_icon_state = "turretlaser"
slot_flags = null
w_class = WEIGHT_CLASS_HUGE
ammo_type = list(/obj/item/ammo_casing/energy/electrode, /obj/item/ammo_casing/energy/laser)
@@ -92,7 +92,7 @@
name = "advanced energy gun"
desc = "An energy gun with an experimental miniaturized nuclear reactor that automatically charges the internal power cell."
icon_state = "nucgun"
- item_state = "nucgun"
+ inhand_icon_state = "nucgun"
charge_delay = 5
pin = null
can_charge = FALSE
diff --git a/code/modules/projectiles/guns/energy/kinetic_accelerator.dm b/code/modules/projectiles/guns/energy/kinetic_accelerator.dm
index 20c158a47a2..1735a88b3a5 100644
--- a/code/modules/projectiles/guns/energy/kinetic_accelerator.dm
+++ b/code/modules/projectiles/guns/energy/kinetic_accelerator.dm
@@ -2,7 +2,7 @@
name = "proto-kinetic accelerator"
desc = "A self recharging, ranged mining tool that does increased damage in low pressure."
icon_state = "kineticgun"
- item_state = "kineticgun"
+ inhand_icon_state = "kineticgun"
ammo_type = list(/obj/item/ammo_casing/energy/kinetic)
cell_type = /obj/item/stock_parts/cell/emproof
item_flags = NONE
diff --git a/code/modules/projectiles/guns/energy/laser.dm b/code/modules/projectiles/guns/energy/laser.dm
index f2f083784a4..e504b54cdc7 100644
--- a/code/modules/projectiles/guns/energy/laser.dm
+++ b/code/modules/projectiles/guns/energy/laser.dm
@@ -2,7 +2,7 @@
name = "laser gun"
desc = "A basic energy-based laser gun that fires concentrated beams of light which pass through glass and thin metal."
icon_state = "laser"
- item_state = "laser"
+ inhand_icon_state = "laser"
w_class = WEIGHT_CLASS_NORMAL
custom_materials = list(/datum/material/iron=2000)
ammo_type = list(/obj/item/ammo_casing/energy/lasergun)
@@ -32,7 +32,7 @@
/obj/item/gun/energy/laser/captain
name = "antique laser gun"
icon_state = "caplaser"
- item_state = null
+ inhand_icon_state = null
desc = "This is an antique laser gun. All craftsmanship is of the highest quality. It is decorated with assistant leather and chrome. The object menaces with spikes of energy. On the item is an image of Space Station 13. The station is exploding."
force = 10
ammo_x_offset = 3
@@ -42,7 +42,7 @@
/obj/item/gun/energy/laser/captain/scattershot
name = "scatter shot laser rifle"
icon_state = "lasercannon"
- item_state = "laser"
+ inhand_icon_state = "laser"
desc = "An industrial-grade heavy-duty laser rifle with a modified laser lens to scatter its shot into multiple smaller lasers. The inner-core can self-charge for theoretically infinite use."
ammo_type = list(/obj/item/ammo_casing/energy/laser/scatter, /obj/item/ammo_casing/energy/laser)
shaded_charge = FALSE
@@ -64,7 +64,7 @@
name = "energy shotgun"
icon = 'icons/obj/guns/projectile.dmi'
icon_state = "cshotgun"
- item_state = "shotgun"
+ inhand_icon_state = "shotgun"
desc = "A combat shotgun gutted and refitted with an internal laser system. Can switch between taser and scattered disabler shots."
shaded_charge = 0
pin = /obj/item/firing_pin/implant/mindshield
@@ -76,7 +76,7 @@
name = "accelerator laser cannon"
desc = "An advanced laser cannon that does more damage the farther away the target is."
icon_state = "lasercannon"
- item_state = "laser"
+ inhand_icon_state = "laser"
w_class = WEIGHT_CLASS_BULKY
force = 10
flags_1 = CONDUCT_1
@@ -105,7 +105,7 @@
name = "\improper X-ray laser gun"
desc = "A high-power laser gun capable of expelling concentrated X-ray blasts that pass through multiple soft targets and heavier materials."
icon_state = "xray"
- item_state = null
+ inhand_icon_state = null
ammo_type = list(/obj/item/ammo_casing/energy/xray)
pin = null
ammo_x_offset = 3
diff --git a/code/modules/projectiles/guns/energy/mounted.dm b/code/modules/projectiles/guns/energy/mounted.dm
index 869b4887449..47a4e4c38a2 100644
--- a/code/modules/projectiles/guns/energy/mounted.dm
+++ b/code/modules/projectiles/guns/energy/mounted.dm
@@ -3,7 +3,7 @@
desc = "An arm mounted dual-mode weapon that fires electrodes and disabler shots."
icon = 'icons/obj/items_cyborg.dmi'
icon_state = "taser"
- item_state = "armcannonstun4"
+ inhand_icon_state = "armcannonstun4"
force = 5
selfcharge = 1
can_flashlight = FALSE
@@ -17,7 +17,7 @@
desc = "An arm mounted cannon that fires lethal lasers."
icon = 'icons/obj/items_cyborg.dmi'
icon_state = "laser"
- item_state = "armcannonlase"
+ inhand_icon_state = "armcannonlase"
force = 5
selfcharge = 1
trigger_guard = TRIGGER_GUARD_ALLOW_ALL
diff --git a/code/modules/projectiles/guns/energy/pulse.dm b/code/modules/projectiles/guns/energy/pulse.dm
index 4d9da9b28fa..fa4baa313b6 100644
--- a/code/modules/projectiles/guns/energy/pulse.dm
+++ b/code/modules/projectiles/guns/energy/pulse.dm
@@ -2,7 +2,7 @@
name = "pulse rifle"
desc = "A heavy-duty, multifaceted energy rifle with three modes. Preferred by front-line combat personnel."
icon_state = "pulse"
- item_state = null
+ inhand_icon_state = null
w_class = WEIGHT_CLASS_BULKY
force = 10
modifystate = TRUE
@@ -40,7 +40,7 @@
w_class = WEIGHT_CLASS_NORMAL
slot_flags = ITEM_SLOT_BELT
icon_state = "pulse_carbine"
- item_state = null
+ inhand_icon_state = null
cell_type = "/obj/item/stock_parts/cell/pulse/carbine"
can_flashlight = TRUE
flight_x_offset = 18
@@ -55,7 +55,7 @@
w_class = WEIGHT_CLASS_SMALL
slot_flags = ITEM_SLOT_BELT
icon_state = "pulse_pistol"
- item_state = "gun"
+ inhand_icon_state = "gun"
cell_type = "/obj/item/stock_parts/cell/pulse/pistol"
/obj/item/gun/energy/pulse/pistol/loyalpin
@@ -74,5 +74,5 @@
name = "\improper M1911-P"
desc = "A compact pulse core in a classic handgun frame for Nanotrasen officers. It's not the size of the gun, it's the size of the hole it puts through people."
icon_state = "m1911"
- item_state = "gun"
+ inhand_icon_state = "gun"
cell_type = "/obj/item/stock_parts/cell/infinite"
diff --git a/code/modules/projectiles/guns/energy/special.dm b/code/modules/projectiles/guns/energy/special.dm
index d842caf410c..63d63ce830f 100644
--- a/code/modules/projectiles/guns/energy/special.dm
+++ b/code/modules/projectiles/guns/energy/special.dm
@@ -2,7 +2,7 @@
name = "ion rifle"
desc = "A man-portable anti-armor weapon designed to disable mechanical threats at range."
icon_state = "ionrifle"
- item_state = null //so the human update icon uses the icon_state instead.
+ inhand_icon_state = null //so the human update icon uses the icon_state instead.
shaded_charge = TRUE
can_flashlight = TRUE
w_class = WEIGHT_CLASS_HUGE
@@ -47,7 +47,7 @@
name = "floral somatoray"
desc = "A tool that discharges controlled radiation which induces mutation in plant cells."
icon_state = "flora"
- item_state = "gun"
+ inhand_icon_state = "gun"
ammo_type = list(/obj/item/ammo_casing/energy/flora/yield, /obj/item/ammo_casing/energy/flora/mut, /obj/item/ammo_casing/energy/flora/revolution)
modifystate = 1
ammo_x_offset = 1
@@ -57,7 +57,7 @@
name = "meteor gun"
desc = "For the love of god, make sure you're aiming this the right way!"
icon_state = "meteor_gun"
- item_state = "c20r"
+ inhand_icon_state = "c20r"
w_class = WEIGHT_CLASS_BULKY
ammo_type = list(/obj/item/ammo_casing/energy/meteor)
cell_type = "/obj/item/stock_parts/cell/potato"
@@ -69,7 +69,7 @@
desc = "The pen is mightier than the sword."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "pen"
- item_state = "pen"
+ inhand_icon_state = "pen"
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
w_class = WEIGHT_CLASS_TINY
@@ -78,7 +78,7 @@
name = "\improper Mind Flayer"
desc = "A prototype weapon recovered from the ruins of Research-Station Epsilon."
icon_state = "xray"
- item_state = null
+ inhand_icon_state = null
ammo_type = list(/obj/item/ammo_casing/energy/mindflayer)
ammo_x_offset = 2
@@ -86,7 +86,7 @@
name = "mini energy crossbow"
desc = "A weapon favored by syndicate stealth specialists."
icon_state = "crossbow"
- item_state = "crossbow"
+ inhand_icon_state = "crossbow"
w_class = WEIGHT_CLASS_SMALL
custom_materials = list(/datum/material/iron=2000)
suppressed = TRUE
@@ -103,7 +103,7 @@
name = "candy corn crossbow"
desc = "A weapon favored by Syndicate trick-or-treaters."
icon_state = "crossbow_halloween"
- item_state = "crossbow"
+ inhand_icon_state = "crossbow"
ammo_type = list(/obj/item/ammo_casing/energy/bolt/halloween)
/obj/item/gun/energy/kinetic_accelerator/crossbow/large
@@ -121,7 +121,7 @@
name = "plasma cutter"
desc = "A mining tool capable of expelling concentrated plasma bursts. You could use it to cut limbs off xenos! Or, you know, mine stuff."
icon_state = "plasmacutter"
- item_state = "plasmacutter"
+ inhand_icon_state = "plasmacutter"
ammo_type = list(/obj/item/ammo_casing/energy/plasma)
flags_1 = CONDUCT_1
attack_verb = list("attacked", "slashed", "cut", "sliced")
@@ -189,7 +189,7 @@
/obj/item/gun/energy/plasmacutter/adv
name = "advanced plasma cutter"
icon_state = "adv_plasmacutter"
- item_state = "adv_plasmacutter"
+ inhand_icon_state = "adv_plasmacutter"
force = 15
ammo_type = list(/obj/item/ammo_casing/energy/plasma/adv)
@@ -197,7 +197,7 @@
name = "bluespace wormhole projector"
desc = "A projector that emits high density quantum-coupled bluespace beams. Requires a bluespace anomaly core to function."
ammo_type = list(/obj/item/ammo_casing/energy/wormhole, /obj/item/ammo_casing/energy/wormhole/orange)
- item_state = null
+ inhand_icon_state = null
icon_state = "wormhole_projector"
var/obj/effect/portal/p_blue
var/obj/effect/portal/p_orange
@@ -222,7 +222,7 @@
to_chat(user, "The display says, 'NO CORE INSTALLED'.")
/obj/item/gun/energy/wormhole_projector/update_icon_state()
- icon_state = item_state = "[initial(icon_state)][select]"
+ icon_state = inhand_icon_state = "[initial(icon_state)][select]"
/obj/item/gun/energy/wormhole_projector/update_ammo_types()
. = ..()
@@ -316,7 +316,7 @@
/obj/item/gun/energy/laser/instakill
name = "instakill rifle"
icon_state = "instagib"
- item_state = "instagib"
+ inhand_icon_state = "instagib"
desc = "A specialized ASMD laser-rifle, capable of flat-out disintegrating most targets in a single hit."
ammo_type = list(/obj/item/ammo_casing/energy/instakill)
force = 60
@@ -327,13 +327,13 @@
/obj/item/gun/energy/laser/instakill/red
desc = "A specialized ASMD laser-rifle, capable of flat-out disintegrating most targets in a single hit. This one has a red design."
icon_state = "instagibred"
- item_state = "instagibred"
+ inhand_icon_state = "instagibred"
ammo_type = list(/obj/item/ammo_casing/energy/instakill/red)
/obj/item/gun/energy/laser/instakill/blue
desc = "A specialized ASMD laser-rifle, capable of flat-out disintegrating most targets in a single hit. This one has a blue design."
icon_state = "instagibblue"
- item_state = "instagibblue"
+ inhand_icon_state = "instagibblue"
ammo_type = list(/obj/item/ammo_casing/energy/instakill/blue)
/obj/item/gun/energy/laser/instakill/emp_act() //implying you could stop the instagib
@@ -343,7 +343,7 @@
name = "one-point gravitational manipulator"
desc = "An experimental, multi-mode device that fires bolts of Zero-Point Energy, causing local distortions in gravity. Requires a gravitational anomaly core to function."
ammo_type = list(/obj/item/ammo_casing/energy/gravity/repulse, /obj/item/ammo_casing/energy/gravity/attract, /obj/item/ammo_casing/energy/gravity/chaos)
- item_state = "gravity_gun"
+ inhand_icon_state = "gravity_gun"
icon_state = "gravity_gun"
var/power = 4
var/firing_core = FALSE
diff --git a/code/modules/projectiles/guns/energy/stun.dm b/code/modules/projectiles/guns/energy/stun.dm
index a80bb49f4e1..67d9a3aa5af 100644
--- a/code/modules/projectiles/guns/energy/stun.dm
+++ b/code/modules/projectiles/guns/energy/stun.dm
@@ -2,7 +2,7 @@
name = "taser gun"
desc = "A low-capacity, energy-based stun gun used by security teams to subdue targets at range."
icon_state = "taser"
- item_state = null //so the human update icon uses the icon_state instead.
+ inhand_icon_state = null //so the human update icon uses the icon_state instead.
ammo_type = list(/obj/item/ammo_casing/energy/electrode)
ammo_x_offset = 3
@@ -10,7 +10,7 @@
name = "tesla gun"
desc = "An experimental gun based on an experimental engine, it's about as likely to kill its operator as it is the target."
icon_state = "tesla"
- item_state = "tesla"
+ inhand_icon_state = "tesla"
ammo_type = list(/obj/item/ammo_casing/energy/tesla_revolver)
can_flashlight = FALSE
pin = null
@@ -34,7 +34,7 @@
name = "disabler"
desc = "A self-defense weapon that exhausts organic targets, weakening them until they collapse."
icon_state = "disabler"
- item_state = null
+ inhand_icon_state = null
ammo_type = list(/obj/item/ammo_casing/energy/disabler)
ammo_x_offset = 2
can_flashlight = TRUE
diff --git a/code/modules/projectiles/guns/magic.dm b/code/modules/projectiles/guns/magic.dm
index f078f11bbd4..f3bc7140a5a 100644
--- a/code/modules/projectiles/guns/magic.dm
+++ b/code/modules/projectiles/guns/magic.dm
@@ -3,7 +3,7 @@
desc = "This staff is boring to watch because even though it came first you've seen everything it can do in other staves for years."
icon = 'icons/obj/guns/magic.dmi'
icon_state = "staffofnothing"
- item_state = "staff"
+ inhand_icon_state = "staff"
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi' //not really a gun and some toys use these inhands
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
fire_sound = 'sound/weapons/emitter.ogg'
diff --git a/code/modules/projectiles/guns/magic/staff.dm b/code/modules/projectiles/guns/magic/staff.dm
index 47c489ba1de..744f5d6a1fe 100644
--- a/code/modules/projectiles/guns/magic/staff.dm
+++ b/code/modules/projectiles/guns/magic/staff.dm
@@ -11,7 +11,7 @@
fire_sound = 'sound/magic/staff_change.ogg'
ammo_type = /obj/item/ammo_casing/magic/change
icon_state = "staffofchange"
- item_state = "staffofchange"
+ inhand_icon_state = "staffofchange"
/obj/item/gun/magic/staff/animate
name = "staff of animation"
@@ -19,7 +19,7 @@
fire_sound = 'sound/magic/staff_animation.ogg'
ammo_type = /obj/item/ammo_casing/magic/animate
icon_state = "staffofanimation"
- item_state = "staffofanimation"
+ inhand_icon_state = "staffofanimation"
/obj/item/gun/magic/staff/healing
name = "staff of healing"
@@ -27,7 +27,7 @@
fire_sound = 'sound/magic/staff_healing.ogg'
ammo_type = /obj/item/ammo_casing/magic/heal
icon_state = "staffofhealing"
- item_state = "staffofhealing"
+ inhand_icon_state = "staffofhealing"
/obj/item/gun/magic/staff/healing/handle_suicide() //Stops people trying to commit suicide to heal themselves
return
@@ -38,7 +38,7 @@
fire_sound = 'sound/magic/staff_chaos.ogg'
ammo_type = /obj/item/ammo_casing/magic/chaos
icon_state = "staffofchaos"
- item_state = "staffofchaos"
+ inhand_icon_state = "staffofchaos"
max_charges = 10
recharge_rate = 2
no_den_usage = 1
@@ -58,7 +58,7 @@
fire_sound = 'sound/magic/staff_door.ogg'
ammo_type = /obj/item/ammo_casing/magic/door
icon_state = "staffofdoor"
- item_state = "staffofdoor"
+ inhand_icon_state = "staffofdoor"
max_charges = 10
recharge_rate = 2
no_den_usage = 1
@@ -69,7 +69,7 @@
fire_sound = 'sound/items/airhorn.ogg'
ammo_type = /obj/item/ammo_casing/magic/honk
icon_state = "honker"
- item_state = "honker"
+ inhand_icon_state = "honker"
max_charges = 4
recharge_rate = 8
@@ -79,7 +79,7 @@
fire_sound = 'sound/magic/fireball.ogg'
ammo_type = /obj/item/ammo_casing/magic/spellblade
icon_state = "spellblade"
- item_state = "spellblade"
+ inhand_icon_state = "spellblade"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
hitsound = 'sound/weapons/rapierhit.ogg'
@@ -104,7 +104,7 @@
fire_sound = 'sound/magic/staff_change.ogg'
ammo_type = /obj/item/ammo_casing/magic/locker
icon_state = "locker"
- item_state = "locker"
+ inhand_icon_state = "locker"
max_charges = 6
recharge_rate = 4
@@ -116,7 +116,7 @@
fire_sound = 'sound/magic/staff_healing.ogg'
ammo_type = /obj/item/ammo_casing/magic/flying
icon_state = "staffofflight"
- item_state = "staffofflight"
+ inhand_icon_state = "staffofflight"
/obj/item/gun/magic/staff/sapping
name = "staff of sapping"
@@ -124,7 +124,7 @@
fire_sound = 'sound/magic/staff_change.ogg'
ammo_type = /obj/item/ammo_casing/magic/sapping
icon_state = "staffofsapping"
- item_state = "staffofsapping"
+ inhand_icon_state = "staffofsapping"
/obj/item/gun/magic/staff/necropotence
name = "staff of necropotence"
@@ -132,7 +132,7 @@
fire_sound = 'sound/magic/staff_change.ogg'
ammo_type = /obj/item/ammo_casing/magic/necropotence
icon_state = "staffofnecropotence"
- item_state = "staffofnecropotence"
+ inhand_icon_state = "staffofnecropotence"
/obj/item/gun/magic/staff/wipe
name = "staff of possession"
@@ -140,4 +140,4 @@
fire_sound = 'sound/magic/staff_change.ogg'
ammo_type = /obj/item/ammo_casing/magic/wipe
icon_state = "staffofwipe"
- item_state = "staffofwipe"
+ inhand_icon_state = "staffofwipe"
diff --git a/code/modules/projectiles/guns/magic/wand.dm b/code/modules/projectiles/guns/magic/wand.dm
index 5f005dee928..a6359a997b0 100644
--- a/code/modules/projectiles/guns/magic/wand.dm
+++ b/code/modules/projectiles/guns/magic/wand.dm
@@ -3,7 +3,7 @@
desc = "You shouldn't have this."
ammo_type = /obj/item/ammo_casing/magic
icon_state = "nothingwand"
- item_state = "wand"
+ inhand_icon_state = "wand"
w_class = WEIGHT_CLASS_SMALL
can_charge = FALSE
max_charges = 100 //100, 50, 50, 34 (max charge distribution by 25%ths)
diff --git a/code/modules/projectiles/guns/misc/beam_rifle.dm b/code/modules/projectiles/guns/misc/beam_rifle.dm
index 82279668d58..bca80528b20 100644
--- a/code/modules/projectiles/guns/misc/beam_rifle.dm
+++ b/code/modules/projectiles/guns/misc/beam_rifle.dm
@@ -15,7 +15,7 @@
changing where you're pointing at while aiming will delay the aiming process depending on how much you changed."
icon = 'icons/obj/guns/energy.dmi'
icon_state = "esniper"
- item_state = "esniper"
+ inhand_icon_state = "esniper"
fire_sound = 'sound/weapons/beam_sniper.ogg'
slot_flags = ITEM_SLOT_BACK
force = 15
diff --git a/code/modules/projectiles/guns/misc/blastcannon.dm b/code/modules/projectiles/guns/misc/blastcannon.dm
index 49727714acc..b831d311654 100644
--- a/code/modules/projectiles/guns/misc/blastcannon.dm
+++ b/code/modules/projectiles/guns/misc/blastcannon.dm
@@ -3,7 +3,7 @@
desc = "A pipe welded onto a gun stock, with a mechanical trigger. The pipe has an opening near the top, and there seems to be a spring loaded wheel in the hole."
icon_state = "empty_blastcannon"
var/icon_state_loaded = "loaded_blastcannon"
- item_state = "blastcannon_empty"
+ inhand_icon_state = "blastcannon_empty"
w_class = WEIGHT_CLASS_NORMAL
force = 10
fire_sound = 'sound/weapons/blastcannon.ogg'
diff --git a/code/modules/projectiles/guns/misc/chem_gun.dm b/code/modules/projectiles/guns/misc/chem_gun.dm
index 835dcf862d8..9113deb0198 100644
--- a/code/modules/projectiles/guns/misc/chem_gun.dm
+++ b/code/modules/projectiles/guns/misc/chem_gun.dm
@@ -4,7 +4,7 @@
name = "reagent gun"
desc = "A Nanotrasen syringe gun, modified to automatically synthesise chemical darts, and instead hold reagents."
icon_state = "chemgun"
- item_state = "chemgun"
+ inhand_icon_state = "chemgun"
w_class = WEIGHT_CLASS_NORMAL
throw_speed = 3
throw_range = 7
diff --git a/code/modules/projectiles/guns/misc/grenade_launcher.dm b/code/modules/projectiles/guns/misc/grenade_launcher.dm
index f269d70bdbb..40b6615155d 100644
--- a/code/modules/projectiles/guns/misc/grenade_launcher.dm
+++ b/code/modules/projectiles/guns/misc/grenade_launcher.dm
@@ -3,7 +3,7 @@
desc = "A terrible, terrible thing. It's really awful!"
icon = 'icons/obj/guns/projectile.dmi'
icon_state = "riotgun"
- item_state = "riotgun"
+ inhand_icon_state = "riotgun"
w_class = WEIGHT_CLASS_BULKY
throw_speed = 2
throw_range = 7
diff --git a/code/modules/projectiles/guns/misc/medbeam.dm b/code/modules/projectiles/guns/misc/medbeam.dm
index 17c0f639553..276afaebdc7 100644
--- a/code/modules/projectiles/guns/misc/medbeam.dm
+++ b/code/modules/projectiles/guns/misc/medbeam.dm
@@ -3,7 +3,7 @@
desc = "Don't cross the streams!"
icon = 'icons/obj/chronos.dmi'
icon_state = "chronogun"
- item_state = "chronogun"
+ inhand_icon_state = "chronogun"
w_class = WEIGHT_CLASS_NORMAL
var/mob/living/current_target
diff --git a/code/modules/projectiles/guns/misc/syringe_gun.dm b/code/modules/projectiles/guns/misc/syringe_gun.dm
index 090e96ed17a..cc02d17a90e 100644
--- a/code/modules/projectiles/guns/misc/syringe_gun.dm
+++ b/code/modules/projectiles/guns/misc/syringe_gun.dm
@@ -2,7 +2,7 @@
name = "syringe gun"
desc = "A spring loaded rifle designed to fit syringes, used to incapacitate unruly patients from a distance."
icon_state = "syringegun"
- item_state = "syringegun"
+ inhand_icon_state = "syringegun"
w_class = WEIGHT_CLASS_NORMAL
throw_speed = 3
throw_range = 7
@@ -77,7 +77,7 @@
name = "dart pistol"
desc = "A small spring-loaded sidearm that functions identically to a syringe gun."
icon_state = "syringe_pistol"
- item_state = "gun" //Smaller inhand
+ inhand_icon_state = "gun" //Smaller inhand
w_class = WEIGHT_CLASS_SMALL
force = 2 //Also very weak because it's smaller
suppressed = TRUE //Softer fire sound
@@ -112,7 +112,7 @@
name = "blowgun"
desc = "Fire syringes at a short distance."
icon_state = "blowgun"
- item_state = "blowgun"
+ inhand_icon_state = "blowgun"
fire_sound = 'sound/items/syringeproj.ogg'
/obj/item/gun/syringe/blowgun/process_fire(atom/target, mob/living/user, message = TRUE, params = null, zone_override = "", bonus_spread = 0)
diff --git a/code/modules/projectiles/pins.dm b/code/modules/projectiles/pins.dm
index 85fd0725805..f6819d191f8 100644
--- a/code/modules/projectiles/pins.dm
+++ b/code/modules/projectiles/pins.dm
@@ -3,7 +3,7 @@
desc = "A small authentication device, to be inserted into a firearm receiver to allow operation. NT safety regulations require all new designs to incorporate one."
icon = 'icons/obj/device.dmi'
icon_state = "firing_pin"
- item_state = "pen"
+ inhand_icon_state = "pen"
flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_TINY
attack_verb = list("poked")
diff --git a/code/modules/reagents/reagent_containers/borghydro.dm b/code/modules/reagents/reagent_containers/borghydro.dm
index 8e7f6454b17..ae8859b5371 100644
--- a/code/modules/reagents/reagent_containers/borghydro.dm
+++ b/code/modules/reagents/reagent_containers/borghydro.dm
@@ -13,7 +13,7 @@ Borg Hypospray
name = "cyborg hypospray"
desc = "An advanced chemical synthesizer and injection system, designed for heavy-duty medical equipment."
icon = 'icons/obj/syringe.dmi'
- item_state = "hypo"
+ inhand_icon_state = "hypo"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
icon_state = "borghypo"
diff --git a/code/modules/reagents/reagent_containers/bottle.dm b/code/modules/reagents/reagent_containers/bottle.dm
index 52abee64fa4..551b2bda733 100644
--- a/code/modules/reagents/reagent_containers/bottle.dm
+++ b/code/modules/reagents/reagent_containers/bottle.dm
@@ -4,7 +4,7 @@
name = "bottle"
desc = "A small bottle."
icon_state = "bottle"
- item_state = "atoxinbottle"
+ inhand_icon_state = "atoxinbottle"
possible_transfer_amounts = list(5,10,15,25,30)
volume = 30
fill_icon_thresholds = list(0, 10, 30, 50, 70)
diff --git a/code/modules/reagents/reagent_containers/glass.dm b/code/modules/reagents/reagent_containers/glass.dm
index d84a3f625b6..f9fd8213cf4 100755
--- a/code/modules/reagents/reagent_containers/glass.dm
+++ b/code/modules/reagents/reagent_containers/glass.dm
@@ -114,7 +114,7 @@
desc = "A beaker. It can hold up to 50 units."
icon = 'icons/obj/chemical.dmi'
icon_state = "beaker"
- item_state = "beaker"
+ inhand_icon_state = "beaker"
custom_materials = list(/datum/material/glass=500)
fill_icon_thresholds = list(0, 10, 25, 50, 75, 80, 90)
@@ -214,7 +214,7 @@
desc = "It's a bucket."
icon = 'icons/obj/janitor.dmi'
icon_state = "bucket"
- item_state = "bucket"
+ inhand_icon_state = "bucket"
lefthand_file = 'icons/mob/inhands/equipment/custodial_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/custodial_righthand.dmi'
custom_materials = list(/datum/material/iron=200)
@@ -240,7 +240,7 @@
/obj/item/reagent_containers/glass/bucket/wooden
name = "wooden bucket"
icon_state = "woodbucket"
- item_state = "woodbucket"
+ inhand_icon_state = "woodbucket"
custom_materials = list(/datum/material/wood = MINERAL_MATERIAL_AMOUNT * 2)
armor = list("melee" = 10, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 50)
resistance_flags = FLAMMABLE
diff --git a/code/modules/reagents/reagent_containers/hypospray.dm b/code/modules/reagents/reagent_containers/hypospray.dm
index 76370f5b41d..436118265a4 100644
--- a/code/modules/reagents/reagent_containers/hypospray.dm
+++ b/code/modules/reagents/reagent_containers/hypospray.dm
@@ -2,7 +2,7 @@
name = "hypospray"
desc = "The DeForest Medical Corporation hypospray is a sterile, air-needle autoinjector for rapid administration of drugs to patients."
icon = 'icons/obj/syringe.dmi'
- item_state = "hypo"
+ inhand_icon_state = "hypo"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
icon_state = "hypo"
@@ -64,7 +64,7 @@
name = "combat stimulant injector"
desc = "A modified air-needle autoinjector, used by support operatives to quickly heal injuries in combat."
amount_per_transfer_from_this = 10
- item_state = "combat_hypo"
+ inhand_icon_state = "combat_hypo"
icon_state = "combat_hypo"
volume = 90
ignore_flags = 1 // So they can heal their comrades.
@@ -73,7 +73,7 @@
/obj/item/reagent_containers/hypospray/combat/nanites
name = "experimental combat stimulant injector"
desc = "A modified air-needle autoinjector for use in combat situations. Prefilled with experimental medical nanites and a stimulant for rapid healing and a combat boost."
- item_state = "nanite_hypo"
+ inhand_icon_state = "nanite_hypo"
icon_state = "nanite_hypo"
volume = 100
list_reagents = list(/datum/reagent/medicine/adminordrazine/quantum_heal = 80, /datum/reagent/medicine/synaptizine = 20)
@@ -87,7 +87,7 @@
/obj/item/reagent_containers/hypospray/combat/heresypurge
name = "holy water piercing injector"
desc = "A modified air-needle autoinjector for use in combat situations. Prefilled with 5 doses of a holy water and pacifier mixture. Not for use on your teammates."
- item_state = "holy_hypo"
+ inhand_icon_state = "holy_hypo"
icon_state = "holy_hypo"
volume = 250
list_reagents = list(/datum/reagent/water/holywater = 150, /datum/reagent/peaceborg/tire = 50, /datum/reagent/peaceborg/confuse = 50)
@@ -99,7 +99,7 @@
name = "epinephrine medipen"
desc = "A rapid and safe way to stabilize patients in critical condition for personnel without advanced medical knowledge. Contains a powerful preservative that can delay decomposition when applied to a dead body."
icon_state = "medipen"
- item_state = "medipen"
+ inhand_icon_state = "medipen"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
amount_per_transfer_from_this = 13
@@ -143,7 +143,7 @@
name = "stimpack medipen"
desc = "A rapid way to stimulate your body's adrenaline, allowing for freer movement in restrictive armor."
icon_state = "stimpen"
- item_state = "stimpen"
+ inhand_icon_state = "stimpen"
volume = 20
amount_per_transfer_from_this = 20
list_reagents = list(/datum/reagent/medicine/ephedrine = 10, /datum/reagent/consumable/coffee = 10)
@@ -156,7 +156,7 @@
name = "stimulant medipen"
desc = "Contains a very large amount of an incredibly powerful stimulant, vastly increasing your movement speed and reducing stuns by a very large amount for around five minutes. Do not take if pregnant."
icon_state = "syndipen"
- item_state = "tbpen"
+ inhand_icon_state = "tbpen"
volume = 50
amount_per_transfer_from_this = 50
list_reagents = list(/datum/reagent/medicine/stimulants = 50)
@@ -165,42 +165,42 @@
name = "morphine medipen"
desc = "A rapid way to get you out of a tight situation and fast! You'll feel rather drowsy, though."
icon_state = "morphen"
- item_state = "morphen"
+ inhand_icon_state = "morphen"
list_reagents = list(/datum/reagent/medicine/morphine = 10)
/obj/item/reagent_containers/hypospray/medipen/oxandrolone
name = "oxandrolone medipen"
desc = "An autoinjector containing oxandrolone, used to treat severe burns."
icon_state = "oxapen"
- item_state = "oxapen"
+ inhand_icon_state = "oxapen"
list_reagents = list(/datum/reagent/medicine/oxandrolone = 10)
/obj/item/reagent_containers/hypospray/medipen/penacid
name = "pentetic acid medipen"
desc = "An autoinjector containing pentetic acid, used to reduce high levels of radiations and moderate toxins."
icon_state = "penacid"
- item_state = "penacid"
+ inhand_icon_state = "penacid"
list_reagents = list(/datum/reagent/medicine/pen_acid = 10)
/obj/item/reagent_containers/hypospray/medipen/salacid
name = "salicylic acid medipen"
desc = "An autoinjector containing salicylic acid, used to treat severe brute damage."
icon_state = "salacid"
- item_state = "salacid"
+ inhand_icon_state = "salacid"
list_reagents = list(/datum/reagent/medicine/sal_acid = 10)
/obj/item/reagent_containers/hypospray/medipen/salbutamol
name = "salbutamol medipen"
desc = "An autoinjector containing salbutamol, used to heal oxygen damage quickly."
icon_state = "salpen"
- item_state = "salpen"
+ inhand_icon_state = "salpen"
list_reagents = list(/datum/reagent/medicine/salbutamol = 10)
/obj/item/reagent_containers/hypospray/medipen/tuberculosiscure
name = "BVAK autoinjector"
desc = "Bio Virus Antidote Kit autoinjector. Has a two use system for yourself, and someone else. Inject when infected."
icon_state = "tbpen"
- item_state = "tbpen"
+ inhand_icon_state = "tbpen"
volume = 20
amount_per_transfer_from_this = 10
list_reagents = list(/datum/reagent/vaccine/fungal_tb = 20)
@@ -217,7 +217,7 @@
name = "survival medipen"
desc = "A medipen for surviving in the harshest of environments, heals and protects from environmental hazards. WARNING: Do not inject more than one pen in quick succession."
icon_state = "stimpen"
- item_state = "stimpen"
+ inhand_icon_state = "stimpen"
volume = 60
amount_per_transfer_from_this = 60
list_reagents = list(/datum/reagent/medicine/salbutamol = 10, /datum/reagent/medicine/leporazine = 15, /datum/reagent/medicine/epinephrine = 10, /datum/reagent/medicine/lavaland_extract = 2, /datum/reagent/medicine/omnizine = 5, /datum/reagent/medicine/oxandrolone = 8, /datum/reagent/medicine/sal_acid = 8, /datum/reagent/medicine/morphine = 2)
@@ -226,21 +226,21 @@
name = "atropine autoinjector"
desc = "A rapid way to save a person from a critical injury state!"
icon_state = "atropen"
- item_state = "atropen"
+ inhand_icon_state = "atropen"
list_reagents = list(/datum/reagent/medicine/atropine = 10)
/obj/item/reagent_containers/hypospray/medipen/snail
name = "snail shot"
desc = "All-purpose snail medicine! Do not use on non-snails!"
icon_state = "snail"
- item_state = "snail"
+ inhand_icon_state = "snail"
list_reagents = list(/datum/reagent/snail = 10)
/obj/item/reagent_containers/hypospray/medipen/magillitis
name = "experimental autoinjector"
desc = "A custom-frame needle injector with a small single-use reservoir, containing an experimental serum. Unlike the more common medipen frame, it cannot pierce through protective armor or hardsuits, nor can the chemical inside be extracted."
icon_state = "gorillapen"
- item_state = "gorillapen"
+ inhand_icon_state = "gorillapen"
volume = 5
ignore_flags = 0
reagent_flags = NONE
diff --git a/code/modules/reagents/reagent_containers/medigel.dm b/code/modules/reagents/reagent_containers/medigel.dm
index 071d5d814b4..6371c739a01 100644
--- a/code/modules/reagents/reagent_containers/medigel.dm
+++ b/code/modules/reagents/reagent_containers/medigel.dm
@@ -3,7 +3,7 @@
desc = "A medical gel applicator bottle, designed for precision application, with an unscrewable cap."
icon = 'icons/obj/chemical.dmi'
icon_state = "medigel"
- item_state = "spraycan"
+ inhand_icon_state = "spraycan"
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
item_flags = NOBLUDGEON
diff --git a/code/modules/reagents/reagent_containers/patch.dm b/code/modules/reagents/reagent_containers/patch.dm
index 10672f1158d..85ee9b91ca8 100644
--- a/code/modules/reagents/reagent_containers/patch.dm
+++ b/code/modules/reagents/reagent_containers/patch.dm
@@ -3,7 +3,7 @@
desc = "A chemical patch for touch based applications."
icon = 'icons/obj/chemical.dmi'
icon_state = "bandaid"
- item_state = "bandaid"
+ inhand_icon_state = "bandaid"
possible_transfer_amounts = list()
volume = 40
apply_type = PATCH
diff --git a/code/modules/reagents/reagent_containers/pill.dm b/code/modules/reagents/reagent_containers/pill.dm
index 9eae625e66a..9ed32a8785a 100644
--- a/code/modules/reagents/reagent_containers/pill.dm
+++ b/code/modules/reagents/reagent_containers/pill.dm
@@ -3,7 +3,7 @@
desc = "A tablet or capsule."
icon = 'icons/obj/chemical.dmi'
icon_state = "pill"
- item_state = "pill"
+ inhand_icon_state = "pill"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
possible_transfer_amounts = list()
diff --git a/code/modules/reagents/reagent_containers/spray.dm b/code/modules/reagents/reagent_containers/spray.dm
index c89af50902f..55e95cb4836 100644
--- a/code/modules/reagents/reagent_containers/spray.dm
+++ b/code/modules/reagents/reagent_containers/spray.dm
@@ -3,7 +3,7 @@
desc = "A spray bottle, with an unscrewable top."
icon = 'icons/obj/janitor.dmi'
icon_state = "sprayer_large"
- item_state = "cleaner"
+ inhand_icon_state = "cleaner"
lefthand_file = 'icons/mob/inhands/equipment/custodial_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/custodial_righthand.dmi'
item_flags = NOBLUDGEON
@@ -196,7 +196,7 @@
desc = "Manufactured by UhangInc, used to blind and down an opponent quickly."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state = "pepperspray"
- item_state = "pepperspray"
+ inhand_icon_state = "pepperspray"
lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
volume = 50
@@ -223,7 +223,7 @@
desc = "A seemingly innocent sunflower...with a twist."
icon = 'icons/obj/hydroponics/harvest.dmi'
icon_state = "sunflower"
- item_state = "sunflower"
+ inhand_icon_state = "sunflower"
amount_per_transfer_from_this = 1
volume = 10
list_reagents = list(/datum/reagent/water = 10)
@@ -286,7 +286,7 @@
desc = "A utility used to spray large amounts of reagents in a given area."
icon = 'icons/obj/guns/projectile.dmi'
icon_state = "chemsprayer"
- item_state = "chemsprayer"
+ inhand_icon_state = "chemsprayer"
lefthand_file = 'icons/mob/inhands/weapons/guns_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/guns_righthand.dmi'
throwforce = 0
@@ -324,7 +324,7 @@
name = "janitor chem sprayer"
desc = "A utility used to spray large amounts of cleaning reagents in a given area. It regenerates space cleaner by itself but it's unable to be fueled by normal means."
icon_state = "chemsprayer_janitor"
- item_state = "chemsprayer_janitor"
+ inhand_icon_state = "chemsprayer_janitor"
lefthand_file = 'icons/mob/inhands/weapons/guns_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/guns_righthand.dmi'
reagent_flags = NONE
@@ -356,7 +356,7 @@
desc = "Kills those pesky weeds!"
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "plantbgone"
- item_state = "plantbgone"
+ inhand_icon_state = "plantbgone"
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
volume = 100
@@ -367,7 +367,7 @@
desc = "A spray bottle, with a high performance plastic nozzle. The color scheme makes you feel slightly uneasy."
icon = 'icons/obj/chemical.dmi'
icon_state = "sprayer_sus_8"
- item_state = "sprayer_sus"
+ inhand_icon_state = "sprayer_sus"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
spray_range = 4
@@ -383,7 +383,7 @@
name = "medical spray bottle"
icon = 'icons/obj/chemical.dmi'
icon_state = "sprayer_med_red"
- item_state = "sprayer_med_red"
+ inhand_icon_state = "sprayer_med_red"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
volume = 100
@@ -399,11 +399,11 @@
..()
switch(icon_state)
if("sprayer_med_red")
- item_state = "sprayer_med_red"
+ inhand_icon_state = "sprayer_med_red"
if("sprayer_med_yellow")
- item_state = "sprayer_med_yellow"
+ inhand_icon_state = "sprayer_med_yellow"
if("sprayer_med_blue")
- item_state = "sprayer_med_blue"
+ inhand_icon_state = "sprayer_med_blue"
M.update_inv_hands()
/obj/item/reagent_containers/spray/hercuri
diff --git a/code/modules/reagents/reagent_containers/syringes.dm b/code/modules/reagents/reagent_containers/syringes.dm
index 4299d8d366b..9144a456c12 100644
--- a/code/modules/reagents/reagent_containers/syringes.dm
+++ b/code/modules/reagents/reagent_containers/syringes.dm
@@ -2,7 +2,7 @@
name = "syringe"
desc = "A syringe that can hold up to 15 units."
icon = 'icons/obj/syringe.dmi'
- item_state = "syringe_0"
+ inhand_icon_state = "syringe_0"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
icon_state = "0"
@@ -158,7 +158,7 @@
/obj/item/reagent_containers/syringe/update_icon_state()
var/rounded_vol = get_rounded_vol()
icon_state = "[rounded_vol]"
- item_state = "syringe_[rounded_vol]"
+ inhand_icon_state = "syringe_[rounded_vol]"
/obj/item/reagent_containers/syringe/update_overlays()
. = ..()
diff --git a/code/modules/recycling/sortingmachinery.dm b/code/modules/recycling/sortingmachinery.dm
index c8bc79b1e26..fcf7f94cc10 100644
--- a/code/modules/recycling/sortingmachinery.dm
+++ b/code/modules/recycling/sortingmachinery.dm
@@ -170,7 +170,7 @@
desc = "A brown paper delivery parcel."
icon = 'icons/obj/storage.dmi'
icon_state = "deliverypackage3"
- item_state = "deliverypackage"
+ inhand_icon_state = "deliverypackage"
var/giftwrapped = 0
var/sortTag = 0
var/obj/item/paper/note
@@ -331,7 +331,7 @@
var/currTag = 0 //Destinations are stored in code\globalvars\lists\flavor_misc.dm
var/locked_destination = FALSE //if true, users can't open the destination tag window to prevent changing the tagger's current destination
w_class = WEIGHT_CLASS_TINY
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
flags_1 = CONDUCT_1
@@ -382,7 +382,7 @@
desc = "A scanner that lets you tag wrapped items for sale, splitting the profit between you and cargo. Ctrl-Click to clear the registered account."
icon = 'icons/obj/device.dmi'
icon_state = "salestagger"
- item_state = "electronic"
+ inhand_icon_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_TINY
diff --git a/code/modules/research/research_disk.dm b/code/modules/research/research_disk.dm
index 1f6a8b4ad23..ef8039c29eb 100644
--- a/code/modules/research/research_disk.dm
+++ b/code/modules/research/research_disk.dm
@@ -36,7 +36,7 @@
desc = "Valuable scientific data. Use it in a research console to scan it."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "paper"
- item_state = "paper"
+ inhand_icon_state = "paper"
w_class = WEIGHT_CLASS_SMALL
///research points it holds
var/value = 69
diff --git a/code/modules/research/stock_parts.dm b/code/modules/research/stock_parts.dm
index e1b05f433c0..b5383c94864 100644
--- a/code/modules/research/stock_parts.dm
+++ b/code/modules/research/stock_parts.dm
@@ -5,7 +5,7 @@ If you create T5+ please take a pass at mech_fabricator.dm. The parts being good
name = "rapid part exchange device"
desc = "Special mechanical module made to store, sort, and apply standard machine parts."
icon_state = "RPED"
- item_state = "RPED"
+ inhand_icon_state = "RPED"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_HUGE
@@ -113,7 +113,7 @@ If you create T5+ please take a pass at mech_fabricator.dm. The parts being good
name = "rapid part exchange device"
desc = "Special mechanical module made to store, sort, and apply standard machine parts."
icon_state = "borgrped"
- item_state = "RPED"
+ inhand_icon_state = "RPED"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
diff --git a/code/modules/research/xenobiology/crossbreeding/_clothing.dm b/code/modules/research/xenobiology/crossbreeding/_clothing.dm
index 3761fb078b4..e7c593c6444 100644
--- a/code/modules/research/xenobiology/crossbreeding/_clothing.dm
+++ b/code/modules/research/xenobiology/crossbreeding/_clothing.dm
@@ -9,7 +9,7 @@ Slimecrossing Armor
name = "rebreather mask"
desc = "A transparent mask, resembling a conventional breath mask, but made of bluish slime. Seems to lack any air supply tube, though."
icon_state = "slime"
- item_state = "slime"
+ inhand_icon_state = "slime"
body_parts_covered = NONE
w_class = WEIGHT_CLASS_SMALL
gas_transfer_coefficient = 0
@@ -99,7 +99,7 @@ Slimecrossing Armor
desc = "An extremely addictive flower, full of peace magic."
icon = 'icons/obj/slimecrossing.dmi'
icon_state = "peaceflower"
- item_state = "peaceflower"
+ inhand_icon_state = "peaceflower"
slot_flags = ITEM_SLOT_HEAD
body_parts_covered = NONE
dynamic_hair_suffix = ""
@@ -130,7 +130,7 @@ Slimecrossing Armor
name = "adamantine armor"
desc = "A full suit of adamantine plate armor. Impressively resistant to damage, but weighs about as much as you do."
icon_state = "adamsuit"
- item_state = "adamsuit"
+ inhand_icon_state = "adamsuit"
flags_inv = NONE
obj_flags = IMMUTABLE_SLOW
slowdown = 4
diff --git a/code/modules/research/xenobiology/crossbreeding/_weapons.dm b/code/modules/research/xenobiology/crossbreeding/_weapons.dm
index 2b788e4ccc4..10a349fed2d 100644
--- a/code/modules/research/xenobiology/crossbreeding/_weapons.dm
+++ b/code/modules/research/xenobiology/crossbreeding/_weapons.dm
@@ -22,7 +22,7 @@ Slimecrossing Weapons
desc = "A strange, transparent knife which constantly shifts color. It hums slightly when moved."
icon = 'icons/obj/slimecrossing.dmi'
icon_state = "rainbowknife"
- item_state = "rainbowknife"
+ inhand_icon_state = "rainbowknife"
force = 15
throwforce = 15
damtype = BRUTE
@@ -54,7 +54,7 @@ Slimecrossing Weapons
desc = "A gigantic shield made of solid adamantium."
icon = 'icons/obj/slimecrossing.dmi'
icon_state = "adamshield"
- item_state = "adamshield"
+ inhand_icon_state = "adamshield"
w_class = WEIGHT_CLASS_HUGE
armor = list("melee" = 50, "bullet" = 50, "laser" = 50, "energy" = 0, "bomb" = 30, "bio" = 0, "rad" = 0, "fire" = 80, "acid" = 70)
slot_flags = ITEM_SLOT_BACK
@@ -75,7 +75,7 @@ Slimecrossing Weapons
desc = "A horrifying weapon made of your own bone and blood vessels. It shoots slowing globules of your own blood. Ech."
icon = 'icons/obj/slimecrossing.dmi'
icon_state = "bloodgun"
- item_state = "bloodgun"
+ inhand_icon_state = "bloodgun"
lefthand_file = 'icons/mob/inhands/weapons/guns_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/guns_righthand.dmi'
item_flags = ABSTRACT | DROPDEL
diff --git a/code/modules/research/xenobiology/xenobiology.dm b/code/modules/research/xenobiology/xenobiology.dm
index 6140737ef10..9684a16dd71 100644
--- a/code/modules/research/xenobiology/xenobiology.dm
+++ b/code/modules/research/xenobiology/xenobiology.dm
@@ -1031,7 +1031,7 @@
singular_name = "floor tile"
desc = "Through a series of micro-teleports these tiles let people move at incredible speeds."
icon_state = "tile-bluespace"
- item_state = "tile-bluespace"
+ inhand_icon_state = "tile-bluespace"
w_class = WEIGHT_CLASS_NORMAL
force = 6
custom_materials = list(/datum/material/iron=500)
@@ -1048,7 +1048,7 @@
singular_name = "floor tile"
desc = "Time seems to flow very slowly around these tiles."
icon_state = "tile-sepia"
- item_state = "tile-sepia"
+ inhand_icon_state = "tile-sepia"
w_class = WEIGHT_CLASS_NORMAL
force = 6
custom_materials = list(/datum/material/iron=500)
diff --git a/code/modules/ruins/icemoonruin_code/wrath.dm b/code/modules/ruins/icemoonruin_code/wrath.dm
index d395b11609e..08d36de39b3 100644
--- a/code/modules/ruins/icemoonruin_code/wrath.dm
+++ b/code/modules/ruins/icemoonruin_code/wrath.dm
@@ -2,7 +2,7 @@
name = "butchering gloves"
desc = "These gloves allow the user to rip apart bodies with precision and ease."
icon_state = "black"
- item_state = "blackgloves"
+ inhand_icon_state = "blackgloves"
cold_protection = HANDS
min_cold_protection_temperature = GLOVES_MIN_TEMP_PROTECT
heat_protection = HANDS
diff --git a/code/modules/ruins/lavalandruin_code/kinggoat.dm b/code/modules/ruins/lavalandruin_code/kinggoat.dm
index 3e889a836f4..f6b884977bc 100644
--- a/code/modules/ruins/lavalandruin_code/kinggoat.dm
+++ b/code/modules/ruins/lavalandruin_code/kinggoat.dm
@@ -37,7 +37,7 @@
name = "goat gun"
desc = "Whoever you fire this at is gonna be in for a baaaaaaad surprise." //ha ha I am funny man please laugh HAHAHAHAHAHAHAHA
icon_state = "goat_gun"
- item_state = "c20r"
+ inhand_icon_state = "c20r"
w_class = WEIGHT_CLASS_BULKY
ammo_type = list(/obj/item/ammo_casing/energy/goat)
cell_type = /obj/item/stock_parts/cell
diff --git a/code/modules/ruins/objects_and_mobs/sin_ruins.dm b/code/modules/ruins/objects_and_mobs/sin_ruins.dm
index a5b4d2e1043..01fd8f4823e 100644
--- a/code/modules/ruins/objects_and_mobs/sin_ruins.dm
+++ b/code/modules/ruins/objects_and_mobs/sin_ruins.dm
@@ -126,7 +126,7 @@
desc = "Their success will be yours."
icon = 'icons/obj/wizard.dmi'
icon_state = "render"
- item_state = "knife"
+ inhand_icon_state = "knife"
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
force = 18
diff --git a/code/modules/ruins/spaceruin_code/forgottenship.dm b/code/modules/ruins/spaceruin_code/forgottenship.dm
index dd893477388..ab6dfa011b1 100644
--- a/code/modules/ruins/spaceruin_code/forgottenship.dm
+++ b/code/modules/ruins/spaceruin_code/forgottenship.dm
@@ -58,7 +58,7 @@ GLOBAL_VAR_INIT(fscpassword, generate_password())
. = ..()
info = "Welcome to most advanced cruiser owned by Cyber Sun Industries!
You might notice, that this cruiser is equipped with 12 prototype laser turrets making any hostile boarding attempts futile.
Other facilities built on the ship are: Simple atmospheric system, Camera system with built-in X-ray visors and Safety module, enabling emergency engines in case of... you know, emergency.
Emergency system will bring you to nearest syndicate pod containing everything needed for human life.
In case of emergency, you must remember the pod-door activation code - [GLOB.fscpassword]
Cyber Sun Industries (C) 2484."
icon_state = "paper_words"
- item_state = "paper"
+ inhand_icon_state = "paper"
/obj/item/paper/fluff/ruins/forgottenship/powerissues
name = "Power issues"
@@ -131,7 +131,7 @@ GLOBAL_VAR_INIT(fscpassword, generate_password())
name = "Cybersun hardsuit helmet"
desc = "Prototype hardsuit helmet with experimental armor plates, protecting from laser-based weapons very well, while giving limited protection against anything else."
icon_state = "cybersun"
- item_state = "cybersun"
+ inhand_icon_state = "cybersun"
hardsuit_type = "cybersun"
armor = list("melee" = 30, "bullet" = 40, "laser" = 55, "energy" = 55, "bomb" = 30, "bio" = 100, "rad" = 60, "fire" = 60, "acid" = 60)
strip_delay = 600
@@ -140,7 +140,7 @@ GLOBAL_VAR_INIT(fscpassword, generate_password())
/obj/item/clothing/suit/space/hardsuit/cybersun
icon_state = "cybersun"
- item_state = "cybersun"
+ inhand_icon_state = "cybersun"
hardsuit_type = "cybersun"
name = "Cybersun hardsuit"
desc = "Prototype hardsuit with experimental armor plates, protecting from laser-based weapons very well, while giving limited protection against anything else."
diff --git a/code/modules/shuttle/assault_pod.dm b/code/modules/shuttle/assault_pod.dm
index d1121690083..85b25fbe4c6 100644
--- a/code/modules/shuttle/assault_pod.dm
+++ b/code/modules/shuttle/assault_pod.dm
@@ -21,7 +21,7 @@
name = "Assault Pod Targeting Device"
icon = 'icons/obj/device.dmi'
icon_state = "gangtool-red"
- item_state = "radio"
+ inhand_icon_state = "radio"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
desc = "Used to select a landing zone for assault pods."
diff --git a/code/modules/shuttle/emergency.dm b/code/modules/shuttle/emergency.dm
index 5e95f25d310..c2f5a2bd6b0 100644
--- a/code/modules/shuttle/emergency.dm
+++ b/code/modules/shuttle/emergency.dm
@@ -506,12 +506,12 @@
/obj/item/clothing/head/helmet/space/orange
name = "emergency space helmet"
icon_state = "syndicate-helm-orange"
- item_state = "syndicate-helm-orange"
+ inhand_icon_state = "syndicate-helm-orange"
/obj/item/clothing/suit/space/orange
name = "emergency space suit"
icon_state = "syndicate-orange"
- item_state = "syndicate-orange"
+ inhand_icon_state = "syndicate-orange"
slowdown = 3
/obj/item/pickaxe/emergency
diff --git a/code/modules/spells/spell_types/godhand.dm b/code/modules/spells/spell_types/godhand.dm
index 5cf7e7e1e50..f4a31e58fc4 100644
--- a/code/modules/spells/spell_types/godhand.dm
+++ b/code/modules/spells/spell_types/godhand.dm
@@ -8,7 +8,7 @@
lefthand_file = 'icons/mob/inhands/misc/touchspell_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/touchspell_righthand.dmi'
icon_state = "latexballon"
- item_state = null
+ inhand_icon_state = null
item_flags = NEEDS_PERMIT | ABSTRACT | DROPDEL
w_class = WEIGHT_CLASS_HUGE
force = 0
@@ -51,7 +51,7 @@
catchphrase = "EI NATH!!"
on_use_sound = 'sound/magic/disintegrate.ogg'
icon_state = "disintegrate"
- item_state = "disintegrate"
+ inhand_icon_state = "disintegrate"
/obj/item/melee/touch_attack/disintegrate/afterattack(atom/target, mob/living/carbon/user, proximity)
if(!proximity || target == user || !ismob(target) || !iscarbon(user) || !(user.mobility_flags & MOBILITY_USE)) //exploding after touching yourself would be bad
@@ -90,7 +90,7 @@
catchphrase = "STAUN EI!!"
on_use_sound = 'sound/magic/fleshtostone.ogg'
icon_state = "fleshtostone"
- item_state = "fleshtostone"
+ inhand_icon_state = "fleshtostone"
/obj/item/melee/touch_attack/fleshtostone/afterattack(atom/target, mob/living/carbon/user, proximity)
if(!proximity || target == user || !isliving(target) || !iscarbon(user)) //getting hard after touching yourself would also be bad
diff --git a/code/modules/station_goals/dna_vault.dm b/code/modules/station_goals/dna_vault.dm
index a2c9f4d4a57..7f2f73aea00 100644
--- a/code/modules/station_goals/dna_vault.dm
+++ b/code/modules/station_goals/dna_vault.dm
@@ -63,7 +63,7 @@
name = "DNA Sampler"
desc = "Can be used to take chemical and genetic samples of pretty much anything."
icon = 'icons/obj/syringe.dmi'
- item_state = "hypo"
+ inhand_icon_state = "hypo"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
icon_state = "hypo"
diff --git a/code/modules/surgery/bodyparts/robot_bodyparts.dm b/code/modules/surgery/bodyparts/robot_bodyparts.dm
index 1beb6c8a6e7..e05c5ad6aa9 100644
--- a/code/modules/surgery/bodyparts/robot_bodyparts.dm
+++ b/code/modules/surgery/bodyparts/robot_bodyparts.dm
@@ -14,7 +14,7 @@
name = "cyborg left arm"
desc = "A skeletal limb wrapped in pseudomuscles, with a low-conductivity case."
attack_verb = list("slapped", "punched")
- item_state = "buildpipe"
+ inhand_icon_state = "buildpipe"
icon = 'icons/mob/augmentation/augments.dmi'
flags_1 = CONDUCT_1
icon_state = "borg_l_arm"
@@ -35,7 +35,7 @@
name = "cyborg right arm"
desc = "A skeletal limb wrapped in pseudomuscles, with a low-conductivity case."
attack_verb = list("slapped", "punched")
- item_state = "buildpipe"
+ inhand_icon_state = "buildpipe"
icon = 'icons/mob/augmentation/augments.dmi'
flags_1 = CONDUCT_1
icon_state = "borg_r_arm"
@@ -56,7 +56,7 @@
name = "cyborg left leg"
desc = "A skeletal limb wrapped in pseudomuscles, with a low-conductivity case."
attack_verb = list("kicked", "stomped")
- item_state = "buildpipe"
+ inhand_icon_state = "buildpipe"
icon = 'icons/mob/augmentation/augments.dmi'
flags_1 = CONDUCT_1
icon_state = "borg_l_leg"
@@ -77,7 +77,7 @@
name = "cyborg right leg"
desc = "A skeletal limb wrapped in pseudomuscles, with a low-conductivity case."
attack_verb = list("kicked", "stomped")
- item_state = "buildpipe"
+ inhand_icon_state = "buildpipe"
icon = 'icons/mob/augmentation/augments.dmi'
flags_1 = CONDUCT_1
icon_state = "borg_r_leg"
@@ -97,7 +97,7 @@
/obj/item/bodypart/chest/robot
name = "cyborg torso"
desc = "A heavily reinforced case containing cyborg logic boards, with space for a standard power cell."
- item_state = "buildpipe"
+ inhand_icon_state = "buildpipe"
icon = 'icons/mob/augmentation/augments.dmi'
flags_1 = CONDUCT_1
icon_state = "borg_chest"
@@ -198,7 +198,7 @@
/obj/item/bodypart/head/robot
name = "cyborg head"
desc = "A standard reinforced braincase, with spine-plugged neural socket and sensor gimbals."
- item_state = "buildpipe"
+ inhand_icon_state = "buildpipe"
icon = 'icons/mob/augmentation/augments.dmi'
flags_1 = CONDUCT_1
icon_state = "borg_head"
diff --git a/code/modules/surgery/organs/autosurgeon.dm b/code/modules/surgery/organs/autosurgeon.dm
index 13bb0fb46ee..203adbb65c4 100644
--- a/code/modules/surgery/organs/autosurgeon.dm
+++ b/code/modules/surgery/organs/autosurgeon.dm
@@ -5,7 +5,7 @@
desc = "A device that automatically inserts an implant or organ into the user without the hassle of extensive surgery. It has a slot to insert implants/organs and a screwdriver slot for removing accidentally added items."
icon = 'icons/obj/device.dmi'
icon_state = "autoimplanter"
- item_state = "nothing"
+ inhand_icon_state = "nothing"
w_class = WEIGHT_CLASS_SMALL
var/obj/item/organ/storedorgan
var/organ_type = /obj/item/organ
diff --git a/code/modules/surgery/tools.dm b/code/modules/surgery/tools.dm
index 5800e623625..869616841b2 100644
--- a/code/modules/surgery/tools.dm
+++ b/code/modules/surgery/tools.dm
@@ -5,7 +5,7 @@
icon_state = "retractor"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
- item_state = "clamps"
+ inhand_icon_state = "clamps"
custom_materials = list(/datum/material/iron=6000, /datum/material/glass=3000)
flags_1 = CONDUCT_1
item_flags = SURGICAL_TOOL
@@ -25,7 +25,7 @@
icon_state = "hemostat"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
- item_state = "clamps"
+ inhand_icon_state = "clamps"
custom_materials = list(/datum/material/iron=5000, /datum/material/glass=2500)
flags_1 = CONDUCT_1
item_flags = SURGICAL_TOOL
@@ -46,7 +46,7 @@
icon_state = "cautery"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
- item_state = "cautery"
+ inhand_icon_state = "cautery"
custom_materials = list(/datum/material/iron=2500, /datum/material/glass=750)
flags_1 = CONDUCT_1
item_flags = SURGICAL_TOOL
@@ -99,7 +99,7 @@
icon_state = "scalpel"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
- item_state = "scalpel"
+ inhand_icon_state = "scalpel"
flags_1 = CONDUCT_1
item_flags = SURGICAL_TOOL | EYE_STAB
force = 10
@@ -167,7 +167,7 @@
icon_state = "surgical_drapes"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
- item_state = "drapes"
+ inhand_icon_state = "drapes"
w_class = WEIGHT_CLASS_TINY
attack_verb = list("slapped")
diff --git a/code/modules/uplink/uplink_devices.dm b/code/modules/uplink/uplink_devices.dm
index 0e2e228e2a5..f81c4fd6016 100644
--- a/code/modules/uplink/uplink_devices.dm
+++ b/code/modules/uplink/uplink_devices.dm
@@ -7,7 +7,7 @@
name = "station bounced radio"
icon = 'icons/obj/radio.dmi'
icon_state = "radio"
- item_state = "walkietalkie"
+ inhand_icon_state = "walkietalkie"
desc = "A basic handheld radio that communicates with local telecommunication networks."
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
diff --git a/code/modules/vehicles/lavaboat.dm b/code/modules/vehicles/lavaboat.dm
index 8015024753d..1905d769853 100644
--- a/code/modules/vehicles/lavaboat.dm
+++ b/code/modules/vehicles/lavaboat.dm
@@ -22,7 +22,7 @@
name = "oar"
icon = 'icons/obj/vehicles.dmi'
icon_state = "oar"
- item_state = "oar"
+ inhand_icon_state = "oar"
lefthand_file = 'icons/mob/inhands/misc/lavaland_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/lavaland_righthand.dmi'
desc = "Not to be confused with the kind Research hassles you for."
diff --git a/code/modules/vehicles/vehicle_key.dm b/code/modules/vehicles/vehicle_key.dm
index 0909618720f..c05542432fb 100644
--- a/code/modules/vehicles/vehicle_key.dm
+++ b/code/modules/vehicles/vehicle_key.dm
@@ -65,7 +65,7 @@
desc = "Perfect for taming all kinds of supernatural beasts! (Warning: only perfect for taming one kind of supernatural beast.)"
force = 12
icon_state = "lasso"
- item_state = "chain"
+ inhand_icon_state = "chain"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
attack_verb = list("flogged", "whipped", "lashed", "disciplined")