summaryrefslogtreecommitdiff
path: root/npc/000-2-1/knife.txt
blob: c7ca1a5505bfbdb56c10795ce93af8cbddc3658b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Evol scripts.
// Author:
//    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;2,{

    set @q, getq(ShipQuests_Knife);
    if (@q) close;

    mesn "Narrator";
    mes col(l("There are some knifes on the table, do you want to take one?"), 9);
    next;

    menu
        l("Yes."), l_Give,
        l("No."), -;

    close;

l_Give:
    setq ShipQuests_Knife, 1;
    getitem "Knife", 1;

    mes "";
    mesn "Narrator";
    mes col(lg("If you would like to open your inventory use the F3 key or use your mouse to select it in the above menu in your client."), 9);
    next;
    mes col(lg("Once you're inside of your inventory, you may equip the item by selecting it and clicking 'Equip'. Alternately, you can unequip an item by selecting 'unequip' to remove it."), 9);
    next;
    mes col(lg("Certain items perform different effects. Some will heal you, some you may use as weapons or armor, and some can be sold for gold."), 9);

    close;

}