Each cable coil color now has inhands

This commit is contained in:
Nerd Lord
2016-04-29 22:10:11 -04:00
parent d662b0e455
commit 8a6d36061e
4 changed files with 10 additions and 2 deletions
+8 -1
View File
@@ -105,9 +105,11 @@
/obj/item/weapon/restraints/handcuffs/cable/red
icon_state = "cuff_red"
item_state = "cuff_red"
/obj/item/weapon/restraints/handcuffs/cable/yellow
icon_state = "cuff_yellow"
item_state = "cuff_yellow"
/obj/item/weapon/restraints/handcuffs/cable/blue
icon_state = "cuff_blue"
@@ -115,18 +117,23 @@
/obj/item/weapon/restraints/handcuffs/cable/green
icon_state = "cuff_green"
item_state = "coil_green"
/obj/item/weapon/restraints/handcuffs/cable/pink
icon_state = "cuff_pink"
item_state = "cuff_pink"
/obj/item/weapon/restraints/handcuffs/cable/orange
icon_state = "cuff_orange"
item_state = "cuff_orange"
/obj/item/weapon/restraints/handcuffs/cable/cyan
icon_state = "cuff_cyan"
item_state = "cuff_cyan"
/obj/item/weapon/restraints/handcuffs/cable/white
icon_state = "cuff_white"
item_state = "cuff_white"
/obj/item/weapon/restraints/handcuffs/alien
icon_state = "handcuffAlien"
@@ -321,7 +328,7 @@
icon_state = "bola_r"
breakouttime = 70
weaken = 1
/obj/item/weapon/restraints/legcuffs/bola/cult //cult variant, comes with armament talisman
name = "nar'sian bola"
desc = "A strong bola, bound with dark magic. Throw it to trip and slow your victim."
+2 -1
View File
@@ -525,8 +525,9 @@ var/global/list/datum/stack_recipe/cable_coil_recipes = list ( \
/obj/item/stack/cable_coil/update_icon()
if (!item_color)
if(!item_color)
item_color = pick("red", "yellow", "blue", "green")
item_state = "coil_[item_color]"
if(amount == 1)
icon_state = "coil_[item_color]1"
name = "cable piece"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 109 KiB