mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-14 19:41:53 +00:00
O2 closets. Also redid Radiation suit change. It seemed to get messed up by /tg/ update I guess.
34 lines
869 B
Plaintext
34 lines
869 B
Plaintext
/obj/structure/closet/emcloset/New()
|
|
..()
|
|
|
|
if (prob(40))
|
|
new /obj/item/weapon/storage/toolbox/emergency(src)
|
|
|
|
switch (pickweight(list("small" = 20, "aid" = 15, "tank" = 10, "both" = 50, "nothing" = 4, "delete" = 1)))
|
|
if ("small")
|
|
new /obj/item/weapon/tank/emergency_oxygen(src)
|
|
new /obj/item/weapon/tank/emergency_oxygen(src)
|
|
|
|
if ("aid")
|
|
new /obj/item/weapon/tank/emergency_oxygen(src)
|
|
new /obj/item/weapon/storage/firstaid/o2(src)
|
|
|
|
if ("tank")
|
|
new /obj/item/weapon/tank/air(src)
|
|
|
|
if ("both")
|
|
new /obj/item/weapon/tank/emergency_oxygen(src)
|
|
new /obj/item/clothing/mask/breath(src)
|
|
|
|
if ("nothing")
|
|
// doot
|
|
|
|
// teehee
|
|
if ("delete")
|
|
del(src)
|
|
|
|
//If you want to re-add fire, just add "fire" = 15 to the pick list.
|
|
/*if ("fire")
|
|
new /obj/structure/closet/firecloset(src.loc)
|
|
del(src)*/
|