Adds Departmental Ponchos V2 (#1365)

* Adds Departmental Ponchos

* Adds /roles to path in loadout

* Adds /roles to path for ponchos

* Added typesof(.../roles)

* Removes unneeded paranthesis

* Removes Armor Values

Removes armor values because fuck this shit, I just want this to get merged.
This commit is contained in:
redstryker
2016-04-15 11:20:12 -04:00
committed by Datraen
parent a287d8b657
commit cc1d3e5c6d
4 changed files with 54 additions and 6 deletions
@@ -120,12 +120,36 @@
/datum/gear/suit/poncho/New()
..()
var/list/ponchos = list()
for(var/poncho_style in typesof(/obj/item/clothing/suit/poncho))
for(var/poncho_style in (typesof(/obj/item/clothing/suit/poncho) - typesof(/obj/item/clothing/suit/poncho/roles)))
var/obj/item/clothing/suit/storage/toggle/hoodie/poncho = poncho_style
ponchos[initial(poncho.name)] = poncho
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(ponchos))
/datum/gear/suit/poncho/roles/security
display_name = "poncho, security"
path = /obj/item/clothing/suit/poncho/roles/security
allowed_roles = list("Head of Security", "Warden", "Detective", "Security Officer")
/datum/gear/suit/poncho/roles/medical
display_name = "poncho, medical"
path = /obj/item/clothing/suit/poncho/roles/medical
allowed_roles = list("Medical Doctor","Chief Medical Officer","Chemist","Paramedic","Geneticist")
/datum/gear/suit/poncho/roles/engineering
display_name = "poncho, engineering"
path = /obj/item/clothing/suit/poncho/roles/engineering
allowed_roles = list("Chief Engineer","Atmospheric Technician", "Station Engineer")
/datum/gear/suit/poncho/roles/science
display_name = "poncho, science"
path = /obj/item/clothing/suit/poncho/roles/science
allowed_roles = list("Research Director","Scientist", "Roboticist", "Xenobotanist")
/datum/gear/suit/poncho/roles/cargo
display_name = "poncho, cargo"
path = /obj/item/clothing/suit/poncho/roles/cargo
allowed_roles = list("Quartermaster","Cargo Technician")
/datum/gear/suit/unathi_robe
display_name = "roughspun robe"
path = /obj/item/clothing/suit/unathi/robe
@@ -170,4 +194,4 @@
/datum/gear/suit/forensics/red/short
display_name = "forensics, red"
path = /obj/item/clothing/suit/storage/forensics/red
allowed_roles = list("Detective")
allowed_roles = list("Detective")