diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-05-09 19:32:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-05-09 19:32:43 -0300 |
commit | 980b34fa1079262b39caa4c363c2fddf96df91d1 (patch) | |
tree | 89edf04cd50308463f65e039c3a971f6830917a9 /npc/032-1 | |
parent | bc9597de95900e1b6da43fc8f8c00affeb07c91c (diff) | |
download | serverdata-980b34fa1079262b39caa4c363c2fddf96df91d1.tar.gz serverdata-980b34fa1079262b39caa4c363c2fddf96df91d1.tar.bz2 serverdata-980b34fa1079262b39caa4c363c2fddf96df91d1.tar.xz serverdata-980b34fa1079262b39caa4c363c2fddf96df91d1.zip |
The Episode = Grant Cleareance to the Caves
Diffstat (limited to 'npc/032-1')
-rw-r--r-- | npc/032-1/episode.txt | 169 |
1 files changed, 161 insertions, 8 deletions
diff --git a/npc/032-1/episode.txt b/npc/032-1/episode.txt index 19125ac1d..3830cbbd2 100644 --- a/npc/032-1/episode.txt +++ b/npc/032-1/episode.txt @@ -9,8 +9,10 @@ 032-1,58,129,0 script Elli NPC_ELLI,{ .@q = (getq(LoFQuest_EPISODE) == 15 ? getq2(LoFQuest_EPISODE) : 99); .@x = getq3(LoFQuest_EPISODE); - .@banu_priz = (.@x & 8); + .@banu_prize = (.@x & 8); .@eurni_info = (.@x & 16); + .@razor_info = (.@x & 32); + .@ellis_info = (.@x & 64); if (!.@q && getq3(LoFQuest_EPISODE)) { mesn; mesq l("Hi. Do you need something?"); @@ -19,11 +21,25 @@ l("No, nothing. Sorry."), l("I need to enter."); mes ""; - if (!.@banu_priz) { + if (@menu == 1) { + closeclientdialog; + close; + } + if (!.@ellis_info) { + mesn; + mesq l("You're stupid. Leave."); + close; + } + if (!.@banu_prize) { mesn; mesq l("And who would you be? Another bandit? Leave!"); close; } + if (!.@razor_info) { + mesn; + mesq l("You don't need to talk with any researcher inside, so why bother? Leave!"); + close; + } if (!.@eurni_info) { mesn; mesq l("Why? You are most definitely at the wrong place. Leave!"); @@ -47,7 +63,7 @@ OnInit: OnTouch: .@q = (getq(LoFQuest_EPISODE) == 15 ? getq2(LoFQuest_EPISODE) : 99); if (getq(LoFQuest_EPISODE) > 15 || .@q) - slide 52, 127; + slide 40, 21; //52, 127; else dispbottom l("This door is locked."); end; @@ -55,7 +71,27 @@ OnTouch: 032-1,68,54,0 script Adrian NPC_PLAYER,{ .@q = (getq(LoFQuest_EPISODE) == 15 ? getq2(LoFQuest_EPISODE) : 99); - npctalk3 l("Hi. Are you here to get luggage?"); + if (.@q) { + npctalk3 l("Hi. Are you here to get luggage?"); + } else { + mesn; + mesq l("Hi. Are you here to get luggage?"); + next; + select + l("No, sorry."), + l("The Red Queen's Party?"); + mes ""; + if (@menu == 2) { + mesn; + mesq l("Is that someone's luggage?"); + next; + mesn; + mesq l("No, seriously, you should do these questions to Elli. She is the smartest girl I know, close to the Academy."); + setq3 LoFQuest_EPISODE, getq3(LoFQuest_EPISODE) | 64; + next; + } + closeclientdialog; + } end; OnInit: @@ -74,7 +110,51 @@ OnInit: 032-1,45,36,0 script Marikel NPC_PLAYER,{ .@q = (getq(LoFQuest_EPISODE) == 15 ? getq2(LoFQuest_EPISODE) : 99); - npctalk3 l("Hi. Working on the docks can be hard, but I'm glad I at least get to eat!"); + if (.@q) { + npctalk3 l("Hi. Working on the docks can be hard, but I'm glad I at least get to eat!"); + } else { + mesn; + mesq l("Hi. Working on the docks can be hard, but I'm glad I at least get to eat!"); + do + { + next; + select + l("Cool, thanks."), + l("Why is it hard?"), + l("The wage is high?"), + l("Something to eat?"), + l("The Queen's Party?"); + mes ""; + switch (@menu) { + case 2: + mesn; + mesq l("Because the council has some crazy project which requires me to move crates all the time!"); + next; + mesn; + mesq l("Civilian traffic keeps declining but they keep bringing more crates back and forth! Crates filled with rubble!"); + next; + mesn; + mesq l("I miss the Red Queen, times were easier when she was around."); + break; + case 3: + mesn; + mesq l("Absolutely not, but not may job offers nowadays."); + break; + case 4: + mesn; + mesq l("The crops have failed again but the government keeps wasting money on research, for what purposes, as if I would know."); + next; + mesn; + mesq l("Importing food from Hurnscald is expensive, local food is expensive, if you don't have a job you're a dead person. Worse if you need medical aid."); + break; + case 5: + mesn; + mesq l("I heard they promised to revive the Red Queen, no idea how and don't care, they don't have money anyway."); + break; + } + } while (@menu != 1); + closeclientdialog; + } end; OnInit: @@ -93,7 +173,53 @@ OnInit: 032-1,75,46,0 script Joelin NPC_FEMALE,{ .@q = (getq(LoFQuest_EPISODE) == 15 ? getq2(LoFQuest_EPISODE) : 99); - npctalk3 l("Hi. My ship is about to set sail, we'll try to find somewhere better to live than this ruined place!"); + if (.@q) { + npctalk3 l("Hi. My ship is about to set sail, we'll try to find somewhere better to live than this ruined place!"); + } else { + mesn; + mesq l("Hi. My ship is about to set sail, we'll try to find somewhere better to live than this ruined place!"); + do + { + next; + select + l("Cool, thanks."), + l("Somewhere better to live?"), + l("Ruined place?"), + l("The Queen's Party?"); + mes ""; + switch (@menu) { + case 2: + mesn; + mesq l("Yes! We'll sail west, and find legendary lands!"); + next; + mesn; + mesq l("And if I end back here, I'll prove the planet is round! This is the perfect plan! %s GP to ride with me TO GLORY!", fnum(3000)); + next; + mesn strcharinfo(0); + if (Zeny < 3000) + mesq l("I don't have that much money, sorry."); + else + mesq l("Uh, maybe another time."); + next; + mesn; + mesq l("Your loss!"); + break; + case 3: + mesn; + mesq l("Where are you from, don't you see all the bandits? Seriously, with these ridiculous plans, the whole continent doomed."); + next; + mesn; + // Be careful with what you wish, Joelin... + mesq l("Leave sir Benjamin in charge for a few more years, and nothing will be left of these towns. I hope this council perishes in a fire!"); + break; + case 4: + mesn; + mesq l("Leave me alone."); + break; + } + } while (@menu != 1); + closeclientdialog; + } end; OnInit: @@ -215,7 +341,7 @@ OnInit: mes ""; if (@menu == 1) setq3 LoFQuest_EPISODE, .@x | 2; close; - } else if (.@ask_apple) { + } else if (.@ask_apple && !.@got_apple) { mesn; mesq l("Did you brought me 12 %s?", getitemlink(RedApple)); if (countitem(RedApple) < 12) close; @@ -308,7 +434,34 @@ OnSellItem: 032-1,140,213,0 script Weellos NPC_LEGACY_GUARD_B,{ .@q = (getq(LoFQuest_EPISODE) == 15 ? getq2(LoFQuest_EPISODE) : 99); - npctalk3 l("Hi. This is a very historic building - the former residence of the red queen no less!"); + if (!.@q) { + mesn; + mesq l("Hi. This is a very historic building - the former residence of the red queen no less!"); + next; + select + l("Nice! I love history!"), + l("I'm looking for the Queen's Party."), + l("I hate the Red Queen."); + mes ""; + switch (@menu) { + case 1: + mesn; + mesq l("Yes! History is the best!"); + break; + case 2: + mesn; + mesq l("You should talk to the Black Razor. He was a researcher, so try the academy."); + setq3 LoFQuest_EPISODE, getq3(LoFQuest_EPISODE) | 32; + break; + case 3: + mesn; + mesq l("Most do. I'm not sure if all that hatred is justified, but who cares. She is dead, even if her ghost is back."); + break; + } + close; + } else { + npctalk3 l("Hi. This is a very historic building - the former residence of the red queen no less!"); + } end; OnInit: |