Merge remote-tracking branch 'upstream/master' into remove-weapons

This commit is contained in:
Fox McCloud
2018-04-19 17:01:38 -04:00
25 changed files with 426 additions and 338 deletions
@@ -108,6 +108,18 @@
color = pick(COLOR_RED, COLOR_BLUE, COLOR_GREEN, COLOR_WHITE, COLOR_PINK, COLOR_YELLOW, COLOR_CYAN)
..()
/obj/item/restraints/handcuffs/cable/proc/cable_color(var/colorC)
if(colorC)
if(colorC == "rainbow")
colorC = color_rainbow()
color = colorC
else
color = COLOR_RED
/obj/item/restraints/handcuffs/cable/proc/color_rainbow()
color = pick(COLOR_RED, COLOR_BLUE, COLOR_GREEN, COLOR_PINK, COLOR_YELLOW, COLOR_CYAN)
return color
/obj/item/restraints/handcuffs/alien
icon_state = "handcuffAlien"
@@ -143,6 +155,9 @@
if(!remove_item_from_storage(user))
user.unEquip(src)
qdel(src)
else if(istype(I, /obj/item/toy/crayon))
var/obj/item/toy/crayon/C = I
cable_color(C.colourName)
/obj/item/restraints/handcuffs/cable/zipties
name = "zipties"
@@ -829,6 +829,26 @@
return
return ..()
/obj/item/storage/box/centcomofficer
name = "officer kit"
/obj/item/storage/box/centcomofficer/New()
..()
contents = list()
new /obj/item/clothing/mask/breath(src)
new /obj/item/tank/emergency_oxygen/double/full(src)
new /obj/item/device/flashlight/seclite(src)
new /obj/item/kitchen/knife/combat(src)
new /obj/item/device/radio/centcom(src)
new /obj/item/door_remote/omni(src)
new /obj/item/implanter/death_alarm(src)
new /obj/item/reagent_containers/hypospray/combat/nanites(src)
new /obj/item/pinpointer/advpinpointer(src)
#undef NODESIGN
#undef NANOTRASEN
#undef SYNDI