Ad Jessie's white cane item

This commit is contained in:
gozulio
2019-10-01 02:44:38 -04:00
parent 78475ce93a
commit a0500afe7c
5 changed files with 77 additions and 0 deletions
@@ -449,6 +449,23 @@
ckeywhitelist = list("generalpantsu")
character_name = list("Samantha Quzix")
//Gozulio
//Glitterpaws
/datum/gear/fluff/goz_whitecane_j
path = /obj/item/weapon/melee/goz_whitecane
display_name = "Telescopic White Cane"
description = "A telescoping white cane. They are commonly used by the blind or visually impaired as a mobility tool or as a courtesy to others."
ckeywhitelist = list("gozulio")
character_name = list("Jessie Glitterpaws")
/datum/gear/fluff/goz_whitecane_e
path = /obj/item/weapon/melee/goz_whitecane
display_name = "Telescopic White Cane"
description = "A telescoping white cane. They are commonly used by the blind or visually impaired as a mobility tool or as a courtesy to others."
ckeywhitelist = list("gozulio")
character_name = list("Eira Glitterpaws")
// H CKEYS
//harpsong
@@ -133,6 +133,66 @@
from_suit = /obj/item/clothing/suit/storage/vest/officer
to_suit = /obj/item/clothing/suit/storage/vest/officer/fluff/nika
// *******
// Gozulio
// *******
//Glitterpaws
/obj/item/weapon/melee/goz_whitecane
name = "white cane"
desc = "A telescoping white cane. They are commonly used by the blind or visually impaired as a mobility tool or as a courtesy to others."
icon = 'icons/vore/custom_items_yw.dmi'
icon_state = "goz_whitecane_0"
item_icons = list(
slot_l_hand_str = 'icons/vore/custom_items_left_hand_yw.dmi',
slot_r_hand_str = 'icons/vore/custom_items_right_hand_yw.dmi',
)
slot_flags = SLOT_BELT
w_class = ITEMSIZE_SMALL
force = 3
var/on = 0
/obj/item/weapon/melee/goz_whitecane/attack_self(mob/user as mob)
on = !on
if(on)
user.visible_message("<span class='notice'>\The [user] extends the white cane.</span>",\
"<span class='warning'>You extend the white cane.</span>",\
"You hear an ominous click.")
icon_state = "goz_whitecane_1"
item_state_slots = list(slot_r_hand_str = "goz_whitecane", slot_l_hand_str = "goz_whitecane")
w_class = ITEMSIZE_NORMAL
force = 5
attack_verb = list("smacked", "struck", "craked", "beaten", "tripped")
else
user.visible_message("<span class='notice'>\The [user] collapses the white cane.</span>",\
"<span class='notice'>You collapse the white cane.</span>",\
"You hear a click.")
icon_state = "goz_whitecane_0"
item_state_slots = list(slot_r_hand_str = null, slot_l_hand_str = null)
w_class = ITEMSIZE_SMALL
force = 3
attack_verb = list("hit", "poked")
if(istype(user,/mob/living/carbon/human))
var/mob/living/carbon/human/H = user
H.update_inv_l_hand()
H.update_inv_r_hand()
playsound(src.loc, 'sound/weapons/empty.ogg', 50, 1)
add_fingerprint(user)
if(blood_overlay && blood_DNA && (blood_DNA.len >= 1)) //updates blood overlay, if any
overlays.Cut()//this might delete other item overlays as well but eeeeeeeh
var/icon/I = new /icon(src.icon, src.icon_state)
I.Blend(new /icon('icons/effects/blood.dmi', rgb(255,255,255)),ICON_ADD)
I.Blend(new /icon('icons/effects/blood.dmi', "itemblood"),ICON_MULTIPLY)
blood_overlay = I
overlays += blood_overlay
return
// *******
// Dawidoe
// *******
Binary file not shown.

Before

Width:  |  Height:  |  Size: 675 B

After

Width:  |  Height:  |  Size: 806 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 661 B

After

Width:  |  Height:  |  Size: 802 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB