Fixes lavaland syndie base rads + SSU compartment issues (#37252)

* radsuit SSU, syndie lava base rad protection

* re-adds missing combat gloves

* defines radsuit SSU name by the obj
This commit is contained in:
81Denton
2018-04-18 14:01:08 +02:00
committed by CitadelStationBot
parent f98040513a
commit 7caad40e3f
2 changed files with 35 additions and 13 deletions
+8 -2
View File
@@ -103,6 +103,12 @@
mask_type = /obj/item/clothing/mask/breath
storage_type = /obj/item/tank/internals/emergency_oxygen/double
/obj/machinery/suit_storage_unit/radsuit
name = "radiation suit storage unit"
suit_type = /obj/item/clothing/suit/radiation
helmet_type = /obj/item/clothing/head/radiation
storage_type = /obj/item/device/geiger_counter
/obj/machinery/suit_storage_unit/open
state_open = TRUE
density = FALSE
@@ -300,14 +306,14 @@
/obj/machinery/suit_storage_unit/attackby(obj/item/I, mob/user, params)
if(state_open && is_operational())
if(istype(I, /obj/item/clothing/suit/space))
if(istype(I, /obj/item/clothing/suit))
if(suit)
to_chat(user, "<span class='warning'>The unit already contains a suit!.</span>")
return
if(!user.transferItemToLoc(I, src))
return
suit = I
else if(istype(I, /obj/item/clothing/head/helmet))
else if(istype(I, /obj/item/clothing/head))
if(helmet)
to_chat(user, "<span class='warning'>The unit already contains a helmet!</span>")
return