[MIRROR] Adds the Accounting Console to the game (HOP Job Content) [MDB IGNORE] (#13119)

* Adds the Accounting Console to the game (HOP Job Content)

* Update economy.dm

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-04-26 15:27:04 +01:00
committed by GitHub
co-authored by ArcaneMusic Zonespace
parent 5df50bf3c7
commit b501ff54ea
18 changed files with 223 additions and 30 deletions
+2 -1
View File
@@ -962,7 +962,8 @@ GLOBAL_LIST_EMPTY(vending_products)
if(D)
D.adjust_money(price_to_use)
SSblackbox.record_feedback("amount", "vending_spent", price_to_use)
log_econ("[price_to_use] credits were inserted into [src] by [D.account_holder] to buy [R].")
SSeconomy.track_purchase(account, price_to_use, name)
log_econ("[price_to_use] credits were inserted into [src] by [account.account_holder] to buy [R].")
if(last_shopper != REF(usr) || purchase_message_cooldown < world.time)
say("Thank you for shopping with [src]!")
purchase_message_cooldown = world.time + 5 SECONDS