mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Accounting Glowup: Advances, Pay raises and cuts, and more (#92419)
## About The Pull Request Fixes #92188 1. The Accounting console now has a new UI <img width="757" height="486" alt="image" src="https://github.com/user-attachments/assets/0c6ce73f-ae1c-4a54-b6ba-bcc3b3232d13" /> 2. The Accounting console can now dish out advances on paychecks, giving you for full paycheck early. You can give up to 3 advances. This of course means your next paycheck is not paid out when relevant. 3. The Accounting console can now change paycheck sizes of crewmembers - up to 1.5x and down to 0.5x. ## Why It's Good For The Game - Gives the HoP some more duties, now being able to dish out money on request, reward good behavior, or punish bad behavior. ## Changelog 🆑 Melbert add: Accounting Console: New UI! add: Accounting Console: Now can give advances to crewmembers add: Accounting Console: Can now give pay raises or pay cuts add: Accounting Console: Now only printable in the security lathe add: Accounting Console: A spare board is now now found in secure tech storage. fix: Fix vending machines adding payments to audit log twice. fix: Non-crewmembers are no longer shown in the accounting console /🆑 --------- Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
This commit is contained in:
@@ -218,7 +218,7 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list(
|
||||
if(spawning_order.charge_on_purchase)
|
||||
receiver_message += " [price] credits have been charged to your bank account"
|
||||
paying_for_this.bank_card_talk(receiver_message)
|
||||
SSeconomy.track_purchase(paying_for_this, price, spawning_order.pack.name)
|
||||
SSeconomy.add_audit_entry(paying_for_this, price, spawning_order.pack.name)
|
||||
var/datum/bank_account/department/cargo = SSeconomy.get_dep_account(ACCOUNT_CAR)
|
||||
cargo.adjust_money(price - pack_cost) //Cargo gets the handling fee
|
||||
value += pack_cost
|
||||
|
||||
Reference in New Issue
Block a user