summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-06-03 19:52:46 -0300
committerJesusaves <cpntb1@ymail.com>2021-06-03 19:52:46 -0300
commit90285be2f4fe7499cf15b7b76966759894a847d5 (patch)
treecccefd0c5a5a716dc7fe9588a138d720a64ef16d
parent2b46748e0b6e1935f4bc17c6c0b55a8be6cfa358 (diff)
downloadserverdata-90285be2f4fe7499cf15b7b76966759894a847d5.tar.gz
serverdata-90285be2f4fe7499cf15b7b76966759894a847d5.tar.bz2
serverdata-90285be2f4fe7499cf15b7b76966759894a847d5.tar.xz
serverdata-90285be2f4fe7499cf15b7b76966759894a847d5.zip
Allow players to select where they stopped on Main Quest
-rw-r--r--npc/029-0/event.txt30
1 files changed, 26 insertions, 4 deletions
diff --git a/npc/029-0/event.txt b/npc/029-0/event.txt
index 408e46aab..ae355914a 100644
--- a/npc/029-0/event.txt
+++ b/npc/029-0/event.txt
@@ -249,6 +249,22 @@ L_PowerUp:
next;
mesc l("Awake lost potential? This will mess with your char data irreversibly, beware."), 1;
if (askyesno() == ASK_NO) close;
+ inventoryplace Iten, 1, NPCEyes, 3;
+
+ // Chose a stage (NO TTL)
+ mesc l("Please select where you left off on Main Quest.");
+ mesc l("The one with a star (*) is advised.");
+ mesc l("It is NOT advised for new players to skip parts of the Main Quest.");
+ mesc l("Skipping will FORSAKE rewards for the quest and related; So choose wisely!");
+ mes "";
+ menuint
+ "Nard Quest finished", 1,
+ "Lua Quest finished", 3,
+ "Airlia Quest finished", 6,
+ "Librarian Quest finished", 10,
+ "Blue Sage Quest finished", 12,
+ "(*) King Gelid Quest complete", 17,
+ "Lightbringer/Barbara finished", 19;
// IP Blacklist
if (array_find($@IPBLIST$, getcharip()) < 0)
@@ -262,14 +278,20 @@ L_PowerUp:
// Skip a few quests
setq ShipQuests_Arpan, 5;
- setq NivalisQuest_BlueSage, 12;
- if (getq(General_Narrator) < 17) {
- // Homunculus
+ if (@menuret > 10)
+ setq NivalisQuest_BlueSage, 12;
+ if (@menuret >= 17) {
sk_lvup(AM_REST);
sk_lvup(AM_RESURRECTHOMUN);
sk_lvup(AM_CALLHOMUN);
- setq General_Narrator, 17;
}
+ if (@menuret >= 18) {
+ BARBARA_STATE=any(1, 2, 3);
+ }
+
+ // Update main quest
+ if (getq(General_Narrator) < @menuret)
+ setq General_Narrator, @menuret;
// Monster points
MPQUEST=true;