summaryrefslogtreecommitdiff
path: root/npc/events/gdevent_sch.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/events/gdevent_sch.txt')
-rw-r--r--npc/events/gdevent_sch.txt77
1 files changed, 37 insertions, 40 deletions
diff --git a/npc/events/gdevent_sch.txt b/npc/events/gdevent_sch.txt
index 786164320..5ff30aa67 100644
--- a/npc/events/gdevent_sch.txt
+++ b/npc/events/gdevent_sch.txt
@@ -1,15 +1,16 @@
//===== Hercules Script ======================================
//= Guild dungeon event, Schwaltzvalt.
-//===== By: ==================================================
+//===== By: ==================================================
//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
+//===== Current Version: =====================================
+//= 1.2
+//===== Description: =========================================
//= Guild dungeon event, Schwaltzvalt. Retrieve Morestone's
//= pickaxe from Kublin.
//===== Additional Comments: =================================
//= 1.0 First version
//= 1.1 Changed spawn timer to 1 hour. [L0ne_w0lf]
+//= 1.2 Added GM management function. [Euphy]
//============================================================
schg_dun01,1,1,1 script Monster Controler#sch_gd 81,{
@@ -43,7 +44,7 @@ OnEnable:
}
end;
-Onkill:
+OnKill:
killmonster "schg_dun01","Monster Controler1#sch::OnMyMObDead";
end;
@@ -673,7 +674,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{
mes "Let me see...";
next;
if (countitem(6031) > 0) {
- donpcevent "Controller#gdevent_s::Onstop";
+ donpcevent "Controller#gdevent_s::OnStop";
set $@gdeventv_s2,3;
donpcevent "eff_mvp#sch_gd::Onmvp";
mes "[Pierrot Pier]";
@@ -815,7 +816,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{
mes "Let me see.";
next;
if (countitem(6031) > 0) {
- donpcevent "Controller#gdevent_s::Onstop";
+ donpcevent "Controller#gdevent_s::OnStop";
set $@gdeventv_s2,3;
donpcevent "eff_mvp#sch_gd::Onmvp";
mes "[Pierrot Pier]";
@@ -901,7 +902,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{
mes "When is that person coming? I am very bored~!";
close;
}
- emotion 18;
+ emotion e_heh;
mes "[Pierrot Pier]";
mes "^3131FF<Although you're a weirdo, you seem to be very dedicated>^000000. Beep beep.";
next;
@@ -925,7 +926,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{
mes "Let me see...";
next;
if (countitem(6031) > 0) {
- donpcevent "Controller#gdevent_s::Onstop";
+ donpcevent "Controller#gdevent_s::OnStop";
set $@gdeventv_s2,3;
donpcevent "eff_mvp#sch_gd::Onmvp";
mes "[Pierrot Pier]";
@@ -982,14 +983,14 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{
}
else {
mes "[Pierrot Pier]";
- mes "Voc� encontrou o tesouro?";
- mes "Mostre-me o que voc� tem nas m�os agora.";
+ mes "Did you find the treasure?";
+ mes "Show me that thing you are holding, now!";
next;
mes "[Pierrot Pier]";
- mes "Deixe-me ver...";
+ mes "Let me see...";
next;
if (countitem(6031) > 0) {
- donpcevent "Controller#gdevent_s::Onstop";
+ donpcevent "Controller#gdevent_s::OnStop";
set $@gdeventv_s2,3;
donpcevent "eff_mvp#sch_gd::Onmvp";
mes "[Pierrot Pier]";
@@ -1039,35 +1040,35 @@ Ongame_start:
donpcevent "paper_sp_9_s::OnEnable";
set .@roulette_where,rand(1,9);
if (.@roulette_where == 1) {
- donpcevent "paper_sp_1_s::Onbingo";
+ donpcevent "paper_sp_1_s::OnBingo";
}
else if (.@roulette_where == 2) {
- donpcevent "paper_sp_2_s::Onbingo";
+ donpcevent "paper_sp_2_s::OnBingo";
}
else if (.@roulette_where == 3) {
- donpcevent "paper_sp_3_s::Onbingo";
+ donpcevent "paper_sp_3_s::OnBingo";
}
else if (.@roulette_where == 4) {
- donpcevent "paper_sp_4_s::Onbingo";
+ donpcevent "paper_sp_4_s::OnBingo";
}
else if (.@roulette_where == 5) {
- donpcevent "paper_sp_5_s::Onbingo";
+ donpcevent "paper_sp_5_s::OnBingo";
}
else if (.@roulette_where == 6) {
- donpcevent "paper_sp_6_s::Onbingo";
+ donpcevent "paper_sp_6_s::OnBingo";
}
else if (.@roulette_where == 7) {
- donpcevent "paper_sp_7_s::Onbingo";
+ donpcevent "paper_sp_7_s::OnBingo";
}
else if (.@roulette_where == 8) {
- donpcevent "paper_sp_8_s::Onbingo";
+ donpcevent "paper_sp_8_s::OnBingo";
}
else {
- donpcevent "paper_sp_9_s::Onbingo";
+ donpcevent "paper_sp_9_s::OnBingo";
}
end;
-Onstop:
+OnStop:
stopnpctimer;
end;
@@ -1105,7 +1106,7 @@ OnEnable:
}
end;
-Onbingo:
+OnBingo:
set .@paper_x1,rand(81,95);
set .@paper_y1,rand(87,100);
makeitem 6031,1,"schg_que01",.@paper_x1,.@paper_y1; //Glitering_PaperB
@@ -1130,7 +1131,7 @@ OnEnable:
}
end;
-Onbingo:
+OnBingo:
set .@paper_x2,rand(96,110);
set .@paper_y2,rand(87,100);
makeitem 6031,1,"schg_que01",.@paper_x2,.@paper_y2; //Glitering_PaperB
@@ -1155,7 +1156,7 @@ OnEnable:
}
end;
-Onbingo:
+OnBingo:
set .@paper_x3,rand(111,124);
set .@paper_y3,rand(87,100);
makeitem 6031,1,"schg_que01",.@paper_x3,.@paper_y3; //Glitering_PaperB
@@ -1180,7 +1181,7 @@ OnEnable:
}
end;
-Onbingo:
+OnBingo:
set .@paper_x4,rand(81,95);
set .@paper_y4,rand(73,86);
makeitem 6031,1,"schg_que01",.@paper_x4,.@paper_y4; //Glitering_PaperB
@@ -1205,7 +1206,7 @@ OnEnable:
}
end;
-Onbingo:
+OnBingo:
set .@paper_x5,rand(96,110);
set .@paper_y5,rand(73,86);
makeitem 6031,1,"schg_que01",.@paper_x5,.@paper_y5; //Glitering_PaperB
@@ -1230,7 +1231,7 @@ OnEnable:
}
end;
-Onbingo:
+OnBingo:
set .@paper_x6,rand(111,124);
set .@paper_y6,rand(73,86);
makeitem 6031,1,"schg_que01",.@paper_x6,.@paper_y6; //Glitering_PaperB
@@ -1255,7 +1256,7 @@ OnEnable:
}
end;
-Onbingo:
+OnBingo:
set .@paper_x7,rand(81,95);
set .@paper_y7,rand(59,72);
makeitem 6031,1,"schg_que01",.@paper_x7,.@paper_y7; //Glitering_PaperB
@@ -1280,7 +1281,7 @@ OnEnable:
}
end;
-Onbingo:
+OnBingo:
set .@paper_x8,rand(96,110);
set .@paper_y8,rand(59,72);
makeitem 6031,1,"schg_que01",.@paper_x8,.@paper_y8; //Glitering_PaperB
@@ -1305,7 +1306,7 @@ OnEnable:
}
end;
-Onbingo:
+OnBingo:
set .@paper_x9,rand(111,124);
set .@paper_y9,rand(59,72);
makeitem 6031,1,"schg_que01",.@paper_x9,.@paper_y9; //Glitering_PaperB
@@ -1510,10 +1511,11 @@ schg_que01,114,105,3 duplicate(GD_Ev_Flower2) #sch_flower_53 978
schg_que01,109,105,3 duplicate(GD_Ev_Flower2) #sch_flower_54 977
schg_que01,104,105,3 duplicate(GD_Ev_Flower2) #sch_flower_55 976
-/*
schg_dun01,5,5,1 script Event controller#sch_gd 81,{
- input .@input; //,0,9999;
- if (input == 1854) {
+ if (callfunc("F_GM_NPC",1854,0) < 1) {
+ mes "Incorrect password.";
+ close;
+ } else {
mes "How can I help you?";
next;
switch(select("Reset.:No, thanks.")) {
@@ -1531,9 +1533,4 @@ schg_dun01,5,5,1 script Event controller#sch_gd 81,{
close;
}
}
- else {
- mes "Incorrect password.";
- close;
- }
}
-*/