summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-25 11:06:39 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-25 11:06:39 -0300
commitbe4b3e36d43605e1a0aebb458c5fe582664fd391 (patch)
treead3a4ea2aa076e38619b463a8d1c856c436616f8 /npc
parent8eae72b97982d60922d0a4d8985c934c687d19ab (diff)
downloadserverdata-be4b3e36d43605e1a0aebb458c5fe582664fd391.tar.gz
serverdata-be4b3e36d43605e1a0aebb458c5fe582664fd391.tar.bz2
serverdata-be4b3e36d43605e1a0aebb458c5fe582664fd391.tar.xz
serverdata-be4b3e36d43605e1a0aebb458c5fe582664fd391.zip
Main Quest 2-4 lore
Diffstat (limited to 'npc')
-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