summaryrefslogblamecommitdiff
path: root/npc/000-2-1/knife.txt
blob: c34345d88a153e68332883a65f0a41969efd38d3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                              
                                             

                                               
                               
                                                                          






                                         
                       

          
// Evol scripts.
// Authors:
//    Ablu
// Description:
//    Knife on the table
// Variable:
//    ShipQuests_Knife
// Values:
//    0   default -> not taken
//    1   knife taken

000-2-1.gat,40,24,0,2	script	#name	100,{
    set @q, geta(ShipQuests, ShipQuests_Knife);
    if (@q) close;
    mesn "Knifes on the table";
    mes l("There are some knifes on the table, do you want to take one?");
    menu
        l("Yes."), l_Give,
        l("No."), -;
    close;

l_Give:
    seta ShipQuests, ShipQuests_Knife, 1;
    getitem "Knife", 1;
    close;
}