mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
22 lines
892 B
Plaintext
22 lines
892 B
Plaintext
/mob/living/silicon/ai/proc/ai_statuschange()
|
|
set category = "AI Commands"
|
|
set name = "AI status"
|
|
|
|
if(usr.stat == 2)
|
|
usr <<"You cannot change your emotional status because you are dead!"
|
|
return
|
|
var/list/ai_emotions = list("Very Happy", "Happy", "Neutral", "Unsure", "Confused", "Sad", "BSOD", "Blank", "Problems?", "Awesome", "Facepalm", "Friend Computer", "Beer mug", "Dwarf", "Fishtank", "Plump Helmet")
|
|
if(src.ckey == "serithi")
|
|
ai_emotions.Add("Tribunal","Tribunal Malfunctioning")
|
|
var/emote = input("Please, select a status!", "AI Status", null, null) in ai_emotions
|
|
for (var/obj/machinery/ai_status_display/AISD in world) //change status
|
|
spawn( 0 )
|
|
AISD.emotion = emote
|
|
for (var/obj/machinery/status_display/SD in world) //if Friend Computer, change ALL displays
|
|
if(emote=="Friend Computer")
|
|
spawn(0)
|
|
SD.friendc = 1
|
|
else
|
|
spawn(0)
|
|
SD.friendc = 0
|
|
return |