From d4832df6929653561e6867149e4ecaa63a860cbe Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 16 Nov 2015 16:38:21 +0100 Subject: Standardized header in scripts (part 14) - Now including GPL-compliant license/copyright info - Restored some missing copyrights - Other scripts folders Signed-off-by: Haru --- npc/other/CashShop_Functions.txt | 101 +++++++++++---------- npc/other/Global_Functions.txt | 186 ++++++++++++++++----------------------- npc/other/acolyte_warp.txt | 42 ++++++--- npc/other/arena/arena_aco.txt | 47 +++++++--- npc/other/arena/arena_lvl50.txt | 45 +++++++--- npc/other/arena/arena_lvl60.txt | 47 +++++++--- npc/other/arena/arena_lvl70.txt | 45 +++++++--- npc/other/arena/arena_lvl80.txt | 45 +++++++--- npc/other/arena/arena_party.txt | 52 +++++++---- npc/other/arena/arena_point.txt | 41 ++++++--- npc/other/arena/arena_room.txt | 47 +++++++--- npc/other/auction.txt | 57 +++++++----- npc/other/books.txt | 42 ++++++--- npc/other/bulletin_boards.txt | 59 ++++++++----- npc/other/card_trader.txt | 45 +++++++--- npc/other/comodo_gambling.txt | 64 +++++++++----- npc/other/divorce.txt | 58 +++++++----- npc/other/fortune.txt | 47 +++++++--- npc/other/gm_npcs.txt | 40 +++++++-- npc/other/guildpvp.txt | 43 ++++++--- npc/other/gympass.txt | 46 +++++++--- npc/other/hugel_bingo.txt | 54 ++++++++---- npc/other/item_merge.txt | 43 ++++++--- npc/other/mail.txt | 116 ++++++++++++------------ npc/other/marriage.txt | 55 ++++++++---- npc/other/mercenary_rent.txt | 50 +++++++---- npc/other/monster_museum.txt | 54 ++++++++---- npc/other/monster_race.txt | 70 ++++++++------- npc/other/msg_boards.txt | 69 +++++++++------ npc/other/poring_war.txt | 78 +++++++++------- npc/other/powernpc.txt | 44 ++++++--- npc/other/pvp.txt | 71 +++++++++------ npc/other/turbo_track.txt | 48 +++++++--- 33 files changed, 1237 insertions(+), 714 deletions(-) (limited to 'npc/other') diff --git a/npc/other/CashShop_Functions.txt b/npc/other/CashShop_Functions.txt index f87b191b3..ef53ef858 100644 --- a/npc/other/CashShop_Functions.txt +++ b/npc/other/CashShop_Functions.txt @@ -1,32 +1,44 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Cash Shop Functions -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.7 -//===== Description: ========================================= +//================= Description =========================================== //= Used explicitly in the Item Database for Cash shop items //= - Kafra Card //= - Giant Fly Wing //= - Neuralizer //= - Dungeon Teleport Scroll -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//= F_CashPartyCall Optimized by Trancid. -//= 1.1 Updated Dungeon Teleport Scroll. [L0ne_W0lf] -//= Added Town Teleport Scroll Function -//= Added Seige Teleport Scroll Function -//= 1.2 Updated the dungeon teleport scroll menu. [L0ne_w0lf] -//= 1.3 Implemented Aozi Giant Flywing Fix. (bugreport:4242) [L0ne_w0lf] -//= 1.4 Simplified Giant Flywing function using warpparty. [L0ne_w0lf] -//= 1.5 Neuralizer is no longer consumed upon failure. [Euphy] -//= 1.6 Updated Teleport functions and added Curious_Snowball. [Euphy] -//= 1.7 Added Dungeon Teleport Scroll II maps. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.7 +//========================================================================= -// Kafra Card -//============================================================ -// - Open player's storage. +//== Kafra Card ============================================ +// - Opens player's storage. // - No arguments. function script F_CashStore { cutin "kafra_01",2; @@ -39,11 +51,9 @@ function script F_CashStore { return; } - -// Giant Fly Wing -//============================================================ -// - Warp party leader to random spot on the map. -// - Summon Party members on party leader map to that location. +//== Giant Fly Wing ======================================== +// - Warps party leader to random spot on the map. +// - Summons Party members on party leader map to that location. // - No arguments. function script F_CashPartyCall { warp "Random",0,0; @@ -54,9 +64,8 @@ function script F_CashPartyCall { return; } -// Neuralizer -//============================================================ -// - Reset players skills. Weight must be 0, options must be off. +//== Neuralizer ============================================ +// - Resets players skills. Weight must be 0, options must be off. // - No arguments. function script F_CashReset { if (Class != Job_Novice && Weight == 0 && !checkmount() && !checkfalcon() && !checkcart() && !hascashmount()) { @@ -67,10 +76,10 @@ function script F_CashReset { return; } -// Dungeon Teleport Scroll -//============================================================ -// - Warp player to the selected dungeon. -// - Arg(0) = type of scroll. +//== Dungeon Teleport Scroll =============================== +// - Warps player to the selected dungeon. +// - Arguments: +// 0 = type of scroll. function script F_CashDungeon { switch(getarg(0)) { case 1: @@ -124,10 +133,10 @@ function script F_CashDungeon { return; } -// Coloured Butterly Wings -//============================================================ -// - Warp player to different cities acording to the scroll. -// - Arg(0) = type of scroll. +//== Colored Butterly Wings ================================ +// - Warps player to different cities according to the scroll. +// - Arguments: +// 0 = type of scroll. function script F_CashCity { switch(getarg(0)) { case 1: // Yellow - Rune-Midgart @@ -174,10 +183,10 @@ function script F_CashCity { return; } -// Teleport Scrolls -//============================================================ -// - Warp player to save point or city acording to the scroll. -// - Arg(0) = type of scroll. +//== Teleport Scrolls ====================================== +// - Warps player to save point or city according to the scroll. +// - Arguments: +// 0 = type of scroll. function script F_CashTele { switch(getarg(0)) { case 1: @@ -229,9 +238,8 @@ function script F_CashTele { return; } -// Siege Teleport Scroll -//============================================================ -// - Warp player to selected guild castle. +//== Siege Teleport Scroll ================================= +// - Warps player to selected guild castle. // - No arguments. function script F_CashSiegeTele { switch(select("Neuschwanstein (aldeg_cas01):Hohenschwangau (aldeg_cas02):Nuernberg (aldeg_cas03):Wuerzburg (aldeg_cas04):Rothenburg (aldeg_cas05):Repherion (gefg_cas01):Eeyorbriggar (gefg_cas02):Yesnelph (gefg_cas03):Bergel (gefg_cas04):Mersetzdeitz (gefg_cas05):Bright Arbor (payg_cas01):Sacred Altar (payg_cas02):Holy Shadow (payg_cas03):Scarlet Palace (payg_cas04):Bamboo Grove Hill (payg_cas05):Kriemhild (prtg_cas01):Swanhild (prtg_cas02):Fadhgridh (prtg_cas03):Skoegul (prtg_cas04):Gondul (prtg_cas05)")) { @@ -259,8 +267,7 @@ function script F_CashSiegeTele { return; } -// Curious Snowball -//============================================================ +//== Curious Snowball ====================================== // - You can get an effect of Restore, Endure, or Wing of Butterfly. // - No arguments. function script F_Snowball { diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt index 6febe2dff..aef48a489 100644 --- a/npc/other/Global_Functions.txt +++ b/npc/other/Global_Functions.txt @@ -1,57 +1,53 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) AnnieRuru +//= Copyright (C) Emistry +//= Copyright (C) Euphy +//= Copyright (C) Paradox924X +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Evera +//= Copyright (C) kobra_k88 +//= Copyright (C) Lupus +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Global Functions -//===== By: ================================================== -//= Lupus, kobra_k88 -//===== Current Version: ===================================== -//= 2.18 -//===== Description: ========================================= +//================= Description =========================================== //= General script functions. -//===== Additional Comments: ================================= -//= Added F_ClearJobVar - on getting a new job it clears all Job Quest variables -//= Removed individual job check functions as they were redundant [kobra_k88] -//= 1.3 Added Job Change Function for Baby/Normal Classes -//= 1.3b a fix, due to const.txt change [Lupus] -//= 1.4 Added Is_Taekwon_Class: Taekwondo, Star Knight(Gladiator),Soul Linker [Lupus] -//= 1.5 Added clear of Bard Quest variables. 1.5a updated [Lupus] -//= 1.6 Added F_RandMes, F_SexMes, F_Hi, F_Bye functions [Lupus] -//= Moved here useful function 'getJobName' -//= 1.7 Added "F_ItemName" function, added a great sample for "F_ItemName" -//= 1.8 Added Job Vars clear for Extended classes: TK,SL,SG [Lupus] -//= 1.9 Added "F_ClearGarbage" func that clears outdated, wasted variables [Lupus] -//= 1.91 Added "F_SaveQuestSkills","F_Load?Skills" functions [Lupus] -//= 2.0 Fixed F_Save/LoadQuestSkills functions. Had to split in into 2 vars [Lupus] -//= 2.01 Added $talk to F_ClearGarbage [Evera] -//= 2.02 Added $dtsglobalelig and $dts|(1<<6) to F_ClearGarbage [Evera] -//= 2.03 Added Gunslinger vars to F_ClearJobVar [Lupus] -//= 2.04 Added dtseligible 2 (becomes MISC_QUEST|128) to F_ClearGarbage [Evera] -//= 2.05 Book of Devil -> MISC_QUEST|256, clear other Niflheim garbage vars [Lupus] -//= +more garbage clean -//= 2.06 Pass to Bio-Lab -> MISC_QUEST|512 [Lupus] -//= 2.07 Added TK_Q variable clear. 2.08 Added NINJ_Q variable clear [Lupus] -//= 2.09 Cleared F_ClearGarbage [Lupus] -//= 2.10 Added F_CheckMaxCount to check count of carrid items. [L0ne_w0lf] -//= 2.10a Removed function F_CheckMaxCount. Not needed. [L0ne_W0lf] -//= 2.11 Updated function Job_Change to jobchange based on Upper value. [Paradox924X] -//= 2.12 Added more unused vars to F_ClearGarbage [Lupus] -//= 2.13 Added more unused vars to F_ClearGarbage [Lupus] -//= 2.14 Added old novice variables to F_ClearGarbage. [L0ne_W0lf] -//= 2.15 Added no unused DTS variables to F_ClearGarbage. [L0ne_W0lf] -//= 2.16 Added F_GetWeaponType, and F_GetArmorType. [L0ne_W0lf] -//= 2.17 Renamed 'F_RandMes' to 'F_Rand'. [Euphy] -//= 2.18 Removed useless 'getJobName' function. [Euphy] -//= 2.19 Improved 'F_InsertComma' function. [Emistry] -//= 2.20 Add 'F_ShuffleNumbers' function. [AnnieRuru] -//============================================================ - -////////////////////////////////////////////////////////////////////////////////// -// Returns a number with commas based on precision of digits and custom separator. -// -- callfunc "F_InsertComma",{,,} +//================= Current Version ======================================= +//= 2.20 +//========================================================================= + +//== Function F_InsertComma ================================ +// Returns a number with commas based on precision of digits and custom +// separator. +// callfunc "F_InsertComma",{,,} // Examples: // callfunc("F_InsertComma",7777777) // returns "7,777,777" -// callfunc("F_InsertComma",1000000000,3,",") // returns "1,000,000,000" -// callfunc("F_InsertComma",1000000000,3,"_") // returns "1_000_000_000" +// callfunc("F_InsertComma",1000000000,3,","}) // returns "1,000,000,000" +// callfunc("F_InsertComma",1000000000,3,"_"}) // returns "1_000_000_000" // callfunc("F_InsertComma",1000000000,4) // returns "10,0000,0000" -////////////////////////////////////////////////////////////////////////////////// function script F_InsertComma { .@value = getarg(0); .@precision = getarg(1,3); @@ -68,10 +64,8 @@ function script F_InsertComma { return .@str$; } -////////////////////////////////////////////////////////////////////////////////// -// Function that clears job quest variables -////////////////////////////////////////////////////////////////////////////////// - +//== Function F_ClearJobVar ================================ +// Clears job quest variables function script F_ClearJobVar { // Misc --------------------------------- JBLVL = 0; @@ -146,75 +140,50 @@ function script F_ClearGarbage { return; } -////////////////////////////////////////////////////////////////////////////////// +//== Function Job_Change =================================== // Used in REBIRTH scripts -// Class = Internal Class ID -// BaseJob = Base Job (0..23) -// Upper : 0 - Default, 1 - Advanced, 2 - Baby -////////////////////////////////////////////////////////////////////////////////// - function script Job_Change { jobchange getarg(0),Upper; //Jobchange based on Upper logmes "CLASS CHANGE: " +strcharinfo(0)+ " become a "+jobname(Class); return; } -////////////////////////////////////////////////////////////////////////////////// -// Functions used to spiff up dialoges [Lupus] -////////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_Rand" -////////////////////////////////////////////////////////////////////////////////// -//returns random argument -// Example: check F_Bye or F_Hi functions -// READ AND THINK: You can use it to pick a random number from a list: -// @itemIDfromList = callfunc("F_Rand",1129,1222,1163,1357,1360,1522,1811,1410); - +//== Function F_Rand ======================================= +// Returns a random argument +// Example: (see also F_Bye or F_Hi functions) +// .@itemIDfromList = callfunc("F_Rand",1129,1222,1163,1357,1360,1522,1811,1410); function script F_Rand { return getarg(rand(getargcount())); } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_Sex" -////////////////////////////////////////////////////////////////////////////////// -//returns 1st argument if female, 2nd argument otherwise +//== Function F_Sex ======================================== +// Returns 1st argument if female, 2nd argument otherwise // Example: mes callfunc("F_Sex","What a beautiful lady!","What a handsome man!"); - function script F_SexMes { return getarg(Sex); } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_Hi" -////////////////////////////////////////////////////////////////////////////////// -//returns random HELLO message - +//== Function F_Hi ========================================= +// Returns random HELLO message function script F_Hi { return callfunc("F_Rand","Hi!","Hello!","Good day!","How are you?","Hello there."); } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_Bye" -////////////////////////////////////////////////////////////////////////////////// -//returns random BYE message - +//== Function F_Bye ======================================== +// Returns random BYE message function script F_Bye { return callfunc("F_Rand","Bye. See you again.","Later.","Goodbye.","Good luck!","Have a nice day!","Byebye!!!"); } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_ItemName" -////////////////////////////////////////////////////////////////////////////////// +//== Function F_ItemName =================================== // Returns expanded item name string -//Argumentss -// 0 - Item ID -// 1 - Element N (0=none,1=Ice,2=Earth,3=Fire,4=Wind) -// 2 - VVS meter 0...3 -// 3 - Refine +// Arguments: +// - 0 - Item ID +// - 1 - Element N (0=none,1=Ice,2=Earth,3=Fire,4=Wind) +// - 2 - VVS meter 0...3 +// - 3 - Refine // Example: mes "Show me your "+callfunc("F_ItemName",1201,1,2,5)+"..."; // is equal to: mes "Show me your ^000090 +5 VVS Fire Knife ^000000..." - function script F_ItemName { if(getarg(3)) .@t$ += "+"+getarg(3)+" "; @@ -235,9 +204,8 @@ function script F_ItemName { return "^000090"+.@t$+getitemname(getarg(0))+"^000000"; } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_SaveQuestSkills": Store learnt quest skills -////////////////////////////////////////////////////////////////////////////////// +//== Function F_SaveQuestSkills ============================ +// Stores learned quest skills function script F_SaveQuestSkills { ADV_QSK = 0; ADV_QSK2 = 0; //1st classes quest skills @@ -251,9 +219,8 @@ function script F_SaveQuestSkills { return; } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_Load1Skills": Restore learnt 1st class quest skills -////////////////////////////////////////////////////////////////////////////////// +//== Function F_Load1Skills ================================ +// Restores learned 1st class quest skills function script F_Load1Skills { //1st classes quest skills for(.@i = 0; .@i < 14; ++.@i) { @@ -263,9 +230,8 @@ function script F_Load1Skills { return; } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_Load2Skills": Restore learnt 2nd class quest skills -////////////////////////////////////////////////////////////////////////////////// +//== Function F_Load2Skills ================================ +// Restores learned 2nd class quest skills function script F_Load2Skills { //2nd classes quest skills for (.@i = 0; .@i < 19; ++.@i) { @@ -275,9 +241,8 @@ function script F_Load2Skills { return; } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_GetWeaponType": Determine weapon type by view -////////////////////////////////////////////////////////////////////////////////// +//== Function F_GetWeaponType ============================== +// Determines weapon type by view function script F_GetWeaponType { switch(getiteminfo(getarg(0),11)) { case 1: return "Dagger"; break; @@ -307,9 +272,8 @@ function script F_GetWeaponType { end; } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_GetArmorType": Determine equipment type by equip location -////////////////////////////////////////////////////////////////////////////////// +//== Function F_GetArmorType =============================== +// Determines equipment type by equip location function script F_GetArmorType { switch(getiteminfo(getarg(0),5)) { case 001: return "Lower Headgear"; break; @@ -327,8 +291,8 @@ function script F_GetArmorType { end; } +//== Function Time2Str ===================================== // Time calculation Function -// ********************************************************************* function script Time2Str { .@time_left = getarg(0) - gettimetick(2); diff --git a/npc/other/acolyte_warp.txt b/npc/other/acolyte_warp.txt index c1b2a4b8d..da37d3b3d 100644 --- a/npc/other/acolyte_warp.txt +++ b/npc/other/acolyte_warp.txt @@ -1,16 +1,36 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2013-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Acolyte Warpers -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Warpers to various towns. -//===== Additional Comments: ================================= -//= 1.0 First version. [Euphy] -//= Unsure if this is on kRO, so disabled for now. -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= prontera,98,121,4 script Acolyte#Prtclear 4_F_01,{ mes "[Keiki]"; diff --git a/npc/other/arena/arena_aco.txt b/npc/other/arena/arena_aco.txt index d6c7943da..f9ed8c714 100644 --- a/npc/other/arena/arena_aco.txt +++ b/npc/other/arena/arena_aco.txt @@ -1,19 +1,38 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Kisuka +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Izlude Arena Script -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Acolyte Battle Arena -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Corrected variable typos. (bugreport:4374) [L0ne_w0lf] -//= 1.2 Updated 'waitingroom' to support required zeny/lvl. [Kisuka] -//= 1.3 Label standardization. [Euphy] -//= 1.4 Script updates, and removed two level restrictions. [Euphy] -//= 1.5 Added GM management function. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.5 +//========================================================================= arena_room,114,102,0 script onlyaco#arena WARPNPC,1,1,{ OnTouch: diff --git a/npc/other/arena/arena_lvl50.txt b/npc/other/arena/arena_lvl50.txt index 2c1301368..d3dc54287 100644 --- a/npc/other/arena/arena_lvl50.txt +++ b/npc/other/arena/arena_lvl50.txt @@ -1,17 +1,38 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Samuray22 +//= Copyright (C) SinSloth +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Izlude Arena Level 50 -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Battle Arena Level 50 -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Replaced effect numerics with constants. [Samuray22] -//= 1.2 Label standardization. [Euphy] -//= 1.3 Script updates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= arena_room,64,138,5 script Lv50 Waiting Room 4_F_TELEPORTER,{ end; diff --git a/npc/other/arena/arena_lvl60.txt b/npc/other/arena/arena_lvl60.txt index 71f80dcd4..167f42289 100644 --- a/npc/other/arena/arena_lvl60.txt +++ b/npc/other/arena/arena_lvl60.txt @@ -1,18 +1,39 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Samuray22 +//= Copyright (C) L0ne_W0lf +//= Copyright (C) SinSloth +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Izlude Arena Level 60 -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Battle Arena Level 60 -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Fixed coordinate typo. (bugreport:1663) [L0ne_W0lf] -//= 1.2 Replaced effect numerics with constants. [Samuray22] -//= 1.3 Label standardization. [Euphy] -//= 1.4 Script updates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= arena_room,38,88,5 script Lv60 Waiting Room 4_F_TELEPORTER,{ end; diff --git a/npc/other/arena/arena_lvl70.txt b/npc/other/arena/arena_lvl70.txt index 889089107..bf2ac5f92 100644 --- a/npc/other/arena/arena_lvl70.txt +++ b/npc/other/arena/arena_lvl70.txt @@ -1,17 +1,38 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Samuray22 +//= Copyright (C) SinSloth +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Izlude Arena Level 70 -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Battle Arena Level 70 -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Replaced effect numerics with constants. [Samuray22] -//= 1.2 Label standardization. [Euphy] -//= 1.3 Script updates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= arena_room,52,42,7 script Lv70 Waiting Room 4_F_TELEPORTER,{ end; diff --git a/npc/other/arena/arena_lvl80.txt b/npc/other/arena/arena_lvl80.txt index 1529e555d..184d2d61d 100644 --- a/npc/other/arena/arena_lvl80.txt +++ b/npc/other/arena/arena_lvl80.txt @@ -1,17 +1,38 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Samuray22 +//= Copyright (C) SinSloth +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Izlude Arena Level 80 -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Battle Arena Level 80 -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Replaced effect numerics with constants. [Samuray22] -//= 1.2 Label standardization. [Euphy] -//= 1.3 Script updates, and removed a level restriction. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= arena_room,147,42,1 script Lv80 Waiting Room 4_F_TELEPORTER,{ end; diff --git a/npc/other/arena/arena_party.txt b/npc/other/arena/arena_party.txt index ac9c5ff53..378e6de5b 100644 --- a/npc/other/arena/arena_party.txt +++ b/npc/other/arena/arena_party.txt @@ -1,20 +1,40 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Inkfish +//= Copyright (C) Samuray22 +//= Copyright (C) SinSloth +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Izlude Party Arena -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Party Battle Arena -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.0a Fixed a typo. -//= 1.1 Replaced effect numerics with constants. [Samuray22] -//= 1.2 Fixed "OnMyMobDead" doesn't work sometime. [Inkfish] -//= 1.3 Corrected donpcevent typo. (bugreport:4374) [L0ne_w0lf] -//= 1.4 Label standardization and bug fixes. [Euphy] -//= 1.5 Script updates, and removed a level restriction. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.5 +//========================================================================= arena_room,162,88,3 script Ponox 4_F_TELEPORTER,{ end; @@ -132,7 +152,7 @@ OnEnter: end; OnStop: -// broadcastinmap "toout turns off the timer." +// broadcastinmap "toout turns off the timer." stopnpctimer; end; } diff --git a/npc/other/arena/arena_point.txt b/npc/other/arena/arena_point.txt index e61db7f78..befe71d23 100644 --- a/npc/other/arena/arena_point.txt +++ b/npc/other/arena/arena_point.txt @@ -1,15 +1,36 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Point Exchanger -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Point exchanger: Turbo track points -> Arena Points -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= prt_are_in,103,11,3 script Arena Point Manager 4_M_JOB_HUNTER,{ mes "[Arena Point Manager]"; diff --git a/npc/other/arena/arena_room.txt b/npc/other/arena/arena_room.txt index 2b6a33a27..49cd8000e 100644 --- a/npc/other/arena/arena_room.txt +++ b/npc/other/arena/arena_room.txt @@ -1,19 +1,38 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) L0ne_W0lf +//= Copyright (C) SinSloth +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Izlude Arena Room -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Battle Arena Main Room -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Fixed a small reward typo (was giving potato.) [L0ne_W0lf] -//= 1.2 Label standardization, disabled GM NPCs. [Euphy] -//= 1.2a Added Renewal level checksk. [Euphy] -//= 1.3 Script updates. [Euphy] -//= 1.4 Added GM management function. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= arena_room,94,93,5 script Vendigos 4W_M_01,{ mes "[Vendigos]"; diff --git a/npc/other/auction.txt b/npc/other/auction.txt index df76daa32..42df057f6 100644 --- a/npc/other/auction.txt +++ b/npc/other/auction.txt @@ -1,21 +1,39 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Kisuka +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Auction system -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Auction house releated NPCs, and warps -//===== Additional Comments: ================================= -//= 1.0 First version, place holders only. [L0ne_W0lf] -//= 1.1 Moved Morroc Auction NPCs to Morroc Ruins. [L0ne_W0lf] -//= 1.2 Warp fixed. Dialog in Ruins/Lighthalzen changed. [Kisuka] -//= 1.3 Duplicates now spawn from floating NPCs. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= -// Auction House warpers -//============================================================ +//== Auction House warpers ================================= moc_ruins,78,173,6 script Auction Hall Guide#moc 4W_M_02,{ callfunc "F_AuctionWarper",1; } @@ -69,8 +87,7 @@ function script F_AuctionWarper { close; } -// Sign posts -//============================================================ +//== Sign posts ============================================ - script Information Post#dum::AuctionSign -1,{ mes "[Information]"; mes "Auction Warp Guide"; @@ -82,15 +99,13 @@ prontera,216,120,4 duplicate(AuctionSign) Information Post#prt 2_BULLETIN_BOARD yuno,131,116,0 duplicate(AuctionSign) Information Post#yuno 2_BULLETIN_BOARD lighthalzen,207,169,6 duplicate(AuctionSign) Information Post#lhz 2_BULLETIN_BOARD -// Warps -//============================================================ +//== Warps ================================================= auction_01,180,49,0 warp auction_entrance_moc 1,1,moc_ruins,78,171 auction_01,22,37,0 warp auction_entrance_prt 1,1,prontera,214,120 auction_02,151,17,0 warp auction_enterance_juno 1,1,yuno,132,119 auction_02,43,17,0 warp auction_enterance_lhz 1,1,lighthalzen,209,169 -// Auction House NPCs -//============================================================ +//== Auction House NPCs ==================================== - script Auction Broker#dum::AuctionBroker -1,{ mes "[Auction Broker]"; mes "Welcome to the Auction Hall."; diff --git a/npc/other/books.txt b/npc/other/books.txt index aef8a4079..3a510d94c 100644 --- a/npc/other/books.txt +++ b/npc/other/books.txt @@ -1,16 +1,36 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Prontera Library -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Various Books found in Prontera Library -//===== Additional Comments: ================================= -//= 1.0 First Version, rescripted to Aegis 10.3 standard. [L0ne_W0lf] -//= 1.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.1 +//========================================================================= prt_in,168,56,4 script Monster Encyclopedia#prt HIDDEN_NPC,{ mes "^FF0000[Monster Encyclopedia]^000000"; diff --git a/npc/other/bulletin_boards.txt b/npc/other/bulletin_boards.txt index 66e14c577..e1e0ce519 100644 --- a/npc/other/bulletin_boards.txt +++ b/npc/other/bulletin_boards.txt @@ -1,27 +1,42 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Masao +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Silent +//= Copyright (C) Kayla +//= Copyright (C) Nexon +//= Copyright (C) MasterOfMuppets +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Bulletin Boards -//===== By: ================================================== -//= MasterOfMuppets -//===== Current Version: ===================================== -//= 1.9 -//===== Description: ========================================= +//================= Description =========================================== //= Bulletin Boards for beginners. -//===== Additional Comments: ================================= -//= 1.0 Added Alberta, Prontera, Izlude, Payon, Byalan Island, -//= Archer Village, Payon Cave and Coal Mine -//= 1.1 Geffen, Orc Dungeon -//= 1.2 Added 5 more Boards [MasterOfMuppets] -//= 1.3 Fixed spelling mistakes. [Nexon] -//= 1.3a Fixed a missing close; [Nexon] -//= 1.4 Added more BBS MasterOfMuppets -//= 1.5 Added the last of the bulletin boards, I think... [MasterOfMuppets] -//= 1.5a Fixed a small screw up with the color codes in the Glastheim BB [MasterOfMuppets] -//= 1.5b Fixed another small screw up with the color codes in the Glastheim BB [Kayla] -//= 1.6 Removed Duplicates [Silent] -//= 1.7 Updated Morroc NPCs to reflect episode 12.1 changes. [L0ne_W0lf] -//= 1.8 Updated Payon Cave Bulletion Board Locations. [Masao] -//= 1.9 Moved Izlude NPC to Pre-RE path. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.9 +//========================================================================= alberta,111,59,5 script Bulletin Board#1 2_BULLETIN_BOARD,{ mes "[Alberta: The Port City]"; diff --git a/npc/other/card_trader.txt b/npc/other/card_trader.txt index 871dd805a..514a032b0 100644 --- a/npc/other/card_trader.txt +++ b/npc/other/card_trader.txt @@ -1,18 +1,37 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Elias (og2) +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Card Trader -//===== By: ================================================== -//= Elias (og2) -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= +//================= Description =========================================== //= Card and Points Trader -//===== Additional Comments: ================================= -//= 1.0 Translated from the Official [Elias] -//= 1.1 Fixed variables and optimized script [Elias] -//= 1.2 Fixed char being stuck with breaks [Elias] (bugreport:5374) -//= 1.3 Optimized: reduced from 123kb to 7kb! [Euphy] -//= 1.4 Variables don't need to load OnInit. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= prontera,115,90,0 script Putty 4_F_01,{ if (!.card[1]) { diff --git a/npc/other/comodo_gambling.txt b/npc/other/comodo_gambling.txt index e5631049b..b5df0c04d 100644 --- a/npc/other/comodo_gambling.txt +++ b/npc/other/comodo_gambling.txt @@ -1,28 +1,46 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Masao +//= Copyright (C) Kisuka +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Paradox924X +//= Copyright (C) ultramage +//= Copyright (C) Lupus +//= Copyright (C) MasterOfMuppets +//= Copyright (C) Zefris +//= Copyright (C) Cypress +//= Copyright (C) Reddozen +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Comodo Gambling -//===== By: ================================================== -//= Reddozen, Cypress, Zefris -//===== Current Version: ===================================== -//= 1.4a -//===== Description: ========================================= +//================= Description =========================================== //= Comodo Gambling: Win random Items with 3 Carat Diamonds. -//===== Additional Comments: ================================= -//= 0.1- so far just a basic setup, and working on the function -//= 0.2- fixed some spelling errors and Zeny -= (@amount * 55000)[Cypress] -//= 0.3- Revised the gambling NPC using the official Aegis script [MasterOfMuppets] -//= for information. Thanks to Zefris for doing it for me. -//= 0.4- Fixed an exploit. thanks to reddozen [MasterOfMuppets] -//= 0.5- Moved item check to the proper place [Lupus] -//= 1.0- Synced the script with aegis and reformatted it for readability [ultramage] -//= Corrected the npc giving you Cotton Shirt instead of Adventurer's Suit[1] -//= Added comments to items so people know what the NPC is about -//= Added missing emotions and cutins -//= 1.1- Updated prizes according to 11.1 NPC [Paradox924X] -//= 1.2 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 1.3 Added missing item. [Kisuka] -//= 1.4 Updated Script to match AEGIS file. [Masao] -//= 1.4a Minor script updates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.4a +//========================================================================= comodo,219,158,6 script Kachua 4_F_02,{ diff --git a/npc/other/divorce.txt b/npc/other/divorce.txt index 9ffda4910..690182c0a 100644 --- a/npc/other/divorce.txt +++ b/npc/other/divorce.txt @@ -1,26 +1,42 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Lupus +//= Copyright (C) L0ne_W0lf +//= Copyright (C) LightFighter +//= Copyright (C) Scriptor +//= Copyright (C) Perkka +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Divorcing Deviruchi -//===== By: ================================================== -//= Perkka, Scriptor, LightFighter -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Official Divorce script. -//= Added isloggedin() check, even though Aegis doesn't do it; -//= should be able to divorce even when the spouse is not online. -//===== Additional Comments: ================================= -//= Both players should be online to get divorced -//= Fixed menu [Lupus] -//= 1.1 Added check if the patner's online, added effects [Lupus] -//= 1.2 Updated to Aegis 10.3 standards. [L0ne_W0lf] -//= 1.2a Commented out check of 'wedding_sign' to let -//= old married players divorcing, optimized, fixed a bug [Lupus] -//= 1.3 Wedding variable 'wedding_sign' is now unset on divorce. [L0ne_W0lf] -//= 1.4 Removed ifpartneron check, fixed typo in percentheal. [L0ne_W0lf] -//= 1.5 Replaced effect numerics with constants. [L0ne_W0lf] -//============================================================ +//= Added isloggedin() check, even though Aegis doesn't do it; should be +//= able to divorce even when the spouse is not online. +//================= Current Version ======================================= +//= 1.5 +//========================================================================= nif_in,190,112,5 script Deviruchi#divorce 4_DEVIRUCHI,{ mes "[Deviruchi]"; diff --git a/npc/other/fortune.txt b/npc/other/fortune.txt index dad407482..fe2708adf 100644 --- a/npc/other/fortune.txt +++ b/npc/other/fortune.txt @@ -1,17 +1,42 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Fortune Teller -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.0 -//===== File Encoding ======================================== +//================= File Encoding ========================================= //= CP-949 (EUC-KR compatible). Do NOT read/save it as UTF-8. -//===== Description: ========================================= -//= [Official Conversion] +//= -If the encoding is correct, the next three lines have the same length- +//= ============ กฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤ ============ +//= ============ ============================================= ============ +//= ============ กมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกม ============ +//================= Description =========================================== //= Fortune teller NPC. Displays random Card image. -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= payon_in03,117,128,5 script Fortune Teller 4_M_BIBI,{ mes "[Lhimetorra]"; diff --git a/npc/other/gm_npcs.txt b/npc/other/gm_npcs.txt index cd34f0578..9bc79ca77 100644 --- a/npc/other/gm_npcs.txt +++ b/npc/other/gm_npcs.txt @@ -1,14 +1,36 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= GM Management NPCs -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= +//================= Description =========================================== //= Controls the official GM management NPCs in certain scripts. -//===== Additional Comments: ================================= -//= 1.0 First version. -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= // callfunc("F_GM_NPC"{,,<0:int | 1:str>{,,}}) function script F_GM_NPC { diff --git a/npc/other/guildpvp.txt b/npc/other/guildpvp.txt index b33fffeee..c5d4dcf1d 100644 --- a/npc/other/guildpvp.txt +++ b/npc/other/guildpvp.txt @@ -1,16 +1,37 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Guild Battle NPC -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Guild Battle with PVP mechanics. -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//= 1.1 Optimized. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.1 +//========================================================================= pvp_y_room,77,85,4 script Guild Battle Guide 8W_SOLDIER,{ diff --git a/npc/other/gympass.txt b/npc/other/gympass.txt index 8f5bd738d..007552964 100644 --- a/npc/other/gympass.txt +++ b/npc/other/gympass.txt @@ -1,19 +1,39 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Samuray22 +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Kisuka +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Gym Pass Cash Item NPC -//===== By: ================================================== -//= Kisuka -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Exchange Gym Passes to learn "Enlarge Weight Limit" //= iRO NPC situated in Payon beside Kafra Shop. -//===== Additional Comments: ================================= -//= 1.0 First version [L0ne_W0lf] -//= 1.1 Fixed the NPC saying you "00" [L0ne_W0lf] -//= 1.2 Replaced effect numerics with constants. [Samuray22] -//= 1.3 Updated script, and fixed potential errors. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= payon,173,141,4 script Ripped Cabus#GymPass 4_M_HUMAN_02,{ mes "[Ripped]"; diff --git a/npc/other/hugel_bingo.txt b/npc/other/hugel_bingo.txt index a31a8f47a..4713698cd 100644 --- a/npc/other/hugel_bingo.txt +++ b/npc/other/hugel_bingo.txt @@ -1,24 +1,40 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Kisuka +//= Copyright (C) Samuray22 +//= Copyright (C) Yommy +//= Copyright (C) SinSloth +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Hugel Bingo script -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.9 -//===== Description: ========================================= +//================= Description =========================================== //= Hugel Bingo game -//===== Additional Comments: ================================= -//= 1.0 First version. Please report bugs you find out. [SinSloth] -//= 1.1 Fixed a minor bug. [SinSloth] -//= 1.2 Added some Bingo Staff NPCs. [SinSloth] -//= 1.3 Fixed a bug where an AFK-player wasn't warped out of the game, -//= preventing players from launching another. [SinSloth] -//= 1.4 Fixed a minor bug added in the last revision. [SinSloth] -//= 1.5 Applied a fix to players locations which were not rotating properly. [SinSloth] -//= 1.6 Removed nescesity to win to proceed with quest [Yommy] -//= 1.7 Replaced effect numerics with constants. [Samuray22] -//= 1.8 Updated 'waitingroom' to support required zeny/lvl. [Kisuka] -//= 1.9 Some optimization/standardization. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.9 +//========================================================================= que_bingo,48,84,5 script Bingo Waiting Room 4_F_TELEPORTER,{ end; diff --git a/npc/other/item_merge.txt b/npc/other/item_merge.txt index 151251edc..b1926a49a 100644 --- a/npc/other/item_merge.txt +++ b/npc/other/item_merge.txt @@ -1,17 +1,36 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Mergician -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== +//================= Description =========================================== +//= Merges items taking up multiple slots in a player's inventory. +//================= Current Version ======================================= //= 1.0 -//===== Description: ========================================= -//= [Official Conversion] -//= Merges items taking up multiple slots in a player's -//= inventory. -//===== Additional Comments: ================================= -//= 1.0 First version, currently useless/disabled. -//= 1.1 Add support for merging items -//============================================================ +//========================================================================= prontera,146,95,3 script Mergician#pron 1_M_WIZARD,{ if (checkweight(1301,1) == 0) { diff --git a/npc/other/mail.txt b/npc/other/mail.txt index bc7825e6e..0276fc536 100644 --- a/npc/other/mail.txt +++ b/npc/other/mail.txt @@ -1,27 +1,42 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Daegaladh +//= Copyright (C) Elias +//= Copyright (C) Zephyrus +//= Copyright (C) Samuray22 +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Mail Boxes -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.8 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Pickup and write mail from/to players in game. -//===== Additional Comments: ================================= -//= 1.0 First version, place holders only. [L0ne_W0lf] -//= 1.1 Dialog updated to Official. [L0ne_W0lf] -//= 1.2 Swapped "atcommand" for "Openmail". [L0ne_W0lf] -//= 1.3 Added Veins mail box. [L0ne_W0lf] -//= 1.3a Corrected a typo error. (bugreport:798) [Samuray22] -//= 1.4 Added a Mapflag to prevent mail operations in other maps [Zephyrus] -//= 1.5 Moved Morroc Mail boxes to Morroc Ruins. [L0ne_W0lf] -//= 1.6 Duplicates now spawn from floating NPCs. [L0ne_W0lf] -//= 1.7 Updated Script from the Official. [Elias] -//= 1.8 Optimized a bit. [Daegaladh] -//============================================================ - -// Floating mailbox npc that all NPCs duplicate from. -//============================================================ +//================= Current Version ======================================= +//= 1.8 +//========================================================================= + +//== Floating mailbox npc that all NPCs duplicate from ===== - script Mailbox#dummy::MailBox -1,{ mes "[Mailbox]"; mes "To use the mailbox service,"; @@ -49,89 +64,70 @@ } } -// Prontera -//============================================================ +//== Prontera ============================================== prontera,146,86,0 duplicate(MailBox) Mailbox#prt 2_POSTBOX prontera,275,213,0 duplicate(MailBox) Mailbox#2prt 2_POSTBOX prontera,34,212,0 duplicate(MailBox) Mailbox#3prt 2_POSTBOX -// Izlude -//============================================================ +//== Izlude ================================================ izlude,136,94,0 duplicate(MailBox) Mailbox#iz 2_POSTBOX -// Morroc -//============================================================ +//== Morroc ================================================ moc_ruins,72,166,0 duplicate(MailBox) Mailbox#1moc 2_POSTBOX moc_ruins,156,52,0 duplicate(MailBox) Mailbox#2moc 2_POSTBOX -// Geffen -//============================================================ +//== Geffen ================================================ geffen,115,67,0 duplicate(MailBox) Mailbox#gef 2_POSTBOX geffen,199,125,0 duplicate(MailBox) Mailbox#2gef 2_POSTBOX -// Payon -//============================================================ +//== Payon ================================================= payon,191,104,0 duplicate(MailBox) Mailbox#pay 2_POSTBOX payon,171,226,0 duplicate(MailBox) Mailbox#2pay 2_POSTBOX pay_arche,55,127,0 duplicate(MailBox) Mailbox#3pay 2_POSTBOX -// Alberta -//============================================================ +//== Alberta =============================================== alberta,90,60,0 duplicate(MailBox) Mailbox#alb 2_POSTBOX alberta,30,240,0 duplicate(MailBox) Mailbox#2alb 2_POSTBOX -// Al De Baran -//============================================================ +//== Aldebaran ============================================= aldebaran,135,122,0 duplicate(MailBox) Mailbox#alde 2_POSTBOX -// Juno -//============================================================ +//== Juno ================================================== yuno,148,187,0 duplicate(MailBox) Mailbox#yuno 2_POSTBOX yuno,332,108,0 duplicate(MailBox) Mailbox#2yuno 2_POSTBOX -// Lightalzen -//============================================================ +//== Lightalzen ============================================ lighthalzen,164,85,0 duplicate(MailBox) Mailbox#lht 2_POSTBOX lighthalzen,196,320,0 duplicate(MailBox) Mailbox#2lht 2_POSTBOX -// Einbroch and Einbech -//============================================================ +//== Einbroch and Einbech ================================== einbroch,231,215,0 duplicate(MailBox) Mailbox#ein 2_POSTBOX einbroch,77,202,0 duplicate(MailBox) Mailbox#2ein 2_POSTBOX einbech,182,124,0 duplicate(MailBox) Mailbox#3ein 2_POSTBOX -// Comodo -//============================================================ +//== Comodo ================================================ comodo,200,150,0 duplicate(MailBox) Mailbox#cmd 2_POSTBOX -// Umbala -//============================================================ +//== Umbala ================================================ umbala,104,155,0 duplicate(MailBox) Mailbox#um 2_POSTBOX -// Amatsu -//============================================================ +//== Amatsu ================================================ amatsu,102,146,0 duplicate(MailBox) Mailbox#ama 2_POSTBOX -// Gonryun -//============================================================ +//== Kunlun ================================================ gonryun,152,117,0 duplicate(MailBox) Mailbox#gon 2_POSTBOX -// Ayothaya -//============================================================ +//== Ayothaya ============================================== ayothaya,205,169,0 duplicate(MailBox) Mailbox#ayo 2_POSTBOX -// Louyang -//============================================================ +//== Louyang =============================================== louyang,204,100,0 duplicate(MailBox) Mailbox#lou 2_POSTBOX -// Hugel -//============================================================ +//== Hugel ================================================= hugel,86,168,0 duplicate(MailBox) Mailbox#hu HIDDEN_NPC -// Rachel -//============================================================ +//== Rachel ================================================ rachel,122,146,0 duplicate(MailBox) Post Box#ra 2_POSTBOX -// Veins -//============================================================ +//== Veins ================================================= veins,218,123,0 duplicate(MailBox) Post Box#ve 2_POSTBOX diff --git a/npc/other/marriage.txt b/npc/other/marriage.txt index 80d6a675f..e576c6a6a 100644 --- a/npc/other/marriage.txt +++ b/npc/other/marriage.txt @@ -1,26 +1,43 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Player Marriage -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Official Marriage script. //= Added isloggedin() check, even though Aegis doesn't do it. //= Currently does not support same-Sex marriages. -//= Old script located in: npc/custom/marriage.txt -//= - Variable in use: wedding_sign (max 1) -//= - Variable in use: $@wedding (max 1) -//= - Variable in use: $@wed_groom$ $@wed_bride$ -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//= 1.1 Fixed a missing ")" [L0ne_W0lf] -//= 1.2 Corrected duration of Wedding status. [L0ne_W0lf] -//= 1.3 Changed permanent global variables to temporary ones. [Euphy] -//= Added GM NPCs (commented). -//= 1.4 Added GM management function. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//================= Variables Used ======================================== +//= - wedding_sign (max 1) +//= - $@wedding (max 1) +//= - $@wed_groom$ $@wed_bride$ +//========================================================================= prt_church,97,100,4 script Wedding Staff#w 1_F_LIBRARYGIRL,{ cutin "wedding_marry01",2; diff --git a/npc/other/mercenary_rent.txt b/npc/other/mercenary_rent.txt index e9c9a1275..47f38560a 100644 --- a/npc/other/mercenary_rent.txt +++ b/npc/other/mercenary_rent.txt @@ -1,20 +1,39 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Joseph +//= Copyright (C) Zephyrus +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Mercenary related NPCs -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Sells Lancer, Sword, and Archer mercenaries, //= along with related mercenary items. -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//= 1.1 Optimization. [Zephyrus] -//= 1.2 Removed redundent input. [L0ne_W0lf] -//= 1.3 Duplicates now spawned from floating NPCs. [L0ne_W0lf] -//= 1.4 Optimized and fixed wrong item id. [Joseph] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= - script Mercenary Manager#main -1,{ setarray .@name$, "Spear", "Sword", "Bow"; @@ -210,8 +229,7 @@ prontera,41,337,5 duplicate(Mercenary Manager#main) Mercenary Manager#Spear 8W_SOLDIER pay_arche,99,167,4 duplicate(Mercenary Manager#main) Mercenary Manager#Bow 4_M_JOB_HUNTER -// Mercenary Merchant NPCs -//============================================================ +//== Mercenary Merchant NPCs =============================== - script Mercenary Merchant#dummy::MercMerchant -1,{ mes "[Mercenary Goods Merchant]"; mes "Hello, I sell goods"; diff --git a/npc/other/monster_museum.txt b/npc/other/monster_museum.txt index d39b034da..4254fd055 100644 --- a/npc/other/monster_museum.txt +++ b/npc/other/monster_museum.txt @@ -1,24 +1,42 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Paradox924X +//= Copyright (C) Samuray22 +//= Copyright (C) Haplo +//= Copyright (C) Lance +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Muad_Dib (The Prometheus Project) +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Juno Monster Museum -//===== By: ================================================== -//= Muad_Dib (The Prometheus Project) -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Juno Monster Museum - Non Player Character Locations //= - Information about various monsters -//===== Additional Comments: ================================= -// 07/06/05 : Added 1st Version. [Muad_Dib] -//= Adapted to rAthena Scripting Language by [Lance] -//= 1.1a Fixed typos [Haplo] -//= 1.2 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= 1.3 Added a Missing "case 1:". [Samuray22] -// -Thanks to Dr.Evil -//= 1.4 Corrected a few typos. (bugreport:1077) [L0ne_W0lf] -//= 1.4a "S_BonusREward" -> "S_BonusReward" [Paradox924X] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= yuno_in03,32,15,3 script Museum Guide 1_F_02,{ mes "[Cenia]"; diff --git a/npc/other/monster_race.txt b/npc/other/monster_race.txt index af54e7388..4f2d27395 100644 --- a/npc/other/monster_race.txt +++ b/npc/other/monster_race.txt @@ -1,32 +1,43 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Capuche +//= Copyright (C) Joseph +//= Copyright (C) Euphy +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Hugel Monster Races -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 2.1 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= - Hugel Monster Races (Single and Double) //= - Prize Medal Exchanging, and Monster Track NPCs. //= - Contains both euRO and iRO dialog. -//===== Additional Comments: ================================= -//= 1.0 First version. Please report bugs. [L0ne_W0lf] -//= 1.1 Corrected a minor typo. [L0ne_W0lf] -//= 1.2 Replaced effect numerics with constants. [L0ne_W0lf] -//= 1.3 Ei'felle now gives Exercise. (Bugreport:4092) [L0ne_W0lf] -//= 1.4 Fixed call to a non-existant event. [L0ne_W0lf] -//= 1.5 Updated Dialog. [L0ne_W0lf] -//= 1.6 Updated experience rewards. [L0ne_W0lf] -//= 1.7 Optimization, -4000 lines (more can still be done). [Euphy] -//= 1.8 Optimized. -//= Fixed Medal Distributor (Dual Race) disappears accordingly. [Joseph] -//= 1.9 Updated RE/Pre-RE EXP. [Euphy] -//= 2.0 Added GM management NPC. [Euphy] -//= 2.1 Fixed prize in dual race and optimization. [Capuche] -//============================================================ - -// Monster Race - Single Monster Race -//============================================================ +//================= Current Version ======================================= +//= 2.1 +//========================================================================= + +//== Monster Race - Single Monster Race ==================== hugel,51,61,0 script #race_timer1-1 -1,{ OnEnable: enablenpc "#race_timer1-1"; @@ -966,8 +977,7 @@ p_track01,55,28,0 duplicate(Tire_1) Tire6#4 -1,0,0 p_track01,51,28,0 duplicate(Tire_1) Tire6#5 -1,0,0 p_track01,47,28,0 duplicate(Tire_1) Tire6#6 -1,0,0 -// Monster Race - Dual Monster Race -//============================================================ +//== Monster Race - Dual Monster Race ====================== hugel,47,56,0 script #race_timer2-1 -1,{ OnEnable: enablenpc "#race_timer2-1"; @@ -1977,8 +1987,7 @@ p_track02,55,28,0 duplicate(Tire_1) Tire#race02_6_4 -1,0,0 p_track02,51,28,0 duplicate(Tire_1) Tire#race02_6_5 -1,0,0 p_track02,47,28,0 duplicate(Tire_1) Tire#race02_6_6 -1,0,0 -// NPCs for Redeeming Prize Medals (Einbroch and Hugel) -//============================================================ +//== NPCs for Redeeming Prize Medals (Einbroch and Hugel) == ein_in01,85,208,5 script Ei'felle#repay01 4_M_EINMAN2,{ if (!ein_medal01) { mes "[Ei'felle]"; @@ -2796,8 +2805,7 @@ hugel,71,83,4 script Wayne 4_M_HUMERCHANT,{ close; } -// Monster Race Affiliated NPCs -//============================================================ +//== Monster Race Affiliated NPCs ========================== airplane,246,47,1 script Eocatt#decoy01 4_M_OILMAN,{ mes "[Eocatt]"; mes "There's an old, humble"; diff --git a/npc/other/msg_boards.txt b/npc/other/msg_boards.txt index a818cab85..db94e96e7 100644 --- a/npc/other/msg_boards.txt +++ b/npc/other/msg_boards.txt @@ -1,11 +1,38 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) SinSloth +//= Copyright (C) Silent +//= Copyright (C) Nexon +//= Copyright (C) Lupus +//= Copyright (C) L0ne_W0lf +//= Copyright (C) kobra_k88 +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Misc. Message Boards -//===== By: ================================================== -//= kobra_k88 -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.7 -//===== Description: ========================================= +//================= Description =========================================== //= Misc. Message Boards for: //= - Prontera //= - Morroc @@ -13,19 +40,11 @@ //= - Al De Baran //= - Izlude //= - Alberta -//===== Additional Comments: ================================= -//= Rearranged [Lupus] -//= Fixed spelling mistakes. [Nexon] -//= 1.3 Removed Duplicates [Silent] -//= 1.4 Rescripted to Aegis 10.3 standard. [L0ne_W0lf] -//= 1.5 Removed a duplicate related to the Sign Quest. [SinSloth] -//= 1.5 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 1.6 Commented out conflicting npcs. (bugreport:4093) [L0ne_W0lf] -//= 1.7 Moved Izlude NPCs to Pre-RE path. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.7 +//========================================================================= -// Prontera -//============================================================ +//== Prontera ============================================== prontera,158,213,1 script Sign Post#Prt1 HIDDEN_NPC,{ mes "^993300- The Sign Post Reads -^000000"; mes "North to Prontera Castle"; @@ -90,8 +109,7 @@ prontera,145,304,1 script Sign#Prt7 HIDDEN_NPC,{ close; } -// Morroc -//============================================================ +//== Morroc ================================================ morocc,144,84,1 script Sign#Moc1 HIDDEN_NPC,{ mes "^993300- The Sign Reads -^000000"; mes "Wanted: Body guard to protect my shop from thieves"; @@ -144,8 +162,7 @@ morocc,298,211,1 script Sign#Moc7 HIDDEN_NPC,{ close; } -// Geffen -//============================================================ +//== Geffen ================================================ geffen,116,58,1 script Geffen Bulletin#Gef1 HIDDEN_NPC,{ mes "^993300- The Geffen Bulletin Reads -^000000"; mes "Remember Wizard's...It's not how many skills you know, it's the magic that counts!"; @@ -196,8 +213,7 @@ geffen,183,61,1 script Sign#Gef6 HIDDEN_NPC,{ close; } -// Al De Baran -//============================================================ +//== Aldebaran ============================================= aldebaran,181,172,1 script Billboard#Alde1 HIDDEN_NPC,{ mes "^993300- The Billboard Reads -^000000"; mes "In Search of:"; @@ -235,8 +251,7 @@ aldebaran,217,222,1 script Sign#Alde5 HIDDEN_NPC,{ close; } -// Alberta -//============================================================ +//== Alberta =============================================== alberta,35,241,1 script Billboard#Alb1 HIDDEN_NPC,{ mes "^993300- The Billboard Reads -^000000"; mes "Welcome to Alberta, the Merchant's paradise."; diff --git a/npc/other/poring_war.txt b/npc/other/poring_war.txt index 6b52dd870..a4656f69e 100644 --- a/npc/other/poring_war.txt +++ b/npc/other/poring_war.txt @@ -1,22 +1,42 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Slim +//= Copyright (C) CalciumKid +//= Copyright (C) 5511 +//= Copyright (C) Kisuka +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Poring War -//===== By: ================================================== -//= Kisuka -//===== Current Version: ===================================== -//= 1.2 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Join a team in battle between Angeling and Deviling. -//===== Additional Comments: ================================= -//= 1.0 First version. [Kisuka][5511] -//= 1.1 Fixed some typos/bugs. [CalciumKid] -//= 1.1a Fixed Waiting rooms witht he default MAX_LEVEL [Slim] -//= 1.1b Fixed incorrect label calls. [Euphy] -//= 1.2 Added missing barrier resets, credits to Zopokx. [Euphy] -//============================================================ - -// Poring War Recruiter -//============================================================ +//================= Current Version ======================================= +//= 1.2 +//========================================================================= + +//== Poring War Recruiter ================================== prt_fild08,159,371,3 script Poring War Recruiter#wop 4_PORING,{ mes "[Poring]"; mes "!!!!!"; @@ -65,8 +85,7 @@ prt_fild08,159,371,3 script Poring War Recruiter#wop 4_PORING,{ } } -// Poring Vending Machine -//============================================================ +//== Poring Vending Machine ================================ poring_w01,100,97,3 script Poring Vending Machine#w 4_PORING,{ if (checkweight(714,3) == 0) { mes "- You are carrying too much items in order to use the Vending Machine. -"; @@ -218,8 +237,7 @@ S_PoringVending: close; } -// Information -//============================================================ +//== Information =========================================== poring_w01,96,97,3 script Sweet Devi#wop 4_DEVIRUCHI,{ if (MaxWeight-Weight < 2000 || checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -352,8 +370,7 @@ OnInit: end; } -// Poring Registers -//============================================================ +//== Poring Registers ====================================== poring_w01,91,97,3 script Poring#wop_door_all PORING,{ end; @@ -616,8 +633,7 @@ OnTimer65000: end; } -// Mr. Doppel -//============================================================ +//== Mr. Doppel ============================================ poring_w02,26,181,3 script Mr. Doppel#wop_team_a 8_DOPPEL,{ if (checkweight(714,3) == 0) { mes "- Wait a minute !! -"; @@ -1071,8 +1087,7 @@ OnTouch: end; } -// Poring Spawn -//============================================================ +//== Poring Spawn ========================================== poring_w02,80,82,0 script #wop_angellium1 -1,{ end; @@ -1211,8 +1226,7 @@ OnTimer120000: stopnpctimer; } -// Deviruchi -//============================================================ +//== Deviruchi ============================================= poring_w02,99,201,3 script Deviruchi#wop_endmaster 4_DEVIRUCHI,{ if (MaxWeight-Weight < 2000 || checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -1446,8 +1460,7 @@ OnTimer68100: end; } -// Gate Guardian -//============================================================ +//== Gate Guardian ========================================= poring_w02,99,52,0 script Angeling Guardian#wop_da HIDDEN_NPC,{ cutin "wop_emb0" + $@wop_doorcount_a,1; if ($@wop_doorcount_a < 4) { @@ -1642,8 +1655,7 @@ OnTouch: end; } -// Other NPCs -//============================================================ +//== Other NPCs ============================================ - script Angeling Side Poring#wpa -1,{ end; } diff --git a/npc/other/powernpc.txt b/npc/other/powernpc.txt index ad81c6438..e3b38416d 100644 --- a/npc/other/powernpc.txt +++ b/npc/other/powernpc.txt @@ -1,14 +1,38 @@ -//===== Hercules Script ====================================== -//= Official Gonryun Power Arena -//===== By: ================================================== -//= KarLaeda -//===== Current Version: ===================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) L0ne_W0lf +//= Copyright (C) KarLeada +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= +//= Official Kunlun Power Arena +//================= Description =========================================== +//= Official Kunlun Power Arena +//================= Current Version ======================================= //= 1.2 -//===== Additional Comments: ================================= -//= [Official Conversion] -//= 1.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 1.2 Cleaning. [Euphy] -//============================================================ +//========================================================================= gonryun,180,118,4 script Iron man#gnp 4_M_03,{ if (checkweight(1201,1) == 0) { diff --git a/npc/other/pvp.txt b/npc/other/pvp.txt index 70c02d1bc..436dbd9dc 100644 --- a/npc/other/pvp.txt +++ b/npc/other/pvp.txt @@ -1,23 +1,43 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Joseph +//= Copyright (C) Euphy +//= Copyright (C) Elias (og2) +//= Copyright (C) L0ne_W0lf +//= Copyright (C) kobra_k88 +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= PvP NPCs -//===== By: ================================================== -//= kobra_k88; L0ne_W0lf, Elias (og2) -//===== Current Version: ===================================== -//= 2.5 -//===== Description: ========================================= +//================= Description =========================================== //= PvP NPCs that are found in the Inns in major cities. //= Includes Yoyo Mode, Nightmare Mode, and Event Mode. -//===== Additional Comments: ================================= -//= 2.0 Narrators/GateKeepers,etc. Translated from the Official 2011 [Elias] -//= 2.1 Changed PVP Narrator and GateKeeper to Floating NPC [Elias] -//= 2.2 Some cleaning. [Euphy] -//= 2.3 Fixed grammatical errors. [Joseph] -//= 2.4 Fixed incorrect use of 'close' and some cleaning. [Joseph] -//= 2.5 Renewal/Pre-Renewal split. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 2.5 +//========================================================================= -// Information -//============================================================ +//== Information =========================================== - script PVP Narrator::pvpe -1,{ mes "[PVP Narrator]"; mes "Hello and welcome!"; @@ -171,8 +191,7 @@ geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe4 4_M_02 payon_in01,142,50,4 duplicate(pvpe) PVP Narrator#pe5 4_M_02 geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe6 4_M_02 -// Mode Select -//============================================================ +//== Mode Select =========================================== - script Gate Keeper::gkut -1,{ mes "[Gate Keeper]"; mes "Glad to be of service."; @@ -277,10 +296,8 @@ prt_in,52,140,4 duplicate(gkut) Gate Keeper#gke3 4_M_01 geffen_in,63,63,4 duplicate(gkut) Gate Keeper#gke4 4_M_01 payon_in01,140,53,4 duplicate(gkut) Gate Keeper#gke5 4_M_01 -// PVP Warper Function -//============================================================ +//== PVP Warper Function =================================== // Note: The warper NPCs are in the pre-re/re paths. - //callfunc "F_PVP_FSRS"{,,}; function script F_PVP_FSRS { if (getargcount()) { @@ -314,8 +331,7 @@ function script F_PVP_FSRS { end; } -// Event Contestant Entrance -//============================================================ +//== Event Contestant Entrance ============================= pvp_room,54,85,4 script Registration Staff#1 8W_SOLDIER,{ if (countitem(7028) == 0) { mes "[PVP Combat Square Register Staff]"; @@ -357,8 +373,7 @@ OnInit: end; } -// Spectator Entrance -//============================================================ +//== Spectator Entrance ==================================== - script Spectator's Entrance#dum::PVPSpectator -1,{ if (countitem(7029) == 0) { mes "[PVP Compete Square Register Staff]"; @@ -389,8 +404,7 @@ pvp_room,70,85,4 duplicate(PVPSpectator) Spectator's Entrance#2 8W_SOLDIER pvp_room,78,85,4 duplicate(PVPSpectator) Spectator's Entrance#3 8W_SOLDIER pvp_room,86,85,4 duplicate(PVPSpectator) Spectator's Entrance#4 8W_SOLDIER -// Spectator Warps -//============================================================ +//== Spectator Warps ======================================= - script Combat Square Staff#dum::PVPSpecWarp -1,{ OnTouch: mes "[Combat Square Staff]"; @@ -424,8 +438,7 @@ pvp_2vs2,40,40,0 script Combat Square Staff#5 WARPNPC,1,1,{ } } -// PVP Area Exit warp -//============================================================ +//== PVP Area Exit warp ==================================== pvp_room,51,19,0 script out#eventpvp WARPNPC,4,2,{ OnTouch: mes "[Combat Square Staff]"; diff --git a/npc/other/turbo_track.txt b/npc/other/turbo_track.txt index 36a1b4fe1..dbe1fb0e9 100644 --- a/npc/other/turbo_track.txt +++ b/npc/other/turbo_track.txt @@ -1,21 +1,43 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Joseph +//= Copyright (C) Elias +//= Copyright (C) Kisuka +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= //= Turbo Track -//===== By: ================================================== -//= Joseph -//===== Current Version: ===================================== -//= 1.2 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Turbo Track Course: //= - Solo Mode/Time Attack //= - Normal (Non-PVP) - 4/8/16 Person //= - Expert (PVP) - 4/8/16 Person -//===== Additional Comments: ================================= -//= 0.x Previous authors: L0ne_W0lf, Kisuka, Elias -//= 1.0 Merged Turbo Track. [Joseph] -//= 1.1 Updated RE/Pre-RE EXP. [Euphy] -//= 1.2 Added Renewal features. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.2 +//========================================================================= function script F_tt { if (compare(strnpcinfo(2),"main")) end; -- cgit v1.2.3-60-g2f50