mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-25 17:02:04 +00:00
the toxins gas storage room and one in the incinerator. They are controlled by an area air control computer, so you can turn them on at a distance. Added into code a legacy emergency closet which contains one oxygen tank and one gas mask, committing my version of oldstation. It still needs lighting and wires added as well as room wall-mounted things like air alarms, fire alarms, light switches and lights. Revision: r2955 Author: baloh.matevz
20 lines
554 B
Plaintext
20 lines
554 B
Plaintext
/obj/structure/closet/emcloset/New()
|
|
..()
|
|
|
|
if (prob(40))
|
|
new /obj/item/weapon/storage/toolbox/emergency(src)
|
|
|
|
new /obj/item/clothing/mask/breath(src)
|
|
new /obj/item/weapon/tank/emergency_oxygen(src)
|
|
var/counter = 0
|
|
while(prob(60) && counter < 3)
|
|
new /obj/item/weapon/tank/emergency_oxygen(src)
|
|
counter++
|
|
counter = 0
|
|
while(prob(60) && counter < 3)
|
|
new /obj/item/clothing/mask/breath(src)
|
|
counter++
|
|
|
|
/obj/structure/closet/emcloset/legacy/New()
|
|
new /obj/item/weapon/tank/oxygen(src)
|
|
new /obj/item/clothing/mask/gas(src) |