mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
collar stuff
This commit is contained in:
@@ -380,4 +380,15 @@
|
||||
/obj/item/clothing/mask/gas/fluff/skinner,
|
||||
/obj/item/device/modkit_conversion/fluff/skinner/a,
|
||||
/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)
|
||||
|
||||
@@ -1321,4 +1321,48 @@
|
||||
icon = 'icons/vore/custom_clothes_yw.dmi'
|
||||
icon_override = 'icons/vore/custom_onmob_yw.dmi'
|
||||
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 |
Reference in New Issue
Block a user