collar stuff

This commit is contained in:
Mike Showman
2019-01-31 04:01:57 -05:00
parent c387d06c02
commit aaaa794c4c
4 changed files with 57 additions and 2 deletions

View File

@@ -381,3 +381,14 @@
/obj/item/device/modkit_conversion/fluff/skinner/a, /obj/item/device/modkit_conversion/fluff/skinner/a,
/obj/item/device/modkit_conversion/fluff/skinner/b, /obj/item/device/modkit_conversion/fluff/skinner/b,
/obj/item/device/modkit_conversion/fluff/skinner/c) /obj/item/device/modkit_conversion/fluff/skinner/c)
// ********
// MASMC
// ********
// Kettek Ollarch
/obj/item/weapon/storage/box/fluff/kettek
name = "Kettek's box"
desc = "a kit containing Kettek's equipment."
has_items = list (
/obj/item/accessory/fluff/kettek_collar)

View File

@@ -1322,3 +1322,47 @@
icon_override = 'icons/vore/custom_onmob_yw.dmi' icon_override = 'icons/vore/custom_onmob_yw.dmi'
icon_state = "skinnermask" icon_state = "skinnermask"
item_state = "skinnermask" item_state = "skinnermask"
// *****
// MASMC
// *****
// Kettek Ollarch
/obj/item/accessory/fluff/kettek_collar
name = "Kettek's Collar"
desc = "A colour-changing collar. The collar itself changes colour, and has a gold tag on it that says \"Kettek Ollarch\" in small black lettering. Stiched on the inside is the same name, seemingly in case the tag falls off."
icon = 'icons/vore/custom_clothes_yw.dmi'
icon_override = 'icons/vore/custom_onmob_yw.dmi'
icon_state = "kettek_collar_default"
item_state = "kettek_collar"
// We need additional procs to make this item work
/obj/item/accessory/fluff/kettek_collar/New()
..()
verbs |- /obj/item/accessory/fluff/kettek_collar/proc/change_color
color = "#"+get_random_colour()
update_icon()
/obj/item/accessory/fluff/kettek_collar/proc/change_color()
set name = "Change collar colour"
set category = "Object"
set desc = "Chane the colour of the collar."
set src in usr
if(usr.stat || usr.incapacitated())
return
var/new_color = input(usr, "Pick a new colour", "Collar Colour", color) as color|null
if(new_color && (new_color != color))
color = new_color
/obj/item/accessory/fluff/kettek_collar/emp_act()
var/original_state = icon_state
icon_state = "kettek_collar_emp"
update_icon()
spawn(200)
if(src)
icon_state = original_state
update_icon()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB