Merge pull request #30404 from AnturK/monkey_testing

Fixes Poly speak.
This commit is contained in:
Leo
2017-09-05 11:40:59 -03:00
committed by GitHub
@@ -295,7 +295,7 @@
else
parrot_state |= PARROT_FLEE //Otherwise, fly like a bat out of hell!
drop_held_item(0)
if(!stat && M.a_intent == INTENT_HELP)
if(stat != DEAD && M.a_intent == INTENT_HELP)
handle_automated_speech(1) //assured speak/emote
return
@@ -944,7 +944,7 @@
speech_buffer = list()
/mob/living/simple_animal/parrot/Poly/proc/Write_Memory()
var/json_file = file("data/npc_saves/Punpun.json")
var/json_file = file("data/npc_saves/Poly.json")
var/list/file_data = list()
if(islist(speech_buffer))
file_data["phrases"] = speech_buffer