diff options
Diffstat (limited to 'npc/functions/asleep.txt')
-rw-r--r-- | npc/functions/asleep.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/npc/functions/asleep.txt b/npc/functions/asleep.txt new file mode 100644 index 00000000..b1d81b5b --- /dev/null +++ b/npc/functions/asleep.txt @@ -0,0 +1,19 @@ +// Evol functions. +// Authors: +// Alige +// Reid +// Description: +// Tell a random sleeping sound. +// Variables: +// @rand = Random number between the number of "sleeping" choice. + +function script Asleep { + closedialog; + + set @rand, rand(2); + if (@rand == 0) npctalk3 l("Zzzzzzzzz..."); + if (@rand == 1) npctalk3 l("Rrrr... Pchhhh..."); + if (@rand == 2) npctalk3 l("Ggrmm... Grmmmm..."); + + close; +} |