First bunch of emlocker stuffs, going to fix when its not 1am and 24C

This commit is contained in:
Miniature
2012-01-03 01:38:01 +10:30
parent 024120e4a3
commit 806a8d1c1a
4 changed files with 25 additions and 39 deletions
+8 -27
View File
@@ -4,30 +4,11 @@
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)*/
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 = 0
while(prob(60) && counter < 3)
new /obj/item/clothing/mask/breath(src)