Files
2e98eef84b Fix Last Command Member Cryo Announcement (#5174)
## About The Pull Request

Properly marks BA, NT Rep, and Blueshield as members of command within
the job flags. (when other parts of the code already consider them as
'command', e.g. the biscuit handout)

## Why It's Good For The Game

Resolves issue:
https://github.com/Bubberstation/Bubberstation/issues/5070

## Proof Of Testing

<!-- Compile and run your code locally. Make sure it works. This is the
place to show off your changes! We are not responsible for testing your
features. -->
<details>
<summary>Screenshots/Videos</summary>

<img width="712" height="325" alt="image"
src="https://github.com/user-attachments/assets/8db7a5e6-96cd-49ee-8e42-426082a8f1ea"
/>

^ The manifest after the RD has cryo'd (Note lack of RD, which is
triggering the variable in the next screenshot), note that the count is
important here.


<img width="380" height="263" alt="image"
src="https://github.com/user-attachments/assets/e5157ce4-5b31-4ae9-a5a0-75e252232c31"
/>

^ The command member count, as the RD is entering cryo. 

Note: Before this fix, the count for this exact setup was `8` as it was
not counting the BA, NT Rep, and Blueshield.

This means that now on lowpop shifts where a BA would sign up, then a
member of command joining and then BA cryo'ing will now have the proper
count and will not fire off a 'last member of command has cryo'd
message'



</details>

## Changelog

🆑
fix: Fix last member of command has cryo'd announcement when there are
still member's of command on board.
/🆑

---------

Co-authored-by: LT3 <83487515+lessthnthree@users.noreply.github.com>
2026-01-26 11:42:07 -08:00

85 lines
3.0 KiB
Plaintext

/datum/job/blueshield
title = JOB_BLUESHIELD
rpg_title = "Guild Protectorate"
description = "Protect the Heads of Staff and get your hands dirty so they can keep theirs clean."
auto_deadmin_role_flags = DEADMIN_POSITION_SECURITY
faction = FACTION_STATION
total_positions = 1
spawn_positions = 1
supervisors = "All Command Staff and Central Command when applicable"
minimal_player_age = 7
exp_requirements = 2400
exp_required_type = EXP_TYPE_CREW
exp_required_type_department = EXP_TYPE_SECURITY
exp_granted_type = EXP_TYPE_CREW
config_tag = "BLUESHIELD"
paycheck = PAYCHECK_COMMAND
paycheck_department = ACCOUNT_CMD
outfit = /datum/outfit/job/blueshield
plasmaman_outfit = /datum/outfit/plasmaman/blueshield
display_order = JOB_DISPLAY_ORDER_BLUESHIELD
bounty_types = CIV_JOB_SEC
department_for_prefs = /datum/job_department/captain
departments_list = list(
/datum/job_department/command,
)
liver_traits = list(TRAIT_PRETENDER_ROYAL_METABOLISM)
family_heirlooms = list(/obj/item/bedsheet/captain, /obj/item/clothing/head/beret/blueshield)
mail_goodies = list(
/obj/item/storage/fancy/cigarettes/cigars/havana = 10,
/obj/item/stack/spacecash/c500 = 30,
/obj/item/disk/nuclear/fake/obvious = 2,
/obj/item/clothing/head/collectable/captain = 4,
/obj/item/gun/energy/disabler/smoothbore = 5,
/obj/item/restraints/legcuffs/bola/energy = 10,
)
job_flags = STATION_JOB_FLAGS | HEAD_OF_STAFF_JOB_FLAGS
/datum/outfit/job/blueshield
name = "Blueshield"
jobtype = /datum/job/blueshield
uniform = /obj/item/clothing/under/rank/blueshield
suit = /obj/item/clothing/suit/armor/vest/blueshield/jacket
gloves = /obj/item/clothing/gloves/tackler/combat/insulated
id = /obj/item/card/id/advanced/platinum
shoes = /obj/item/clothing/shoes/jackboots
ears = /obj/item/radio/headset/headset_bs/alt
glasses = /obj/item/clothing/glasses/hud/security/sunglasses
implants = list(/obj/item/implant/mindshield)
backpack = /obj/item/storage/backpack/blueshield
satchel = /obj/item/storage/backpack/satchel/blueshield
duffelbag = /obj/item/storage/backpack/duffelbag/blueshield
messenger = /obj/item/storage/backpack/messenger/blueshield
head = /obj/item/clothing/head/beret/blueshield
box = /obj/item/storage/box/survival/security
belt = /obj/item/modular_computer/pda/blueshield
suit_store = /obj/item/gun/energy/e_gun/blueshield
accessory = /obj/item/clothing/accessory/bubber/acc_medal/neckpin/centcom
id_trim = /datum/id_trim/job/blueshield
/datum/outfit/plasmaman/blueshield
name = "Blueshield Plasmaman"
head = /obj/item/clothing/head/helmet/space/plasmaman/blueshield
uniform = /obj/item/clothing/under/plasmaman/blueshield
/obj/item/modular_computer/pda/blueshield
name = "blueshield PDA"
icon_state = "/obj/item/modular_computer/pda/blueshield"
greyscale_colors = "#2B356D#1E1E1E"
inserted_item = /obj/item/pen/red/security
starting_programs = list(
/datum/computer_file/program/records/security,
/datum/computer_file/program/crew_manifest,
/datum/computer_file/program/robocontrol,
/datum/computer_file/program/radar/lifeline,
)