Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 27 additions & 27 deletions airports/lighthalzen.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@

lhz_airport,143,43,5 script Airport Staff#lhz_air1a::lhz_airport1 90,{
mes "[Airport Staff]";
mes "Selamat datang di";
mes "Bandara Lighthalzen,";
mes "dimana kami menawarkan";
mes "penerbangan nonstop ke Einbroch, Juno dan Hugel.";
mes "Welcome to the";
mes "Lighthalzen Airport,";
mes "where we offer nonstop";
mes "flights to Einbroch, Juno and Hugel.";
next;
if (select("Board the Airship.:Cancel.") == 1) {
mes "[Airport Staff]";
mes "Biaya penerbangannya adalah";
mes "1,200 zeny, tetapi kamu dapat";
mes "dibebaskan biaya jika menukarkan";
mes "sebuah tiket gratis untuk penerbangan ini.";
mes "The boarding fee is";
mes "1,200 zeny, but you can";
mes "waive the fee if you redeem";
mes "a Free Ticket for Airship.";
next;
if (select("Yes:No") == 1) {
if (countitem(7311) > 0) {
delitem 7311,1; //Tiket_Gratis_Kapal_Udara
delitem 7311,1; //Free_Flying_Ship_Ticket
warp "lhz_airport",148,51;
end;
}
Expand All @@ -38,16 +38,16 @@ lhz_airport,143,43,5 script Airport Staff#lhz_air1a::lhz_airport1 90,{
end;
}
mes "[Airship Staff]";
mes "Maaf, tetapi kamu tidak mempunyai";
mes "1,200 zeny";
mes "untuk biaya penerbangannya.";
mes "I'm sorry, but you don't";
mes "have 1,200 zeny to pay";
mes "for the boarding fee.";
close;
}
}
mes "[Airport Staff]";
mes "Terima kasih dan";
mes "silakan datang kembali.";
mes "Semoga harimu menyenangkan~";
mes "Thank you and";
mes "please come again.";
mes "Have a good day~";
close;
}

Expand All @@ -56,28 +56,28 @@ lhz_airport,126,43,5 duplicate(lhz_airport1) Airship Staff#lhz_air1c 90

lhz_airport,143,49,3 script Arrival Staff#lhz_air2a::lhz_airport2 90,{
mes "[Arrival Staff]";
mes "Selamat datang di bandara Lighthalzen.";
mes "Izinkan saya untuk memandu kamu ke";
mes "terminal utama jika kamu tiba dari penerbangan. Jika tidak";
mes "silahkan naik ke pesawat yang hendak berangkat untuk mencapai tujuan yang kamu inginkan..";
mes "Welcome to Lighthalzen Airport.";
mes "Please let me guide you to the";
mes "main terminal if you are arriving from your flight. Otherwise, please";
mes "board the departing Airship to reach your intended destination.";
next;
if (select("Exit to main terminal.:Cancel.") == 1) {
mes "[Arrival Staff]";
mes "Setelah kamu berada di terminal utama, kamu akan dikenakan tambahan biaya lagi";
mes "untuk naik pesawat. kamu sebaiknya";
mes "keluar jika Lighthalzen adalah tujuan yang kamu maksudkan. Bagaimana kalau kita";
mes "lanjutkan untuk terminal utama?";
mes "Once you're in the main terminal, you will need to pay the fee again";
mes "to board an Airship. You should";
mes "only exit if Lighthalzen is your intended destination. Shall we";
mes "proceed to the main terminal?";
next;
if (select("Yes:No") == 1) {
warp "lhz_airport",142,40;
end;
}
}
mes "[Arrival Staff]";
mes "Baiklah, terima kasih";
mes "atas dukungannya";
mes "dan saya harap kamu memiliki";
mes "penerbangan yang menyenangkan~";
mes "Alright, thank you";
mes "for your patronage";
mes "and I hope you have";
mes "a pleasant flight~";
close;
}

Expand Down
134 changes: 67 additions & 67 deletions airports/yuno.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@

y_airport,143,43,5 script Airport Staff#y_air1a::y_airport1 90,{
mes "[Airport Staff]";
mes "Selamat datang di bandara Juno di mana kami menawarkan penerbangan domestik ke Einbroch, Lighthalzen dan Hugel";
mes "dan penerbangan internasional ke Izlude dan Rachel.";
mes "Ada yang bisa aku bantu?";
mes "Welcome to Juno Airport where we offer domestic flights to Einbroch, Lighthalzen and Hugel,";
mes "and international flights to Izlude and Rachel.";
mes "How may I be of service?";
next;
if (select("Board the Airship.:Cancel.") == 1) {
mes "[Airport Staff]";
mes "Biaya untuk semua penerbangan";
mes "adalah 1,200 zeny. Jika kamu";
mes "menggunakan tiket gratis untuk penerbangan,";
mes "biaya penerbangan akan dibebaskan. Jadi apakah kamu ingin berangkat?";
mes "The boarding fee for all";
mes "flights is 1,200 zeny. If you";
mes "use a Free Ticket for Airship,";
mes "the boarding fee will be waived.So would you like to depart?";
next;
if (select("Yes:No") == 1) {
if (countitem(7311) > 0) {
delitem 7311,1; //Tiket_Gratis_Kapal_Udara
delitem 7311,1; //Free_Flying_Ship_Ticket
warp "y_airport",148,51;
end;
}
Expand All @@ -37,15 +37,15 @@ y_airport,143,43,5 script Airport Staff#y_air1a::y_airport1 90,{
end;
}
mes "[Airport Staff]";
mes "Maaf, tetapi kamu tidak mempunyai";
mes "1,200 zeny";
mes "untuk biaya penerbangannya.";
mes "I'm sorry, but you don't";
mes "have 1,200 zeny to pay";
mes "for the boarding fee.";
close;
}
}
mes "[Airport Staff]";
mes "Terimakasih dan, ";
mes "semoga harimu menyenangkan.";
mes "Thank you and";
mes "have a nice day.";
close;
}

Expand All @@ -54,27 +54,27 @@ y_airport,126,43,5 duplicate(y_airport1) Airport Staff#y_air1c 90

y_airport,143,49,3 script Arrival Staff#y_air2a::y_airport2 90,{
mes "[Airport Staff]";
mes "Selamat datang di bandara Juno. Jika Kamu baru saja tiba dari";
mes "penerbangan, biarkan saya memandu kamu ke terminal utama.. Jika tidak, silahkan";
mes "naik ke pesawat yang hendak berangkat untuk mencapai tujuan yang kamu inginkan..";
mes "Welcome to Juno Airport. If you've just arrived from your";
mes "flight, let me guide you to the main terminal. Otherwise, please";
mes "board the departing Airship to reach your intended destination.";
next;
if (select("Exit to main terminal:Cancel") == 1) {
mes "[Airport Staff]";
mes "Ketika kamu berada di terminal utama, kamu akan dikenakan tambahan biaya lagi";
mes "untuk naik pesawat. Kamu sebaiknya keluar jika";
mes "tujuanya adalah Juno. Lanjutkan";
mes "untuk keluar ke terminal utama?";
mes "Once you're in the main terminal, you must pay the fee once again";
mes "to board a departing Airship. You should only exit if your intended";
mes "destination is Juno. Proceed to";
mes "exit to the main terminal?";
next;
if (select("Yes:No") == 1) {
warp "y_airport",142,40;
end;
}
}
mes "[Airport Staff]";
mes "Baiklah, terima kasih";
mes "atas dukungannya";
mes "dan saya harap kamu memiliki";
mes "penerbangan yang menyenangkan~";
mes "Alright, thank you";
mes "for your patronage";
mes "and I hope you have";
mes "a pleasant flight~";
close;
}

Expand All @@ -83,79 +83,79 @@ y_airport,158,50,3 duplicate(y_airport2) Arrival Staff#y_air2c 90

y_airport,145,63,5 script Domestic Boarding 91,{
mes "[Boarding Staff]";
mes "Apakah kamu ingin naik";
mes "pesawat dengan tujuan penerbangan ke Einbroch,";
mes "Lighthalzen dan Hugel? Jika iya,";
mes "izinkan saya membimbing kamu ke";
mes "Area penerbangan.";
mes "Would you like to board the";
mes "Airship that flies to Einbroch,";
mes "Lighthalzen and Hugel? If so,";
mes "please let me guide you to that";
mes "Airship's boarding area.";
next;
if (select("Yes:No") == 1) {
warp "yuno",59,244;
end;
}
mes "[Boarding Staff]";
mes "Baiklah kalau begitu.";
mes "Terimakasih atas";
mes "dukungannya, dan saya berharap";
mes "kamu bisa menikmati perjalanannya~";
mes "Very well, then.";
mes "Thank you for your";
mes "patronage, and I hope";
mes "you enjoy your travels~";
close;
}

y_airport,140,63,5 script International Boarding 91,{
mes "[Boarding Staff]";
mes "Apakah kamu ingin naik;
mes "pesawat dengan tujuan penerbangan ke";
mes "Juno, Izlude dan Rachel?";
mes "izinkan saya membimbing kamu ke";
mes "Area penerbangan.";
mes "Would you like to board";
mes "the Airship which flies to";
mes "Juno, Izlude and Rachel?";
mes "If so, let me guide";
mes "you to the boarding area.";
next;
if (select("Yes:No") == 1) {
warp "yuno",47,244;
end;
}
mes "[Boarding Staff]";
mes "Baiklah kalau begitu.";
mes "Terimakasih telah terbang";
mes "bersama kami,dan saya harap";
mes "kamu dapat menikmati perjalanan dengan";
mes "menggunakan layanan kami.";
mes "Alright, then.";
mes "Thank you for flying";
mes "with us, and I hope you";
mes "enjoy your travels on our";
mes "state of the art Airships.";
close;
}

yuno,14,262,5 script Airship Staff#yuno01 91,{
mes "[Airship Staff]";
mes "Selamat datang di bandara Juno.";
mes "Silahkan gunakan pintu ini untuk";
mes "naik pesawat yang akan";
mes "terbang ke Izlude";
mes "di Kerajaan Rune Midgard,";
mes "dan Rachel di";
mes "Republik Arunafeltz.";
mes "Welcome to Juno Airport.";
mes "Please use this door to";
mes "board the Airship that will";
mes "be flying all the way to Izlude";
mes "in the Rune-Midgarts Kingdom,";
mes "and to Rachel in the Arunafeltz";
mes "Republic.";
next;
mes "[Airship Staff]";
mes "Sebaliknya, Jika Juno";
mes "adalah tujuan yang kamu maksud,";
mes "silahkan turuni tangga";
mes "dan tanya staff kami untuk membimbing kamu";
mes "ke terminal utama. terima kasih,";
mes "dan selamat menikmati perjalanannya.";
mes "Otherwise, if Juno is";
mes "your intended destination,";
mes "please head down the stairs";
mes "and ask the Arrival Staff to lead";
mes "you to the main terminal. Thank";
mes "you, and enjoy your travels.";
close;
}

yuno,88,263,3 script Airship Staff#yuno02 91,{
mes "[Airship Staff]";
mes "Selamat datang di bandara Juno.";
mes "Silahkan gunakan pintu ini untuk";
mes "naik ke pesawat yang berhenti di";
mes "sekitar Einbroch, Lighthalzen dan";
mes "Hugel di Republik Schwaltzvalt.";
mes "Welcome to Juno Airport.";
mes "Please use this door to";
mes "board the Airship which stops";
mes "over Einbroch, Lighthalzen and";
mes "Hugel in the Schwaltzvalt Republic.";
next;
mes "[Airship Staff]";
mes "Sebaliknya, jika Juno adalah";
mes "tujuan yang kamu maksud,";
mes "silahkan turuni tangga";
mes "dan tanya staff kami untuk membimbing kamu";
mes "ke terminal utama. terima kasih,";
mes "dan selamat menikmati perjalanannya.";
mes "Otherwise, if Juno is";
mes "your intended destination,";
mes "please head down the stairs";
mes "and ask the Arrival Staff to lead";
mes "you to the main terminal. Thank";
mes "you, and enjoy your travels.";
close;
}
61 changes: 58 additions & 3 deletions battleground/bg_common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,24 @@
//===== By: ==================================================
//= ????, L0ne_W0lf
//===== Current Version: =====================================
//= 1.4
//= 1.5
//===== Compatible With: =====================================
//= rAthena 1.0
//= rAthena SVN
//===== Description: =========================================
//= [Official Conversion]
//= Battleground NPCs:
//= - Generals and Aides
//= - Battleground Warper
//= - Kafra and Repairman.
//= - GM Management NPC (disabled by default)
//= - GM Management NPC
//= - Badge Exchanger (Tierra and Flavius)
//===== Additional Comments: =================================
//= 1.0 First Version.
//= 1.1 Updated several NPCs to Official.
//= 1.2 Updated Repairman NPC
//= 1.3 Optimized "Erundek" NPC. [Euphy]
//= 1.4 Added GM management function. [Euphy]
//= 1.5 Added VIP features and created a reward function. [Euphy]
//============================================================

// Generals
Expand Down Expand Up @@ -562,3 +563,57 @@ bat_room,160,150,3 script Erundek 109,{
}
close;
}

// Badge Reward Function
//============================================================
function script F_BG_Badge {

if (getarg(2) == "Tierra") {
set .@badge,7828; //BF_Badge1
set .@amount_win,3;
set .@amount_lose,1;
} else if (getarg(2) == "Flavius") {
set .@badge,7829; //BF_Badge2
set .@amount_win,9;
set .@amount_lose,3;
} else
return;

if (getarg(0) == 1) {
set .@amount, .@amount_win;
if (getarg(1) == "Guillaume") {
mes "[Axl Rose]";
mes "Blessed Guillaume!";
} else if (getarg(1) == "Croix") {
mes "[Swandery]";
mes "Blessed Croix!";
}
mes "Let's enjoy our glorious victory!";
mes strcharinfo(0)+", it's a sign reflecting victory.";
} else {
set .@amount, .@amount_lose;
if (getarg(1) == "Guillaume") {
mes "[Axl Rose]";
mes "You lost, but you're dedicated to this battle.";
mes "This is a reward for your great dedication by Guillaume Marollo!";
mes "Just take this defeat as a lesson, and next time you will definitely win.";
} else if (getarg(1) == "Croix") {
mes "[Swandery]";
mes "Oh, "+strcharinfo(0)+" Don't be sad.";
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one.";
}
}
close2;

// If the VIP system is enabled, VIP players receive an extra 2 badges.
if (VIP_SCRIPT && vip_status(1))
set .@amount, .@amount+2;

set .@medal_gap, 500 - countitem(.@badge);
if (.@medal_gap >= .@amount)
getitem .@badge,.@amount;
else
getitem .@badge,.@medal_gap;
return;
}
Loading