Merge pull request #1588 from CIB/suit

Moved the captain's suit
This commit is contained in:
headswe
2012-08-10 09:19:53 -07:00
3 changed files with 8726 additions and 8715 deletions

View File

@@ -35,6 +35,14 @@
HELMET_TYPE = /obj/item/clothing/head/helmet/space
MASK_TYPE = /obj/item/clothing/mask/breath
/obj/machinery/suit_storage_unit/captain_unit
name = "Captain's Suit Storage Unit"
SUIT_TYPE = /obj/item/clothing/suit/armor/captain
HELMET_TYPE = /obj/item/clothing/head/helmet/space/capspace
MASK_TYPE = /obj/item/clothing/mask/breath
req_access = list(ACCESS_CAPTAIN)
islocked = 1 // otherwise anyone can grab it
/obj/machinery/suit_storage_unit/New()
src.update_icon()
@@ -300,6 +308,9 @@
/obj/machinery/suit_storage_unit/proc/toggle_lock(mob/user as mob)
if(!src.allowed(user))
user << "\red Access denied."
return
if(src.OCCUPANT && src.safetieson)
user << "<font color='red'>The Unit's safety protocols disallow locking when a biological form is detected inside its compartments.</font>"
return

View File

@@ -15,7 +15,6 @@
//
new /obj/item/device/pda/captain(src)
new /obj/item/weapon/storage/id_kit(src)
new /obj/item/clothing/suit/armor/captain(src)
new /obj/item/clothing/head/helmet/cap(src)
new /obj/item/clothing/glasses/sunglasses(src)
new /obj/item/clothing/suit/armor/vest(src)