diff options
author | Saulc <lucashelaine14@gmail.com> | 2018-01-27 16:43:43 +0100 |
---|---|---|
committer | Saulc <lucashelaine14@gmail.com> | 2018-01-27 16:43:43 +0100 |
commit | d35035ce81bbcfb788b4d11865269b1fb1726843 (patch) | |
tree | 44868bbc683e97028db5bf814591a7deb5143ee5 /npc/005-5 | |
parent | b25a8c5bb48b2694c47425e084f39ea673b407d2 (diff) | |
download | serverdata-d35035ce81bbcfb788b4d11865269b1fb1726843.tar.gz serverdata-d35035ce81bbcfb788b4d11865269b1fb1726843.tar.bz2 serverdata-d35035ce81bbcfb788b4d11865269b1fb1726843.tar.xz serverdata-d35035ce81bbcfb788b4d11865269b1fb1726843.zip |
add npc in 003-2
Diffstat (limited to 'npc/005-5')
-rw-r--r-- | npc/005-5/nylo.txt | 165 |
1 files changed, 165 insertions, 0 deletions
diff --git a/npc/005-5/nylo.txt b/npc/005-5/nylo.txt index 503824916..c60c0239a 100644 --- a/npc/005-5/nylo.txt +++ b/npc/005-5/nylo.txt @@ -3,6 +3,171 @@ 005-5,27,38,0 script Nylo NPC_PLAYER,{ + function nylo_close { + close; + } + + function nylo_thanks { + speech S_LAST_BLANK_LINE, + l("[Nyle]"), + l("You are very welcome."); + close; + } + + function nylo_items2 { + speech S_LAST_BLANK_LINE, + l("[Nyle]"), + l("Let Cynric open your storage. You might also want to open your inventory."), + l("Pick an item from either storage or inventory and choose what you want to do with it by clicking the right button."), + l("You can also pick and drag items from one window into the other but this will move all items of this kind."); + next; + speech S_LAST_BLANK_LINE, + l("Items in your storage are totally safe. Banking itself is totally safe."); + do + { + select + l("Thanks!"); + + switch (@menu) + { + case 1: + nylo_thanks; + break; + } + } while (@menu != 1); + } + + function nylo_money2 { + speech S_LAST_BLANK_LINE, + l("[Nyle]"), + l("That's easy. Cynric will save your money when you ask him to deposit. Or you pick up your money by asking to withdraw."), + l("You only have to tell him how much you want to deposit or withdraw."), + l("Also you can ask how much he already save for you by checking your balance."); + next; + speech S_LAST_BLANK_LINE, + l("Money in your storage is totally safe. Banking itself is totally safe."); + + do + { + select + l("Thanks!"); + + switch (@menu) + { + case 1: + nylo_thanks; + break; + } + } while (@menu != 1); + } + + function nylo_items { + speech S_LAST_BLANK_LINE, + l("[Nyle]"), + l("Let Cynric open your storage. You might also want to open your inventory."), + l("Pick an item from either storage or inventory and choose what you want to do with it by clicking the right button."), + l("You can also pick and drag items from one window into the other but this will move all items of this kind."); + next; + speech S_LAST_BLANK_LINE, + l("Items in your storage are totally safe. Banking itself is totally safe."); + do + { + select + l("And how do I save money?"), + l("Thanks!"); + + switch (@menu) + { + case 1: + nylo_money2; + break; + case 2: + nylo_thanks; + break; + } + } while (@menu != 2); + } + + function nylo_money { + speech S_LAST_BLANK_LINE, + l("[Nyle]"), + l("That's easy. Cynric will save your money when you ask him to deposit. Or you pick up your money by asking to withdraw."), + l("You only have to tell him how much you want to deposit or withdraw."), + l("Also you can ask how much he already save for you by checking your balance."); + next; + speech S_LAST_BLANK_LINE, + l("Money in your storage is totally safe. Banking itself is totally safe."); + + do + { + select + l("And how do I save items?"), + l("Thanks!"); + + switch (@menu) + { + case 1: + nylo_items2; + break; + case 2: + nylo_thanks; + break; + } + } while (@menu != 2); + } + + function nylo_eplain { + speech S_LAST_BLANK_LINE, + l("[Nyle]"), + l("There are banks all over the world. Usually every important village or city has one."), + l("You can save both items and money at a bank."); + + do + { + select + l("How do I save items?"), + l("How do I save money?"), + l("Thanks!"); + + switch (@menu) + { + case 1: + nylo_items; + break; + case 2: + nylo_money; + break; + case 3: + nylo_thanks; + break; + } + } while (@menu != 3); + } + + speech S_LAST_BLANK_LINE, + l("[Nyle]"), + l("Visiting the bank too right? We're only a small village but Cynric is the best bank guy I know."); + + do + { + select + l("Yeah, you're right."), + l("What is banking?"); + switch (@menu) + { + case 1: + nylo_close; + break; + case 2: + nylo_eplain; + break; + } + } while (@menu != 2); + + closedialog; + goodbye; + close; + OnInit: .sex = G_MALE; .distance = 3; |