mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 23:49:21 +01:00
Also fixes Ivy's fluff ID
This commit is contained in:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user