Skip to content

Commit

Permalink
CE APOLLO PDA (#7366)
Browse files Browse the repository at this point in the history
# About the pull request

Adds the same PDA working joes have to CE, but with a unique sprite and
loading screen. A unique tool for CE to interact with AI and working
joes, not to mention CE doesn't have many unique items to begin with,
for a job that has to oversee the AI, having such tool is merely a qol.

Sprites by me.


![sMDwrn0E0K](https://github.com/user-attachments/assets/01ab6372-d57f-41f0-a610-4b177e577d67)


![dreammaker_NLdfLnLh6O](https://github.com/user-attachments/assets/cce0aeeb-2bd3-4e0b-a45e-b57154e9af99)




# Changelog
:cl:
add: adds unique APOLLO pda to CE vendor
/:cl:
  • Loading branch information
Blundir authored Oct 26, 2024
1 parent 35dac46 commit 43b4bde
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
13 changes: 10 additions & 3 deletions code/game/machinery/ARES/apollo_pda.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

var/current_menu = "login"
var/last_menu = "off"
var/base_icon_state = "karnak"

var/authentication = APOLLO_ACCESS_LOGOUT
/// The last person to login.
Expand Down Expand Up @@ -62,11 +63,11 @@
/obj/item/device/working_joe_pda/update_icon()
. = ..()
if(last_menu == "off")
icon_state = "karnak_off"
icon_state = "[base_icon_state]_off"
else if(current_menu == "login")
icon_state = "karnak_login_anim"
icon_state = "[base_icon_state]_login_anim"
else
icon_state = "karnak_on_anim"
icon_state = "[base_icon_state]_on_anim"

// ------ Maintenance Controller UI ------ //
/obj/item/device/working_joe_pda/attack_self(mob/user)
Expand Down Expand Up @@ -473,3 +474,9 @@
if(playsound)
var/sound = pick('sound/machines/pda_button1.ogg', 'sound/machines/pda_button2.ogg')
playsound(src, sound, 15, TRUE)

/obj/item/device/working_joe_pda/uscm
name = "KN5500/2 PDA"
desc = "A portable interface used by AI technicians, capable of connecting to the local command AI to relay tasking information. Built to withstand a nuclear bomb."
icon_state = "karnak_uscm_off"
base_icon_state = "karnak_uscm"
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ GLOBAL_LIST_INIT(cm_vending_clothing_chief_engineer, list(
list("Toolbelt", 0, /obj/item/storage/belt/utility/full, MARINE_CAN_BUY_BELT, VENDOR_ITEM_MANDATORY),
list("Marine Combat Boots", 0, /obj/item/clothing/shoes/marine, MARINE_CAN_BUY_SHOES, VENDOR_ITEM_MANDATORY),
list("Welding Goggles", 0, /obj/item/clothing/glasses/welding, MARINE_CAN_BUY_GLASSES, VENDOR_ITEM_MANDATORY),
list("KN5500/2 PDA", 0, /obj/item/device/working_joe_pda/uscm, MARINE_CAN_BUY_KIT, VENDOR_ITEM_MANDATORY),

list("UNIFORM (CHOOSE 1)", 0, null, null, null),
list("Chief Engineer Uniform", 0, /obj/item/clothing/under/marine/officer/ce, MARINE_CAN_BUY_UNIFORM, VENDOR_ITEM_RECOMMENDED),
Expand Down
Binary file modified icons/obj/items/synth/wj_pda.dmi
Binary file not shown.
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/WorkingJoe.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ const MainMenu = (props) => {
</Stack>
)}
</Section>
{access_level >= 5 && (
{(access_level === 4 || access_level >= 6) && (
<Section>
<h1 align="center">Core Security Protocols</h1>
<Stack>
Expand Down

0 comments on commit 43b4bde

Please sign in to comment.