diff options
author | Reid <reidyaro@gmail.com> | 2016-02-01 17:33:13 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-02-01 17:33:13 +0100 |
commit | 98e9824d800b77aedf0f2eec60893dfd26ada9a9 (patch) | |
tree | 868de2e117b1bdda8a72b87c2ee1641c53a1a6a1 /npc | |
parent | 718469d939ed9986acecd7afa0831bf0d58be425 (diff) | |
download | serverdata-98e9824d800b77aedf0f2eec60893dfd26ada9a9.tar.gz serverdata-98e9824d800b77aedf0f2eec60893dfd26ada9a9.tar.bz2 serverdata-98e9824d800b77aedf0f2eec60893dfd26ada9a9.tar.xz serverdata-98e9824d800b77aedf0f2eec60893dfd26ada9a9.zip |
Complete Resa's dialogues.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/001-2-0/resa.txt | 40 |
1 files changed, 35 insertions, 5 deletions
diff --git a/npc/001-2-0/resa.txt b/npc/001-2-0/resa.txt index ad2b38f8..a3f57bcd 100644 --- a/npc/001-2-0/resa.txt +++ b/npc/001-2-0/resa.txt @@ -5,13 +5,43 @@ // Light Armor shop keeper. 001-2-0,37,28,0 script Resa NPC_ELVEN_FEMALE_ARMOR_SHOP,{ - mesn; - mesq l("Hi."); + + function explain_craft { + speech 5, + l("Did you see Don the blacksmith? He might knows more about it if you want to improve your metal equipment."), + l("Nevertheless, you can craft some cards that you can then attach to your equipment."), + l("We sell a brimmed hat, you can craft a feather card and attach it to this hat to obtain an enhanced version of it!"); + + return; + } + + speech 4, + l("Welcome to my office."), + l("What would you like today?"); + + do + { + .@q = select (l("[Trade]"), + l("How can I improve my equipment?"), + l("[Quit]")); + switch (.@q) + { + case 1: + closedialog; + shop "Store#001-2-0"; + close; + case 2: + explain_craft; + break; + case 3: + break; + } + } while (.@q != 3); + + closedialog; + goodbye; close; - // Card or Craft, need to be decided. - // The shop offer a Brimmed Hat, you can upgrade it with a feather and obtain a feather brimmed hat. - // Need to redirect to Don for more card exemple. OnInit: .sex = G_FEMALE; .distance = 2; |