mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 11:36:24 +01:00
Adds "Department Budget" access that lets you place orders with the shopping app, gives it to warden and cargo techs (#94288)
## About The Pull Request The "NT Shopping Network" app now checks for if you have "Department Budget" access instead of command access for letting you place orders and not requests. All heads, cargo techs and the warden have it shift start but it can be given to anyone (same as EVA access) and heads of staff can add or remove it at their access consoles. Also makes warden start with the app to hint that they have access to the budget. ## Why It's Good For The Game The access itself is good because letting heads choose who has access to the department budget is obviously good. Cargo techs get it cuz they already have access to it by having access to the request consoles in cargo. Warden gets it by default because HOS is usually busy killing/arresting/patrolling while warden is the one actually managing brig and the armory. If HOS really hates that warden has access to the budget they can just remove it on their console.
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
var/obj/item/card/id/id_card = computer.stored_id?.GetID()
|
||||
if(id_card?.registered_account)
|
||||
buyer = SSeconomy.get_dep_account(id_card?.registered_account.account_job.paycheck_department)
|
||||
if((ACCESS_COMMAND in id_card.access))
|
||||
if((ACCESS_BUDGET in id_card.access))
|
||||
requestonly = FALSE
|
||||
can_approve_requests = TRUE
|
||||
// If buyer is a departmental budget, replaces "Cargo" with that budget - we're not using the cargo budget here
|
||||
|
||||
Reference in New Issue
Block a user