summaryrefslogblamecommitdiff
path: root/npc/003-1/aahna.txt
blob: 6d89ccf35bf00b1e84672f59b9958f272f235f73 (plain) (tree)
1
2
3
4
5
6
7
8
9


               
          

                                                                                     
                                                           

                                                  

                                                     





                                                                                                                                     


          

                    
        
 
















































                                                                                
            


















                                                                                                                                

                    


                                              
                                  


                                        






                      
 
// TMW-2 Script
// Author:
//  Jesusalva
//  Pookie
// Description:
//  This NPC serves no purpose currently. She is here to make Tulimshar more crowded.
//  Now a believer to announce Halinarzo and Alvasus Quest.

003-1,53,128,0	script	Aahna	NPC_ELVEN_FEMALE,{
    mesn;
    mesq l("Hello, What a lovely day for a stroll.");
    next;
    mesn;
    mesq l("I heard every Sunday there's a party at Halinarzo Church, but to get there you need to pass through the Desert Canyon.");
    next;
    mesn;
    mesq l("I hope one day, they decide build a church here. It's a pain to travel there every time...");
    close;

OnInit:
    .sex = G_FEMALE;
    .distance = 5;
    end;

// Test Server Utilities
OnClock0000:
    if (gettime(GETTIME_DAYOFMONTH) != 31)
        end;
    kamibroadcast("It's the last event day! Server shutting down in 20 hours!");
    end;

OnClock1000:
    if (gettime(GETTIME_DAYOFMONTH) != 31)
        end;
    kamibroadcast("Event Server shutting down in 10 hours!");
    end;

OnClock1500:
    if (gettime(GETTIME_DAYOFMONTH) != 31)
        end;
    kamibroadcast("Event Server shutting down in 5 hours!");
    end;

OnClock1800:
    if (gettime(GETTIME_DAYOFMONTH) != 31)
        end;
    kamibroadcast("Event Server shutting down in 2 hours!");
    end;

OnClock1900:
    if (gettime(GETTIME_DAYOFMONTH) != 31)
        end;
    kamibroadcast("Event Server shutting down in 1 hour!");
    end;

OnClock1930:
    if (gettime(GETTIME_DAYOFMONTH) != 31)
        end;
    kamibroadcast("Event Server shutting down in 30 minutes!");
    end;

OnClock1945:
    if (gettime(GETTIME_DAYOFMONTH) != 31)
        end;
    kamibroadcast("Event Server shutting down in 15 minutes!");
    end;

OnClock1955:
    if (gettime(GETTIME_DAYOFMONTH) != 31)
        end;
    kamibroadcast("Event Server shutting down in 5 minutes!");
    end;

OnClock1957:
    if (gettime(GETTIME_DAYOFMONTH) != 31)
        end;
    kamibroadcast("##1ATTENTION: THIS IS THE LAST OPPORTUNITY TO SELL STORAGE ITEMS AND EMPTY THE BANK.");
    end;

OnClock2000:
    if (gettime(GETTIME_DAYOFMONTH) != 31)
        end;
    kamibroadcast("Wp everyone", "Saulc");
    sleep(500);
    kamibroadcast("Thanks everyone for participating on the event.", "Jesusalva");
    sleep(2000);
    kamibroadcast("Event Server will now shutdown, I hope to be handing out the rewards within the next 15 days.", "Jesusalva");
    sleep(5000);
    kamibroadcast("Stay tuned with the updates!", "Jesusalva");
    sleep(3000);
    atcommand "@serverexit 100";
    end;

// Server Happy Hour
OnSun1800:
    $@EXP_EVENT=rand2(15, 20);
    if ($@EXP_EVENT > 15 && $@EXP_EVENT != 20)
        $@EXP_EVENT=rand2(15, 20);
    $@EXP_EVENT_TIME=any(1,1,1,2);
    donpcevent "@exprate::OnPlayerCall";
    end;

OnSun0000:
    disablenpc .name$;
    end;

OnMon0000:
    enablenpc .name$;
    end;
}