mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
Made update icon less stupid
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
var/uses = 1
|
||||
var/health_cost = 0 //The amount of health taken from the user when invoking the talisman
|
||||
|
||||
/obj/item/paper/talisman/update_icon()//overriding this so the update_icon doesn't turn them into normal looking paper
|
||||
SEND_SIGNAL(src, COMSIG_OBJ_UPDATE_ICON)
|
||||
|
||||
/obj/item/paper/talisman/examine(mob/user)
|
||||
if(iscultist(user) || user.stat == DEAD)
|
||||
to_chat(user, "<b>Name:</b> [cultist_name]")
|
||||
|
||||
@@ -54,8 +54,6 @@
|
||||
|
||||
/obj/item/paper/update_icon()
|
||||
..()
|
||||
if(istype(src, /obj/item/paper/talisman))//let's not override talisman sprites, tyvm
|
||||
return
|
||||
if(info)
|
||||
icon_state = "paper_words"
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user