Linked uniforms

Initial addition of the labelled prisoner jumpsuits and cell control
functionality for the introduction of the communal brig. One note to
review (namely, if id = null for cell spawning, that may cause a runtime
error).
This commit is contained in:
skull132
2015-06-10 02:08:42 +03:00
parent 9d1d24b4c8
commit f7bd2b41e1
4 changed files with 93 additions and 5 deletions
@@ -320,8 +320,23 @@
New()
..()
new /obj/item/clothing/under/color/orange( src )
new /obj/item/clothing/shoes/orange( src )
switch(id)
if("Cell 1")
new /obj/item/clothing/under/color/orange/cell1(src)
new /obj/item/clothing/shoes/orange(src)
if("Cell 2")
new /obj/item/clothing/under/color/orange/cell2(src)
new /obj/item/clothing/shoes/orange(src)
if("Cell 3")
new /obj/item/clothing/under/color/orange/cell3(src)
new /obj/item/clothing/shoes/orange(src)
if("Cell 4")
new /obj/item/clothing/under/color/orange/cell4(src)
new /obj/item/clothing/shoes/orange(src)
else
new /obj/item/clothing/under/color/orange(src)
new /obj/item/clothing/shoes/orange(src)
return