summaryrefslogtreecommitdiff
path: root/npc/events/gdevent_aru.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/events/gdevent_aru.txt')
-rw-r--r--npc/events/gdevent_aru.txt86
1 files changed, 43 insertions, 43 deletions
diff --git a/npc/events/gdevent_aru.txt b/npc/events/gdevent_aru.txt
index be12e50f8..4e8a3c6e8 100644
--- a/npc/events/gdevent_aru.txt
+++ b/npc/events/gdevent_aru.txt
@@ -79,13 +79,13 @@ OnMyMobDead:
}
arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
- if (getcharid(2) == 0) {
+ if (getcharid(CHAR_ID_GUILD) == 0) {
mes "[Dwarf]";
mes "Hey did you see an ugly Goblin come by? He stole something from me!";
close;
}
.@chk_urquest = questprogress(2143,PLAYTIME);
- .@chk_yourgdname$ = getguildname(getcharid(2));
+ .@chk_yourgdname$ = getguildname(getcharid(CHAR_ID_GUILD));
if ($@gdeventv_a1 == 0) {
if ($@gdevents_a$ == "") {
$@gdeventv_a1 = 1;
@@ -94,7 +94,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "Help me!";
mes "Please, help me!";
next;
- switch(select("What happened?:Nevermind.")) {
+ switch(select("What happened?", "Nevermind.")) {
case 1:
mes "[Dwarf]";
mes "I am Morestone and I collect rare gems.";
@@ -123,7 +123,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "I can't live without it...";
next;
if (countitem(Pickaxe) > 0) {
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
mes "[Morestone]";
@@ -138,7 +138,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "You are great! What guild are you from?";
mes "Could it be Gravity or Mercury?";
next;
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "I am a member of the ^3131FF"+.@chk_yourgdname$+"^.";
next;
mes "[Morestone]";
@@ -160,7 +160,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "If you want, I can take ^3131FFyou and your guild members^000000 to explore that area.";
mes "Do you want to go there now?";
next;
- switch(select("Wait! I'm not ready yet.:Let's go!")) {
+ switch(select("Wait! I'm not ready yet.", "Let's go!")) {
case 1:
$@gdeventv_a1 = 0;
$@gdevents_a$ = "";
@@ -205,7 +205,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "Oh, you are a member.";
mes "Would you like to go to the mysterious area?";
next;
- switch(select("Let's go.:No, thanks.")) {
+ switch(select("Let's go.", "No, thanks.")) {
case 1:
mes "[Morestone]";
mes "I hope you enjoy yourself, my friend.";
@@ -226,7 +226,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "Help me!";
mes "Please, help me!";
next;
- switch(select("What happened?:Nevermind.")) {
+ switch(select("What happened?", "Nevermind.")) {
case 1:
mes "[Dwarf]";
mes "I am Morestone and I collect rare gems.";
@@ -255,7 +255,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "I can't live without it...";
next;
if (countitem(Pickaxe) > 0) {
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
mes "[Morestone]";
@@ -270,7 +270,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "You are great! What guild are you from?";
mes "Could it be Gravity or Mercury?";
next;
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "I am a member of the ^3131FF"+.@chk_yourgdname$+"^.";
next;
mes "[Morestone]";
@@ -292,7 +292,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "If you want, I can take ^3131FFyou and your guild members^000000 to explore that area.";
mes "Do you want to go there now?";
next;
- switch(select("Wait! I'm not ready yet.:Let's go!")) {
+ switch(select("Wait! I'm not ready yet.", "Let's go!")) {
case 1:
$@gdeventv_a1 = 0;
$@gdevents_a$ = "";
@@ -348,7 +348,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "Oh, you are a member.";
mes "Would you like to go to the mysterious area?";
next;
- switch(select("Let's go.:No, thanks.")) {
+ switch(select("Let's go.", "No, thanks.")) {
case 1:
mes "[Morestone]";
mes "I hope you enjoy yourself, my friend.";
@@ -369,7 +369,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "Help me!";
mes "Please, help me!";
next;
- switch(select("What happened?:Nevermind.")) {
+ switch(select("What happened?", "Nevermind.")) {
case 1:
mes "[Dwarf]";
mes "I am Morestone and I collect rare gems.";
@@ -398,7 +398,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "I can't live without it...";
next;
if (countitem(Pickaxe) > 0) {
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
mes "[Morestone]";
@@ -413,7 +413,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "You are great! What guild are you from?";
mes "Could it be Gravity or Mercury?";
next;
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "I am a member of the ^3131FF"+.@chk_yourgdname$+"^.";
next;
mes "[Morestone]";
@@ -435,7 +435,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{
mes "If you want, I can take ^3131FFyou and your guild members^000000 to explore that area.";
mes "Do you want to go there now?";
next;
- switch(select("Wait! I'm not ready yet.:Let's go!")) {
+ switch(select("Wait! I'm not ready yet.", "Let's go!")) {
case 1:
$@gdeventv_a1 = 0;
$@gdevents_a$ = "";
@@ -521,7 +521,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "- and come back later. -";
close;
}
- if (strcharinfo(0) == getguildmaster(getcharid(2))) {
+ if (strcharinfo(PC_NAME) == getguildmaster(getcharid(CHAR_ID_GUILD))) {
if ($@gdeventv_a2 == 0) {
.@que_2143 = questprogress(2143,PLAYTIME);
if (!.@que_2143) {
@@ -546,7 +546,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "Did you get permission from Gergath?";
mapannounce "arug_que01", "Pierrot Pier: Did you get permission from Gergath?",bc_map,"0x99CC00";
next;
- switch(select("I need to check that.:No.")) {
+ switch(select("I need to check that.", "No.")) {
case 1:
mes "[Pierrot Pier]";
mes "Please give me the palm of your hand.";
@@ -620,7 +620,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "[Pierrot Pier]";
mes "Alright, would you like to play the game Gergath has prepared for you?";
next;
- switch(select("Game instructions.:Skip instructions.:Refuse game.")) {
+ switch(select("Game instructions.", "Skip instructions.", "Refuse game.")) {
case 1:
mes "[Pierrot Pier]";
mes "The game prepared by my master is very unique, yet simple and fun!";
@@ -654,7 +654,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "Okay, I'm ready to begin.";
mes "Shall we start? Beep, beep?";
next;
- switch(select("No.:Start.")) {
+ switch(select("No.", "Start.")) {
case 1:
mes "[Pierrot Pier]";
mes "Let me know when you are ready.";
@@ -728,7 +728,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "[Pierrot Pier]";
mes "What did you think?";
next;
- switch(select("It was pretty hard.:I should've been successful...")) {
+ switch(select("It was pretty hard.", "I should've been successful...")) {
case 1:
mes "[Pierrot Pier]";
mes "It's like trying to find a needle in a haystack!";
@@ -756,7 +756,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "Shall we start? Beep, beep?";
mapannounce "arug_que01", "Pierrot Pier: Okay, I'm ready to begin. Shall we start? Beep, beep?",bc_map,"0x99CC00";
next;
- switch(select("No.:Start.")) {
+ switch(select("No.", "Start.")) {
case 1:
mes "[Pierrot Pier]";
mes "Let me know when you are ready.";
@@ -884,7 +884,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{
mes "Did you get permission from the Gergath?";
mapannounce "arug_que01", "Pierrot Pier: Did you get permission from Gergath?",bc_map,"0x99CC00";
next;
- switch(select("I need to check that.:No.")) {
+ switch(select("I need to check that.", "No.")) {
case 1:
mes "[Pierrot Pier]";
mes "Please give me the palm of your hand.";
@@ -1333,7 +1333,7 @@ OnInit:
disablenpc "removepp_aru_gd";
end;
-OnTouch2:
+OnTouch:
.@paper_aru_gd = countitem(Glitering_PaperA);
.@spaper_aru_gd = countitem(Glitering_PaperB);
if ((.@paper_aru_gd > 0) || (.@spaper_aru_gd > 0)) {
@@ -1351,33 +1351,33 @@ OnMVP:
end;
OnTimer1000:
- specialeffect EF_MVP,AREA,"paper_sp_1_a";
- specialeffect EF_MVP,AREA,"paper_sp_3_a";
- specialeffect EF_MVP,AREA,"paper_sp_5_a";
- specialeffect EF_MVP,AREA,"paper_sp_7_a";
- specialeffect EF_MVP,AREA,"paper_sp_9_a";
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_1_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_3_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_5_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_7_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_9_a"));
end;
OnTimer2000:
- specialeffect EF_MVP,AREA,"paper_sp_2_a";
- specialeffect EF_MVP,AREA,"paper_sp_4_a";
- specialeffect EF_MVP,AREA,"paper_sp_6_a";
- specialeffect EF_MVP,AREA,"paper_sp_8_a";
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_2_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_4_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_6_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_8_a"));
end;
OnTimer3000:
- specialeffect EF_MVP,AREA,"paper_sp_1_a";
- specialeffect EF_MVP,AREA,"paper_sp_3_a";
- specialeffect EF_MVP,AREA,"paper_sp_5_a";
- specialeffect EF_MVP,AREA,"paper_sp_7_a";
- specialeffect EF_MVP,AREA,"paper_sp_9_a";
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_1_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_3_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_5_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_7_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_9_a"));
end;
OnTimer4000:
- specialeffect EF_MVP,AREA,"paper_sp_2_a";
- specialeffect EF_MVP,AREA,"paper_sp_4_a";
- specialeffect EF_MVP,AREA,"paper_sp_6_a";
- specialeffect EF_MVP,AREA,"paper_sp_8_a";
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_2_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_4_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_6_a"));
+ specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_8_a"));
stopnpctimer;
end;
}
@@ -1531,7 +1531,7 @@ arug_dun01,5,5,1 script Event controller#aru_gd 4_DOG01,{
} else {
mes "How can I help you?";
next;
- switch(select("Reset.:No, thanks.")) {
+ switch(select("Reset.", "No, thanks.")) {
case 1:
mes "Completed.";
donpcevent "Monster Controler1#aru::OnControler1#aru_gd";