mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-05 23:21:53 +00:00
Also yes, yes, if you are really bothered by the fact that picking up a green wire piece with a blue coil will result in all of them being blue then that's fine, but I really think it's more than good enough for a game. It will also allow people who want to use a particular color the abbility to get enough wire pieces of it without unneeded problems. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1593 316c924e-a436-60f5-8080-3fe189b3f50e
36 lines
1.1 KiB
Plaintext
36 lines
1.1 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) |