diff --git a/code/game/objects/items/devices/paicard.dm b/code/game/objects/items/devices/paicard.dm index 41a8f59509a5..dd6a19548afd 100644 --- a/code/game/objects/items/devices/paicard.dm +++ b/code/game/objects/items/devices/paicard.dm @@ -30,7 +30,11 @@ if(pai) if(!pai.master_dna || !pai.master) dat += "Imprint Master DNA
" - dat += "Installed Personality: [pai.name]
" + dat += "Prime directive:
" + if(pai.laws.zeroth) + dat +="[pai.laws.zeroth]
" + else + dat +="None
" dat += "Prime directive:
[pai.laws.zeroth]
" for(var/slaws in pai.laws.supplied) dat += "Additional directives:
[slaws]
" @@ -48,6 +52,7 @@ var/mob/living/carbon/human/H = user if(H.real_name == pai.master || H.dna.unique_enzymes == pai.master_dna) dat += "\[[pai.canholo? "Disable" : "Enable"] holomatrix projectors\]
" + dat += "\[Remove Prime directive\]
" dat += "\[Reset speech synthesis module\]
" dat += "\[Wipe current pAI personality\]
" else @@ -79,6 +84,7 @@ pai.master = M.real_name pai.master_dna = M.dna.unique_enzymes to_chat(pai, "You have been bound to a new master.") + pai.laws.set_zeroth_law("Serve your master.") pai.emittersemicd = FALSE if(href_list["wipe"]) var/confirm = input("Are you CERTAIN you wish to delete the current personality? This action cannot be undone.", "Personality Wipe") in list("Yes", "No") @@ -89,6 +95,10 @@ to_chat(pai, "Your mental faculties leave you.") to_chat(pai, "oblivion... ") qdel(pai) + if(href_list["clear_zero"]) + if((input("Are you CERTAIN you wish to remove this pAI's Prime directive? This action cannot be undone.", "Clear Directive") in list("Yes", "No")) == "Yes") + if(pai) + pai.laws.clear_zeroth_law() if(href_list["fix_speech"]) pai.stuttering = 0 pai.slurring = 0 diff --git a/code/game/objects/items/devices/radio/headset.dm b/code/game/objects/items/devices/radio/headset.dm index 36b1090fd7e0..c8d26b8aab91 100644 --- a/code/game/objects/items/devices/radio/headset.dm +++ b/code/game/objects/items/devices/radio/headset.dm @@ -335,8 +335,6 @@ GLOBAL_LIST_INIT(channel_tokens, list( /obj/item/radio/headset/silicon/pai name = "\proper mini Integrated Subspace Transceiver " - subspace_transmission = FALSE - /obj/item/radio/headset/silicon/ai name = "\proper Integrated Subspace Transceiver " diff --git a/code/modules/mob/living/silicon/pai/pai_say.dm b/code/modules/mob/living/silicon/pai/pai_say.dm index b44d2cd0870c..cb12258317ba 100644 --- a/code/modules/mob/living/silicon/pai/pai_say.dm +++ b/code/modules/mob/living/silicon/pai/pai_say.dm @@ -5,4 +5,4 @@ ..(message) /mob/living/silicon/pai/binarycheck() - return 0 + return radio?.translate_binary diff --git a/code/modules/mob/living/silicon/pai/software.dm b/code/modules/mob/living/silicon/pai/software.dm index 08e41f3bee44..061c4a74a4b1 100644 --- a/code/modules/mob/living/silicon/pai/software.dm +++ b/code/modules/mob/living/silicon/pai/software.dm @@ -355,6 +355,7 @@ GLOBAL_LIST_INIT(pai_faces_icons, list( if("encryptionkeys") if(href_list["toggle"]) encryptmod = TRUE + radio.subspace_transmission = TRUE if("translator") if(href_list["toggle"]) //This is permanent.