summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/003-2/lua.txt28
1 files changed, 19 insertions, 9 deletions
diff --git a/npc/003-2/lua.txt b/npc/003-2/lua.txt
index 0717bf690..0887c0d5a 100644
--- a/npc/003-2/lua.txt
+++ b/npc/003-2/lua.txt
@@ -469,25 +469,33 @@ function luaCheckTask3 {
function luaAssignTask4 {
- mesc l("FIXME: This quest is not yet ready, blame Jesusalva ASAP");
- close;
+ mesn;
+ mesc l("*cheerful*");
+ mesq l("Congratulations on reaching level 20!");
+ next;
+ mesn;
+ mesq l("I bet you are dead tired, and the ship travel takes a long time.");
+ next;
+ mesn;
+ mesq l("But don't worry! South of here we have an Inn.");
+ next;
+ mesn;
+ mesq l("It's the least I could do for having you to go through all this struggle. I've already paid everything, so just talk to the receptionist for your room :>");
+ // Rewards from previous quest
next;
+ LUA_ASKED_TO_SLEEP=true;
+ getexp 200, 20;
return;
} // Inn Arc
function luaTask4 {
- msObjective(false, l("* Rest at the Inn"));
+ msObjective(!LUA_ASKED_TO_SLEEP, l("* Rest at the Inn"));
return;
}
function luaCheckTask4 {
- return (BaseLevel >= 20 &&
- JobLevel >= 6 &&
- Zeny >= 1000 &&
- (CRAFTQUEST || MPQUEST) &&
- countitem(TulimsharGuardCard) &&
- countitem(FishingRod));
+ return (!LUA_ASKED_TO_SLEEP);
}
@@ -495,6 +503,8 @@ function luaCheckTask4 {
function luaAssignTask5 {
+ mesc l("FIXME: This quest is not yet ready, blame Jesusalva ASAP");
+ close;
next;
return;
} // Your Report, the plan