summaryrefslogtreecommitdiff
path: root/npc/quests/quests_amatsu.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/quests_amatsu.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/quests_amatsu.txt')
-rw-r--r--npc/quests/quests_amatsu.txt132
1 files changed, 66 insertions, 66 deletions
diff --git a/npc/quests/quests_amatsu.txt b/npc/quests/quests_amatsu.txt
index 61c948f6e..96565b8ec 100644
--- a/npc/quests/quests_amatsu.txt
+++ b/npc/quests/quests_amatsu.txt
@@ -135,13 +135,13 @@ amatsu,223,236,3 script Publisher#ama 4_M_JPN,{
mes "This is your reward for you.";
mes "Please continue to enjoy stories~";
mes " ";
- set .@event_momo, event_momo;
- set event_momo,4;
+ .@event_momo = event_momo;
+ event_momo = 4;
completequest 8128;
completequest 8129;
completequest 8130;
if (.@event_momo == 3) {
- set .@gift_1,rand(1,10);
+ .@gift_1 = rand(1,10);
if (.@gift_1 == 1) {
getitem 659,1; //Heart_Of_Her
}
@@ -174,7 +174,7 @@ amatsu,223,236,3 script Publisher#ama 4_M_JPN,{
}
}
else {
- set .@gift_2,rand(1,10);
+ .@gift_2 = rand(1,10);
if (.@gift_2 == 1) {
getitem 622,1; //Rainbow_Carrot
}
@@ -327,7 +327,7 @@ ama_test,52,44,3 script Assistant#ama 4_M_MANAGER,{
mes "Bye-";
close2;
percentheal 100,0;
- set event_momo,0;
+ event_momo = 0;
warp "amatsu",223,230;
end;
}
@@ -452,7 +452,7 @@ OnTouch:
mes "[Grandma & Grandpa]";
mes "So...Do me this favor, kid~";
close2;
- set event_momo,1;
+ event_momo = 1;
if (countitem(9010) > 0 || countitem(9005) > 0 || countitem(9016) > 0) {
disablenpc "Grandpa#ama";
disablenpc "Grandma#ama1";
@@ -473,7 +473,7 @@ OnInit:
OnEnable:
enablenpc "Dokebi#ez";
- set .MyMobs,9;
+ .MyMobs = 9;
monster "ama_test",45,95,"Dokebi",1110,1,"Dokebi#ez::OnMyMobDead";
monster "ama_test",45,99,"Dokebi",1110,1,"Dokebi#ez::OnMyMobDead";
monster "ama_test",47,101,"Dokebi",1110,1,"Dokebi#ez::OnMyMobDead";
@@ -490,14 +490,14 @@ OnReset:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "ama_test","I...I will be baaaack~~~~!!!",bc_map;
enablenpc "Coach#ama";
- set event_momo,2;
+ event_momo = 2;
}
else {
- set .@dokebi_tel,rand(1,4);
+ .@dokebi_tel = rand(1,4);
if (.@dokebi_tel == 1) {
mapannounce "ama_test","!!IT'S A RAID!!!! RUN!!",bc_map;
}
@@ -521,7 +521,7 @@ OnInit:
OnEnable:
enablenpc "Dokebi#hd";
- set .MyMobs,9;
+ .MyMobs = 9;
monster "ama_test",45,95,"Dokebi",1110,1,"Dokebi#hd::OnMyMobDead";
monster "ama_test",45,99,"Dokebi",1110,1,"Dokebi#hd::OnMyMobDead";
monster "ama_test",47,101,"Dokebi",1110,1,"Dokebi#hd::OnMyMobDead";
@@ -538,14 +538,14 @@ OnReset:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "ama_test"," I will be baaaack~~~~!!!",bc_map;
enablenpc "Coach#ama";
- set event_momo,2;
+ event_momo = 2;
}
else {
- set .@dokebi_tel,rand(1,4);
+ .@dokebi_tel = rand(1,4);
if (.@dokebi_tel == 1) {
mapannounce "ama_test","!! IT'S A RAID!!!! RUN!!",bc_map;
}
@@ -674,7 +674,7 @@ OnInit:
OnEnable:
enablenpc "Am Mut#ama";
- set .MyMobs,3;
+ .MyMobs = 3;
monster "ama_test",35,102,"Am Mut",1301,1,"Am Mut#ama::OnMyMobDead";
monster "ama_test",40,91,"Am Mut",1301,1,"Am Mut#ama::OnMyMobDead";
monster "ama_test",56,108,"Am Mut",1301,1,"Am Mut#ama::OnMyMobDead";
@@ -685,12 +685,12 @@ OnReset:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
enablenpc "Coach#after";
}
else {
- set .@am_mut_tel,rand(1,3);
+ .@am_mut_tel = rand(1,3);
if (.@am_mut_tel == 1) {
mapannounce "ama_test"," Augh!! I, I made mistake...!",bc_map;
}
@@ -726,7 +726,7 @@ OnTouch:
mes "I had a great time...";
mes "Don't forget to get your reward~";
close2;
- set event_momo,3;
+ event_momo = 3;
changequest 8129,8130;
warp "amatsu",223,230;
disablenpc "Coach#after";
@@ -822,7 +822,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Thanks. It's nothing, but";
mes "I will give you my shop's special cuisine, Fish Slice, in return.";
next;
- set fish_r,0;
+ fish_r = 0;
erasequest 10036;
delitem 529,10; //Candy
getitem 544,15; //Fish_Slice
@@ -854,7 +854,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Thanks. It is nothing, but";
mes "I will give you two sets of Sushi in return.";
next;
- set fish_r,0;
+ fish_r = 0;
erasequest 10037;
delitem 964,10; //Crap_Shell
getitem 551,20; //Shusi
@@ -886,7 +886,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Thanks. It is nothing but";
mes "I will give you several sets of Sushi in return.";
next;
- set fish_r,0;
+ fish_r = 0;
erasequest 10038;
delitem 961,10; //Conch
getitem 551,30; //Shusi
@@ -918,7 +918,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Thanks. It is nothing but";
mes "I will give you a large amount of food in return.";
next;
- set fish_r,0;
+ fish_r = 0;
erasequest 10039;
delitem 1023,10; //Fish_Tail
getitem 544,20; //Fish_Slice
@@ -952,7 +952,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "I will give you two sets of Sushi in return.";
next;
delitem 736,1; //White_Platter
- set fish_r,0;
+ fish_r = 0;
erasequest 10040;
getitem 551,20; //Shusi
mes "[Magumagu]";
@@ -1011,7 +1011,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes " ";
next;
delitem 950,100; //Heart_Of_Mermaid
- set ama_sushi,4;
+ ama_sushi = 4;
completequest 10041;
getitem 1144,1; //Sasimi
mes "[Magumagu]";
@@ -1074,8 +1074,8 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "You look stuffed...";
mes "Share the rest with your friends and family.";
next;
- set ama_sushi,ama_sushi+1;
- set fish_r,0;
+ ++ama_sushi;
+ fish_r = 0;
erasequest 10041;
mes "[Magumagu]";
mes "Thanks a lot for today! Haha!";
@@ -1211,9 +1211,9 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Will you do me a favor?";
mes "I will reward you.";
next;
- set .@fish_m1,rand(1,10);
+ .@fish_m1 = rand(1,10);
if (.@fish_m1 == 1 || .@fish_m1 == 2) {
- set fish_r,1;
+ fish_r = 1;
setquest 10036;
mes "[Magumagu]";
mes "I need some candies to make";
@@ -1223,7 +1223,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes " ";
}
else if (.@fish_m1 == 3 || .@fish_m1 == 4) {
- set fish_r,2;
+ fish_r = 2;
setquest 10037;
mes "[Magumagu]";
mes "I need some crab shells to make";
@@ -1233,7 +1233,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Okay?";
}
else if (.@fish_m1 == 5 || .@fish_m1 == 6) {
- set fish_r,3;
+ fish_r = 3;
setquest 10038;
mes "[Magumagu]";
mes "I have used all of my conches.";
@@ -1243,7 +1243,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Please do me this favor.";
}
else if (.@fish_m1 == 7 || .@fish_m1 == 8) {
- set fish_r,4;
+ fish_r = 4;
setquest 10039;
mes "[Magumagu]";
mes "Decorative fish tails are out of";
@@ -1253,7 +1253,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Please do me this favor.";
}
else if (.@fish_m1 == 9) {
- set fish_r,5;
+ fish_r = 5;
setquest 10040;
mes "[Magumagu]";
mes "We are missing a platter to serve";
@@ -1264,7 +1264,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
}
else {
if (rand(1,10) == 1) {
- set fish_r,6;
+ fish_r = 6;
setquest 10041;
mes "[Magumagu]";
mes "Don't ask me why...";
@@ -1278,7 +1278,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Just keep what I want in mind.";
}
else {
- set fish_r,5;
+ fish_r = 5;
setquest 10040;
mes "[Magumagu]";
mes "We are missing a platter to serve";
@@ -1320,7 +1320,7 @@ amatsu,112,164,4 script Gate Soldier#ama1 8_M_JPNSOLDIER,{
mes " ";
close;
}
-
+
amatsu,119,164,4 script Gate Soldier#ama2 8_M_JPNSOLDIER,{
mes "[Gate Soldier]";
mes "Are you from Rune-Midgard?";
@@ -1335,7 +1335,7 @@ amatsu,119,164,4 script Gate Soldier#ama2 8_M_JPNSOLDIER,{
mes "Amatsu, and intercontinental trade was his idea.";
close;
}
-
+
ama_in02,207,40,6 script Gate Soldier#ama3 8_M_JPNSOLDIER,{
mes "[Gate Soldier]";
mes "Welcome. The lord of the palace";
@@ -1347,7 +1347,7 @@ ama_in02,207,40,6 script Gate Soldier#ama3 8_M_JPNSOLDIER,{
mes "Please enjoy your stay.";
close;
}
-
+
ama_in02,207,49,6 script Gate Soldier#ama4 8_M_JPNSOLDIER,{
mes "[Gate Soldier]";
mes "The lord is really nice guy.";
@@ -1362,14 +1362,14 @@ ama_in02,207,49,6 script Gate Soldier#ama4 8_M_JPNSOLDIER,{
mes " ";
close;
}
-
+
amatsu,164,174,4 script Gate Soldier#ama5 8_M_JPNSOLDIER,{
mes "[Gate Soldier]";
if (event_amatsu == 0) {
mes "You can't enter here.";
mes "The mother of our lord is resting in here. She needs her rest.";
next;
- set event_amatsu,1;
+ event_amatsu = 1;
setquest 8131;
mes "[Gate Soldier]";
mes "She has been sick for months.";
@@ -1400,7 +1400,7 @@ amatsu,164,174,4 script Gate Soldier#ama5 8_M_JPNSOLDIER,{
}
close;
}
-
+
amatsu,171,174,4 script Gate Soldier#ama6 8_M_JPNSOLDIER,{
mes "[Gate Soldier]";
if (event_amatsu == 0) {
@@ -1408,7 +1408,7 @@ amatsu,171,174,4 script Gate Soldier#ama6 8_M_JPNSOLDIER,{
mes "The mother of our lord is resting in here.";
mes " ";
next;
- set event_amatsu,1;
+ event_amatsu = 1;
mes "[Gate Soldier]";
mes "She has been sick for months.";
mes "That is why she is staying in here.";
@@ -1440,7 +1440,7 @@ amatsu,171,174,4 script Gate Soldier#ama6 8_M_JPNSOLDIER,{
}
close;
}
-
+
ama_in02,187,57,2 script Soldier#ama1 8_M_JPNSOLDIER,{
mes "[Ichiro]";
mes "Welcome.";
@@ -1453,7 +1453,7 @@ ama_in02,187,57,2 script Soldier#ama1 8_M_JPNSOLDIER,{
mes "palace. This is all provided by him.";
close;
}
-
+
ama_in02,170,62,4 script Soldier#ama2 8_M_JPNSOLDIER,{
mes "[Jiro]";
mes "I'm Jiro, the administrator";
@@ -1504,7 +1504,7 @@ ama_in02,170,62,4 script Soldier#ama2 8_M_JPNSOLDIER,{
close;
}
}
-
+
ama_in02,37,157,4 script Soldier#ama3 8_M_JPNSOLDIER,{
mes "[Saburo]";
mes "This is the training ground for improving our battle skills.";
@@ -1530,7 +1530,7 @@ ama_in02,37,157,4 script Soldier#ama3 8_M_JPNSOLDIER,{
mes "See ya...";
close;
}
-
+
ama_in02,32,51,6 script Soldier#ama4 8_M_JPNSOLDIER,{
mes "[Shiro]";
mes "*Cough, Cough* What...";
@@ -1549,7 +1549,7 @@ ama_in02,32,51,6 script Soldier#ama4 8_M_JPNSOLDIER,{
mes "*Cough*... *Cough*...";
close;
}
-
+
ama_in02,40,167,3 script Soldier#ama5 8_M_JPNSOLDIER,{
mes "[Goro]";
mes "*Psst*... Please, be quiet.";
@@ -1577,7 +1577,7 @@ ama_in02,40,167,3 script Soldier#ama5 8_M_JPNSOLDIER,{
mes "Just don't tell anyone that I've told you this, okay?";
close;
}
-
+
ama_in02,32,167,5 script Soldier#ama6 8_M_JPNSOLDIER,{
mes "[Rokuro]";
mes "He always talks nonsense.";
@@ -1599,7 +1599,7 @@ ama_in02,32,167,5 script Soldier#ama6 8_M_JPNSOLDIER,{
mes "improve after their visits...";
close;
}
-
+
ama_in02,42,34,2 script Soldier#ama7 8_M_JPNSOLDIER,{
mes "[Shichiro]";
mes "Have a good time.";
@@ -1615,7 +1615,7 @@ ama_in02,42,34,2 script Soldier#ama7 8_M_JPNSOLDIER,{
mes "Have a good day.";
close;
}
-
+
ama_in02,203,156,4 script Soldier#ama8 8_M_JPNSOLDIER,{
mes "[Hachiro]";
mes "My lord is inside.";
@@ -1629,7 +1629,7 @@ ama_in02,203,156,4 script Soldier#ama8 8_M_JPNSOLDIER,{
mes "What could have happened to him...?";
close;
}
-
+
ama_in02,195,156,4 script Soldier#ama9 8_M_JPNSOLDIER,{
mes "[Kyuro]";
mes "This is not good.";
@@ -1644,7 +1644,7 @@ ama_in02,195,156,4 script Soldier#ama9 8_M_JPNSOLDIER,{
mes "him as a soldier.";
close;
}
-
+
ama_in02,115,177,7 script Soldier#ama10 8_M_JPNSOLDIER,{
mes "[Jyuro]";
mes "What are you doing in here?";
@@ -1736,7 +1736,7 @@ ama_in02,115,177,7 script Soldier#ama10 8_M_JPNSOLDIER,{
mes "There are more things to enjoy in town. Have yourself a good time...";
close;
}
-
+
ama_dun01,229,7,0 script Soldier#ama11 8_M_JPNSOLDIER,{
mes "[Jyuro]";
mes "Do you want to go back?";
@@ -1752,7 +1752,7 @@ ama_dun01,229,7,0 script Soldier#ama11 8_M_JPNSOLDIER,{
mes "Take care...";
close;
}
-
+
ama_in02,200,176,4 script Lord of Palace#ama 8_M_JPNMASTER,{
if (event_amatsu == 0) {
mes "[Ishida Yoshinaga]";
@@ -1802,7 +1802,7 @@ ama_in02,200,176,4 script Lord of Palace#ama 8_M_JPNMASTER,{
mes "You, who hail from Rune-Midgard,";
mes "may be able to cure my mother's disease. I will reward you well if you succeed...";
next;
- set event_amatsu,2;
+ event_amatsu = 2;
changequest 8131,8132;
mes "[Ishida Yoshinaga]";
mes "I beg you...Please.";
@@ -1860,7 +1860,7 @@ ama_in02,200,176,4 script Lord of Palace#ama 8_M_JPNMASTER,{
mes "You can go anywhere";
mes "with this ticket.";
next;
- set event_amatsu,6;
+ event_amatsu = 6;
completequest 8135;
delitem 1022,1; //Fox_Tail
getitem 7160,1; //Lord's_Passable_Ticket
@@ -1907,7 +1907,7 @@ ama_in02,200,176,4 script Lord of Palace#ama 8_M_JPNMASTER,{
mes "I have faith in your ability.";
close;
}
-
+
ama_in01,22,111,0 script Grandma#ama2 4_F_JPNOBA,{
if (event_amatsu == 4) {
mes "[....]";
@@ -1923,15 +1923,15 @@ ama_in01,22,111,0 script Grandma#ama2 4_F_JPNOBA,{
select("Taaaah!!");
if ((BaseJob == Job_Priest || BaseJob != Job_Acolyte && BaseJob != Job_Monk) || (countitem(523) < 1 || countitem(948) < 1 || countitem(1029) < 1)) {
if (rand(1,4) == 1)
- set .@fox_kill,0;
+ .@fox_kill = 0;
else
- set .@fox_kill,1;
+ .@fox_kill = 1;
}
else {
if (rand(1,2) == 1)
- set .@fox_kill,0;
+ .@fox_kill = 0;
else
- set .@fox_kill,1;
+ .@fox_kill = 1;
}
if (.@fox_kill == 1) {
mes "[....]";
@@ -1946,7 +1946,7 @@ ama_in01,22,111,0 script Grandma#ama2 4_F_JPNOBA,{
next;
monster "ama_in01",22,111,"Nine Tails",1180,1;
killmonsterall "ama_in01";
- set event_amatsu,5;
+ event_amatsu = 5;
changequest 8134,8135;
getitem 1022,1; //Fox_Tail
mes "[....]";
@@ -2051,7 +2051,7 @@ ama_in01,22,111,0 script Grandma#ama2 4_F_JPNOBA,{
warp "amatsu",167,197;
end;
}
-
+
amatsu,189,166,5 script Kouji#ama 4_M_JPNCHIBI,{
mes "[Kouji]";
mes "Ralralrah Ralralrah Ralralrahralralrah~";
@@ -2065,7 +2065,7 @@ amatsu,189,166,5 script Kouji#ama 4_M_JPNCHIBI,{
mes "That Mommy's love is best for me~";
}
else if (event_amatsu == 2) {
- set event_amatsu,3;
+ event_amatsu = 3;
mes "Priest, Priest~";
mes "A fox is following me!";
mes "It's funny and a little absurd,";
@@ -2106,7 +2106,7 @@ amatsu,189,166,5 script Kouji#ama 4_M_JPNCHIBI,{
mes "Ralralrah Ralralrah Ralralrahralralrah~";
close;
}
-
+
ama_in01,169,173,1 script Shaman#ama 4_F_JPNMU,{
mes "[Tokako]";
mes "Er, I'm not really a shaman...";
@@ -2127,7 +2127,7 @@ ama_in01,169,173,1 script Shaman#ama 4_F_JPNMU,{
mes " ";
close;
}
-
+
ama_in01,180,173,3 script Kitsune Mask#ama 4_M_JPN2,{
if (event_amatsu == 3) {
mes "[Takehue]";
@@ -2167,7 +2167,7 @@ ama_in01,180,173,3 script Kitsune Mask#ama 4_M_JPN2,{
mes " ";
next;
select("Taaaaah!!");
- set event_amatsu,4;
+ event_amatsu = 4;
mes "[Takehue]";
mes "Good. Show that spiritual";
mes "energy to the fox several times.";