mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-20 11:40:07 +01:00
[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:
@@ -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 |
Reference in New Issue
Block a user