[MIRROR] Tweaks rupee's in-game sprite and adds some failtext with IDs. (#5318)

* tweaks rupee's in-game sprite and adds some failtext to using them like cash. (#58726)

* Tweaks rupee's in-game sprite and adds some failtext with IDs.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-04-29 13:56:49 +01:00
committed by GitHub
co-authored by ArcaneMusic
parent 97ab666510
commit 8dc277a66e
2 changed files with 4 additions and 3 deletions
+4 -3
View File
@@ -428,7 +428,10 @@
SSid_access.apply_trim_to_card(src, trim)
/obj/item/card/id/attackby(obj/item/W, mob/user, params)
if(istype(W, /obj/item/holochip))
if(istype(W, /obj/item/rupee))
to_chat(user, "<span class='warning'>Your ID smartly rejects the strange shard of glass. Who knew, apparently it's not ACTUALLY valuable!</span>")
return
else if(istype(W, /obj/item/holochip))
insert_money(W, user)
return
else if(istype(W, /obj/item/stack/spacecash))
@@ -440,9 +443,7 @@
else if(istype(W, /obj/item/storage/bag/money))
var/obj/item/storage/bag/money/money_bag = W
var/list/money_contained = money_bag.contents
var/money_added = mass_insert_money(money_contained, user)
if (money_added)
to_chat(user, "<span class='notice'>You stuff the contents into the card! They disappear in a puff of bluespace smoke, adding [money_added] worth of credits to the linked account.</span>")
return
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 18 KiB