From 1d9eaec1cb0d3f7e148743ab8c95b13141b3700e Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Thu, 28 Feb 2019 13:24:17 +0100 Subject: [PATCH] Mob Speech/Emote --- .../mob/living/simple_animal/animals/tomato.dm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/code/modules/mob/living/simple_animal/animals/tomato.dm b/code/modules/mob/living/simple_animal/animals/tomato.dm index 0c9725cf98..037726e40f 100644 --- a/code/modules/mob/living/simple_animal/animals/tomato.dm +++ b/code/modules/mob/living/simple_animal/animals/tomato.dm @@ -63,4 +63,16 @@ follow_dist = 2 // Distance the mob tries to follow a friend speed = 4 // Higher speed is slower, negative speed is faster. + //Talk/Emote stuff + speak_chance = 0 // Probability that I talk (this is 'X in 200' chance since even 1/100 is pretty noisy) + reacts = 1 // Reacts to some things being said + speak = list() // Things I might say if I talk + emote_hear = list("chomps","snaps at the air") // Hearable emotes I might perform + emote_see = list() // Unlike speak_emote, the list of things in this variable only show by themselves with no spoken text. IE: Ian barks, Ian yaps + say_understood = list() // List of things to say when accepting an order + say_cannot = list() // List of things to say when they cannot comply + say_maybe_target = list() // List of things to say when they spot something barely + say_got_target = list() // List of things to say when they engage a target + reactions = list("chomp" = "!chomps",) // List of "string" = "reaction" and things they hear will be searched for string. + //When I stop being lazy I'll give this its own file -Shark