From 8a4bf716002a017de77fe7df301ef8e4aaf00a2e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Apr 2021 11:00:49 -0300 Subject: Initial commit --- npc/020-2-9/_import.txt | 5 ++++ npc/020-2-9/_warps.txt | 3 +++ npc/020-2-9/hydusun.txt | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ npc/020-2-9/yanis.txt | 18 ++++++++++++++ 4 files changed, 88 insertions(+) create mode 100644 npc/020-2-9/_import.txt create mode 100644 npc/020-2-9/_warps.txt create mode 100644 npc/020-2-9/hydusun.txt create mode 100644 npc/020-2-9/yanis.txt (limited to 'npc/020-2-9') diff --git a/npc/020-2-9/_import.txt b/npc/020-2-9/_import.txt new file mode 100644 index 00000000..bd0771e3 --- /dev/null +++ b/npc/020-2-9/_import.txt @@ -0,0 +1,5 @@ +// Map 020-2-9: Tulimshar Townhall +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/020-2-9/_warps.txt", +"npc/020-2-9/hydusun.txt", +"npc/020-2-9/yanis.txt", diff --git a/npc/020-2-9/_warps.txt b/npc/020-2-9/_warps.txt new file mode 100644 index 00000000..d9a8afc5 --- /dev/null +++ b/npc/020-2-9/_warps.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 020-2-9: Tulimshar Townhall warps +020-2-9,44,37,0 warp #020-2-9_44_37 0,0,020-1,280,141 diff --git a/npc/020-2-9/hydusun.txt b/npc/020-2-9/hydusun.txt new file mode 100644 index 00000000..c4f55b92 --- /dev/null +++ b/npc/020-2-9/hydusun.txt @@ -0,0 +1,62 @@ +// The Mana World scripts. +// Author: +// Jesusalva +// Description: +// Hydusun the Tulimshar storage guy. +// THIS IS A PLACEHOLDER! + +020-2-9,35,25,0 script Hydusun 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$, "Tulimshar"); + .bankid = getarraysize($@BANK_NAME$)-1; + end; +} diff --git a/npc/020-2-9/yanis.txt b/npc/020-2-9/yanis.txt new file mode 100644 index 00000000..d5c8ea53 --- /dev/null +++ b/npc/020-2-9/yanis.txt @@ -0,0 +1,18 @@ +// The Mana World scripts. +// Author: +// Jesusalva +// Description: +// Yanis, town bureaucrat +// THIS IS A PLACEHOLDER! + +020-2-9,44,27,0 script Yanis NPC_ELVEN_MAN_STANDING,{ + setq2 TonoriQuest_Kylian, getq2(TonoriQuest_Kylian) | KYLIAN_YANIS; + mesn; + mesq l("Welcome. I'm handling issues with trading licenses for the shop owners in Tulimshar. Can I help you?"); + // TODO: Livio and mifristcher are working here so I'll not write this script. + close; + +OnInit: + .distance = 4; + end; +} -- cgit v1.2.3-70-g09d2