summaryrefslogtreecommitdiff
path: root/npc/003-1/tinris.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-02 16:53:03 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-02 16:53:03 -0300
commit328f1b9fef0d06bc2d12648f2cf45f6a91bcfe58 (patch)
treea073b4617961a89b741fdc1dc5b580b9c35daee9 /npc/003-1/tinris.txt
parentc5bdd2669c8348aa1d8b0084685370219a062dc0 (diff)
downloadserverdata-328f1b9fef0d06bc2d12648f2cf45f6a91bcfe58.tar.gz
serverdata-328f1b9fef0d06bc2d12648f2cf45f6a91bcfe58.tar.bz2
serverdata-328f1b9fef0d06bc2d12648f2cf45f6a91bcfe58.tar.xz
serverdata-328f1b9fef0d06bc2d12648f2cf45f6a91bcfe58.zip
Backup data before I get AFK
Diffstat (limited to 'npc/003-1/tinris.txt')
-rw-r--r--npc/003-1/tinris.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/npc/003-1/tinris.txt b/npc/003-1/tinris.txt
index 012ec6518..81cbb0045 100644
--- a/npc/003-1/tinris.txt
+++ b/npc/003-1/tinris.txt
@@ -6,6 +6,11 @@
// Part of Anwar Field quest
003-1,66,30,0 script Tinris NPC_ELF,{
+ .@q=getq(TulimsharQuest_AnwarField);
+
+ if (.@q == 3) goto L_Back;
+ if (.@q == 2) goto L_Start;
+ if (.@q == 1) goto L_Refuse;
// Placeholder dialog
mesn;
@@ -16,6 +21,32 @@
mesq l("In the end, elves would have quite the age to rivalize with human wizards.");
close;
+// READ THE HOLY DIALOGS!!
+L_Refuse:
+ mesn strcharinfo(0);
+ mesq l("Hello! Anwar sent me to get fertilizer to save Tulimshar from famine, could you help me?");
+ next;
+ mesn;
+ mesq l("No.");
+ close;
+
+L_Start:
+ mesn strcharinfo(0);
+ mesq l("Hello, could I help you in exchanger of fertilizer?");
+ next;
+ mesn;
+ mesq l("I like people like you, straight to the subject.");
+ next;
+ mesn;
+ mesq l("The birthday of me and my girlfriend is coming up. Bring me 12 @@ and I'll make the fertilizer for you.", getitemlink(CherryCake));
+ setq TulimsharQuest_AnwarField, 3;
+ close;
+
+L_Back:
+ mesn;
+ mesq l("Unfinished script, blame Saulc (who doesn't even knows I already got a script).");
+ close;
+
OnInit:
.@npcId = getnpcid(0, .name$);
//setunitdata(.@npcId, UDT_HEADTOP, 2929); // TODO: This NPC is an Elf and therefore, CANNOT use NPCEyes.