PDA graphical overhaul - manky LCD green background and appropriate icons. Icon-loading is handled in new_player.dm because doing it in the PDA caused slowdown and we only need to do it once.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@28 316c924e-a436-60f5-8080-3fe189b3f50e
@@ -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 = "<html><head><title>Personal Data Assistant</title></head><body>"
|
||||
var/dat = "<html><head><title>Personal Data Assistant</title></head><body bgcolor=\"#808000\">"
|
||||
|
||||
dat += "<a href='byond://?src=\ref[src];close=1'>Close</a>"
|
||||
dat += "<a href='byond://?src=\ref[src];close=1'><img src=pda_exit.png style=\"border-style: none;\"> Close</a>"
|
||||
|
||||
if ((!isnull(src.cartridge)) && (!src.mode))
|
||||
dat += " | <a href='byond://?src=\ref[src];rc=1'>Eject [src.cartridge]</a>"
|
||||
dat += " | <a href='byond://?src=\ref[src];rc=1'><img src=pda_eject.png style=\"border-style: none;\"> Eject [src.cartridge]</a>"
|
||||
if (src.mode)
|
||||
dat += " | <a href='byond://?src=\ref[src];mm=1'>Main Menu</a>"
|
||||
dat += " | <a href='byond://?src=\ref[src];refresh=1'>Refresh</a>"
|
||||
dat += " | <a href='byond://?src=\ref[src];mm=1'><img src=pda_menu.png style=\"border-style: none;\"> Main Menu</a>"
|
||||
dat += " | <a href='byond://?src=\ref[src];refresh=1'><img src=pda_refresh.png style=\"border-style: none;\"> Refresh</a>"
|
||||
|
||||
dat += "<br>"
|
||||
|
||||
if (!src.owner)
|
||||
dat += "Warning: No owner information entered. Please swipe card.<br><br>"
|
||||
dat += "<a href='byond://?src=\ref[src];refresh=1'>Retry</a>"
|
||||
dat += "<a href='byond://?src=\ref[src];refresh=1'><img src=pda_refresh.png style=\"border-style: none;\"> Retry</a>"
|
||||
else
|
||||
switch (src.mode)
|
||||
if (0)
|
||||
@@ -459,17 +484,17 @@
|
||||
|
||||
dat += "<h4>General Functions</h4>"
|
||||
dat += "<ul>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];note=1'>Notekeeper</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];mess=1'>Messenger</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];note=1'><img src=pda_notes.png style=\"border-style: none;\"> Notekeeper</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];mess=1'><img src=pda_mail.png style=\"border-style: none;\"> Messenger</a></li>"
|
||||
if (!isnull(src.cartridge) && src.cartridge.access_clown)
|
||||
dat += "<li><a href='byond://?src=\ref[src];honk=1'>Honk Synthesizer</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];honk=1'><img src=pda_honk.png style=\"border-style: none;\"> Honk Synthesizer</a></li>"
|
||||
|
||||
if (!isnull(src.cartridge) && src.cartridge.access_manifest)
|
||||
dat += "<li><a href='byond://?src=\ref[src];cm=1'>View Crew Manifest</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];cm=1'><img src=pda_notes.png style=\"border-style: none;\"> View Crew Manifest</a></li>"
|
||||
|
||||
|
||||
if(cartridge && cartridge.access_status_display)
|
||||
dat += "<li><a href='byond://?src=\ref[src];sd=1'>Set Status Display</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];sd=1'><img src=pda_status.png style=\"border-style: none;\"> Set Status Display</a></li>"
|
||||
|
||||
|
||||
dat += "</ul>"
|
||||
@@ -477,51 +502,51 @@
|
||||
if (!isnull(src.cartridge) && src.cartridge.access_engine)
|
||||
dat += "<h4>Engineering Functions</h4>"
|
||||
dat += "<ul>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];em=1'>Power Monitor</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];em=1'><img src=pda_power.png style=\"border-style: none;\"> Power Monitor</a></li>"
|
||||
dat += "</ul>"
|
||||
|
||||
if (!isnull(src.cartridge) && src.cartridge.access_medical)
|
||||
dat += "<h4>Medical Functions</h4>"
|
||||
dat += "<ul>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];mr=1'>Medical Records</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];set_scanmode=1'>[src.scanmode == 1 ? "Disable" : "Enable"] Medical Scanner</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];mr=1'><img src=pda_medical.png style=\"border-style: none;\"> Medical Records</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];set_scanmode=1'><img src=pda_scanner.png style=\"border-style: none;\"> [src.scanmode == 1 ? "Disable" : "Enable"] Medical Scanner</a></li>"
|
||||
dat += "</ul>"
|
||||
|
||||
if (!isnull(src.cartridge) && src.cartridge.access_security)
|
||||
dat += "<h4>Security Functions</h4>"
|
||||
dat += "<ul>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];sr=1'>Security Records</A></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];set_scanmode=2'>[src.scanmode == 2 ? "Disable" : "Enable"] Forensic Scanner</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];sr=1'><img src=pda_cuffs.png style=\"border-style: none;\"> Security Records</A></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];set_scanmode=2'><img src=pda_scanner.png style=\"border-style: none;\"> [src.scanmode == 2 ? "Disable" : "Enable"] Forensic Scanner</a></li>"
|
||||
if(istype(cartridge, /obj/item/weapon/cartridge/security))
|
||||
dat += "<li><a href='byond://?src=\ref[src];secbot=1'>Security Bot Access</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];secbot=1'><img src=pda_cuffs.png style=\"border-style: none;\"> Security Bot Access</a></li>"
|
||||
dat += "</ul>"
|
||||
|
||||
if(cartridge && cartridge.access_quartermaster)
|
||||
dat += "<h4>Quartermaster Functions:</h4>"
|
||||
dat += "<ul>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];suppshut=1'>Supply Records</A></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];mulectrl=1'>Delivery Bot Control</A></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];suppshut=1'><img src=pda_crate.png style=\"border-style: none;\"> Supply Records</A></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];mulectrl=1'><img src=pda_mule.png style=\"border-style: none;\"> Delivery Bot Control</A></li>"
|
||||
dat += "</ul>"
|
||||
|
||||
dat += "<h4>Utilities</h4>"
|
||||
dat += "<ul>"
|
||||
if (!isnull(src.cartridge) && src.cartridge.access_janitor)
|
||||
dat += "<li><a href='byond://?src=\ref[src];jl=1'>Equipment Locator</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];jl=1'><img src=pda_bucket.png style=\"border-style: none;\"> Equipment Locator</a></li>"
|
||||
if (!isnull(src.cartridge) && (istype(src.cartridge, /obj/item/weapon/cartridge/signal)))
|
||||
dat += "<li><a href='byond://?src=\ref[src];sigmode=1'>Signaler System</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];sigmode=1'><img src=pda_signaler.png style=\"border-style: none;\"> Signaler System</a></li>"
|
||||
if (!isnull(src.cartridge) && src.cartridge.access_reagent_scanner)
|
||||
dat += "<li><a href='byond://?src=\ref[src];set_scanmode=3'>[src.scanmode == 3 ? "Disable" : "Enable"] Reagent Scanner</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];set_scanmode=3'><img src=pda_reagent.png style=\"border-style: none;\"> [src.scanmode == 3 ? "Disable" : "Enable"] Reagent Scanner</a></li>"
|
||||
//Remote shuttle shield control for syndies I guess
|
||||
if (!isnull(src.cartridge) && src.cartridge.access_remote_door)
|
||||
dat += "<li><a href='byond://?src=\ref[src];remotedoor=1'>Toggle Remote Door</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];am=1'>Atmospheric Scan</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];flight=1'>[src.fon ? "Disable" : "Enable"] Flashlight</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];remotedoor=1'><img src=pda_rdoor.png style=\"border-style: none;\"> Toggle Remote Door</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];am=1'><img src=pda_atmos.png style=\"border-style: none;\"> Atmospheric Scan</a></li>"
|
||||
dat += "<li><a href='byond://?src=\ref[src];flight=1'><img src=pda_flashlight.png style=\"border-style: none;\"> [src.fon ? "Disable" : "Enable"] Flashlight</a></li>"
|
||||
|
||||
dat += "</ul>"
|
||||
|
||||
if (1)
|
||||
|
||||
dat += "<h4>Crew Manifest</h4>"
|
||||
dat += "<h4><img src=pda_notes.png style=\"border-style: none;\"> Crew Manifest</h4>"
|
||||
dat += "Entries cannot be modified from this terminal.<br><br>"
|
||||
|
||||
for (var/datum/data/record/t in data_core.general)
|
||||
@@ -539,6 +564,8 @@
|
||||
//only the first power computer to come online will update, if that breaks you can build another and it'll take over
|
||||
//an existing second power monitor should take over fine too
|
||||
//see changes to /game/machinery/computer/power.dm
|
||||
dat += "<h4><img src=pda_power.png style=\"border-style: none;\"> Power Monitor</h4>"
|
||||
|
||||
if(!powerreport)
|
||||
dat += "\red No connection"
|
||||
else
|
||||
@@ -566,7 +593,7 @@
|
||||
|
||||
if (3)
|
||||
|
||||
dat += "<h4>Atmospheric Readings</h4>"
|
||||
dat += "<h4><img src=pda_atmos.png style=\"border-style: none;\"> Atmospheric Readings</h4>"
|
||||
|
||||
var/turf/T = get_turf_or_move(user.loc)
|
||||
if (isnull(T))
|
||||
@@ -604,14 +631,14 @@
|
||||
if (4)
|
||||
if (!src.mmode)
|
||||
|
||||
dat += "<h4>Medical Record List</h4>"
|
||||
dat += "<h4><img src=pda_medical.png style=\"border-style: none;\"> Medical Record List</h4>"
|
||||
for (var/datum/data/record/R in data_core.general)
|
||||
dat += "<a href='byond://?src=\ref[src];d_rec=\ref[R]'>[R.fields["id"]]: [R.fields["name"]]<br>"
|
||||
dat += "<br>"
|
||||
|
||||
else if (src.mmode)
|
||||
|
||||
dat += "<h4>Medical Record</h4>"
|
||||
dat += "<h4><img src=pda_medical.png style=\"border-style: none;\"> Medical Record</h4>"
|
||||
|
||||
dat += "<a href='byond://?src=\ref[src];pback=1'>Back</a><br>"
|
||||
|
||||
@@ -627,7 +654,7 @@
|
||||
|
||||
dat += "<br>"
|
||||
|
||||
dat += "<h4>Medical Data</h4>"
|
||||
dat += "<h4><img src=pda_medical.png style=\"border-style: none;\"> Medical Data</h4>"
|
||||
if (istype(src.active2, /datum/data/record) && data_core.medical.Find(src.active2))
|
||||
dat += "Blood Type: [src.active2.fields["b_type"]]<br><br>"
|
||||
|
||||
@@ -650,7 +677,7 @@
|
||||
dat += "<br>"
|
||||
|
||||
if (5)
|
||||
dat += "<h4>Notekeeper V2.1</h4>"
|
||||
dat += "<h4><img src=pda_notes.png style=\"border-style: none;\"> Notekeeper V2.1</h4>"
|
||||
|
||||
if ((!isnull(src.uplink)) && (src.uplink.active))
|
||||
dat += "<a href='byond://?src=\ref[src];lock_uplink=1'>Lock</a><br>"
|
||||
@@ -662,7 +689,7 @@
|
||||
if (6)
|
||||
if (!src.smode)
|
||||
|
||||
dat += "<h4>Security Record List</h4>"
|
||||
dat += "<h4><img src=pda_cuffs.png style=\"border-style: none;\"> Security Record List</h4>"
|
||||
|
||||
for (var/datum/data/record/R in data_core.general)
|
||||
dat += "<a href='byond://?src=\ref[src];d_rec=\ref[R]'>[R.fields["id"]]: [R.fields["name"]]<br>"
|
||||
@@ -671,9 +698,9 @@
|
||||
|
||||
else if (src.smode)
|
||||
|
||||
dat += "<h4>Security Record</h4>"
|
||||
dat += "<h4><img src=pda_cuffs.png style=\"border-style: none;\"> Security Record</h4>"
|
||||
|
||||
dat += "<a href='byond://?src=\ref[src];pback=1'>Back</a><br>"
|
||||
dat += "<a href='byond://?src=\ref[src];pback=1'><img src=pda_back.png style=\"border-style: none;\"> Back</a><br>"
|
||||
|
||||
if (istype(src.active1, /datum/data/record) && data_core.general.Find(src.active1))
|
||||
dat += "Name: [src.active1.fields["name"]] ID: [src.active1.fields["id"]]<br>"
|
||||
@@ -687,7 +714,7 @@
|
||||
|
||||
dat += "<br>"
|
||||
|
||||
dat += "<h4>Security Data</h4>"
|
||||
dat += "<h4><img src=pda_cuffs.png style=\"border-style: none;\"> Security Data</h4>"
|
||||
if (istype(src.active3, /datum/data/record) && data_core.security.Find(src.active3))
|
||||
dat += "Criminal Status: [src.active3.fields["criminal"]]<br>"
|
||||
|
||||
@@ -706,14 +733,14 @@
|
||||
|
||||
if (7)
|
||||
|
||||
dat += "<h4>SpaceMessenger V3.9.4</h4>"
|
||||
dat += "<h4><img src=pda_mail.png style=\"border-style: none;\"> SpaceMessenger V3.9.4</h4>"
|
||||
|
||||
if (!src.tmode)
|
||||
|
||||
dat += "<a href='byond://?src=\ref[src];tfunc=1'>Ringer: [src.silent == 1 ? "Off" : "On"]</a> | "
|
||||
dat += "<a href='byond://?src=\ref[src];tonoff=1'>Send / Receive: [src.toff == 1 ? "Off" : "On"]</a> | "
|
||||
dat += "<a href='byond://?src=\ref[src];settone=1'>Set Ringtone</a> | "
|
||||
dat += "<a href='byond://?src=\ref[src];pback=1'>Messages</a><br>"
|
||||
dat += "<a href='byond://?src=\ref[src];tfunc=1'><img src=pda_bell.png style=\"border-style: none;\"> Ringer: [src.silent == 1 ? "Off" : "On"]</a> | "
|
||||
dat += "<a href='byond://?src=\ref[src];tonoff=1'><img src=pda_mail.png style=\"border-style: none;\"> Send / Receive: [src.toff == 1 ? "Off" : "On"]</a> | "
|
||||
dat += "<a href='byond://?src=\ref[src];settone=1'><img src=pda_bell.png style=\"border-style: none;\"> Set Ringtone</a> | "
|
||||
dat += "<a href='byond://?src=\ref[src];pback=1'><img src=pda_mail.png style=\"border-style: none;\"> Messages</a><br>"
|
||||
|
||||
if (istype(src.cartridge, /obj/item/weapon/cartridge/syndicate))
|
||||
dat+= "<b>[src.cartridge:shock_charges] detonation charges left.</b><HR>"
|
||||
@@ -721,7 +748,7 @@
|
||||
if (istype(src.cartridge, /obj/item/weapon/cartridge/clown))
|
||||
dat+= "<b>[src.cartridge:honk_charges] viral files left.</b><HR>"
|
||||
|
||||
dat += "<h4>Detected PDAs</h4>"
|
||||
dat += "<h4><img src=pda_menu.png style=\"border-style: none;\"> Detected PDAs</h4>"
|
||||
|
||||
dat += "<ul>"
|
||||
|
||||
@@ -739,10 +766,10 @@
|
||||
dat += "<li><a href='byond://?src=\ref[src];editnote=\ref[P]'>[P]</a>"
|
||||
|
||||
if (istype(src.cartridge, /obj/item/weapon/cartridge/syndicate) && src.cartridge:shock_charges > 0)
|
||||
dat += " (<a href='byond://?src=\ref[src];detonate=\ref[P]'>*detonate*</a>)"
|
||||
dat += " (<a href='byond://?src=\ref[src];detonate=\ref[P]'><img src=pda_boom.png style=\"border-style: none;\"> *detonate*</a>)"
|
||||
//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 += " (<a href='byond://?src=\ref[src];sendhonk=\ref[P]'>*Send Virus*</a>)"
|
||||
dat += " (<a href='byond://?src=\ref[src];sendhonk=\ref[P]'><img src=pda_honk.png style=\"border-style: none;\"> *Send Virus*</a>)"
|
||||
|
||||
|
||||
dat += "</li>"
|
||||
@@ -754,16 +781,16 @@
|
||||
dat += "None detected.<br>"
|
||||
|
||||
else
|
||||
dat += "<a href='byond://?src=\ref[src];tfunc=1'>Clear</a> | "
|
||||
dat += "<a href='byond://?src=\ref[src];pback=1'>Back</a><br>"
|
||||
dat += "<a href='byond://?src=\ref[src];tfunc=1'><img src=pda_blank.png style=\"border-style: none;\"> Clear</a> | "
|
||||
dat += "<a href='byond://?src=\ref[src];pback=1'><img src=pda_back.png style=\"border-style: none;\"> Back</a><br>"
|
||||
|
||||
dat += "<h4>Messages</h4>"
|
||||
dat += "<h4><img src=pda_mail.png style=\"border-style: none;\"> Messages</h4>"
|
||||
|
||||
dat += src.tnote
|
||||
dat += "<br>"
|
||||
if (8)
|
||||
|
||||
dat += "<h4>Persistent Custodial Object Locator</h4>"
|
||||
dat += "<h4><img src=pda_bucket.png style=\"border-style: none;\"> Persistent Custodial Object Locator</h4>"
|
||||
|
||||
var/turf/cl = get_turf(src)
|
||||
if (cl)
|
||||
@@ -822,7 +849,7 @@
|
||||
|
||||
if (9)
|
||||
if (!isnull(src.cartridge) && (istype(src.cartridge, /obj/item/weapon/cartridge/signal)))
|
||||
dat += "<h4>Remote Signaling System</h4>"
|
||||
dat += "<h4><img src=pda_signaler.png style=\"border-style: none;\"> Remote Signaling System</h4>"
|
||||
|
||||
dat += {"
|
||||
<a href='byond://?src=\ref[src];ssend=1'>Send Signal</A><BR>
|
||||
@@ -846,7 +873,7 @@ Code:
|
||||
|
||||
if (10) // status display
|
||||
|
||||
dat += "<h4>Station Status Display Interlink</h4>"
|
||||
dat += "<h4><img src=pda_status.png style=\"border-style: none;\"> Station Status Display Interlink</h4>"
|
||||
|
||||
dat += "\[ <A HREF='?src=\ref[src];statdisp=blank'>Clear</A> \]<BR>"
|
||||
dat += "\[ <A HREF='?src=\ref[src];statdisp=shuttle'>Shuttle ETA</A> \]<BR>"
|
||||
@@ -861,7 +888,7 @@ Code:
|
||||
|
||||
if(11) // Quartermaster Supply Shuttle
|
||||
|
||||
dat += "<h4>Supply Record Interlink</h4>"
|
||||
dat += "<h4><img src=pda_crate.png style=\"border-style: none;\"> Supply Record Interlink</h4>"
|
||||
|
||||
dat += "<BR><B>Supply shuttle</B><BR>"
|
||||
dat += "Location: [supply_shuttle_moving ? "Moving to station ([supply_shuttle_timeleft] Mins.)":supply_shuttle_at_station ? "Station":"Dock"]<BR>"
|
||||
@@ -884,7 +911,7 @@ Code:
|
||||
dat += "Interlink Error - Please reinsert cartridge."
|
||||
return
|
||||
|
||||
dat += "<h4>M.U.L.E. bot Interlink V0.8</h4>"
|
||||
dat += "<h4><img src=pda_mule.png style=\"border-style: none;\"> M.U.L.E. bot Interlink V0.8</h4>"
|
||||
|
||||
if(!QC.active)
|
||||
// list of bots
|
||||
@@ -897,12 +924,12 @@ Code:
|
||||
|
||||
|
||||
|
||||
dat += "<BR><A href='byond://?src=\ref[QC];op=scanbots'>Scan for active bots</A><BR>"
|
||||
dat += "<BR><A href='byond://?src=\ref[QC];op=scanbots'><img src=pda_scanner.png style=\"border-style: none;\"> Scan for active bots</A><BR>"
|
||||
|
||||
else // bot selected, control it
|
||||
|
||||
|
||||
dat += "<B>[QC.active]</B><BR> Status: (<A href='byond://?src=\ref[QC];op=control;bot=\ref[QC.active]'><i>refresh</i></A>)<BR>"
|
||||
dat += "<B>[QC.active]</B><BR> Status: (<A href='byond://?src=\ref[QC];op=control;bot=\ref[QC.active]'><img src=pda_refresh.png style=\"border-style: none;\"><i>refresh</i></A>)<BR>"
|
||||
|
||||
if(!QC.botstatus)
|
||||
dat += "Waiting for response...<BR>"
|
||||
@@ -937,7 +964,7 @@ Code:
|
||||
dat += "\[<A href='byond://?src=\ref[QC];op=stop'>Stop</A>\] "
|
||||
dat += "\[<A href='byond://?src=\ref[QC];op=go'>Proceed</A>\] "
|
||||
dat += "\[<A href='byond://?src=\ref[QC];op=home'>Return Home</A>\]<BR>"
|
||||
dat += "<HR><A href='byond://?src=\ref[QC];op=botlist'>Return to bot list</A>"
|
||||
dat += "<HR><A href='byond://?src=\ref[QC];op=botlist'><img src=pda_back.png style=\"border-style: none;\">Return to bot list</A>"
|
||||
|
||||
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 += "<h4>Securitron Interlink</h4>"
|
||||
dat += "<h4><img src=pda_cuffs.png style=\"border-style: none;\"> Securitron Interlink</h4>"
|
||||
|
||||
if(!SC.active)
|
||||
// list of bots
|
||||
@@ -958,12 +985,12 @@ Code:
|
||||
|
||||
|
||||
|
||||
dat += "<BR><A href='byond://?src=\ref[SC];op=scanbots'>Scan for active bots</A><BR>"
|
||||
dat += "<BR><A href='byond://?src=\ref[SC];op=scanbots'><img src=pda_scanner.png style=\"border-style: none;\"> Scan for active bots</A><BR>"
|
||||
|
||||
else // bot selected, control it
|
||||
|
||||
|
||||
dat += "<B>[SC.active]</B><BR> Status: (<A href='byond://?src=\ref[SC];op=control;bot=\ref[SC.active]'><i>refresh</i></A>)<BR>"
|
||||
dat += "<B>[SC.active]</B><BR> Status: (<A href='byond://?src=\ref[SC];op=control;bot=\ref[SC.active]'><img src=pda_refresh.png style=\"border-style: none;\"><i>refresh</i></A>)<BR>"
|
||||
|
||||
if(!SC.botstatus)
|
||||
dat += "Waiting for response...<BR>"
|
||||
@@ -989,7 +1016,7 @@ Code:
|
||||
dat += "<BR>\[<A href='byond://?src=\ref[SC];op=stop'>Stop Patrol</A>\] "
|
||||
dat += "\[<A href='byond://?src=\ref[SC];op=go'>Start Patrol</A>\] "
|
||||
dat += "\[<A href='byond://?src=\ref[SC];op=summon'>Summon Bot</A>\]<BR>"
|
||||
dat += "<HR><A href='byond://?src=\ref[SC];op=botlist'>Return to bot list</A>"
|
||||
dat += "<HR><A href='byond://?src=\ref[SC];op=botlist'><img src=pda_back.png style=\"border-style: none;\">Return to bot list</A>"
|
||||
|
||||
dat += "</body></html>"
|
||||
user << browse(dat, "window=pda")
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
BIN
icons/pda_icons/pda_atmos.png
Normal file
|
After Width: | Height: | Size: 224 B |
BIN
icons/pda_icons/pda_back.png
Normal file
|
After Width: | Height: | Size: 219 B |
BIN
icons/pda_icons/pda_bell.png
Normal file
|
After Width: | Height: | Size: 226 B |
BIN
icons/pda_icons/pda_blank.png
Normal file
|
After Width: | Height: | Size: 189 B |
BIN
icons/pda_icons/pda_boom.png
Normal file
|
After Width: | Height: | Size: 241 B |
BIN
icons/pda_icons/pda_bucket.png
Normal file
|
After Width: | Height: | Size: 220 B |
BIN
icons/pda_icons/pda_crate.png
Normal file
|
After Width: | Height: | Size: 234 B |
BIN
icons/pda_icons/pda_cuffs.png
Normal file
|
After Width: | Height: | Size: 225 B |
BIN
icons/pda_icons/pda_eject.png
Normal file
|
After Width: | Height: | Size: 226 B |
BIN
icons/pda_icons/pda_exit.png
Normal file
|
After Width: | Height: | Size: 241 B |
BIN
icons/pda_icons/pda_flashlight.png
Normal file
|
After Width: | Height: | Size: 221 B |
BIN
icons/pda_icons/pda_honk.png
Normal file
|
After Width: | Height: | Size: 219 B |
BIN
icons/pda_icons/pda_mail.png
Normal file
|
After Width: | Height: | Size: 216 B |
BIN
icons/pda_icons/pda_medical.png
Normal file
|
After Width: | Height: | Size: 203 B |
BIN
icons/pda_icons/pda_menu.png
Normal file
|
After Width: | Height: | Size: 229 B |
BIN
icons/pda_icons/pda_mule.png
Normal file
|
After Width: | Height: | Size: 230 B |
BIN
icons/pda_icons/pda_notes.png
Normal file
|
After Width: | Height: | Size: 218 B |
BIN
icons/pda_icons/pda_power.png
Normal file
|
After Width: | Height: | Size: 215 B |
BIN
icons/pda_icons/pda_rdoor.png
Normal file
|
After Width: | Height: | Size: 212 B |
BIN
icons/pda_icons/pda_reagent.png
Normal file
|
After Width: | Height: | Size: 219 B |
BIN
icons/pda_icons/pda_refresh.png
Normal file
|
After Width: | Height: | Size: 234 B |
BIN
icons/pda_icons/pda_scanner.png
Normal file
|
After Width: | Height: | Size: 241 B |
BIN
icons/pda_icons/pda_signaler.png
Normal file
|
After Width: | Height: | Size: 238 B |
BIN
icons/pda_icons/pda_status.png
Normal file
|
After Width: | Height: | Size: 230 B |