Files
Paradise/code/game/objects/items/devices/radio/encryptionkey.dm
Pedro b55bef2ed2 Nanotrasen Career Trainer - REVIVAL (PT1) (#26512)
* Nct ID

* Preferences, job creation, access and other stuff

* Sprites, defines, hidden job pref and other stuff!

* Missed a comma

* Sprites updated, clothing code, outfit and id

* Fix a small oops

* Data chip + Sechud icon

* Offstation, access, datachip code, ticket autoresponse and a lot of other stuff.

* Typo, spritesheet fixingg and icon color

* Telebaton removed, not allowed to scan ERT IDs, blacklisted some access

* Applies suggestion

Co-authored-by: Aylong <69762909+AyIong@users.noreply.github.com>
Signed-off-by: Pedro <79126660+LetXxx@users.noreply.github.com>

* Applying Suggestions!

* Forgot to increase the number of slots, oops

* Added a few items that I forgot, applying suggestions.

* Fix check fail?

* Mapping Tools/Icons.

* Office added to all maps, a few modifications to fit.

* Adds ACCESS_TRAINER to who needs it.

* Fixing check fails.

* NCT Beret obj are now where they're supposed to be

* Suggestion

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Signed-off-by: Pedro <79126660+LetXxx@users.noreply.github.com>

* Sprites fix + NCT flag

* Code Suggestion

* Sprite update

* Suggestions

* Diagoras Office, conflict fix.

* Day 1 fixes, suggestions.

* bundle rebuild

* Fixing a few issues.

* Mapping review + Suggestions

* Fixed check fail.

* Conflict fix + You shouldn't be able to insert the NCT chip into an id console

* Fix map conflicts

* Plasmaman icons and Kidan icon fix

* Conflict fix?

* A few changes following feedback.

* Small description changed, as per requested feedback.

* Suggestions/Fix

* Forgot some mapping issues

* Suggestions

* Fixed?

* Fix linters

* More fixes

* aaaaaaaaaaa

* Christa's reviews

* Naming stuff

---------

Signed-off-by: Pedro <79126660+LetXxx@users.noreply.github.com>
Co-authored-by: Aylong <69762909+AyIong@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
2024-12-30 21:13:52 +00:00

180 lines
6.0 KiB
Plaintext

/obj/item/encryptionkey
name = "Standard Encryption Key"
desc = "An encyption key for a radio headset. Contains cypherkeys."
icon = 'icons/obj/radio.dmi'
icon_state = "cypherkey"
item_state = ""
w_class = WEIGHT_CLASS_TINY
origin_tech = "engineering=2;bluespace=1"
var/translate_binary = FALSE
var/translate_hive = FALSE
var/syndie = FALSE
var/change_voice = FALSE
var/list/channels = list()
/obj/item/encryptionkey/syndicate
name = "syndicate encryption key"
icon_state = "syn_cypherkey"
channels = list("Syndicate" = 1)
origin_tech = "syndicate=1;engineering=3;bluespace=2"
syndie = TRUE //Signifies that it de-crypts Syndicate transmissions
change_voice = TRUE
var/fake_name = "Agent ALERT_A_CODER"
var/static/list/fakename_list
/obj/item/encryptionkey/syndicate/Initialize(mapload)
if(!LAZYLEN(fakename_list))
fakename_list = GLOB.html_colors.Copy()
. = ..()
if(change_voice)
fake_name = "Agent [pick_n_take(fakename_list)]"
/obj/item/encryptionkey/syndicate/nukeops
change_voice = FALSE
/obj/item/encryptionkey/syndteam
name = "syndicate encryption key"
icon_state = "syn_cypherkey"
channels = list("SyndTeam" = 1, "Syndicate" = 1)
origin_tech = "syndicate=4"
syndie = TRUE //Signifies that it de-crypts Syndicate transmissions
/obj/item/encryptionkey/soviet
name = "soviet encryption key"
icon_state = "cypherkey"
channels = list("Special Ops" = 1)
origin_tech = "syndicate=4"
/obj/item/encryptionkey/binary
name = "binary translator key"
desc = "An encryption key for a radio headset. To access the binary channel, use :+."
icon_state = "bin_cypherkey"
translate_binary = TRUE
origin_tech = "syndicate=3;engineering=4;bluespace=3"
/obj/item/encryptionkey/headset_sec
name = "Security Radio Encryption Key"
icon_state = "sec_cypherkey"
channels = list("Security" = 1)
/obj/item/encryptionkey/headset_iaa
name = "IAA Radio Encryption Key"
icon_state = "sec_cypherkey"
channels = list("Security" = 1, "Procedure" = 1)
/obj/item/encryptionkey/headset_eng
name = "Engineering Radio Encryption Key"
icon_state = "eng_cypherkey"
channels = list("Engineering" = 1)
/obj/item/encryptionkey/headset_rob
name = "Robotics Radio Encryption Key"
icon_state = "rob_cypherkey"
channels = list("Engineering" = 1, "Science" = 1)
/obj/item/encryptionkey/headset_med
name = "Medical Radio Encryption Key"
icon_state = "med_cypherkey"
channels = list("Medical" = 1)
/obj/item/encryptionkey/headset_med/para
name = "Paramedic Radio Encryption Key"
icon_state = "para_cypherkey"
channels = list("Medical" = 1, "Supply" = 0)
/obj/item/encryptionkey/headset_sci
name = "Science Radio Encryption Key"
icon_state = "sci_cypherkey"
channels = list("Science" = 1)
/obj/item/encryptionkey/headset_medsci
name = "Medical Research Radio Encryption Key"
icon_state = "medsci_cypherkey"
channels = list("Medical" = 1, "Science" = 1)
/obj/item/encryptionkey/headset_com
name = "Command Radio Encryption Key"
icon_state = "com_cypherkey"
channels = list("Command" = 1)
/obj/item/encryptionkey/heads/captain
name = "Captain's Encryption Key"
icon_state = "cap_cypherkey"
channels = list("Command" = 1, "Security" = 1, "Engineering" = 0, "Science" = 0, "Medical" = 0, "Supply" = 0, "Service" = 0, "Procedure" = 1)
/obj/item/encryptionkey/heads/rd
name = "Research Director's Encryption Key"
icon_state = "rd_cypherkey"
channels = list("Science" = 1, "Command" = 1)
/obj/item/encryptionkey/heads/hos
name = "Head of Security's Encryption Key"
icon_state = "hos_cypherkey"
channels = list("Security" = 1, "Command" = 1)
/obj/item/encryptionkey/heads/ce
name = "Chief Engineer's Encryption Key"
icon_state = "ce_cypherkey"
channels = list("Engineering" = 1, "Command" = 1)
/obj/item/encryptionkey/heads/cmo
name = "Chief Medical Officer's Encryption Key"
icon_state = "cmo_cypherkey"
channels = list("Medical" = 1, "Command" = 1)
/obj/item/encryptionkey/heads/hop
name = "Head of Personnel's Encryption Key"
icon_state = "hop_cypherkey"
channels = list("Service" = 1, "Security" = 0, "Command" = 1)
/obj/item/encryptionkey/heads/qm
name = "Quartermaster's Encryption Key"
icon_state = "qm_cypherkey"
channels = list("Supply" = 1, "Command" = 1)
/obj/item/encryptionkey/heads/ntrep
name = "Nanotrasen Representative's Encryption Key"
icon_state = "com_cypherkey"
channels = list("Command" = 1, "Security" = 0, "Engineering" = 0, "Science" = 0, "Medical" = 0, "Supply" = 0, "Service" = 0, "Procedure" = 1)
/obj/item/encryptionkey/heads/magistrate
name = "Magistrate's Encryption Key"
icon_state = "com_cypherkey"
channels = list("Command" = 1, "Security" = 1, "Procedure" = 1)
/obj/item/encryptionkey/heads/blueshield
name = "Blueshield's Encryption Key"
icon_state = "com_cypherkey"
channels = list("Command" = 1, "Security" = 1)
/obj/item/encryptionkey/headset_cargo
name = "Supply Radio Encryption Key"
icon_state = "cargo_cypherkey"
channels = list("Supply" = 1)
/obj/item/encryptionkey/headset_service
name = "Service Radio Encryption Key"
icon_state = "srv_cypherkey"
channels = list("Service" = 1)
/obj/item/encryptionkey/ert
name = "Nanotrasen ERT Radio Encryption Key"
channels = list("Response Team" = 1, "Science" = 1, "Command" = 1, "Medical" = 1, "Engineering" = 1, "Security" = 1, "Supply" = 1, "Service" = 1, "Procedure" = 1)
/obj/item/encryptionkey/centcom
name = "Centcom Radio Encryption Key"
channels = list("Response Team" = 1, "Special Ops" = 1, "Science" = 1, "Command" = 1, "Medical" = 1, "Engineering" = 1, "Security" = 1, "Supply" = 1, "Service" = 1, "Procedure" = 1)
/// ported from bay, this goes 'inside' the AI.
/obj/item/encryptionkey/heads/ai_integrated
name = "AI Integrated Encryption Key"
desc = "Integrated encryption key."
icon_state = "cap_cypherkey"
channels = list("Command" = 1, "Security" = 1, "Engineering" = 1, "Science" = 1, "Medical" = 1, "Supply" = 1, "Service" = 1, "AI Private" = 1, "Procedure" = 1)
/obj/item/encryptionkey/headset_nct
name = "NCT Radio Encryption Key"
icon_state = "com_cypherkey"
channels = list("Procedure" = 1, "Engineering" = 1, "Science" = 1, "Medical" = 1, "Supply" = 1, "Service" = 1)