diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 11:00:49 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 11:00:49 -0300 |
commit | 8a4bf716002a017de77fe7df301ef8e4aaf00a2e (patch) | |
tree | 4947d0b015baad639fa07133369e9a09c8a468bc /npc/000-2-1/knife.txt | |
download | serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.gz serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.bz2 serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.xz serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.zip |
Initial commit
Diffstat (limited to 'npc/000-2-1/knife.txt')
-rw-r--r-- | npc/000-2-1/knife.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/npc/000-2-1/knife.txt b/npc/000-2-1/knife.txt new file mode 100644 index 00000000..b3e44eef --- /dev/null +++ b/npc/000-2-1/knife.txt @@ -0,0 +1,47 @@ +// Evol scripts. +// Authors: +// Ablu +// Qwerty Dragon +// Description: +// Knife on the table. +// Variable: +// ShipQuests_Knife +// Values: +// 0 Default, not taken. +// 1 Knife taken. + +000-2-1,50,24,0 script #knife NPC_KNIVES,{ + .@q = getq(ShipQuests_Knife); + if (.@q) close; + + mesn "Narrator"; + mesc(l("There are some knives on the table. Would you like to take one?"), 9); + next; + + menu + l("Yes."), L_Give, + l("No."), -; + + closeclientdialog; + close; + +L_Give: + mes ""; + inventoryplace Knife, 1; + + setq ShipQuests_Knife, 1; + getitem Knife, 1; + + mesn "Narrator"; + mesc(l("To open your inventory, use the F3 key or use your mouse to select it in the above menu in your client."), 9); + next; + mesc(l("When your inventory is open, you can equip an item by selecting it and clicking 'Equip'. You can do the same to unequip an item by clicking on 'Unequip'."), 9); + next; + mesc(l("Items have different effects. Some will heal you, some can be used as weapons or armor, and some can be sold for gold."), 9); + + close; + +OnInit: + .distance = 2; + end; +} |