summaryrefslogtreecommitdiff
path: root/npc/003-2/lua.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-2/lua.txt')
-rw-r--r--npc/003-2/lua.txt30
1 files changed, 6 insertions, 24 deletions
diff --git a/npc/003-2/lua.txt b/npc/003-2/lua.txt
index 86185c17b..10657b5b6 100644
--- a/npc/003-2/lua.txt
+++ b/npc/003-2/lua.txt
@@ -173,35 +173,17 @@ L_Info:
L_Task:
mesc b(l(".:: Main Quest 2-1 ::.")), 3;
- if (BaseLevel >= 20)
- mesc l("* @@/@@ Base Level", BaseLevel, 20), 2;
- else
- mesc l("* @@/@@ Base Level", BaseLevel, 20), 9;
+ msObjective(BaseLevel >= 20, l("* @@/@@ Base Level", BaseLevel, 20));
- if (JobLevel >= 6)
- mesc l("* @@/@@ Job Level", JobLevel, 6), 2;
- else
- mesc l("* @@/@@ Job Level", JobLevel, 6), 9;
+ msObjective(JobLevel >= 6, l("* @@/@@ Job Level", JobLevel, 6));
- if (Zeny >= 1000)
- mesc l("* @@/@@ GP", Zeny, 1000), 2;
- else
- mesc l("* @@/@@ GP", Zeny, 1000), 9;
+ msObjective(Zeny >= 1000, l("* @@/@@ GP", Zeny, 1000));
- if (countitem(TulimsharGuardCard))
- mesc l("* @@/@@ @@", countitem(TulimsharGuardCard), 1, getitemlink(TulimsharGuardCard)), 2;
- else
- mesc l("* @@/@@ @@", countitem(TulimsharGuardCard), 1, getitemlink(TulimsharGuardCard)), 9;
+ msObjective(countitem(TulimsharGuardCard), l("* @@/@@ @@", countitem(TulimsharGuardCard), 1, getitemlink(TulimsharGuardCard)));
- if (countitem(FishingRod))
- mesc l("* @@/@@ @@", countitem(FishingRod), 1, getitemlink(FishingRod)), 2;
- else
- mesc l("* @@/@@ @@", countitem(FishingRod), 1, getitemlink(FishingRod)), 9;
+ msObjective(countitem(FishingRod), l("* @@/@@ @@", countitem(FishingRod), 1, getitemlink(FishingRod)));
- if (countitem(LifestonePendant))
- mesc l("* @@/@@ @@", countitem(LifestonePendant), 1, getitemlink(LifestonePendant)), 2;
- else
- mesc l("* @@/@@ @@", countitem(LifestonePendant), 1, getitemlink(LifestonePendant)), 9;
+ msObjective(countitem(LifestonePendant), l("* @@/@@ @@", countitem(LifestonePendant), 1, getitemlink(LifestonePendant)));
next;
if (BaseLevel >= 20 &&