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 000000000..aa5abd635 --- /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 { + 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; +} |