Accessory Flipping, Wallets, Lanyards, contractor worn ID icons, ID layer switching, custom loadout names and descriptions, manbeast, hiiyah (#7087)

Asymmetrical accessories can now be flipped! This is done through the attack_self proc (i.e., activating it in your active hand), or a right-click menu if the item already has an attack_self behaviour.
This affects:

    Stethoscopes
    All medals
    All badges
    Armbands
    Holsters
    Machete Holster
    Scarves
    TCFL ribbons
    Shoulder capes
    Sleeve patches
    Bandoliers
    Political pins
This commit is contained in:
Mwahahahaha
2019-10-19 00:04:29 +03:00
committed by Erki
parent 431a435322
commit ac9c1769ae
40 changed files with 863 additions and 127 deletions
@@ -154,6 +154,9 @@
new /obj/item/device/breath_analyzer(src)
//Belts
new /obj/item/clothing/accessory/holster/waist(src)
new /obj/item/clothing/accessory/holster/armpit(src)
new /obj/item/clothing/accessory/holster/hip(src)
new /obj/item/clothing/accessory/holster/thigh(src)
new /obj/item/weapon/storage/belt/security(src)
@@ -184,7 +187,10 @@
//Belts
new /obj/item/weapon/storage/belt/security(src)
new /obj/item/clothing/accessory/holster/armpit(src)
new /obj/item/clothing/accessory/holster/waist(src)
new /obj/item/clothing/accessory/holster/hip(src)
new /obj/item/clothing/accessory/holster/thigh(src)
new /obj/item/device/breath_analyzer(src)
@@ -235,7 +241,7 @@
if (prob(50))
new /obj/item/clothing/accessory/storage/black_vest(src)
else
new /obj/item/clothing/accessory/storage/black_pouches(src)
new /obj/item/clothing/accessory/storage/pouches/black(src)
new /obj/item/weapon/storage/belt/security(src)
@@ -270,7 +276,7 @@
if (prob(50))
new /obj/item/clothing/accessory/storage/black_vest(src)
else
new /obj/item/clothing/accessory/storage/black_pouches(src)
new /obj/item/clothing/accessory/storage/pouches/black(src)
new /obj/item/weapon/storage/belt/security(src)
/obj/structure/closet/secure_closet/security
@@ -312,7 +318,7 @@
if (prob(50))
new /obj/item/clothing/accessory/storage/black_vest(src)
else
new /obj/item/clothing/accessory/storage/black_pouches(src)
new /obj/item/clothing/accessory/storage/pouches/black(src)
new /obj/item/clothing/accessory/holster/hip(src)
new /obj/item/weapon/storage/belt/security(src)
@@ -372,6 +378,9 @@
new /obj/item/taperoll/police(src)
//Belts
new /obj/item/clothing/accessory/holster/armpit(src)
new /obj/item/clothing/accessory/holster/waist(src)
new /obj/item/clothing/accessory/holster/hip(src)
new /obj/item/clothing/accessory/holster/thigh(src)
/obj/structure/closet/secure_closet/detective/attackby(obj/item/weapon/W as obj, mob/user as mob)
if(opened)