summaryrefslogtreecommitdiff
path: root/npc/003-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-25 02:50:49 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-25 02:50:49 -0300
commit4b6f752ae0fc44743ee7befaab73a594e966b9a3 (patch)
tree4ca42af8ec03922c6ef307e361a023b5dfc32537 /npc/003-2
parenta1cbe5d0ba5ae4994753e8e59a76b69ff461b300 (diff)
downloadserverdata-4b6f752ae0fc44743ee7befaab73a594e966b9a3.tar.gz
serverdata-4b6f752ae0fc44743ee7befaab73a594e966b9a3.tar.bz2
serverdata-4b6f752ae0fc44743ee7befaab73a594e966b9a3.tar.xz
serverdata-4b6f752ae0fc44743ee7befaab73a594e966b9a3.zip
Use five spaces, instead of three, to separate Lua's MQ nodes.
Also, fix a display on Lua (so she will assign MQ 2-1, 2-2, 2-3, 2-4 and 2-5)
Diffstat (limited to 'npc/003-2')
-rw-r--r--npc/003-2/lua.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/npc/003-2/lua.txt b/npc/003-2/lua.txt
index a7e6824c0..c7b407c8d 100644
--- a/npc/003-2/lua.txt
+++ b/npc/003-2/lua.txt
@@ -272,7 +272,7 @@ L_Task:
.@q2=getq2(General_Narrator);
}
- mesc b(l(".:: Main Quest 2-%d ::.", .@q2)), 3;
+ mesc b(l(".:: Main Quest 2-%d ::.", (.@q2+1)/2)), 3;
if (.@q2 == 1) {
luaTask1();
next;
@@ -309,21 +309,11 @@ L_Task:
goto L_Finish;
}
}
+ Exception("Something went wrong, this is not a valid MQ2 state: "+.@q2);
+ close;
- next;
- /* TODO: Checks
- if (BaseLevel >= 20 &&
- JobLevel >= 6 &&
- Zeny >= 1000 &&
- (CRAFTQUEST || MPQUEST) &&
- countitem(TulimsharGuardCard) &&
- countitem(FishingRod))
- goto L_Finish;
- */
- close;
-
// Declare functions
@@ -367,6 +357,8 @@ function luaCheckTask1 {
+
+
function luaAssignTask2 {
next;
return;
@@ -389,6 +381,8 @@ function luaCheckTask2 {
+
+
function luaAssignTask3 {
next;
return;
@@ -414,6 +408,8 @@ function luaCheckTask3 {
+
+
function luaAssignTask4 {
next;
return;
@@ -435,6 +431,8 @@ function luaCheckTask4 {
+
+
function luaAssignTask5 {
next;
return;
@@ -456,6 +454,8 @@ function luaCheckTask5 {
+
+
// Then we jump to L_Complete
// When you finish the last quest from Lua
L_Finish: