Changes $1 to 1 cr (#48414)

* $ to cr

* Payday messages use a proper span instead of asterisks
This commit is contained in:
cacogen
2019-12-28 16:29:36 +02:00
committed by Aleksej Komarov
parent 012751a219
commit 6b63bf7093
14 changed files with 29 additions and 29 deletions
@@ -241,15 +241,15 @@
if(!user.temporarilyRemoveItemFromInventory(c))
return
credits += c.value
visible_message("<span class='info'><span class='name'>[user]</span> inserts [c.value] credits into [src].</span>")
visible_message("<span class='info'><span class='name'>[user]</span> inserts [c.value] cr into [src].</span>")
qdel(c)
return
else if(istype(I, /obj/item/holochip))
var/obj/item/holochip/HC = I
credits += HC.credits
visible_message("<span class='info'>[user] inserts a $[HC.credits] holocredit chip into [src].</span>")
visible_message("<span class='info'>[user] inserts a [HC.credits] cr holocredit chip into [src].</span>")
qdel(HC)
return
return
else if(istype(I, /obj/item/card/id))
if(state != 2)
return
@@ -257,10 +257,10 @@
var/datum/bank_account/account = ID.registered_account
var/target_credits = total_price - credits
if(!account.adjust_money(-target_credits))
say("Insufficient money on card to purchase!")
say("Insufficient credits on card to purchase!")
return
credits += target_credits
say("$[target_credits] has been desposited from your account.")
say("[target_credits] cr has been desposited from your account.")
return
return ..()