From 25d7855e5ba1a24a605c223ab9375ba62c6c7cf3 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 30 May 2018 22:48:42 -0300 Subject: Move another random talk from its file to random-talk --- npc/functions/random-talk.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'npc/functions/random-talk.txt') diff --git a/npc/functions/random-talk.txt b/npc/functions/random-talk.txt index 5ebb5a2fb..5d975a214 100644 --- a/npc/functions/random-talk.txt +++ b/npc/functions/random-talk.txt @@ -10,6 +10,7 @@ // villagertalk // sailortalk // legiontalk +// asleep // Evol authors (some strings and code): // Reid @@ -171,4 +172,13 @@ function script legiontalk { return; } - +function script asleep { + switch(rand(5)) { + case 0: npctalkonce(l("Zzzzzzzzz...")); break; + case 1: npctalkonce(l("Rrrr... Pchhhh...")); break; + case 2: npctalkonce(l("Ggrmm... Grmmmm...")); break; + case 3: npctalkonce(l("Hm... Shhhh...")); break; + default: emotion(E_SLEEPY); + } + end; +} -- cgit v1.2.3-70-g09d2