summaryrefslogblamecommitdiff
path: root/npc/functions/asleep.txt
blob: 42a99796722d8eedf934a170c8389fd0a3ab89f5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10






                                   
                                                                     

                                 
 




                                                      
 
          
 
// Evol functions.
// Authors:
//    Alige
//    Reid
// Description:
//    Tell a random sleeping sound.
// Variables:
//    .@rand = Random number between the number of "sleeping" choice.

function	script	Asleep	{

    set .@rand, rand(3);
    if (.@rand == 0) npctalk3 l("Zzzzzzzzz...");
    if (.@rand == 1) npctalk3 l("Rrrr... Pchhhh...");
    if (.@rand == 2) npctalk3 l("Ggrmm... Grmmmm...");
    if (.@rand == 3) npctalk3 l("Hm...");

    close;
}