diff options
Diffstat (limited to 'npc/events/nguild/nguild_treas.txt')
-rw-r--r-- | npc/events/nguild/nguild_treas.txt | 79 |
1 files changed, 48 insertions, 31 deletions
diff --git a/npc/events/nguild/nguild_treas.txt b/npc/events/nguild/nguild_treas.txt index 7a7cd64c8..c2ca26451 100644 --- a/npc/events/nguild/nguild_treas.txt +++ b/npc/events/nguild/nguild_treas.txt @@ -1,22 +1,41 @@ -//===== 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) brianluau +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Lupus +//= 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 <http://www.gnu.org/licenses/>. +//========================================================================= //= War of Emperium Treasure Rooms for NGuild Guild Castles -//===== By: ================================================== -//= kobra_k88 -//===== Current Version: ===================================== +//================= Description =========================================== +//= War of Emperium Treasure Rooms for Novice Guild Castles +//================= Current Version ======================================= //= 1.3b -//===== Description: ========================================= -//= -//===== Additional Comments: ================================= -//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88] -//= 1.2 Official treasure spawn [Lupus] -//= 1.3 Added F_GldTreas function. (bugreport:1788) [L0ne_W0lf] -//= 1.3b Added F_GldTreasSw function. (bugreport:3292) [brianluau] -//============================================================ - +//========================================================================= -//================================================ -// Treasure Spawning Function -//================================================ +//== Treasure Spawning Function ============================ function script F_GldTreas { if(getarg(10) != 1) { setcastledata getarg(0),4,0; @@ -47,9 +66,7 @@ function script F_GldTreas { return; } -//============================================================== -// Treasure Room Switch -//=============================================================== +//== Treasure Room Switch ================================== function script F_GldTreasSw { mes " "; mes "There's a small lever. Will you pull it?"; @@ -62,9 +79,9 @@ function script F_GldTreasSw { close; } -//<===============================Castle 1 =================================>\\ +//== Castle 1 ============================================== -// Treasure Spawn ----------------------- +//- Treasure Spawn - nguild_alde,1,1,1 script Treasure_N01 -1,{ OnRecvCastleN01: @@ -82,15 +99,15 @@ OnDied: end; } -// Treasure Room Switch -------------------- +//- Treasure Room Switch - nguild_alde,123,223,0 script Switch#TresN01 HIDDEN_NPC,{ callfunc "F_GldTreasSw", "nguild_alde",218,176; end; } -//<================================Castle 2 ================================>\\ +//== Castle 2 ============================================== -// Treasure Spawn ---------------------------- +//- Treasure Spawn - nguild_gef,1,1,1 script Treasure_N02 -1,{ OnRecvCastleN02: @@ -108,15 +125,15 @@ OnDied: end; } -// Room Switch --------------------------------------------------------- +//- Treasure Room Switch - nguild_gef,152,117,0 script Switch#TresN02 HIDDEN_NPC,{ callfunc "F_GldTreasSw","nguild_gef",40,49; end; } -//<================================Castle 3 ================================>\\ +//== Castle 3 ============================================== -// Treasure Spawn --------------------------- +//- Treasure Spawn - nguild_pay,1,1,0 script Treasure_N03 -1,{ OnRecvCastleN03: end; @@ -133,15 +150,15 @@ OnDied: end; } -// Treasure Room Switch --------------------------------------------------- +//- Treasure Room Switch - nguild_pay,295,8,0 script Switch#TresN03 HIDDEN_NPC,{ callfunc "F_GldTreasSw", "nguild_pay",120,59; end; } -//<================================Castle 4 ================================>\\ +//== Castle 4 ============================================== -// Treasure Spawn ------------------------------- +//- Treasure Spawn - nguild_prt,1,1,0 script Treasure_N04 -1,{ OnRecvCastleN04: end; @@ -158,7 +175,7 @@ OnDied: end; } -// Treasure Room Switch ---------------------------------------------------- +//- Treasure Room Switch - nguild_prt,15,209,0 script Switch#TresN04 HIDDEN_NPC,{ callfunc "F_GldTreasSw", "nguild_prt",109,179; end; |