summaryrefslogtreecommitdiff
path: root/npc/005-7
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-7')
-rw-r--r--npc/005-7/trainer.txt75
1 files changed, 71 insertions, 4 deletions
diff --git a/npc/005-7/trainer.txt b/npc/005-7/trainer.txt
index 6f595b89b..6f4b7ec33 100644
--- a/npc/005-7/trainer.txt
+++ b/npc/005-7/trainer.txt
@@ -5,9 +5,29 @@
// Original review: Lunovox <rui.gravata@gmail.com>; Ernando <ernando.quirino@hotmail.com>; Jesusalva <supremo@brasil.byethost22.com>
// Objective: Train the player and give some experience.
// License: GPL v3
+//
+// CandorQuest_Trainer
+// 0: Not started
-005-7,25,29,0 script Trainer NPC_PLAYER,{
+// 1: Took Maggot Quest
+// 2: Completed Maggot Quest
+// 3: Awaiting next quest
+
+// 4: Took House Maggot Quest
+// 5: Completed House Maggot Quest
+// 6: Awaiting next quest
+
+// 7: Took Candor Scorpion Quest
+// 8: Completed Candor Scorpion Quest
+// 9: Awaiting next quest
+// 10: Took Scorpion Quest
+// 11: Completed Scorpion Quest
+// 12: Finished all trainment
+
+005-7,25,29,0 script Trainer NPC_PLAYER,{
+ .@q=getq(CandorQuest_Trainer);
+ .@b=getq(ShipQuests_Knife); // TODO: We should check if user is with weapon equipped instead
mesn;
mesq l("Hello my friend! Need my help?");
next;
@@ -33,14 +53,61 @@ L_Menu:
l("No, thanks!"), L_Fechar;
L_Trainment:
+ mes "";
+ if (BaseLevel < 3) goto L_NoLevel;
+ if (.@b == 0) goto L_NoKnife;
+
+ mesn;
+ if (.@q == 0)
+ mesq l("Ok, you have some level. I will assign you a task.");
+ if (.@q == 1)
+ mesq l("You are killing Maggots");
+ if (.@q == 2)
+ mesq l("Here is your reward (40 xp 25 gp)");
+ if (.@q == 3)
+ mesq l("I'll ask to kill House Maggots");
+ if (.@q == 4)
+ mesq l("You are killing House Maggots");
+ if (.@q == 5)
+ mesq l("Here is your reward (40 xp 25 gp)");
+ if (.@q == 6)
+ mesq l("I'll ask to kill Candor Scorpions");
+ if (.@q == 7)
+ mesq l("You are killing Candor Scorpions");
+ if (.@q == 8)
+ mesq l("Here is your reward (40 xp 25 gp)");
+ if (.@q == 9)
+ mesq l("I'll ask to kill Scorpions");
+ if (.@q == 10)
+ mesq l("You are killing Scorpions");
+ if (.@q == 11)
+ mesq l("Here is your reward (40 xp 25 gp) + Graduation! (+50 xp)");
+ if (.@q == 12)
+ mesq l("Thanks!");
+
+ goto L_PreMenu;
+
+L_NoLevel:
+ mesn;
+ mesq l("Ah, yes... You see, there is just no task I can give to you right now. You are too weak.");
+ next;
+ mesn;
+ mesq l("Try doing quests which doesn't involve monster hunting first. I'm sure Ayasha and Zegas could use your help.");
+ next;
+ mesn;
+ mesq l("The monsters here are not agressive. Complete their quests, gain some experience, allocate some status, and you'll be ready for my training.");
+ next;
+ goto L_PreMenu;
+
+L_NoKnife:
mesn;
- mesq l("Ah, yes... You see, there is just no task I can give to you right now.");
+ mesq l("And with what you expect to fight monsters? You must arrange yourself a weapon!");
next;
mesn;
- mesq l("Try doing quests which doesn't involve monster hunting first. I'm sure Zegas and Ayasha could use your help.");
+ mesq l("I don't know. Try getting a Rusty Knife or something. Maybe the chef of Nard's ship can spare you one.");
next;
mesn;
- mesq l("The monsters here are not agressive. Complete their quests, gain some experience, allocate some status, and you'll be ready.");
+ mesq l("There probably is a huge, flashing yellow exclamation mark over a suitable knife you could take and nobody would mind.");
next;
goto L_PreMenu;