Restores 'AI IM' verb tab
This commit is contained in:
Kelenius
2016-03-10 10:30:07 +03:00
parent d412c0a070
commit 069a2e52a9
3 changed files with 12 additions and 22 deletions

View File

@@ -235,19 +235,11 @@ var/global/list/obj/item/device/pda/PDAs = list()
ownrank = ownjob
name = newname + " (" + ownjob + ")"
/mob/living/silicon/ai/proc/cmd_send_pdamesg()
set category = "AI Commands"
set name = "Send Message"
aiPDA.cmd_send_pdamesg()
/mob/living/silicon/ai/proc/cmd_show_message_log()
set category = "AI Commands"
set name = "Show Message Log"
aiPDA.cmd_show_message_log()
//AI verb and proc for sending PDA messages.
/obj/item/device/pda/ai/proc/cmd_send_pdamesg()
/obj/item/device/pda/ai/verb/cmd_send_pdamesg()
set category = "AI IM"
set name = "Send Message"
set src in usr
if(usr.stat == 2)
usr << "You can't send PDA messages because you are dead!"
return
@@ -259,9 +251,8 @@ var/global/list/obj/item/device/pda/PDAs = list()
var/selected = plist[c]
create_message(usr, selected, 0)
/obj/item/device/pda/ai/verb/cmd_toggle_pda_receiver()
set category = "AI Settings"
set category = "AI IM"
set name = "Toggle Sender/Receiver"
set src in usr
if(usr.stat == 2)
@@ -270,9 +261,8 @@ var/global/list/obj/item/device/pda/PDAs = list()
toff = !toff
usr << "<span class='notice'>PDA sender/receiver toggled [(toff ? "Off" : "On")]!</span>"
/obj/item/device/pda/ai/verb/cmd_toggle_pda_silent()
set category = "AI Settings"
set category = "AI IM"
set name = "Toggle Ringer"
set src in usr
if(usr.stat == 2)
@@ -282,7 +272,10 @@ var/global/list/obj/item/device/pda/PDAs = list()
usr << "<span class='notice'>PDA ringer toggled [(message_silent ? "Off" : "On")]!</span>"
/obj/item/device/pda/ai/proc/cmd_show_message_log()
/obj/item/device/pda/ai/verb/cmd_show_message_log()
set category = "AI IM"
set name = "Show Message Log"
set src in usr
if(usr.stat == 2)
usr << "You can't do that because you are dead!"
return

View File

@@ -670,7 +670,7 @@ var/global/list/obj/item/device/communicator/all_communicators = list()
// Parameters: None
// Description: Lets synths use their communicators without hands.
/obj/item/device/communicator/integrated/verb/activate()
set category = "AI Commands"
set category = "AI IM"
set name = "Use Communicator"
set desc = "Utilizes your built-in communicator."
set src in usr

View File

@@ -29,10 +29,7 @@ var/list/ai_verbs_hidden = list( // For why this exists, refer to https://xkcd.c
/mob/living/silicon/ai/proc/ai_checklaws,
/mob/living/silicon/ai/proc/toggle_camera_light,
/mob/living/silicon/ai/proc/take_image,
/mob/living/silicon/ai/proc/view_images,
/mob/living/silicon/ai/proc/cmd_send_pdamesg,
/mob/living/silicon/ai/proc/cmd_show_message_log
/mob/living/silicon/ai/proc/view_images
)
//Not sure why this is necessary...