Also fixes Ivy's fluff ID

This commit is contained in:
Cameron653
2017-11-18 00:16:12 -05:00
committed by GitHub
parent 5c4aac8ca7
commit 00ab8f752b
@@ -628,11 +628,12 @@ obj/item/weapon/material/hatchet/tacknife/combatknife/fluff/katarina/handle_shie
icon_state = "labeler1"
afterattack(obj/O, mob/user as mob)
var/new_icon = "ivyholoid"
var/new_icon_state = "ivyholoid"
var/new_icon = 'icons/vore/custom_items_vr.dmi'
var/new_desc = "Its a thin screen showing ID information, but it seems to be flickering."
if(istype(O,/obj/item/weapon/card/id) && O.icon_state != new_icon)
//O.icon = src.icon // just in case we're using custom sprite paths with fluff items.
O.icon_state = new_icon // Changes the icon without changing the access.
O.icon = new_icon
O.icon_state = new_icon_state // Changes the icon without changing the access.
O.desc = new_desc
playsound(user.loc, 'sound/items/polaroid2.ogg', 100, 1)
user.visible_message("<span class='warning'> [user] reprints their ID.</span>")