diff --git a/code/game/objects/items/weapons/storage/belt.dm b/code/game/objects/items/weapons/storage/belt.dm index d14fc5958f0..e8771a6c7c6 100644 --- a/code/game/objects/items/weapons/storage/belt.dm +++ b/code/game/objects/items/weapons/storage/belt.dm @@ -44,6 +44,7 @@ desc = "Can hold various tools." icon_state = "utilitybelt" item_state = "utility" + use_item_overlays = 1 can_hold = list( "/obj/item/weapon/crowbar", "/obj/item/weapon/screwdriver", @@ -90,6 +91,7 @@ desc = "Can hold various medical equipment." icon_state = "medicalbelt" item_state = "medical" + use_item_overlays = 1 can_hold = list( "/obj/item/device/healthanalyzer", "/obj/item/weapon/dnainjector", @@ -129,6 +131,7 @@ desc = "Can hold various botanical supplies." icon_state = "botanybelt" item_state = "botany" + use_item_overlays = 1 can_hold = list( "/obj/item/device/analyzer/plant_analyzer", "/obj/item/weapon/minihoe", @@ -136,8 +139,8 @@ "/obj/item/weapon/reagent_containers/glass/fertilizer", "/obj/item/weapon/reagent_containers/glass/bottle", "/obj/item/weapon/plantspray", - "/obj/item/weapon/reagent_containers/syringe", - "/obj/item/weapon/reagent_containers/glass/beaker", +// "/obj/item/weapon/reagent_containers/syringe", +// "/obj/item/weapon/reagent_containers/glass/beaker", "/obj/item/weapon/lighter/zippo", "/obj/item/weapon/storage/fancy/cigarettes", "obj/item/weapon/rollingpaperpack", @@ -195,6 +198,7 @@ icon_state = "soulstonebelt" item_state = "soulstonebelt" storage_slots = 6 + use_item_overlays = 1 can_hold = list( "/obj/item/device/soulstone" ) @@ -240,6 +244,7 @@ item_state = "janibelt" storage_slots = 6 max_w_class = 4 // Set to this so the light replacer can fit. + use_item_overlays = 1 can_hold = list( "/obj/item/weapon/grenade/chem_grenade/cleaner", "/obj/item/device/lightreplacer", @@ -310,6 +315,21 @@ new /obj/item/ammo_casing/shotgun/beanbag(src) new /obj/item/ammo_casing/shotgun/beanbag(src) +/obj/item/weapon/storage/belt/bandolier/update_icon() + ..() + icon_state = "[initial(icon_state)]_[contents.len]" + +/obj/item/weapon/storage/belt/bandolier/attackby(obj/item/W, mob/user) + var/amount = contents.len + . = ..() + if(amount != contents.len) + update_icon() + +/obj/item/weapon/storage/belt/lazabandolierrus/remove_from_storage(obj/item/W as obj, atom/new_location) + ..() + update_icon() + + /obj/item/weapon/storage/belt/holster name = "shoulder holster" desc = "A holster to conceal a carried handgun. WARNING: Badasses only." @@ -328,6 +348,7 @@ icon_state = "soulstonebelt" item_state = "soulstonebelt" storage_slots = 6 + use_item_overlays = 1 can_hold = list( "/obj/item/weapon/gun/magic/wand" ) diff --git a/icons/obj/clothing/belts.dmi b/icons/obj/clothing/belts.dmi index 71d51209dbc..f747338a5a7 100644 Binary files a/icons/obj/clothing/belts.dmi and b/icons/obj/clothing/belts.dmi differ