summaryrefslogtreecommitdiff
path: root/npc/quests/bard_quest.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-26 07:16:21 +0100
committerHaru <haru@dotalux.com>2014-11-02 01:36:52 +0100
commitc62b4c3e8e178f8ba1de240b9d67a664ef128ace (patch)
treede36f22718fe4533ea81e1d02093263005a30224 /npc/quests/bard_quest.txt
parent54604096ac53398778a5481613061216fe47e5bc (diff)
downloadhercules-c62b4c3e8e178f8ba1de240b9d67a664ef128ace.tar.gz
hercules-c62b4c3e8e178f8ba1de240b9d67a664ef128ace.tar.bz2
hercules-c62b4c3e8e178f8ba1de240b9d67a664ef128ace.tar.xz
hercules-c62b4c3e8e178f8ba1de240b9d67a664ef128ace.zip
Replaced 'set' with direct assignment where applicable (quests folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests/bard_quest.txt')
-rw-r--r--npc/quests/bard_quest.txt129
1 files changed, 56 insertions, 73 deletions
diff --git a/npc/quests/bard_quest.txt b/npc/quests/bard_quest.txt
index 508284350..477bc9c3e 100644
--- a/npc/quests/bard_quest.txt
+++ b/npc/quests/bard_quest.txt
@@ -28,8 +28,8 @@
//============================================================
geffen,132,38,3 script Bard#2 1_M_BARD,{
- if (BARD_Q > 5) set gef_bard_q,BARD_Q;
- set @name$,strcharinfo(0);
+ if (BARD_Q > 5) gef_bard_q = BARD_Q;
+ @name$ = strcharinfo(0);
if (gef_bard_q > 29) {
cutin "bard_eland02",2;
mes "[Errende]";
@@ -123,7 +123,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
next;
specialeffect2 EF_RESURRECTION;
mes "^3355FFWhile listening to his song, you feel at ease, and your thoughts become clearer. You believe that you see the vision of an angel, and you gain some experience points.^000000";
- set gef_bard_q, gef_bard_q + 16; //30,31
+ gef_bard_q += 16; //30,31
if (checkre(3)) {
if (BaseLevel < 56) getexp 450,0;
else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 550,0;
@@ -196,7 +196,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "There you go. Now, you may go to Mr. Sketzi. Remember, you must";
mes "show him the Seal of Friendship.";
mes "Good luck, now~";
- set gef_bard_q,11;
+ gef_bard_q = 11;
goto L_End;
} else if (gef_bard_q == 20) {
@@ -239,7 +239,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "[Errende]";
mes "If you will let me, I will tell you of my travels. By your leave,";
mes "I will play a song that will help you forget your troubles.";
- set gef_bard_q,21;
+ gef_bard_q = 21;
callsub S_StorySong,2;
} else {
@@ -291,7 +291,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
next;
mes "[Errende]";
mes "I beseech you, if you meet him, please ask him of the 8th love and inform me of that lyric immediately~";
- set gef_bard_q,22;
+ gef_bard_q = 22;
}
goto L_End;
@@ -332,7 +332,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
if(select("No, thanks.:I can, so stop crying.")==1) {
mes "[Errende]";
mes "Ah, I guess it was too much to ask of you. My apologies. Don't worry about it, I'll find out some other way.";
- set gef_bard_q,25;
+ gef_bard_q = 25;
} else {
mes "[Errende]";
@@ -345,7 +345,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "I'll pay you back somehow!";
mes "Thank you for your trouble";
mes "in advance~";
- set gef_bard_q,24;
+ gef_bard_q = 24;
}
goto L_End;
@@ -378,7 +378,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "What was the line...?";
mes "How could I forget";
mes "the 8th love?";
- set gef_bard_q,26;
+ gef_bard_q = 26;
goto L_End;
}
@@ -400,7 +400,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "No love,";
mes "No hope";
mes "No....^000000";
- set .@random,rand(1,50);
+ .@random = rand(1,50);
next;
if (.@random > 27 && .@random < 37 ) {
@@ -418,7 +418,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
next;
mes "[Errende]";
mes "I promise to pay you back as best as I can! I'll wait for you here until you return!";
- set gef_bard_q,24;
+ gef_bard_q = 24;
} else {
cutin "bard_eland04",2;
mes "^3355FFYou ignore his";
@@ -554,7 +554,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
if(select("No, thanks.:I can, so stop crying.")==1) {
mes "[Errende]";
mes "Ah, I guess it was too much to ask of you. My apologies. Don't worry about it, I'll find out some other way.";
- set gef_bard_q,25;
+ gef_bard_q = 25;
} else {
mes "[Errende]";
mes "Are you serious?";
@@ -566,20 +566,20 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "I'll pay you back somehow!";
mes "Thank you for your trouble";
mes "in advance~";
- set gef_bard_q,24;
+ gef_bard_q = 24;
}
goto L_End;
} else if (.@inputstr$ == "Gunther") {
mes "[Errende]";
mes "Gunther? I don't think he would do this. He always puts lines in his songs like 'doubleharmony for you.' Plus, he's too silly for that.";
- set gef_bard_q,26;
+ gef_bard_q = 26;
goto L_End;
} else if (.@inputstr$ == "Gunther Doubleharmony") {
mes "[Errende]";
mes "Gunther? I don't think he would do this. He always puts lines in his songs like 'doubleharmony for you.' Plus, he's too silly for that.";
- set gef_bard_q,26;
+ gef_bard_q = 26;
goto L_End;
} else if (.@inputstr$ == "Errende") {
@@ -589,7 +589,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "If I did, why would";
mes "I not know what this";
mes "song is about?";
- set gef_bard_q,26;
+ gef_bard_q = 26;
goto L_End;
} else {
@@ -602,7 +602,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "What was the line...?";
mes "How could I forget";
mes "the 8th love?";
- set gef_bard_q,26;
+ gef_bard_q = 26;
goto L_End;
}
@@ -651,7 +651,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
next;
mes "[Errende]";
mes "I beseech you, if you meet him, please ask him of the 8th love and inform me of that lyric immediately~";
- set gef_bard_q,2;
+ gef_bard_q = 2;
}
goto L_End;
@@ -688,14 +688,14 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
if(select("No, thanks.:I can, so stop crying.")==1) {
mes "[Errende]";
mes "Ah, I guess it was too much to ask of you. My apologies. Don't worry about it, I'll find out some other way.";
- set gef_bard_q,5;
+ gef_bard_q = 5;
} else {
mes "[Errende]";
mes "Are you serious? Oh, thank you so much! You must be an angel! An angel that truly understands the heart of a poet!";
next;
mes "[Errende]";
mes "I'll pay you back somehow! Thank you for your trouble in advance~";
- set gef_bard_q,4;
+ gef_bard_q = 4;
}
goto L_End;
@@ -724,7 +724,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "What was the line...?";
mes "How could I forget";
mes "the 8th love?";
- set gef_bard_q,6;
+ gef_bard_q = 6;
goto L_End;
}
@@ -740,7 +740,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "Shattering his dreams...";
mes "No dreams, no heart, no love, no hope, no...^000000";
next;
- set .@random,rand(1,50);
+ .@random = rand(1,50);
if (.@random > 27 && .@random < 37) {
mes "^3355FFErrende continues to sing about his personal despair. He seems to be disappointed in your refusal to help him. Of course, you begin to feel sorry for him.^000000";
@@ -756,7 +756,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
next;
mes "[Errende]";
mes "I promise to pay you back as best as I can! I'll wait for you here until you return!";
- set gef_bard_q,4;
+ gef_bard_q = 4;
} else {
mes "^3355FFYou ignore his";
mes "heart wrenching song.";
@@ -887,35 +887,35 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
if(select("No, thanks.:I can, so stop crying.")==1) {
mes "[Errende]";
mes "Ah, I guess it was too much to ask of you. My apologies. Don't worry about it, I'll find out some other way.";
- set gef_bard_q,5;
+ gef_bard_q = 5;
} else {
mes "[Errende]";
mes "Are you serious? Oh, thank you so much! You must be an angel! An angel that truly understands the heart of a poet!";
next;
mes "[Errende]";
mes "I'll pay you back somehow! Thank you for your trouble in advance~";
- set gef_bard_q,4;
+ gef_bard_q = 4;
}
goto L_End;
} else if (.@inputstr$ == "Gunther") {
mes "[Errende]";
mes "Gunther? I don't think he would do this. He always puts lines in his songs like 'doubleharmony for you.' Plus, he's too silly for that.";
- set gef_bard_q,6;
+ gef_bard_q = 6;
goto L_End;
}
else if (.@inputstr$ == "Gunther Doubleharmony") {
mes "[Errende]";
mes "Gunther? I don't think he would do this. He always puts lines in his songs like 'doubleharmony for you.' Plus, he's too silly for that.";
- set gef_bard_q,6;
+ gef_bard_q = 6;
goto L_End;
} else if (.@inputstr$ == "Errende") {
cutin "bard_eland04",2;
mes "[Errende]";
mes "Surely you jest! If I did, why would I not know what this song is about?";
- set gef_bard_q,6;
+ gef_bard_q = 6;
goto L_End;
} else {
@@ -927,7 +927,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "What was the line...?";
mes "How could I forget";
mes "the 8th love?";
- set gef_bard_q,6;
+ gef_bard_q = 6;
goto L_End;
}
@@ -981,7 +981,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "[Errende]";
mes "If you will let me, I will tell you of my travels. By your leave,";
mes "I will play a song that will help you forget your troubles.";
- set gef_bard_q,1;
+ gef_bard_q = 1;
callsub S_StorySong,5;
} else {
@@ -1010,7 +1010,7 @@ S_StorySong:
if(select("News and rumors~:Cancel.")==1) {
cutin "bard_eland01",2;
mes "[Errende]";
- set .@random,rand(1,3);
+ .@random = rand(1,3);
if (.@random == 1) {
mes "Hmmm. Then shall we talk about this town, Geffen? Have you ever been to the Pub or the Inn here?";
next;
@@ -1132,7 +1132,7 @@ S_StorySong:
mes "Alright.";
mes "Here we go~";
- set .@random,rand(1,3);
+ .@random = rand(1,3);
if (.@random == 1)
soundeffect "ring_of_nibelungen.wav",0;
else if (.@random == 2)
@@ -1159,9 +1159,9 @@ S_StorySong:
next;
//for 3 and 4 variants, we need higher chance
if(getarg(0) == 3 || getarg(0) == 4)
- set .@random,rand(1,5);
+ .@random = rand(1,5);
else
- set .@random,rand(1,3);
+ .@random = rand(1,3);
if (.@random == 1) {
mes "^483D8BValhalla dazzles in gold";
mes "The fifth as we know";
@@ -1308,15 +1308,15 @@ S_StorySong:
next;
mes "[Errende]";
mes "I beseech you, if you meet him, please ask him of the 8th love and inform me of that lyric immediately~";
- if(gef_bard_q==1) set gef_bard_q,2;
- if(gef_bard_q==21) set gef_bard_q,22;
+ if(gef_bard_q==1) gef_bard_q = 2;
+ if(gef_bard_q==21) gef_bard_q = 22;
} else {
mes "[Errende]";
mes "*Sigh...*";
mes "I can't remember the 8th part of this song if my life depended on it. And it does~! *Wahhhh~*";
- if(gef_bard_q==1) set gef_bard_q,7;
- if(gef_bard_q==21) set gef_bard_q,27;
+ if(gef_bard_q==1) gef_bard_q = 7;
+ if(gef_bard_q==21) gef_bard_q = 27;
}
goto L_End;
@@ -1366,7 +1366,7 @@ S_StorySong:
}
morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
- set @name$,strcharinfo(0);
+ @name$ = strcharinfo(0);
if (gef_bard_q == 31) {
mes "[Kino Kitty]";
mes "Everything will be";
@@ -1382,7 +1382,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
switch(select("Tell me a story...:Your voice is...:No thanks, I appreciate it though.")) {
case 1:
- set .@random,rand(1,3);
+ .@random = rand(1,3);
if (.@random == 1) {
mes "[Kino Kitty]";
mes "Many legends have been passed down as songs. Stories of Gods and tales of brave warriors have all been written as songs.";
@@ -1500,7 +1500,6 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "Could that tree be Yggdrasil? Is it possible that I could meet her in the Niffheim, realm of the dead?";
close;
}
-
case 2:
mes "[Kino Kitty]";
mes "Oh... Well, I have a chronic disease so I can't speak out loud. I, um, even cough up a little blood. But aside from that, I'm perfectly healthy.";
@@ -1508,7 +1507,6 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "^3355FFA look of bitterness momentarily flashed across Kino Kitty's face. He then adjusted his guitar strings and began to play, humming a low tune.^000000";
soundeffect "humming.wav",0;
close;
-
case 3:
mes "[Kino Kitty]";
mes "Hmm...?";
@@ -1531,7 +1529,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
switch(select("Tell me a story, or sing something~:Your voice is...:No thanks. I appreciate it, though.")) {
case 1:
- set .@random,rand(1,3);
+ .@random = rand(1,3);
if (.@random == 1) {
mes "[Kino Kitty]";
mes "Ah...";
@@ -1644,7 +1642,6 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "Could that tree be Yggdrasil? Is it possible that I could meet her in the Niffheim, realm of the dead?";
close;
}
-
case 2:
mes "[Kino Kitty]";
mes "Oh... Well, I have a chronic disease so I can't speak out loud. I, um, even cough up a little blood. But aside from that, I'm perfectly healthy.";
@@ -1652,7 +1649,6 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "^3355FFA look of bitterness momentarily flashed across Kino Kitty's face. He then adjusted his guitar strings and began to play, humming a low tune.^000000";
soundeffect "humming.wav",0;
close;
-
case 3:
mes "[Kino Kitty]";
mes "Hmm...?";
@@ -1686,9 +1682,8 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "[Kino Kitty]";
mes "Ah, right.";
mes "You already have a seal marked by Errende. Oh well, if you don't want it, what can I do?";
- set gef_bard_q,13;
+ gef_bard_q = 13;
close;
-
case 2:
mes "[Kino Kitty]";
mes "Now, let's see...";
@@ -1728,10 +1723,9 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
next;
mes "^3355FFKino Kitty hands you a letter that is labeled 'Dear Errende'";
mes "on the front.^000000";
- set gef_bard_q,14;
+ gef_bard_q = 14;
close;
}
-
} else {
mes "[Kino Kitty]";
mes "Hmmm...?";
@@ -1825,12 +1819,10 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "[Kino Kitty]";
mes "^333333^333333*Cough Cough*^000000^000000";
mes "Wh-why do I have to suffer? Are my final days as a Bard on this earth soon approaching? I feel so pathetic...";
- set gef_bard_q,10;
+ gef_bard_q = 10;
close;
-
} else {
switch(select("Tell me a story.:Sing a song.:Nothing.")) {
-
case 1:
mes "[Kino Kitty]";
mes "A story? Mmmm...";
@@ -1861,12 +1853,10 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "...Hah...";
mes "I'm sorry, but I don't think I can speak for much longer.";
close;
-
case 2:
mes "[Kino Kitty]";
mes "Sorry, but I don't feel like singing at the moment. I hope you understand. I want to sing the last song of my life for Jorti...";
close;
-
case 3:
mes "[Kino Kitty]";
mes "You have no";
@@ -1938,7 +1928,6 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "^333333(Wasn't the little girl";
mes "scared by your outburst...?)^000000";
close;
-
} else {
if (gef_bard_q == 2) {
mes "[Mysterious Bard]";
@@ -1949,7 +1938,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
next;
mes "[Kino Kitty]";
mes "When next we meet, I will tell you what I have heard and experienced. That is, I am willing to spend my time with you.";
- set gef_bard_q,22;
+ gef_bard_q = 22;
close;
} else if (gef_bard_q == 3) {
@@ -1961,7 +1950,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
next;
mes "[Kino Kitty]";
mes "When next we meet, I will tell you what I have heard and experienced. That is, I am willing to spend my time with you.";
- set gef_bard_q,23;
+ gef_bard_q = 23;
close;
} else if (gef_bard_q == 4) {
@@ -2026,7 +2015,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "[Kino Kitty]";
mes "^333333^333333*Cough Cough*^000000^000000";
mes "Wh-why do I have to suffer? Are my final days as a Bard on this earth soon approaching? I feel so pathetic...";
- set gef_bard_q,10;
+ gef_bard_q = 10;
close;
} else {
@@ -2047,7 +2036,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
next;
mes "[Kino Kitty]";
mes "When next we meet, I will tell you what I have heard and experienced. That is, I am willing to spend my time with you.";
- set gef_bard_q,20;
+ gef_bard_q = 20;
close;
} else {
@@ -2056,7 +2045,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
next;
mes "[Mysterious Bard]";
mes "My lady, fair as wisteria, whose beauty rivals that of the goddess Freya, let me introduce myself as the poor poet who wanders the earth, Kino Kitty. I hope you remember me.";
- set gef_bard_q,20;
+ gef_bard_q = 20;
close;
}
}
@@ -2169,7 +2158,7 @@ yuno_in01,172,100,3 script Old Man#bq1 4_M_05,{
mes "I hope you find";
mes "what you're";
mes "looking for.";
- set gef_bard_q,12;
+ gef_bard_q = 12;
close;
} else {
@@ -2181,7 +2170,6 @@ yuno_in01,172,100,3 script Old Man#bq1 4_M_05,{
mes "You're not looking for any medical or health related books, are you? I'm sorry, but we don't carry any of those.";
close;
}
-
} else {
mes "[Sketzi Bundin]";
mes "Welcome.";
@@ -2194,7 +2182,7 @@ yuno_in01,172,100,3 script Old Man#bq1 4_M_05,{
}
yuno_in01,163,101,0 script Old Book#bq HIDDEN_NPC,{
- set @name$,strcharinfo(0);
+ @name$ = strcharinfo(0);
if ((gef_bard_q > 11) && (gef_bard_q < 14)) {
if (!rand(5)) {
mes "^3355FFYou opened the book. There's a crisp brittleness to the pages, and the letters are faded and barely readable. You can't even identify the author's name.^000000";
@@ -2232,7 +2220,7 @@ yuno_in01,163,101,0 script Old Book#bq HIDDEN_NPC,{
mes "Love finally blossoms.";
next;
mes "^3355FFYou copy down the final lines, and keep them in a note inside your pocket.";
- set gef_bard_q,15;
+ gef_bard_q = 15;
close;
} else {
@@ -2297,7 +2285,6 @@ yuno_in01,173,96,0 script Luke's Songs Vol.1 HIDDEN_NPC,{
mes "[Luke's Note]";
mes "The lyrics, of course, are fictional, and are in no way anecdotal.";
close;
-
case 2:
mes "[Life is a Water Mill]";
mes "I chased after fame.";
@@ -2324,7 +2311,6 @@ yuno_in01,173,96,0 script Luke's Songs Vol.1 HIDDEN_NPC,{
mes "made to give comfort";
mes "to people in despair.";
close;
-
case 3:
mes "[We]";
mes "A good Bard sings";
@@ -2466,7 +2452,7 @@ yuno_in01,173,92,0 script Apple of Idun HIDDEN_NPC,{
}
payon,181,172,3 script Bard#4 1_M_BARD,{
- set @name$,strcharinfo(0);
+ @name$ = strcharinfo(0);
if (gef_bard_q == 2 || gef_bard_q == 22) {
mes "[Gunther Doubleharmony]";
mes "Hahaha~!";
@@ -2506,8 +2492,8 @@ payon,181,172,3 script Bard#4 1_M_BARD,{
next;
mes "[Gunther Doubleharmony]";
mes "There you go! Now you can go back to Minty Errende and show him your back and he will see what I wrote and then remember the lyrics!";
- if (gef_bard_q == 2) set gef_bard_q,3;
- if (gef_bard_q == 22) set gef_bard_q,23;
+ if (gef_bard_q == 2) gef_bard_q = 3;
+ if (gef_bard_q == 22) gef_bard_q = 23;
close;
} else {
@@ -2743,14 +2729,11 @@ payon,181,172,3 script Bard#4 1_M_BARD,{
mes "But it's okay because he was rescued by some Alchemist and came back to life, but you should go to Lutie if you wanna know more about him, okay?";
close;
}
-
case 3:
mes "[Gunther Doubleharmony]";
mes "You're gonna leave right now and not even listen to me a little bit? Okay, I'm cool, but promise you'll come back and listen to just one of my songs, okay?";
close;
-
}
-
} else {
mes "[" + @name$ + "]";
mes "...";
@@ -2915,7 +2898,7 @@ yuno_in04,33,119,3 script Adventurer#1 4_M_ROGUE,{
mes "Hello there~";
mes "My name is Pane.";
mes "May I ask yours?";
- set @name$,strcharinfo(0);
+ @name$ = strcharinfo(0);
input .@inputstr$;
next;
mes "[Energetic Young Man]";