|
@@ -3,7 +3,7 @@
|
|
//===== By: ==================================================
|
|
//===== By: ==================================================
|
|
//= Euphy
|
|
//= Euphy
|
|
//===== Current Version: =====================================
|
|
//===== Current Version: =====================================
|
|
-//= 1.0
|
|
|
|
|
|
+//= 1.1
|
|
//===== Compatible With: =====================================
|
|
//===== Compatible With: =====================================
|
|
//= rAthena SVN
|
|
//= rAthena SVN
|
|
//===== Description: =========================================
|
|
//===== Description: =========================================
|
|
@@ -13,6 +13,7 @@
|
|
//= 0.1 Alberta sailors only. [Euphy]
|
|
//= 0.1 Alberta sailors only. [Euphy]
|
|
//= 0.2 Adapted from Masao's conversion.
|
|
//= 0.2 Adapted from Masao's conversion.
|
|
//= 1.0 Added remaining NPCs.
|
|
//= 1.0 Added remaining NPCs.
|
|
|
|
+//= 1.1 Added Jeepney script. [DeadlySilence]
|
|
//============================================================
|
|
//============================================================
|
|
|
|
|
|
// Port Malaya Transportation
|
|
// Port Malaya Transportation
|
|
@@ -683,3 +684,251 @@ malaya,63,185,4 script Woman#ma08 583,{
|
|
mes "There is rumor that the monster came from the soul of a baby that never been born. So sad.";
|
|
mes "There is rumor that the monster came from the soul of a baby that never been born. So sad.";
|
|
close;
|
|
close;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+// Jeepneys
|
|
|
|
+//============================================================
|
|
|
|
+function script F_Malaya_Jeepney {
|
|
|
|
+ .@mapName$ = getarg(0);
|
|
|
|
+ .@passengers = getarg(1);
|
|
|
|
+
|
|
|
|
+ // set the other messages of varying amount)
|
|
|
|
+ for (.@i = 5; .@i < getargcount(); .@i++) {
|
|
|
|
+ setd(".@msgJeepneyInfo$[" + (.@i - 5) + "]", getarg(.@i));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (malaya_hi < 10) {
|
|
|
|
+ mes "[Jeepney Driver]";
|
|
|
|
+ mes getarg(2);
|
|
|
|
+ close;
|
|
|
|
+ } else if ((malaya_hi >= 10) && (malaya_hi < 20)) {
|
|
|
|
+ mes "[Jeepney Driver]";
|
|
|
|
+ mes getarg(3);
|
|
|
|
+ close;
|
|
|
|
+ } else {
|
|
|
|
+ mes "[Jeepney Driver]";
|
|
|
|
+ mes getarg(4);
|
|
|
|
+ next;
|
|
|
|
+ }
|
|
|
|
+ switch(select("Board [Passenger " + getmapusers(.@mapName$) + "/" + .@passengers +"]:Jeepney?:Are there any other Jeepneys?:Ah... Yes...")) {
|
|
|
|
+ case 1:
|
|
|
|
+ if (getmapusers(.@mapName$) >= .@passengers) {
|
|
|
|
+ mes "[Jeepney Driver]";
|
|
|
|
+ mes "I'm afraid the Jeepney is full.";
|
|
|
|
+ mes "I'm sorry but how about some other Jeepney?";
|
|
|
|
+ close;
|
|
|
|
+ } else {
|
|
|
|
+ mes "[Jeepney Driver]";
|
|
|
|
+ mes "Have a nice day.";
|
|
|
|
+ close2;
|
|
|
|
+ warp .@mapName$,29,24;
|
|
|
|
+ end;
|
|
|
|
+ }
|
|
|
|
+ case 2:
|
|
|
|
+ // iterate through all the jeepney information for this specific NPC
|
|
|
|
+ for (.@i = 0; .@i < getarraysize(.@msgJeepneyInfo$); .@i++) {
|
|
|
|
+ mes "[Jeepney Driver]";
|
|
|
|
+ mes getd(".@msgJeepneyInfo$[" + .@i + "]");
|
|
|
|
+
|
|
|
|
+ if (.@i < (getarraysize(.@msgJeepneyInfo$) - 1)) {
|
|
|
|
+ next;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ close;
|
|
|
|
+ case 3:
|
|
|
|
+ mes "[Jeepney Driver]";
|
|
|
|
+ mes "Oh! Other Jeepneys are in operation, of course.";
|
|
|
|
+ next;
|
|
|
|
+ mes "[Jeepney Driver]";
|
|
|
|
+ mes "In Port Malaya there are 12, 30 and 60 passenger Jeepneys with 3 each operating.";
|
|
|
|
+ next;
|
|
|
|
+ mes "[Jeepney Driver]";
|
|
|
|
+ mes "Would you like to know the location of other cars?";
|
|
|
|
+ next;
|
|
|
|
+ switch (select("I'd like to know where the 12 passenger car is.:I'd like to know where the 30 passenger car is.:I'd like to know where the 60 passenger car is.")) {
|
|
|
|
+ case 1:
|
|
|
|
+ viewpoint 1, 237, 240, 1, 0xF7E009;
|
|
|
|
+ viewpoint 1, 67 , 44 , 2, 0xF7E009;
|
|
|
|
+ viewpoint 1, 282, 129, 3, 0xF7E009;
|
|
|
|
+ set .@zif_in, 12;
|
|
|
|
+ break;
|
|
|
|
+ case 2:
|
|
|
|
+ viewpoint 1, 134, 250, 4, 0xF7E009;
|
|
|
|
+ viewpoint 1, 341, 153, 5, 0xF7E009;
|
|
|
|
+ viewpoint 1, 293, 290, 6, 0xF7E009;
|
|
|
|
+ set .@zif_in, 30;
|
|
|
|
+ break;
|
|
|
|
+ case 3:
|
|
|
|
+ viewpoint 1, 242, 221, 7, 0xF7E009;
|
|
|
|
+ viewpoint 1, 62 , 245, 8, 0xF7E009;
|
|
|
|
+ viewpoint 1, 257, 58 , 9, 0xF7E009;
|
|
|
|
+ set .@zif_in, 60;
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ mes "[Jeepney Driver]";
|
|
|
|
+ mes .@zif_in+" passenger Jeepney's location has been marked on your map.";
|
|
|
|
+ next;
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ mes "[Jeepney Driver]";
|
|
|
|
+ mes "Have a nice trip.";
|
|
|
|
+ close;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+malaya,237,240,4 script Jeepney Driver#01 582,{
|
|
|
|
+ callfunc(
|
|
|
|
+ "F_Malaya_Jeepney",
|
|
|
|
+ "ma_zif01",
|
|
|
|
+ 12,
|
|
|
|
+
|
|
|
|
+ // Messages for malaya_hi checks.
|
|
|
|
+ "UUrgghhhh.... I'm scared... so scared... what happened to this place?",
|
|
|
|
+ "The place is still a mess... I wonder if I can operate a jeepney here...",
|
|
|
|
+ "Ha ha ha Welcome. I am ^1561EAVol^000000, operating the 12 man Jeepney here.",
|
|
|
|
+
|
|
|
|
+ // Monologues of variable lengths.
|
|
|
|
+ "Is this your first time in Port Malaya?",
|
|
|
|
+ "Jeepney drivers here also promote Jeepneys, so let me explain them to you.",
|
|
|
|
+ "Jeepneys were first developed to transport goods quickly, but are now used as public transport.",
|
|
|
|
+ "Since everybody has different tastes, you can see those with cool and elaborate decorations.",
|
|
|
|
+ "Of course you don't need to drive them yourselves, but you can ride them so please feel free to do so."
|
|
|
|
+ );
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+malaya,67,44,4 script Jeepney Driver#02 582,{
|
|
|
|
+ callfunc(
|
|
|
|
+ "F_Malaya_Jeepney",
|
|
|
|
+ "ma_zif02",
|
|
|
|
+ 12,
|
|
|
|
+
|
|
|
|
+ "Wha... What's... Going on in that hospital...",
|
|
|
|
+ "I think the moaning coming from the hospital has lessened...",
|
|
|
|
+ "I'm ^1561EAChui^000000, operating a 12 man Jeepney. Hi there~",
|
|
|
|
+
|
|
|
|
+ "Is this your first time in Port Malaya?",
|
|
|
|
+ "Jeepney drivers here also promote Jeepneys, so let me explain them to you.",
|
|
|
|
+ "Jeepneys were first developed to transport goods quickly, but are now used as public transport.",
|
|
|
|
+ "I modified my Jeepney myself...",
|
|
|
|
+ "For safety reasons there's a limit to the number of passengers, and it's safe so no worries..."
|
|
|
|
+ );
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+malaya,282,129,4 script Jeepney Driver#03 582,{
|
|
|
|
+ callfunc(
|
|
|
|
+ "F_Malaya_Jeepney",
|
|
|
|
+ "ma_zif03",
|
|
|
|
+ 12,
|
|
|
|
+
|
|
|
|
+ "It's not good for outsiders to have a chat... Perhaps the Mumbaki Leader may have the solution for this.",
|
|
|
|
+ "Are you the adventurer who recently met Mumbaki? No wait... Then you shouldn't be here... Yes it's a ghost... Arghhhh...",
|
|
|
|
+ "The name's ^1561EATop^000000, operating one of the 3 12 man Jeepneys in town.",
|
|
|
|
+
|
|
|
|
+ "First time in town?",
|
|
|
|
+ "Jeepney drivers here also promote Jeepneys, so let me explain them to you.",
|
|
|
|
+ "Jeepneys were first developed to transport goods quickly, but are now used as public transport.",
|
|
|
|
+ "They all look different depending on their drivers...",
|
|
|
|
+ "Now it is the fame of Port Malaya."
|
|
|
|
+ );
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+malaya,134,250,6 script Jeepney Driver#04 582,{
|
|
|
|
+ callfunc(
|
|
|
|
+ "F_Malaya_Jeepney",
|
|
|
|
+ "ma_zif04",
|
|
|
|
+ 30,
|
|
|
|
+
|
|
|
|
+ "G...Go... Go away...",
|
|
|
|
+ "Arghh... Scared the devil out of me... Go away... Shoo...",
|
|
|
|
+ "^1561EABrav^000000, 30 man Jeepney driver at your service, driving as safely as I can since I get scared easily.",
|
|
|
|
+
|
|
|
|
+ "Is this your first time in Port Malaya?",
|
|
|
|
+ "Jeepneys were first developed to transport goods quickly, but are now used as public transport.",
|
|
|
|
+ "The modified cars are decorated by their operators.",
|
|
|
|
+ "You come to Port Malaya, you must ride a Jeepney.",
|
|
|
|
+ "Ha ha ha, of course you can't drive it yourself."
|
|
|
|
+ );
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+malaya,341,153,4 script Jeepney Driver#05 582,{
|
|
|
|
+ callfunc(
|
|
|
|
+ "F_Malaya_Jeepney",
|
|
|
|
+ "ma_zif05",
|
|
|
|
+ 30,
|
|
|
|
+
|
|
|
|
+ "G... Ghosts in town... Hey... Do you have one on you?",
|
|
|
|
+ "I think there are fewer ghosts now... The town is slightly quieter...",
|
|
|
|
+ "Hi I'm ^1561EALivil^000000 operator for the 30 man Jeepney. Safety is my priority.",
|
|
|
|
+
|
|
|
|
+ "First time in town?",
|
|
|
|
+ "I'll give you a quick guide as a service.",
|
|
|
|
+ "Jeepneys were first developed to transport goods quickly, but are now used as public transport.",
|
|
|
|
+ "For safety reasons, Jeepneys have a limit on the number of passengers.",
|
|
|
|
+ "Some carried 180 people, but there aren't any of those in Port Malaya today."
|
|
|
|
+ );
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+malaya,293,290,6 script Jeepney Driver#06 582,{
|
|
|
|
+ callfunc(
|
|
|
|
+ "F_Malaya_Jeepney",
|
|
|
|
+ "ma_zif06",
|
|
|
|
+ 30,
|
|
|
|
+
|
|
|
|
+ "Gu... Guards... What are the guards doing...",
|
|
|
|
+ "Did the guards finally do something? Phew... What a rush...",
|
|
|
|
+ "I'm ^1561EAGad^000000, the trustworthy 30 man Jeepney driver.",
|
|
|
|
+
|
|
|
|
+ "I see you're new to this town.",
|
|
|
|
+ "To guide travelers is also my task!! Let me explain.",
|
|
|
|
+ "Jeepneys were goods transport vehicles, now decorated and modified with Port Malaya's new technology!!",
|
|
|
|
+ "This Jeepney is my very own handiwork. Ha ha ha... It's cool right? Ha ha ha",
|
|
|
|
+ "Even though the customer is king, I can't let you drive it... Ha ha ha"
|
|
|
|
+ );
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+malaya,242,221,4 script Jeepney Driver#07 582,{
|
|
|
|
+ callfunc(
|
|
|
|
+ "F_Malaya_Jeepney",
|
|
|
|
+ "ma_zif07",
|
|
|
|
+ 60,
|
|
|
|
+
|
|
|
|
+ "Oh no... I think the whole village is bewitched by ghosts... Maybe... I should give the Mumbaki Leader a visit...",
|
|
|
|
+ "Ghost... I'm sure the Mumbaki Leader knows how to get rid of these ghosts...",
|
|
|
|
+ "^1561EAHott^000000, at your service, the safest 60 man Jeepney Operator.",
|
|
|
|
+
|
|
|
|
+ "Jeepney is the public transportation of Port Malaya.",
|
|
|
|
+ "Therefore they are everywhere. And it's free! I know they all have different passenger limits, but that's no problem because they're everywhere."
|
|
|
|
+ );
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+malaya,62,245,6 script Jeepney Driver#08 582,{
|
|
|
|
+ callfunc(
|
|
|
|
+ "F_Malaya_Jeepney",
|
|
|
|
+ "ma_zif08",
|
|
|
|
+ 60,
|
|
|
|
+
|
|
|
|
+ "Shoo~ Be gone if you're a ghost, and go away even if you're human~ Shoo~",
|
|
|
|
+ "Hey... You... Are human right? Right? Huh? Say you are... Please...",
|
|
|
|
+ "Hullo, I'm ^1561EAMuyan^000000, operator of this 60 man Jeepney. Nice to meet you.",
|
|
|
|
+
|
|
|
|
+ "Jeepneys are public transport, so safety is our priority.",
|
|
|
|
+ "My Jeepney received the best class of Port Malaya, a '60 man Jeepney' certificate.",
|
|
|
|
+ "Meaning!! That it is perfectly safe!! Don't you worry about the ride."
|
|
|
|
+ );
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+malaya,257,58,6 script Jeepney Driver#09 582,{
|
|
|
|
+ callfunc(
|
|
|
|
+ "F_Malaya_Jeepney",
|
|
|
|
+ "ma_zif09",
|
|
|
|
+ 60,
|
|
|
|
+
|
|
|
|
+ "...You're an outsider... Don't go touching anything and be careful in town...",
|
|
|
|
+ "The town is still quite dangerous. Best not touch anything until it is safe.",
|
|
|
|
+ "Hi there. I'm ^1561EAGramma^000000, Operator of the 60 man Jeepney of Port Malaya.",
|
|
|
|
+
|
|
|
|
+ "Is this your first time in Port Malaya?",
|
|
|
|
+ "We Jeepney drivers here also promote Jeepneys, so let me explain them to you.",
|
|
|
|
+ "Jeepneys were first developed to transport goods quickly, but are now used as public transport.",
|
|
|
|
+ "Since everybody have different tastes, you can see those with cool and elaborate decorations.",
|
|
|
|
+ "Of course you don't need to drive them yourselves, but you can ride them so please feel free to do so."
|
|
|
|
+ );
|
|
|
|
+}
|