Skip to content

Commit

Permalink
[Semi-Modular] Department Cards! (Attempt the second) (#528)
Browse files Browse the repository at this point in the history
Department Cards! (Attempt the second)

Co-authored-by: SomeRandomOwl <[email protected]>
  • Loading branch information
Steals-The-PRs and SomeRandomOwl authored Nov 9, 2023
1 parent 65aef0e commit 3ae1b4a
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
new /obj/item/storage/box/gas_miner_beacons(src) // SKYRAT EDIT ADDITION
new /obj/item/construction/plumbing/engineering(src) //SKYRAT EDIT ADDITION
new /obj/item/circuitboard/machine/rodstopper(src) //SKYRAT EDIT ADDITION
new /obj/item/card/id/departmental_budget/eng(src) //SKYRAT EDIT ADDITION

/obj/structure/closet/secure_closet/engineering_chief/populate_contents_immediate()
. = ..()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
new /obj/item/circuitboard/machine/techfab/department/medical(src)
new /obj/item/storage/photo_album/cmo(src)
new /obj/item/storage/lockbox/medal/med(src)
new /obj/item/card/id/departmental_budget/med(src) //SKYRAT EDIT ADDITION

/obj/structure/closet/secure_closet/chief_medical/populate_contents_immediate()
. = ..()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
new /obj/item/circuitboard/machine/techfab/department/science(src)
new /obj/item/storage/photo_album/rd(src)
new /obj/item/storage/box/skillchips/science(src)
new /obj/item/card/id/departmental_budget/sci(src) //SKYRAT EDIT ADDITION

/obj/structure/closet/secure_closet/research_director/populate_contents_immediate()
. = ..()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
new /obj/item/gun/energy/e_gun(src)
new /obj/item/door_remote/captain(src)
new /obj/item/storage/photo_album/captain(src)
new /obj/item/card/id/departmental_budget(src) //SKYRAT EDIT ADDITION

/obj/structure/closet/secure_closet/hop
name = "head of personnel's locker"
Expand All @@ -44,6 +45,7 @@
new /obj/item/circuitboard/machine/techfab/department/service(src)
new /obj/item/storage/photo_album/hop(src)
new /obj/item/storage/lockbox/medal/hop(src)
new /obj/item/card/id/departmental_budget/srv(src) //SKYRAT EDIT ADDITION

/obj/structure/closet/secure_closet/hos
name = "head of security's locker"
Expand All @@ -65,6 +67,7 @@
new /obj/item/storage/belt/security/full(src)
new /obj/item/circuitboard/machine/techfab/department/security(src)
new /obj/item/storage/photo_album/hos(src)
new /obj/item/card/id/departmental_budget/sec(src) //SKYRAT EDIT ADDITION

/obj/structure/closet/secure_closet/hos/populate_contents_immediate()
. = ..()
Expand Down
24 changes: 24 additions & 0 deletions modular_skyrat/modules/Department_Budgets/cards.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/obj/item/card/id/departmental_budget/med
department_ID = ACCOUNT_MED
department_name = ACCOUNT_MED_NAME
icon_state = "med_budget"

/obj/item/card/id/departmental_budget/eng
department_ID = ACCOUNT_ENG
department_name = ACCOUNT_ENG_NAME
icon_state = "eng_budget"

/obj/item/card/id/departmental_budget/sci
department_ID = ACCOUNT_SCI
department_name = ACCOUNT_SCI_NAME
icon_state = "sci_budget"

/obj/item/card/id/departmental_budget/srv
department_ID = ACCOUNT_SRV
department_name = ACCOUNT_SRV_NAME
icon_state = "srv_budget"

/obj/item/card/id/departmental_budget/sec
department_ID = ACCOUNT_SEC
department_name = ACCOUNT_SEC_NAME
icon_state = "sec_budget"
1 change: 1 addition & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -7009,6 +7009,7 @@
#include "modular_skyrat\modules\delam_emergency_stop\code\admin_scram.dm"
#include "modular_skyrat\modules\delam_emergency_stop\code\delam.dm"
#include "modular_skyrat\modules\delam_emergency_stop\code\scram.dm"
#include "modular_skyrat\modules\Department_Budgets\cards.dm"
#include "modular_skyrat\modules\departmentization\cargo_technician.dm"
#include "modular_skyrat\modules\departmentization\clothing_overrides.dm"
#include "modular_skyrat\modules\departmentization\quartermaster.dm"
Expand Down

0 comments on commit 3ae1b4a

Please sign in to comment.