summaryrefslogtreecommitdiff
path: root/npc/005-1/zegas.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-1/zegas.txt')
-rw-r--r--npc/005-1/zegas.txt44
1 files changed, 14 insertions, 30 deletions
diff --git a/npc/005-1/zegas.txt b/npc/005-1/zegas.txt
index d0b3d750c..a623f3238 100644
--- a/npc/005-1/zegas.txt
+++ b/npc/005-1/zegas.txt
@@ -5,7 +5,7 @@
// Saxso's widow. Asks new players to trigger a bug bomb in the storehouse.
005-1,43,85,0 script Zegas NPC_MONA,{
- .ItemCreate = CandorShorts;
+ function lagTutorial;
.@q = getq(CandorQuest_Barrel);
if (BaseLevel < 5)
goto L_Weak;
@@ -51,20 +51,7 @@ L_Start:
mesn;
mesq l("Thanks, come back and see me once you found the bug bomb and set it off.");
setq CandorQuest_Barrel, 2;
- if (TUTORIAL) {
- next;
- mesn;
- mesc l("TUTORIAL: The bugs there can be pretty vicious. Do you know what's worse though? Lag.");
- next;
- mesn;
- mesc l("TUTORIAL: By pressing @@, you can open the Shortcut menu. And by pressing @@, you open the skill menu!", b("F8"), b("F5"));
- next;
- mesn;
- mesc l("TUTORIAL: If you drag the \"Resync\" skill from the skill list to the shortcut list, you'll be able to rapidly solve some lag issues!");
- next;
- mesn;
- mesc l("TUTORIAL: Of course, lag might always be a problem. Remember to drag healing items to the shortcut list too. %%2");
- }
+ lagTutorial();
close;
L_Looking:
@@ -72,20 +59,8 @@ L_Looking:
mesq l("Still haven't found it? Well, keep looking the barrels at this storehouse. I know it's in there, somewhere.");
if (TUTORIAL) {
mesc l("Read the tutorial again?");
- if (askyesno() == ASK_YES) {
- next;
- mesn;
- mesc l("TUTORIAL: The bugs there can be pretty vicious. Do you know what's worse though? Lag.");
- next;
- mesn;
- mesc l("TUTORIAL: By pressing @@, you can open the Shortcut menu. And by pressing @@, you open the skill menu!", b("F8"), b("F5"));
- next;
- mesn;
- mesc l("TUTORIAL: If you drag the \"Resync\" skill from the skill list to the shortcut list, you'll be able to rapidly solve some lag issues!");
- next;
- mesn;
- mesc l("TUTORIAL: Of course, lag might always be a problem. Remember to drag healing items to the shortcut list too. %%2");
- }
+ if (askyesno() == ASK_YES)
+ lagTutorial();
}
close;
@@ -94,7 +69,7 @@ L_QuestEnd:
mesq l("From the smell I can see you found the bug bomb!");
mesq l("Thanks once again, I know it's not much but here is @@ GP for your troubles.", 350);
getexp 63, 0;
- getitem .ItemCreate, 1;
+ getitem CandorShorts, 1;
Zeny = (Zeny + 350);
setq CandorQuest_Barrel, 4;
close;
@@ -120,6 +95,15 @@ L_Close:
goodbye;
close;
+function lagTutorial {
+ // TUTORIAL block
+ tutmes l("The bugs there can be pretty vicious. Do you know what's worse though? Lag.");
+ tutmes l("By pressing @@, you can open the Shortcut menu. And by pressing @@, you open the skill menu!", b("F8"), b("F5"));
+ tutmes l("If you drag the \"Resync\" skill from the skill list to the shortcut list, you'll be able to rapidly solve some lag issues!");
+ tutmes l("Of course, lag might always be a problem. Remember to drag healing items to the shortcut list too. %%2");
+ return;
+}
+
OnInit:
.sex = G_FEMALE;
.distance = 4;