diff options
Diffstat (limited to 'npc/009-2-6')
-rw-r--r-- | npc/009-2-6/_import.txt | 5 | ||||
-rw-r--r-- | npc/009-2-6/_warps.txt | 3 | ||||
-rw-r--r-- | npc/009-2-6/eurni.txt | 22 | ||||
-rw-r--r-- | npc/009-2-6/jpmorbid.txt | 61 |
4 files changed, 91 insertions, 0 deletions
diff --git a/npc/009-2-6/_import.txt b/npc/009-2-6/_import.txt new file mode 100644 index 00000000..f9cec10c --- /dev/null +++ b/npc/009-2-6/_import.txt @@ -0,0 +1,5 @@ +// Map 009-2-6: Small House +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/009-2-6/_warps.txt", +"npc/009-2-6/eurni.txt", +"npc/009-2-6/jpmorbid.txt", diff --git a/npc/009-2-6/_warps.txt b/npc/009-2-6/_warps.txt new file mode 100644 index 00000000..bfd06300 --- /dev/null +++ b/npc/009-2-6/_warps.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 009-2-6: Small House warps +009-2-6,29,36,0 warp #009-2-6_29_36 0,0,009-1,67,160 diff --git a/npc/009-2-6/eurni.txt b/npc/009-2-6/eurni.txt new file mode 100644 index 00000000..44bbf953 --- /dev/null +++ b/npc/009-2-6/eurni.txt @@ -0,0 +1,22 @@ +// The Mana World scripts. +// Author: +// Jesusalva +// Description: +// Eurni the Surgeon + +009-2-6,32,30,0 script Eurni NPC_EURNI,{ + mesn; + mesq l("Are you tired of who you are?"); + next; + mesn; + mesq l("Would you be interested in changing your... appearance?"); + next; + Barber(false); + + close; + +OnInit: + .distance = 4; + end; +} + diff --git a/npc/009-2-6/jpmorbid.txt b/npc/009-2-6/jpmorbid.txt new file mode 100644 index 00000000..83d4c3c2 --- /dev/null +++ b/npc/009-2-6/jpmorbid.txt @@ -0,0 +1,61 @@ +// The Mana World scripts. +// Author: +// Jesusalva +// Description: +// J.P.Morbid the Asphodel Moors storage guy. + +009-2-6,27,30,0 script J.P. Morbid NPC_JPMORBID,{ + // 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$, "Asphodel Moors"); + .bankid = getarraysize($@BANK_NAME$)-1; + end; +} |