mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user