mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
refactor: add commonly used investigate category defines (#28826)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user