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/008-2-1/richard.txt | |
download | serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.gz serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.bz2 serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.xz serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.zip |
Initial commit
Diffstat (limited to 'npc/008-2-1/richard.txt')
-rw-r--r-- | npc/008-2-1/richard.txt | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/npc/008-2-1/richard.txt b/npc/008-2-1/richard.txt new file mode 100644 index 00000000..d55ade4f --- /dev/null +++ b/npc/008-2-1/richard.txt @@ -0,0 +1,62 @@ +// The Mana World scripts. +// Author: +// Micksha +// Description: +// Richard the Hurns storage guy. +// THIS IS A PLACEHOLDER! + +008-2-1,26,35,0 script Richard NPC_RICHARD_LEGACY,{ + // Storage/Banking function not unlocked in Artis + if (!getq(ArtisQuests_Lloyd)) { + speech + l("Oh hey!"), + l("I was supposed to act as storagekeeper, but I forgot my key."), + l("Come back later, perhaps I can find it."); + close; + } + mesn; + mesq l("Welcome to %s's Bank!", l($@BANK_TOWN$[.bankid])); + next; + + do + { + select + l("I would like to store some items."), + l("I would like to perform money transactions."), + l("Is there any request for me?"), + menuaction(l("Quit")); + + mes ""; + + switch (@menu) { + case 1: + mesn; + mesq l("Sure thing! I'll have your items transported here from Artis before you realize!"); + next; + closeclientdialog(); + openstorage(); + close; + case 2: + MerchantGuild_Bank(); + break; + case 3: + MerchantGuild_Quests(.bankid); + break; + default: + closeclientdialog; + goodbye; + close; + } + + } while (true); + close; + +OnInit: + .distance = 4; + + // Bank configuration + array_push($@BANK_NAME$, .name$); + array_push($@BANK_TOWN$, "Hurnscald"); + .bankid = getarraysize($@BANK_NAME$)-1; + end; +} |