refactor: add commonly used investigate category defines (#28826)

This commit is contained in:
warriorstar-orion
2025-03-30 23:10:48 +00:00
committed by GitHub
parent 53abfd48a1
commit ff0c749f31
44 changed files with 135 additions and 129 deletions
+2 -2
View File
@@ -415,7 +415,7 @@
playsound(pda, 'sound/machines/ping.ogg', 50, FALSE)
order.requires_head_approval = FALSE
SSeconomy.process_supply_order(order, TRUE)
pda.investigate_log("| [key_name(user)] has authorized an order for [pack.name]. Remaining Cargo Balance: [SSeconomy.cargo_account.credit_balance].", "cargo")
pda.investigate_log("| [key_name(user)] has authorized an order for [pack.name]. Remaining Cargo Balance: [SSeconomy.cargo_account.credit_balance].", INVESTIGATE_CARGO)
SSblackbox.record_feedback("tally", "cargo_shuttle_order", 1, pack.name)
else
pda.atom_say("ERROR: Account tied to order cannot pay, auto-denying order")
@@ -449,7 +449,7 @@
if(!can_deny)
return
SSeconomy.request_list -= order
pda.investigate_log("| [key_name(user)] has denied an order for [order.object.name] through the Nanobank app.", "cargo")
pda.investigate_log("| [key_name(user)] has denied an order for [order.object.name] through the Nanobank app.", INVESTIGATE_CARGO)
/datum/data/pda/app/nanobank/proc/pay_with_account(user, amount, purpose, transactor, datum/money_account/target)
if(user_account.suspended)