summaryrefslogtreecommitdiff
path: root/npc/031-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-10-19 17:36:41 -0300
committerJesusaves <cpntb1@ymail.com>2021-10-19 17:36:41 -0300
commit18873a210079aa8f463d2d9d0438bce2b0fcc81a (patch)
treec1b0c6066376981b8df07399fe01a264fb8a1d0b /npc/031-2
parent06d256053a09359e48f7d9ab77a14f81faf5599e (diff)
downloadserverdata-18873a210079aa8f463d2d9d0438bce2b0fcc81a.tar.gz
serverdata-18873a210079aa8f463d2d9d0438bce2b0fcc81a.tar.bz2
serverdata-18873a210079aa8f463d2d9d0438bce2b0fcc81a.tar.xz
serverdata-18873a210079aa8f463d2d9d0438bce2b0fcc81a.zip
"Placeholders" for Tyrca, Tametomo and Beatrice.
Diffstat (limited to 'npc/031-2')
-rw-r--r--npc/031-2/_import.txt1
-rw-r--r--npc/031-2/tyrca.txt66
2 files changed, 67 insertions, 0 deletions
diff --git a/npc/031-2/_import.txt b/npc/031-2/_import.txt
index 47a3c2479..39fc907c0 100644
--- a/npc/031-2/_import.txt
+++ b/npc/031-2/_import.txt
@@ -1,3 +1,4 @@
// Map 031-2: Aethyr Inn
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/031-2/_warps.txt",
+"npc/031-2/tyrca.txt",
diff --git a/npc/031-2/tyrca.txt b/npc/031-2/tyrca.txt
new file mode 100644
index 000000000..a9125f2b2
--- /dev/null
+++ b/npc/031-2/tyrca.txt
@@ -0,0 +1,66 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Questmaker Handbook 14.0 (F = Favorable)
+
+031-2,77,77,0 script Tyrca NPC_SAVIOR_F,{
+ .@q = getq(AethyrQuest_Tyrca);
+ mesn;
+ mesq l("Welcome to Aethyr, strange traveler. I am a collector of rare gemstones.");
+ if (REBIRTH || BaseLevel > 90) {
+ if (.@q == 0 && countitem(LightGreenDiamond)) {
+ next;
+ mesn;
+ mesq l("...This %s you have there. I haven't seen one for a while.", getitemlink(LightGreenDiamond));
+ next;
+ mesn;
+ mesq l("I offer you either %s GP, or %s Monster Points for it. What do you say?", fnum(100000), fnum(40000));
+ next;
+ select
+ l("Sorry, I'll keep my gem."),
+ l("Sure, gimme the Gold."),
+ l("Sure, gimme the Monster Points."),
+ rif(REBIRTH, l("Can you give me half the gold and half the monster points?"));
+ mes "";
+ switch (@menu) {
+ case 2:
+ delitem LightGreenDiamond, 1;
+ Zeny+=100000;
+ break;
+ case 3:
+ delitem LightGreenDiamond, 1;
+ Mobpt+=40000;
+ break;
+ case 4:
+ if (!REBIRTH) {
+ atcommand("@block "+strcharinfo(0)); end;
+ }
+ delitem LightGreenDiamond, 1;
+ Zeny+=50000;
+ Mobpt+=20000;
+ break;
+ default:
+ close;
+ }
+ getexp 0, 5000;
+ setq AethyrQuest_Tyrca, 1;
+ mesn;
+ mesq l("Please doing business with you.");
+ }
+ }
+ close;
+
+OnInit:
+ .@npcId = getnpcid(.name$);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, SilkRobe);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, NPCEyes);
+ setunitdata(.@npcId, UDT_HEADTOP, BunnyEars);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 9);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 18);
+
+ .sex = G_FEMALE;
+ .distance = 5;
+ end;
+}
+