diff --git a/code/game/objects/devices/PDA.dm b/code/game/objects/devices/PDA.dm index 91027f41035..1b1c1f49d0a 100644 --- a/code/game/objects/devices/PDA.dm +++ b/code/game/objects/devices/PDA.dm @@ -1,6 +1,4 @@ //The advanced pea-green monochrome lcd of tomorrow. -//To-do: new engine monitor, maybe new messaging, new signaler cart?? -//also quartermaster pda I guess /obj/item/device/pda name = "PDA" @@ -434,23 +432,50 @@ src.cartridge = new src.default_cartridge(src) /obj/item/device/pda/attack_self(mob/user as mob) +/* + if (user.client) //load the PDA iconset into the client + user << browse_rsc('pda_back.png') + user << browse_rsc('pda_bell.png') + user << browse_rsc('pda_blank.png') + user << browse_rsc('pda_boom.png') + user << browse_rsc('pda_bucket.png') + user << browse_rsc('pda_crate.png') + user << browse_rsc('pda_cuffs.png') + user << browse_rsc('pda_eject.png') + user << browse_rsc('pda_exit.png') + user << browse_rsc('pda_flashlight.png') + user << browse_rsc('pda_honk.png') + user << browse_rsc('pda_mail.png') + user << browse_rsc('pda_medical.png') + user << browse_rsc('pda_menu.png') + user << browse_rsc('pda_mule.png') + user << browse_rsc('pda_notes.png') + user << browse_rsc('pda_power.png') + user << browse_rsc('pda_rdoor.png') + user << browse_rsc('pda_reagent.png') + user << browse_rsc('pda_refresh.png') + user << browse_rsc('pda_scanner.png') + user << browse_rsc('pda_signaler.png') + user << browse_rsc('pda_status.png')*/ + + user.machine = src - var/dat = "
Close"
if ((!isnull(src.cartridge)) && (!src.mode))
- dat += " | Eject [src.cartridge]"
+ dat += " |
Eject [src.cartridge]"
if (src.mode)
- dat += " | Main Menu"
- dat += " | Refresh"
+ dat += " |
Main Menu"
+ dat += " |
Refresh"
dat += "
Retry"
else
switch (src.mode)
if (0)
@@ -459,17 +484,17 @@
dat += "
Notekeeper
Messenger
Honk Synthesizer
View Crew Manifest
Set Status Display
Power Monitor
Medical Records
[src.scanmode == 1 ? "Disable" : "Enable"] Medical Scanner
Security Records
[src.scanmode == 2 ? "Disable" : "Enable"] Forensic Scanner
Security Bot Access
Supply Records
Delivery Bot Control
Equipment Locator
Signaler System
[src.scanmode == 3 ? "Disable" : "Enable"] Reagent Scanner
Toggle Remote Door
Atmospheric Scan
[src.fon ? "Disable" : "Enable"] Flashlight
Crew Manifest
Power Monitor
Atmospheric Readings
Medical Record List
Medical Record
Medical Data
Notekeeper V2.1
Security Record List
Security Record
Back
Security Data
SpaceMessenger V3.9.4
Ringer: [src.silent == 1 ? "Off" : "On"] | "
+ dat += "
Send / Receive: [src.toff == 1 ? "Off" : "On"] | "
+ dat += "
Set Ringtone | "
+ dat += "
Messages
Detected PDAs
*detonate*)"
//Honk.exe is the poor man's detomatix
if (istype(src.cartridge, /obj/item/weapon/cartridge/clown) && (src.cartridge:honk_charges > 0) && P.honkamt < 5)
- dat += " (*Send Virus*)"
+ dat += " (
*Send Virus*)"
dat += "
Clear | "
+ dat += "
Back
Messages
Persistent Custodial Object Locator
Remote Signaling System
Station Status Display Interlink
Supply Record Interlink
M.U.L.E. bot Interlink V0.8
Scan for active bots
refresh)
Return to bot list"
if(13) // Security Bot control
var/obj/item/weapon/cartridge/security/SC = cartridge
@@ -945,7 +972,7 @@ Code:
dat += "Interlink Error - Please reinsert cartridge."
return
- dat += "
Securitron Interlink
Scan for active bots
refresh)
Return to bot list"
dat += ""
user << browse(dat, "window=pda")
diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm
index dc05354487d..6e0c3d50293 100644
--- a/code/modules/mob/new_player/new_player.dm
+++ b/code/modules/mob/new_player/new_player.dm
@@ -38,6 +38,37 @@ mob/new_player
if(!preferences.savefile_load(src, 0))
preferences.ShowChoices(src)
+ //PDA Resource Initialisation =======================================================>
+
+
+ if (client) //load the PDA iconset into the client
+ src << browse_rsc('pda_atmos.png')
+ src << browse_rsc('pda_back.png')
+ src << browse_rsc('pda_bell.png')
+ src << browse_rsc('pda_blank.png')
+ src << browse_rsc('pda_boom.png')
+ src << browse_rsc('pda_bucket.png')
+ src << browse_rsc('pda_crate.png')
+ src << browse_rsc('pda_cuffs.png')
+ src << browse_rsc('pda_eject.png')
+ src << browse_rsc('pda_exit.png')
+ src << browse_rsc('pda_flashlight.png')
+ src << browse_rsc('pda_honk.png')
+ src << browse_rsc('pda_mail.png')
+ src << browse_rsc('pda_medical.png')
+ src << browse_rsc('pda_menu.png')
+ src << browse_rsc('pda_mule.png')
+ src << browse_rsc('pda_notes.png')
+ src << browse_rsc('pda_power.png')
+ src << browse_rsc('pda_rdoor.png')
+ src << browse_rsc('pda_reagent.png')
+ src << browse_rsc('pda_refresh.png')
+ src << browse_rsc('pda_scanner.png')
+ src << browse_rsc('pda_signaler.png')
+ src << browse_rsc('pda_status.png')
+
+ //End PDA Resource Initialisation =====================================================>
+
Logout()
ready = 0
diff --git a/goonstation.dme b/goonstation.dme
index 996d86b0ee1..4284059d017 100644
--- a/goonstation.dme
+++ b/goonstation.dme
@@ -105,6 +105,7 @@
#define FILE_DIR "icons/obj/doors"
#define FILE_DIR "icons/obj/machines"
#define FILE_DIR "icons/obj/pipes"
+#define FILE_DIR "icons/pda_icons"
#define FILE_DIR "icons/Testing"
#define FILE_DIR "icons/turf"
#define FILE_DIR "interface"
diff --git a/icons/pda_icons/pda_atmos.png b/icons/pda_icons/pda_atmos.png
new file mode 100644
index 00000000000..89a55a0a6cb
Binary files /dev/null and b/icons/pda_icons/pda_atmos.png differ
diff --git a/icons/pda_icons/pda_back.png b/icons/pda_icons/pda_back.png
new file mode 100644
index 00000000000..4708824853f
Binary files /dev/null and b/icons/pda_icons/pda_back.png differ
diff --git a/icons/pda_icons/pda_bell.png b/icons/pda_icons/pda_bell.png
new file mode 100644
index 00000000000..1e989c27473
Binary files /dev/null and b/icons/pda_icons/pda_bell.png differ
diff --git a/icons/pda_icons/pda_blank.png b/icons/pda_icons/pda_blank.png
new file mode 100644
index 00000000000..665861d3c74
Binary files /dev/null and b/icons/pda_icons/pda_blank.png differ
diff --git a/icons/pda_icons/pda_boom.png b/icons/pda_icons/pda_boom.png
new file mode 100644
index 00000000000..70e473c3c4c
Binary files /dev/null and b/icons/pda_icons/pda_boom.png differ
diff --git a/icons/pda_icons/pda_bucket.png b/icons/pda_icons/pda_bucket.png
new file mode 100644
index 00000000000..ee030e3a37d
Binary files /dev/null and b/icons/pda_icons/pda_bucket.png differ
diff --git a/icons/pda_icons/pda_crate.png b/icons/pda_icons/pda_crate.png
new file mode 100644
index 00000000000..e1e076e2790
Binary files /dev/null and b/icons/pda_icons/pda_crate.png differ
diff --git a/icons/pda_icons/pda_cuffs.png b/icons/pda_icons/pda_cuffs.png
new file mode 100644
index 00000000000..71958c8abc4
Binary files /dev/null and b/icons/pda_icons/pda_cuffs.png differ
diff --git a/icons/pda_icons/pda_eject.png b/icons/pda_icons/pda_eject.png
new file mode 100644
index 00000000000..4168be03f6a
Binary files /dev/null and b/icons/pda_icons/pda_eject.png differ
diff --git a/icons/pda_icons/pda_exit.png b/icons/pda_icons/pda_exit.png
new file mode 100644
index 00000000000..cd983a4a9ab
Binary files /dev/null and b/icons/pda_icons/pda_exit.png differ
diff --git a/icons/pda_icons/pda_flashlight.png b/icons/pda_icons/pda_flashlight.png
new file mode 100644
index 00000000000..3476727930b
Binary files /dev/null and b/icons/pda_icons/pda_flashlight.png differ
diff --git a/icons/pda_icons/pda_honk.png b/icons/pda_icons/pda_honk.png
new file mode 100644
index 00000000000..55632bf40bc
Binary files /dev/null and b/icons/pda_icons/pda_honk.png differ
diff --git a/icons/pda_icons/pda_mail.png b/icons/pda_icons/pda_mail.png
new file mode 100644
index 00000000000..6bfb1e8cd7b
Binary files /dev/null and b/icons/pda_icons/pda_mail.png differ
diff --git a/icons/pda_icons/pda_medical.png b/icons/pda_icons/pda_medical.png
new file mode 100644
index 00000000000..448063ecf52
Binary files /dev/null and b/icons/pda_icons/pda_medical.png differ
diff --git a/icons/pda_icons/pda_menu.png b/icons/pda_icons/pda_menu.png
new file mode 100644
index 00000000000..abd6ccb2257
Binary files /dev/null and b/icons/pda_icons/pda_menu.png differ
diff --git a/icons/pda_icons/pda_mule.png b/icons/pda_icons/pda_mule.png
new file mode 100644
index 00000000000..b8c1b636f5e
Binary files /dev/null and b/icons/pda_icons/pda_mule.png differ
diff --git a/icons/pda_icons/pda_notes.png b/icons/pda_icons/pda_notes.png
new file mode 100644
index 00000000000..eb076d3ca33
Binary files /dev/null and b/icons/pda_icons/pda_notes.png differ
diff --git a/icons/pda_icons/pda_power.png b/icons/pda_icons/pda_power.png
new file mode 100644
index 00000000000..04175e7c835
Binary files /dev/null and b/icons/pda_icons/pda_power.png differ
diff --git a/icons/pda_icons/pda_rdoor.png b/icons/pda_icons/pda_rdoor.png
new file mode 100644
index 00000000000..6eab5a8817d
Binary files /dev/null and b/icons/pda_icons/pda_rdoor.png differ
diff --git a/icons/pda_icons/pda_reagent.png b/icons/pda_icons/pda_reagent.png
new file mode 100644
index 00000000000..b900af5ae66
Binary files /dev/null and b/icons/pda_icons/pda_reagent.png differ
diff --git a/icons/pda_icons/pda_refresh.png b/icons/pda_icons/pda_refresh.png
new file mode 100644
index 00000000000..08439c6bca3
Binary files /dev/null and b/icons/pda_icons/pda_refresh.png differ
diff --git a/icons/pda_icons/pda_scanner.png b/icons/pda_icons/pda_scanner.png
new file mode 100644
index 00000000000..eabdc511cde
Binary files /dev/null and b/icons/pda_icons/pda_scanner.png differ
diff --git a/icons/pda_icons/pda_signaler.png b/icons/pda_icons/pda_signaler.png
new file mode 100644
index 00000000000..f71398f70d2
Binary files /dev/null and b/icons/pda_icons/pda_signaler.png differ
diff --git a/icons/pda_icons/pda_status.png b/icons/pda_icons/pda_status.png
new file mode 100644
index 00000000000..fe955e66a61
Binary files /dev/null and b/icons/pda_icons/pda_status.png differ