Fixes journals, quik-pay and credit symbol use (#21844)

Three for one.

- The ability to write in journals held in ones hand was restored.
- The quik-pay quick-input now works properly.
- The credit symbol use was standardised to use 5电 and inserted into a
few places where it used credit instead.
This commit is contained in:
Casper3667
2026-02-11 23:58:45 +00:00
committed by GitHub
parent a7f6cab456
commit d0da59a72e
19 changed files with 69 additions and 60 deletions
+3 -3
View File
@@ -177,7 +177,7 @@
return
I = user.GetIdCard()
if(istype(I) && (ACCESS_CARGO in I.access))
var/price_guess = text2num(sanitizeSafe( tgui_input_text(user, "How much do you wish to withdraw? Remaining cash: [credit]", "QuikPay", 0, 10), 10))
var/price_guess = text2num(sanitizeSafe( tgui_input_text(user, "How much do you wish to withdraw? Remaining credits: [credit]", "QuikPay", 0, 10), 10))
if(isnull(price_guess) || price_guess == 0)
return
price_guess = max(0, round(price_guess, 0.01))
@@ -375,10 +375,10 @@
var/item_amount = bought_item["amount"]
var/item_price = items_to_price[item_name]
receipt += "<li><b>[item_name]</b>: [item_amount] x [item_price]cr: [item_amount * item_price]cr<br>"
receipt += "<li><b>[item_name]</b>: [item_amount] x [item_price]: [item_amount * item_price]<br>"
sum += item_price * item_amount
receipt += "</ul><HR>Total:</b> [sum]cr<br>"
receipt += "</ul><HR>Total:</b> [sum]<br>"
playsound(src, 'sound/machines/ping.ogg', 25, 1)
audible_message(SPAN_NOTICE("[icon2html(src, viewers(get_turf(src)))] \The [src] pings."))
. = TRUE