mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
4a6daa0785
## About The Pull Request Have you ever wondered, why CentCom officers' IDs have the same access as those of ERT commanders? Tired of ERT members trying on stylish officer's apparel? Well, it's time to change that. This PR adds centcom officer's access (cent_officer), as well as mapping helpers for cent_officer and cent_specops access. Death Commando officers and ERT Commanders don't have this access. It also changes access of administrative office doors to cent_officer. <details> <summary>screenshots</summary> <img width="630" height="838" alt="PR - Admiral" src="https://github.com/user-attachments/assets/a7dd48fc-4fb5-4a98-878b-a28abfadfb24" /> <img width="628" height="838" alt="PR - CentCom Commander" src="https://github.com/user-attachments/assets/6ef9dd9f-49e1-409c-8d90-75201aa21ebd" /> <img width="627" height="835" alt="PR - Special Ops officer" src="https://github.com/user-attachments/assets/055fcdb5-4f6a-4c51-b52a-7848666c7c59" /> <img width="626" height="841" alt="PR - Death Commando" src="https://github.com/user-attachments/assets/9786331f-b3c4-4c0f-bed2-831eada3a05c" /> <img width="627" height="847" alt="PR- ERT Commander" src="https://github.com/user-attachments/assets/92ff59f4-a1ea-4b43-8749-1a4bd3ac6c46" /> <img width="430" height="445" alt="PR - Mapping helpers" src="https://github.com/user-attachments/assets/ead91df7-a872-4ecc-9088-58c0a719deed" /> </details> ## Why It's Good For The Game ERT commanders will have a hard time getting CentCom apparel from the vending machine in the office. It could also be useful for custom maps and shuttles (or even new CentCom map). ## Changelog 🆑 add: Added centcom officer's access (cent_officer) add: Added mapping helpers for cent_officer and cent_specops access map: Changed access on the administrative office doors (cent_officer) /🆑 --------- Co-authored-by: AlexTheEng1neer <128976622+AlexTheEng1neer@users.noreply.github.com>
249 lines
9.0 KiB
Plaintext
249 lines
9.0 KiB
Plaintext
/// Trim for basic Centcom cards.
|
|
/datum/id_trim/centcom
|
|
access = list(ACCESS_CENT_GENERAL)
|
|
assignment = JOB_CENTCOM
|
|
trim_state = "trim_centcom"
|
|
sechud_icon_state = SECHUD_CENTCOM
|
|
department_color = COLOR_CENTCOM_BLUE
|
|
subdepartment_color = COLOR_CENTCOM_BLUE
|
|
threat_modifier = -10 // Centcom are legally allowed to do whatever they want
|
|
big_pointer = TRUE
|
|
pointer_color = COLOR_CENTCOM_BLUE
|
|
|
|
/// Trim for Centcom VIPs
|
|
/datum/id_trim/centcom/vip
|
|
access = list(ACCESS_CENT_GENERAL)
|
|
assignment = JOB_CENTCOM_VIP
|
|
|
|
/// Trim for Centcom Custodians.
|
|
/datum/id_trim/centcom/custodian
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_LIVING, ACCESS_CENT_STORAGE)
|
|
assignment = JOB_CENTCOM_CUSTODIAN
|
|
trim_state = "trim_janitor"
|
|
department_color = COLOR_CENTCOM_BLUE
|
|
subdepartment_color = COLOR_SERVICE_LIME
|
|
big_pointer = FALSE
|
|
honorifics = list("Custodian")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|
|
|
|
/// Trim for Centcom Thunderdome Overseers.
|
|
/datum/id_trim/centcom/thunderdome_overseer
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_THUNDER)
|
|
assignment = JOB_CENTCOM_THUNDERDOME_OVERSEER
|
|
|
|
/// Trim for Centcom Officials.
|
|
/datum/id_trim/centcom/official
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_LIVING, ACCESS_WEAPONS)
|
|
assignment = JOB_CENTCOM_OFFICIAL
|
|
|
|
/// Trim for Centcom Interns.
|
|
/datum/id_trim/centcom/intern
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_LIVING, ACCESS_WEAPONS)
|
|
assignment = "CentCom Intern"
|
|
big_pointer = FALSE
|
|
honorifics = list("Intern")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|
|
|
|
/// Trim for Centcom Head Interns. Different assignment, common station access added on.
|
|
/datum/id_trim/centcom/intern/head
|
|
assignment = "CentCom Head Intern"
|
|
big_pointer = TRUE
|
|
honorifics = list("Head Intern")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|
|
|
|
/datum/id_trim/centcom/intern/head/New()
|
|
. = ..()
|
|
|
|
access |= SSid_access.get_flag_access_list(ACCESS_FLAG_COMMON)
|
|
|
|
/// Trim for Bounty Hunters hired by centcom.
|
|
/datum/id_trim/centcom/bounty_hunter
|
|
access = list(ACCESS_CENT_GENERAL)
|
|
assignment = "Bounty Hunter"
|
|
big_pointer = FALSE
|
|
|
|
/// Trim for Centcom Bartenders.
|
|
/datum/id_trim/centcom/bartender
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_LIVING, ACCESS_CENT_BAR)
|
|
assignment = JOB_CENTCOM_BARTENDER
|
|
big_pointer = FALSE
|
|
|
|
/// Trim for Centcom Medical Officers.
|
|
/datum/id_trim/centcom/medical_officer
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_LIVING, ACCESS_CENT_MEDICAL)
|
|
assignment = JOB_CENTCOM_MEDICAL_DOCTOR
|
|
honorifics = list("Doctor", "Dr.")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|
|
|
|
/// Trim for Centcom Research Officers.
|
|
/datum/id_trim/centcom/research_officer
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_SPECOPS, ACCESS_CENT_MEDICAL, ACCESS_CENT_TELEPORTER, ACCESS_CENT_STORAGE)
|
|
assignment = JOB_CENTCOM_RESEARCH_OFFICER
|
|
|
|
/// Trim for Centcom Specops Officers. All Centcom and Station Access.
|
|
/datum/id_trim/centcom/specops_officer
|
|
assignment = JOB_CENTCOM_SPECIAL_OFFICER
|
|
big_pointer = FALSE
|
|
|
|
/datum/id_trim/centcom/specops_officer/New()
|
|
. = ..()
|
|
|
|
access = SSid_access.get_region_access_list(list(REGION_CENTCOM, REGION_ALL_STATION))
|
|
|
|
/// Trim for Centcom (Soviet) Admirals. All Centcom and Station Access.
|
|
/datum/id_trim/centcom/admiral
|
|
assignment = JOB_CENTCOM_ADMIRAL
|
|
|
|
/datum/id_trim/centcom/admiral/New()
|
|
. = ..()
|
|
|
|
access = SSid_access.get_region_access_list(list(REGION_CENTCOM, REGION_ALL_STATION))
|
|
|
|
/// Trim for Centcom Commanders. All Centcom and Station Access.
|
|
/datum/id_trim/centcom/commander
|
|
assignment = JOB_CENTCOM_COMMANDER
|
|
honorifics = list("Commander", "CMDR.")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|
|
|
|
/datum/id_trim/centcom/commander/New()
|
|
. = ..()
|
|
|
|
access = SSid_access.get_region_access_list(list(REGION_CENTCOM, REGION_ALL_STATION))
|
|
|
|
/// Trim for Deathsquad officers. All Centcom and Station Access. No centcom officer's access
|
|
/datum/id_trim/centcom/deathsquad
|
|
assignment = JOB_ERT_DEATHSQUAD
|
|
trim_state = "trim_deathcommando"
|
|
sechud_icon_state = SECHUD_DEATH_COMMANDO
|
|
honorifics = list("Commando")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|
|
|
|
|
|
/datum/id_trim/centcom/deathsquad/New()
|
|
. = ..()
|
|
|
|
access = (SSid_access.get_region_access_list(list(REGION_CENTCOM)) - ACCESS_CENT_OFFICER) | (SSid_access.get_region_access_list(list(REGION_ALL_STATION)))
|
|
|
|
/// Trim for generic ERT interns. No universal ID card changing access.
|
|
/datum/id_trim/centcom/ert
|
|
assignment = "Emergency Response Team Intern"
|
|
honorifics = list("Intern")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|
|
|
|
/datum/id_trim/centcom/ert/New()
|
|
. = ..()
|
|
|
|
access = list(ACCESS_CENT_GENERAL) | (SSid_access.get_region_access_list(list(REGION_ALL_STATION)) - ACCESS_CHANGE_IDS)
|
|
|
|
/// Trim for ERT Commanders. All station and centcom access. No centcom officer's access
|
|
/datum/id_trim/centcom/ert/commander
|
|
assignment = JOB_ERT_COMMANDER
|
|
trim_state = "trim_ert_commander"
|
|
sechud_icon_state = SECHUD_EMERGENCY_RESPONSE_TEAM_COMMANDER
|
|
|
|
/datum/id_trim/centcom/ert/commander/New()
|
|
. = ..()
|
|
|
|
access = (SSid_access.get_region_access_list(list(REGION_CENTCOM)) - ACCESS_CENT_OFFICER) | (SSid_access.get_region_access_list(list(REGION_ALL_STATION)))
|
|
|
|
/// Trim for generic ERT seccies. No universal ID card changing access.
|
|
/datum/id_trim/centcom/ert/security
|
|
assignment = JOB_ERT_OFFICER
|
|
trim_state = "trim_securityofficer"
|
|
subdepartment_color = COLOR_SECURITY_RED
|
|
sechud_icon_state = SECHUD_SECURITY_RESPONSE_OFFICER
|
|
big_pointer = FALSE
|
|
honorifics = list("Officer")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|
|
|
|
/datum/id_trim/centcom/ert/security/New()
|
|
. = ..()
|
|
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_SPECOPS, ACCESS_CENT_LIVING) | (SSid_access.get_region_access_list(list(REGION_ALL_STATION)) - ACCESS_CHANGE_IDS)
|
|
|
|
/// Trim for generic ERT engineers. No universal ID card changing access.
|
|
/datum/id_trim/centcom/ert/engineer
|
|
assignment = JOB_ERT_ENGINEER
|
|
trim_state = "trim_stationengineer"
|
|
subdepartment_color = COLOR_ENGINEERING_ORANGE
|
|
sechud_icon_state = SECHUD_ENGINEERING_RESPONSE_OFFICER
|
|
big_pointer = FALSE
|
|
|
|
/datum/id_trim/centcom/ert/engineer/New()
|
|
. = ..()
|
|
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_SPECOPS, ACCESS_CENT_LIVING, ACCESS_CENT_STORAGE) | (SSid_access.get_region_access_list(list(REGION_ALL_STATION)) - ACCESS_CHANGE_IDS)
|
|
|
|
/// Trim for generic ERT medics. No universal ID card changing access.
|
|
/datum/id_trim/centcom/ert/medical
|
|
assignment = JOB_ERT_MEDICAL_DOCTOR
|
|
trim_state = "trim_medicaldoctor"
|
|
subdepartment_color = COLOR_MEDICAL_BLUE
|
|
sechud_icon_state = SECHUD_MEDICAL_RESPONSE_OFFICER
|
|
big_pointer = FALSE
|
|
honorifics = list("Doctor", "Dr.")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|
|
|
|
|
|
/datum/id_trim/centcom/ert/medical/New()
|
|
. = ..()
|
|
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_SPECOPS, ACCESS_CENT_MEDICAL, ACCESS_CENT_LIVING) | (SSid_access.get_region_access_list(list(REGION_ALL_STATION)) - ACCESS_CHANGE_IDS)
|
|
|
|
/// Trim for generic ERT chaplains. No universal ID card changing access.
|
|
/datum/id_trim/centcom/ert/chaplain
|
|
assignment = JOB_ERT_CHAPLAIN
|
|
trim_state = "trim_chaplain"
|
|
subdepartment_color = COLOR_SERVICE_LIME
|
|
sechud_icon_state = SECHUD_RELIGIOUS_RESPONSE_OFFICER
|
|
big_pointer = FALSE
|
|
honorifics = list("Chaplain")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|
|
|
|
|
|
/datum/id_trim/centcom/ert/chaplain/New()
|
|
. = ..()
|
|
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_SPECOPS, ACCESS_CENT_LIVING) | (SSid_access.get_region_access_list(list(REGION_ALL_STATION)) - ACCESS_CHANGE_IDS)
|
|
|
|
/// Trim for generic ERT janitors. No universal ID card changing access.
|
|
/datum/id_trim/centcom/ert/janitor
|
|
assignment = JOB_ERT_JANITOR
|
|
trim_state = "trim_ert_janitor"
|
|
subdepartment_color = COLOR_SERVICE_LIME
|
|
sechud_icon_state = SECHUD_JANITORIAL_RESPONSE_OFFICER
|
|
big_pointer = FALSE
|
|
honorifics = list("Custodian")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|
|
|
|
|
|
/datum/id_trim/centcom/ert/janitor/New()
|
|
. = ..()
|
|
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_LIVING) | (SSid_access.get_region_access_list(list(REGION_ALL_STATION)) - ACCESS_CHANGE_IDS)
|
|
|
|
/// Trim for generic ERT clowns. No universal ID card changing access.
|
|
/datum/id_trim/centcom/ert/clown
|
|
assignment = JOB_ERT_CLOWN
|
|
trim_state = "trim_clown"
|
|
subdepartment_color = COLOR_MAGENTA
|
|
sechud_icon_state = SECHUD_ENTERTAINMENT_RESPONSE_OFFICER
|
|
big_pointer = FALSE
|
|
|
|
/datum/id_trim/centcom/ert/clown/New()
|
|
. = ..()
|
|
|
|
access = list(ACCESS_CENT_GENERAL, ACCESS_CENT_LIVING) | (SSid_access.get_region_access_list(list(REGION_ALL_STATION)) - ACCESS_CHANGE_IDS)
|
|
|
|
/datum/id_trim/centcom/ert/militia
|
|
assignment = "Frontier Militia"
|
|
big_pointer = FALSE
|
|
honorifics = list("Minuteman")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|
|
|
|
/datum/id_trim/centcom/ert/militia/general
|
|
assignment = "Frontier Militia General"
|
|
big_pointer = TRUE
|
|
honorifics = list("Minuteman General", "General")
|
|
honorific_positions = HONORIFIC_POSITION_LAST | HONORIFIC_POSITION_NONE
|