Files
Polaris/code/game/objects/storage/toolbox.dm
uporotiy ada8ae9513 Fixed a compile error (compile before you commit damnit Superxpdude!).
Tweaked singularity beacon's layer, so it's even more obvious.
Tweaked singularity beacon's price. For 8, it was literally useless.
I don't know why people complain you can release singulo with it, because the code only affects the singulo's move() proc, changing move_direction from pick(cardinals) to get_dir(src,target). That's literally the only thing it affects, and I don't see how it can release singulo.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1717 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-24 05:06:45 +00:00

47 lines
1.5 KiB
Plaintext

/obj/item/weapon/storage/toolbox/New()
..()
if (src.type == /obj/item/weapon/storage/toolbox)
world << "BAD: [src] ([src.type]) spawned at [src.x] [src.y] [src.z]"
del(src)
/obj/item/weapon/storage/toolbox/emergency/New()
..()
new /obj/item/weapon/crowbar/red(src)
new /obj/item/weapon/extinguisher(src)
if(prob(50))
new /obj/item/device/flashlight(src)
new /obj/item/device/radio(src)
/obj/item/weapon/storage/toolbox/mechanical/New()
..()
new /obj/item/weapon/screwdriver(src)
new /obj/item/weapon/wrench(src)
new /obj/item/weapon/weldingtool(src)
new /obj/item/weapon/crowbar(src)
new /obj/item/device/analyzer(src)
new /obj/item/weapon/wirecutters(src)
/obj/item/weapon/storage/toolbox/electrical/New()
..()
var/color = pick("red","yellow","green","blue")
new /obj/item/weapon/screwdriver(src)
new /obj/item/weapon/wirecutters(src)
new /obj/item/device/t_scanner(src)
new /obj/item/weapon/crowbar(src)
new /obj/item/weapon/cable_coil(src,30,color)
new /obj/item/weapon/cable_coil(src,30,color)
if(prob(5))
new /obj/item/clothing/gloves/yellow(src)
else
new /obj/item/weapon/cable_coil(src,30,color)
/obj/item/weapon/storage/toolbox/syndicate/New()
..()
var/color = pick("red","yellow","green","blue")
new /obj/item/weapon/screwdriver(src)
new /obj/item/weapon/wrench(src)
new /obj/item/weapon/weldingtool(src)
new /obj/item/weapon/crowbar(src)
new /obj/item/weapon/cable_coil(src,30,color)
new /obj/item/weapon/wirecutters(src)
new /obj/item/device/multitool(src)