mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
Standerdizing currency symbols Part 2 (#94259)
## About The Pull Request Converts almost all non-constant, non-tgui usages of all variantions of "credit" and "cr" Everything seems in order, tested most the currencies. <img width="905" height="119" alt="image" src="https://github.com/user-attachments/assets/3fa005a7-a114-426c-9646-b81f68bc2dec" /> <img width="255" height="128" alt="image" src="https://github.com/user-attachments/assets/14c83b54-4fd9-4bee-838f-5b1c03939d9a" /> ## Why It's Good For The Game Same justification as https://github.com/tgstation/tgstation/pull/94128 Just easier to mantain/adjust the grammer/names of our money ## Changelog 🆑 spellcheck: minor cleanup on some usecases of "credits" /🆑
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
|
||||
if(physical_cash_total > 0)
|
||||
var/obj/item/holochip/holochange = new /obj/item/holochip(user.loc, physical_cash_total) //Change is made in holocredits exclusively.
|
||||
holochange.name = "[holochange.credits] credit holochip"
|
||||
holochange.name = "[holochange.credits] [MONEY_NAME_SINGULAR] holochip"
|
||||
if(ishuman(user))
|
||||
var/mob/living/carbon/human/paying_customer = user
|
||||
var/successfully_put_in_hands
|
||||
@@ -120,8 +120,8 @@
|
||||
user.pulling = holochange
|
||||
else
|
||||
user.pulling = holochange
|
||||
log_econ("[total_cost] credits were spent on [parent] by [user].")
|
||||
to_chat(user, span_notice("Purchase completed with held credits."))
|
||||
log_econ("[total_cost] [MONEY_NAME] were spent on [parent] by [user].")
|
||||
to_chat(user, span_notice("Purchase completed with held [MONEY_NAME]."))
|
||||
playsound(user, 'sound/effects/cashregister.ogg', 20, TRUE)
|
||||
return TRUE
|
||||
|
||||
@@ -162,11 +162,11 @@
|
||||
to_chat(user, span_warning("ID Card lacks funds. Aborting."))
|
||||
if(PAYMENT_VENDING)
|
||||
to_chat(user, span_warning("You do not possess the funds to purchase that."))
|
||||
atom_parent.balloon_alert(user, "needs [total_cost] credit\s!")
|
||||
atom_parent.balloon_alert(user, "needs [total_cost] [MONEY_NAME_AUTOPURAL(total_cost)]!")
|
||||
return FALSE
|
||||
target_acc.transfer_money(idcard.registered_account, total_cost, "Nanotrasen: Usage of Corporate Machinery")
|
||||
log_econ("[total_cost] credits were spent on [parent] by [user] via [idcard.registered_account.account_holder]'s card.")
|
||||
idcard.registered_account.bank_card_talk("[total_cost] credits deducted from your account.")
|
||||
log_econ("[total_cost] [MONEY_NAME] were spent on [parent] by [user] via [idcard.registered_account.account_holder]'s card.")
|
||||
idcard.registered_account.bank_card_talk("[total_cost] [MONEY_NAME] deducted from your account.")
|
||||
playsound(src, 'sound/effects/cashregister.ogg', 20, TRUE)
|
||||
SSeconomy.add_audit_entry(idcard.registered_account, total_cost, parent)
|
||||
return TRUE
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
amount_to_steal = account_to_rob.account_balance
|
||||
plunder_stored += amount_to_steal
|
||||
account_to_rob.adjust_money(-amount_to_steal)
|
||||
account_to_rob.bank_card_talk("Transaction confirmed! Transferred [amount_to_steal] credits to \<NULL_ACCOUNT\>!")
|
||||
account_to_rob.bank_card_talk("Transaction confirmed! Transferred [amount_to_steal] [MONEY_NAME] to \<NULL_ACCOUNT\>!")
|
||||
|
||||
/datum/component/plundering_attacks/proc/drop_plunder()
|
||||
SIGNAL_HANDLER
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
overall_item_price = max(0, overall_item_price - payee_cut)
|
||||
|
||||
payee.adjust_money(payee_cut, "Pricetag: [capitalize(format_text(source.name))] Sale")
|
||||
payee.bank_card_talk("Sale of [source] recorded. [payee_cut] credits added to account.")
|
||||
payee.bank_card_talk("Sale of [source] recorded. [payee_cut] [MONEY_NAME] added to account.")
|
||||
|
||||
// Update the report with the modified final price
|
||||
report.total_value[export] += overall_item_price
|
||||
|
||||
Reference in New Issue
Block a user