diff --git a/code/game/objects/items/devices/paicard.dm b/code/game/objects/items/devices/paicard.dm index e227c2327d5..5c962b07e74 100644 --- a/code/game/objects/items/devices/paicard.dm +++ b/code/game/objects/items/devices/paicard.dm @@ -25,7 +25,70 @@ if (!in_range(src, user)) return user.set_machine(src) - var/dat = "

Personal AI Device

" + var/dat = {" + + + + + + pAI Request Module

+ "} if(pai && (!pai.master_dna || !pai.master)) dat += "Imprint Master DNA
" if(pai) @@ -45,12 +108,30 @@ dat += "\[Wipe current pAI personality\]
" else if(looking_for_personality) - dat += "Searching for a personality..." - dat += "\[View available personalities\]
" + dat += {" +

Requesting AI personalities from central database... If there are no entries, or if a suitable entry is not listed, check again later as more personalities may be added.

+ Searching for personalities

+ + + + + +
+ Refresh available personalities +

+ "} else - dat += "No personality is installed.
" - dat += "\[Request personal AI personality\]
" - dat += "Each time this button is pressed, a request will be sent out to any available personalities. Check back often and alot time for personalities to respond. This process could take anywhere from 15 seconds to several minutes, depending on the available personalities' timeliness." + dat += {" +

No personality is installed.

+ + + + +
Request personality +
+
+

Each time this button is pressed, a request will be sent out to any available personalities. Check back often give plenty of time for personalities to respond. This process could take anywhere from 15 seconds to several minutes, depending on the available personalities' timeliness.

+ "} user << browse(dat, "window=paicard") onclose(user, "paicard") return diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 4be5e994164..1ea32ebee04 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -296,6 +296,7 @@ 'html/search.js', 'html/panels.css', 'html/painew.png', + 'html/loading.gif', 'icons/pda_icons/pda_atmos.png', 'icons/pda_icons/pda_back.png', 'icons/pda_icons/pda_bell.png', diff --git a/code/modules/mob/living/silicon/pai/recruit.dm b/code/modules/mob/living/silicon/pai/recruit.dm index 54af87f02ed..d714aea7ec5 100644 --- a/code/modules/mob/living/silicon/pai/recruit.dm +++ b/code/modules/mob/living/silicon/pai/recruit.dm @@ -237,35 +237,103 @@ var/datum/paiController/paiController // Global handler for pAI candidates var/dat = "" dat += {" - - -

Requesting AI personalities from central database... If there are no entries, or if a suitable entry is not listed, check again later as more personalities may be added.

- - "} + + + + + + pAI Availability List

+ "} + dat += "

Displaying available AI personalities from central database... If there are no entries, or if a suitable entry is not listed, check again later as more personalities may be added.

" for(var/datum/paiCandidate/c in available) - dat += {" - - - - + dat += {" +
+
Name:[c.name]
Description:[c.description]
Preferred Role:[c.role]
OOC Comments:[c.comments]
\[Download [c.name]\]
+ + + + + + + + + + + + + + + + +
Name:[c.name]
Description:[c.description]
Preferred Role:[c.role]
OOC Comments:[c.comments]
+ + +
Download [c.name] +
+ "} - "} + dat += {" + + + "} user << browse(dat, "window=findPai") diff --git a/code/modules/mob/living/silicon/pai/software.dm b/code/modules/mob/living/silicon/pai/software.dm index 65814006ec2..a0da9bf22aa 100644 --- a/code/modules/mob/living/silicon/pai/software.dm +++ b/code/modules/mob/living/silicon/pai/software.dm @@ -72,7 +72,7 @@ //usr << browse_rsc('windowbak.png') // This has been moved to the mob's Login() proc - // Declaring a doctype is necessary to enable BYOND's crappy browser's more advanced CSS functionality + // Declaring a doctype is necessary to enable BYOND's crappy browser's more advanced CSS functionality dat = {" @@ -419,7 +419,7 @@ Send Signal
"} return dat -//Station Bounced Radio - TESTING +//Station Bounced Radio /mob/living/silicon/pai/proc/softwareRadio() var/dat = "" dat += "

Station Bounced Radio


" @@ -439,8 +439,6 @@ dat+=radio.text_sec_channel(ch_name, radio.channels[ch_name]) dat+={"[radio.text_wires()]"} -// var/left_part = dat - return dat // Crew Manifest diff --git a/html/loading.gif b/html/loading.gif new file mode 100644 index 00000000000..6ec34d41709 Binary files /dev/null and b/html/loading.gif differ