NT Pay app. Money send on distance, transaction log! (#70108)

* base

* reasons

* GetToken proc, with a many remarks

* Add a way to change reason in transfer_money proc. Add a reasons.

* Reason to use the app. Commission. Standard application.

* Apply suggestions from code review - Tralezab

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>

* Tralezab & jlsnow301 advices. New format(everywhere)

* Nanotrasen

* Refactor TGUI(not me:( ). Fix useless capitalize

* Update code/modules/economy/account.dm

* Trans transforms in transaction

* coMmission. little autodoc mistalke. Translation != Transaction

* oops

* Merge Conflict

* ...

* back feats

* mistakes bye!

* ну да

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
This commit is contained in:
Yaroslav Nurkov
2022-10-05 18:25:38 -04:00
committed by GitHub
co-authored by tralezab
parent 92bdb50232
commit 04ca99d7e9
27 changed files with 355 additions and 42 deletions
+2 -2
View File
@@ -471,9 +471,9 @@
to_chat(usr, span_notice("You do not possess the funds to purchase this."))
return TRUE
else
account.adjust_money(-sale_price)
account.adjust_money(-sale_price, "Display Case: [capitalize(showpiece)]")
if(payments_acc)
payments_acc.adjust_money(sale_price)
payments_acc.adjust_money(sale_price, "Display Case: [capitalize(showpiece)]")
usr.put_in_hands(showpiece)
to_chat(usr, span_notice("You purchase [showpiece] for [sale_price] credits."))
playsound(src, 'sound/effects/cashregister.ogg', 40, TRUE)