summaryrefslogtreecommitdiff
path: root/npc/events/nguild/nguild_treas.txt
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-26 20:39:22 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-26 20:39:22 +0000
commita6a08b1c5d2a955cbd586d5d3c7f777e69c215ff (patch)
tree39569e6686f63454acaea1d7416f907075beb8db /npc/events/nguild/nguild_treas.txt
parente814ae4c656fe862d90e103343f70522c88f51c1 (diff)
downloadhercules-a6a08b1c5d2a955cbd586d5d3c7f777e69c215ff.tar.gz
hercules-a6a08b1c5d2a955cbd586d5d3c7f777e69c215ff.tar.bz2
hercules-a6a08b1c5d2a955cbd586d5d3c7f777e69c215ff.tar.xz
hercules-a6a08b1c5d2a955cbd586d5d3c7f777e69c215ff.zip
- Moved the anthell warp agent to the new entrance. (bugreport:2801)
- Added missing 'F_GldTreasSw' function for Novice Castles. (bugreport:3292) - Removed OnTouch trigger area from Continental Guard NPCs. - Corrected the observatory warp portal. (bugreport:3293) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13911 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/events/nguild/nguild_treas.txt')
-rw-r--r--npc/events/nguild/nguild_treas.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/npc/events/nguild/nguild_treas.txt b/npc/events/nguild/nguild_treas.txt
index 16863be8b..594eba9e6 100644
--- a/npc/events/nguild/nguild_treas.txt
+++ b/npc/events/nguild/nguild_treas.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
-//= 1.3
+//= 1.3b
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
@@ -12,6 +12,7 @@
//= 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]
//============================================================
@@ -48,6 +49,21 @@ function script F_GldTreas {
return;
}
+//==============================================================
+// Treasure Room Switch
+//===============================================================
+function script F_GldTreasSw {
+ mes " ";
+ mes "There's a small lever. Will you pull it?";
+ next;
+
+ if (select("Pull.:Do not.") == 1) {
+ warp getarg(0),getarg(1),getarg(2);
+ return;
+ }
+ close;
+}
+
//<=============================== Castle 1 =================================>\\
// Treasure Spawn -----------------------