Merge pull request #2401 from Yoshax/ponchos

Adds the ability to wear ponchos as an accessory, also adds the ability to attach ponchos to your suit
This commit is contained in:
Neerti
2016-08-31 20:12:51 -04:00
committed by GitHub
11 changed files with 132 additions and 65 deletions

View File

@@ -124,10 +124,16 @@
//suit/armour
if(wear_suit)
var/tie_msg
if(istype(wear_suit,/obj/item/clothing/suit))
var/obj/item/clothing/suit/U = wear_suit
if(U.accessories.len)
tie_msg += ". Attached to it is [lowertext(english_list(U.accessories))]"
if(wear_suit.blood_DNA)
msg += "<span class='warning'>[T.He] [T.is] wearing \icon[wear_suit] [wear_suit.gender==PLURAL?"some":"a"] [(wear_suit.blood_color != SYNTH_BLOOD_COLOUR) ? "blood" : "oil"]-stained [wear_suit.name]!</span>\n"
else
msg += "[T.He] [T.is] wearing \icon[wear_suit] \a [wear_suit].\n"
msg += "[T.He] [T.is] wearing \icon[wear_suit] \a [wear_suit][tie_msg].\n"
//suit/armour storage
if(s_store && !skipsuitstorage)