diff --git a/code/_onclick/hud/human.dm b/code/_onclick/hud/human.dm index a8105f13a6..5ebde532dc 100644 --- a/code/_onclick/hud/human.dm +++ b/code/_onclick/hud/human.dm @@ -269,6 +269,7 @@ inv_box.icon = ui_style inv_box.slot_id = ITEM_SLOT_ICLOTHING inv_box.icon_state = "uniform" + inv_box.icon_full = "template" inv_box.screen_loc = ui_iclothing toggleable_inventory += inv_box @@ -277,6 +278,7 @@ inv_box.icon = ui_style inv_box.slot_id = ITEM_SLOT_OCLOTHING inv_box.icon_state = "suit" + inv_box.icon_full = "template" inv_box.screen_loc = ui_oclothing toggleable_inventory += inv_box @@ -300,6 +302,7 @@ inv_box.name = "id" inv_box.icon = ui_style inv_box.icon_state = "id" + inv_box.icon_full = "template_small" inv_box.screen_loc = ui_id inv_box.slot_id = ITEM_SLOT_ID static_inventory += inv_box @@ -308,6 +311,7 @@ inv_box.name = "mask" inv_box.icon = ui_style inv_box.icon_state = "mask" + inv_box.icon_full = "template" inv_box.screen_loc = ui_mask inv_box.slot_id = ITEM_SLOT_MASK toggleable_inventory += inv_box @@ -316,6 +320,7 @@ inv_box.name = "neck" inv_box.icon = ui_style inv_box.icon_state = "neck" + inv_box.icon_full = "template" inv_box.screen_loc = ui_neck inv_box.slot_id = ITEM_SLOT_NECK toggleable_inventory += inv_box @@ -324,6 +329,7 @@ inv_box.name = "back" inv_box.icon = ui_style inv_box.icon_state = "back" + inv_box.icon_full = "template" inv_box.screen_loc = ui_back inv_box.slot_id = ITEM_SLOT_BACK static_inventory += inv_box @@ -332,6 +338,7 @@ inv_box.name = "left pocket" inv_box.icon = ui_style inv_box.icon_state = "pocket" + inv_box.icon_full = "template" inv_box.screen_loc = ui_storage1 inv_box.slot_id = ITEM_SLOT_LPOCKET static_inventory += inv_box @@ -340,6 +347,7 @@ inv_box.name = "right pocket" inv_box.icon = ui_style inv_box.icon_state = "pocket" + inv_box.icon_full = "template" inv_box.screen_loc = ui_storage2 inv_box.slot_id = ITEM_SLOT_RPOCKET static_inventory += inv_box @@ -348,6 +356,7 @@ inv_box.name = "suit storage" inv_box.icon = ui_style inv_box.icon_state = "suit_storage" + inv_box.icon_full = "template" inv_box.screen_loc = ui_sstore1 inv_box.slot_id = ITEM_SLOT_SUITSTORE static_inventory += inv_box @@ -381,6 +390,7 @@ inv_box.name = "gloves" inv_box.icon = ui_style inv_box.icon_state = "gloves" + inv_box.icon_full = "template" inv_box.screen_loc = ui_gloves inv_box.slot_id = ITEM_SLOT_GLOVES toggleable_inventory += inv_box @@ -389,6 +399,7 @@ inv_box.name = "eyes" inv_box.icon = ui_style inv_box.icon_state = "glasses" + inv_box.icon_full = "template" inv_box.screen_loc = ui_glasses inv_box.slot_id = ITEM_SLOT_EYES toggleable_inventory += inv_box @@ -397,6 +408,7 @@ inv_box.name = "left ear" // Sandstorm edit inv_box.icon = ui_style inv_box.icon_state = "ears" + inv_box.icon_full = "template" inv_box.screen_loc = ui_ears inv_box.slot_id = ITEM_SLOT_EARS_LEFT // Sandstorm Edit toggleable_inventory += inv_box @@ -405,6 +417,7 @@ inv_box.name = "head" inv_box.icon = ui_style inv_box.icon_state = "head" + inv_box.icon_full = "template" inv_box.screen_loc = ui_head inv_box.slot_id = ITEM_SLOT_HEAD toggleable_inventory += inv_box @@ -413,6 +426,7 @@ inv_box.name = "shoes" inv_box.icon = ui_style inv_box.icon_state = "shoes" + inv_box.icon_full = "template" inv_box.screen_loc = ui_shoes inv_box.slot_id = ITEM_SLOT_FEET toggleable_inventory += inv_box @@ -428,6 +442,7 @@ inv_box.name = "underwear" inv_box.icon = ui_style_modular(ui_style) inv_box.icon_state = "underwear" + inv_box.icon_full = "template" inv_box.screen_loc = ui_boxers inv_box.slot_id = ITEM_SLOT_UNDERWEAR // Sandstorm edit extra_inventory += inv_box @@ -436,6 +451,7 @@ inv_box.name = "socks" inv_box.icon = ui_style_modular(ui_style) inv_box.icon_state = "socks" + inv_box.icon_full = "template" inv_box.screen_loc = ui_socks inv_box.slot_id = ITEM_SLOT_SOCKS // Sandstorm edit extra_inventory += inv_box @@ -444,6 +460,7 @@ inv_box.name = "shirt" inv_box.icon = ui_style_modular(ui_style) inv_box.icon_state = "shirt" + inv_box.icon_full = "template" inv_box.screen_loc = ui_shirt inv_box.slot_id = ITEM_SLOT_SHIRT // Sandstorm edit extra_inventory += inv_box @@ -452,6 +469,7 @@ inv_box.name = "right ear" inv_box.icon = ui_style_modular(ui_style) inv_box.icon_state = "ears_extra" + inv_box.icon_full = "template" inv_box.screen_loc = ui_ears_extra inv_box.slot_id = ITEM_SLOT_EARS_RIGHT // Sandstorm edit extra_inventory += inv_box @@ -460,6 +478,7 @@ inv_box.name = "wrists" inv_box.icon = ui_style_modular(ui_style) inv_box.icon_state = "wrists" + inv_box.icon_full = "template" inv_box.screen_loc = ui_wrists inv_box.slot_id = ITEM_SLOT_WRISTS extra_inventory += inv_box @@ -469,7 +488,7 @@ inv_box.name = "belt" inv_box.icon = ui_style inv_box.icon_state = "belt" -// inv_box.icon_full = "template_small" + inv_box.icon_full = "template_small" inv_box.screen_loc = ui_belt inv_box.slot_id = ITEM_SLOT_BELT static_inventory += inv_box @@ -657,15 +676,24 @@ H.head.screen_loc = ui_head screenmob.client.screen += H.head else - if(H.shoes) screenmob.client.screen -= H.shoes - if(H.gloves) screenmob.client.screen -= H.gloves - if(H.ears) screenmob.client.screen -= H.ears - if(H.glasses) screenmob.client.screen -= H.glasses - if(H.w_uniform) screenmob.client.screen -= H.w_uniform - if(H.wear_suit) screenmob.client.screen -= H.wear_suit - if(H.wear_mask) screenmob.client.screen -= H.wear_mask - if(H.wear_neck) screenmob.client.screen -= H.wear_neck - if(H.head) screenmob.client.screen -= H.head + if(H.shoes) + screenmob.client.screen -= H.shoes + if(H.gloves) + screenmob.client.screen -= H.gloves + if(H.ears) + screenmob.client.screen -= H.ears + if(H.glasses) + screenmob.client.screen -= H.glasses + if(H.w_uniform) + screenmob.client.screen -= H.w_uniform + if(H.wear_suit) + screenmob.client.screen -= H.wear_suit + if(H.wear_mask) + screenmob.client.screen -= H.wear_mask + if(H.wear_neck) + screenmob.client.screen -= H.wear_neck + if(H.head) + screenmob.client.screen -= H.head // Sandstorm edit diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index 46a69b6d48..f780194a58 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -558,7 +558,7 @@ GLOBAL_VAR_INIT(embedpocalypse, FALSE) // if true, all items will be able to emb if(!initial) if(equip_sound && (slot_flags & slot)) playsound(src, equip_sound, EQUIP_SOUND_VOLUME, TRUE, ignore_walls = FALSE) - else if(slot == ITEM_SLOT_HANDS) + else if(slot & ITEM_SLOT_HANDS) playsound(src, pickup_sound, PICKUP_SOUND_VOLUME, ignore_walls = FALSE) user.update_equipment_speed_mods() diff --git a/code/game/objects/items/devices/multitool.dm b/code/game/objects/items/devices/multitool.dm index e3ef26e501..577ec39486 100644 --- a/code/game/objects/items/devices/multitool.dm +++ b/code/game/objects/items/devices/multitool.dm @@ -25,12 +25,12 @@ throwforce = 0 throw_range = 7 throw_speed = 3 - drop_sound = 'sound/items/handling/multitool_drop.ogg' - pickup_sound = 'sound/items/handling/multitool_pickup.ogg' custom_materials = list(/datum/material/iron=50, /datum/material/glass=20) buffer = null // simple machine buffer for device linkage toolspeed = 1 usesound = 'sound/weapons/empty.ogg' + drop_sound = 'sound/items/handling/multitool_drop.ogg' + pickup_sound = 'sound/items/handling/multitool_pickup.ogg' var/mode = 0 /obj/item/multitool/chaplain diff --git a/code/game/objects/items/tools/screwdriver.dm b/code/game/objects/items/tools/screwdriver.dm index 8557b48f02..2b48b22049 100644 --- a/code/game/objects/items/tools/screwdriver.dm +++ b/code/game/objects/items/tools/screwdriver.dm @@ -21,8 +21,6 @@ tool_behaviour = TOOL_SCREWDRIVER toolspeed = 1 armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 50, ACID = 30) - drop_sound = 'sound/items/handling/screwdriver_drop.ogg' - pickup_sound = 'sound/items/handling/screwdriver_pickup.ogg' var/random_color = TRUE //if the screwdriver uses random coloring var/static/list/screwdriver_colors = list( "blue" = rgb(24, 97, 213), @@ -33,6 +31,8 @@ "cyan" = rgb(24, 162, 213), "yellow" = rgb(255, 165, 0) ) + drop_sound = 'sound/items/handling/screwdriver_drop.ogg' + pickup_sound = 'sound/items/handling/screwdriver_pickup.ogg' wound_bonus = -10 bare_wound_bonus = 5 diff --git a/code/modules/food_and_drinks/drinks/drinks/drinkingglass.dm b/code/modules/food_and_drinks/drinks/drinks/drinkingglass.dm index ef6c97a07a..f51530a972 100644 --- a/code/modules/food_and_drinks/drinks/drinks/drinkingglass.dm +++ b/code/modules/food_and_drinks/drinks/drinks/drinkingglass.dm @@ -8,11 +8,11 @@ volume = 50 custom_materials = list(/datum/material/glass=500) max_integrity = 20 + drop_sound = 'sound/items/handling/drinkglass_drop.ogg' + pickup_sound = 'sound/items/handling/drinkglass_pickup.ogg' spillable = TRUE resistance_flags = ACID_PROOF obj_flags = UNIQUE_RENAME - drop_sound = 'sound/items/handling/drinkglass_drop.ogg' - pickup_sound = 'sound/items/handling/drinkglass_pickup.ogg' custom_price = PRICE_REALLY_CHEAP /obj/item/reagent_containers/food/drinks/drinkingglass/on_reagent_change(changetype)