summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-15 23:59:35 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-15 23:59:35 -0300
commitb5b329ac951792b9c9c6efb3583d1018aca5c7f9 (patch)
treea61593e64c035f574f0757757f312f6c8f6f36be
parente381bfd75ed2c664b1c980bd66271563a56301c2 (diff)
downloadserverdata-b5b329ac951792b9c9c6efb3583d1018aca5c7f9.tar.gz
serverdata-b5b329ac951792b9c9c6efb3583d1018aca5c7f9.tar.bz2
serverdata-b5b329ac951792b9c9c6efb3583d1018aca5c7f9.tar.xz
serverdata-b5b329ac951792b9c9c6efb3583d1018aca5c7f9.zip
Lufix Summer Quest Initial Version, w/o Sunglass and mostly sketch
-rw-r--r--npc/003-1/aidan.txt6
-rw-r--r--npc/012-1/lufix.txt51
-rw-r--r--npc/functions/mobhunter.txt1
3 files changed, 56 insertions, 2 deletions
diff --git a/npc/003-1/aidan.txt b/npc/003-1/aidan.txt
index 7cd5db506..2f0530e7a 100644
--- a/npc/003-1/aidan.txt
+++ b/npc/003-1/aidan.txt
@@ -129,6 +129,12 @@ L_Finish:
mesn;
mesq l("Good job, here is 100,000 GP!");
close;
+ case 4:
+ setq General_Hunter, 0, 0;
+ Zeny=Zeny+1000000;
+ mesn;
+ mesq l("Good job, here is 1,000,000 GP!");
+ close;
}
OnInit:
diff --git a/npc/012-1/lufix.txt b/npc/012-1/lufix.txt
index 2957437bc..23e5f06cc 100644
--- a/npc/012-1/lufix.txt
+++ b/npc/012-1/lufix.txt
@@ -5,16 +5,63 @@
// Hunt mouboos, Summer Quest
012-1,68,74,0 script Lufix NPC_RAIJIN,{
+ .@q=getq(SQuest_Summer);
mesn;
if (season() == SUMMER) {
- mesq l("Yay it's summer");
+ mesq l("Yay it's summer! I love June 21st, and the summer vacations!");
+ if (.@q < 1)
+ goto L_SummerQuest;
} else {
- mesq l("Aww it's not summer. I love day June 21st, and the summer vacations!");
+ mesq l("Aww it's not summer. I love June 21st, and the summer vacations!");
}
+
+L_Main:
if (GHQUEST)
GHQ_Assign(Mouboo, "Hurnscald", "1.000.000 GP");
close;
+L_SummerQuest:
+ next;
+ mesn;
+ // TODO: Sunglass
+ mesq l("Hey, do you know what is good on summer? @@!", getitemlink(MiniSkirt));
+ next;
+ mesn;
+ mesq l("What about you bring me 100 @@ and 30 @@?", getitemlink(RedApple), getitemlink(MoubooSteak));
+ next;
+ select
+ l("Not now, thanks"),
+ l("To be honest, I have that with me!");
+
+ mes "";
+ if (@menu == 1)
+ goto L_Main;
+ if (@menu == 2) {
+ if (
+ countitem(RedApple) < 100 ||
+ countitem(MoubooSteak) < 30
+ ) goto L_Lying;
+
+ inventoryplace MiniSkirt, 1;
+ delitem RedApple, 100;
+ delitem MoubooSteak, 30;
+ getitem MiniSkirt, 1;
+ setq SQuest_Summer, 1;
+ mesn;
+ mesq l("Yay yay! Many thanks! Here, take the reward as promised!");
+ next;
+ mesn;
+ mesq l("We can do this again on next summer!");
+ goto L_Main;
+ }
+
+ close;
+
+L_Lying:
+ mesn;
+ mesq l("Please don't lie to me...");
+ goto L_Main;
+
OnInit:
.@npcId = getnpcid(0, .name$);
setunitdata(.@npcId, UDT_HEADTOP, CommunityShirt);
diff --git a/npc/functions/mobhunter.txt b/npc/functions/mobhunter.txt
index 44f4ac247..8fc6ecad0 100644
--- a/npc/functions/mobhunter.txt
+++ b/npc/functions/mobhunter.txt
@@ -1,6 +1,7 @@
// TMW-2 Script
// Author: Jesusalva
// Desc: Grand Hunter Quest Utils
+// Note: Remember to update Aidan too
// MobID
function script GHQ_GetQuestIDByMonsterID {