summaryrefslogtreecommitdiff
path: root/npc/003-1-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-12 18:40:03 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-12 18:40:03 -0300
commit6982d561213de03b275eb095758869ab89fdad3c (patch)
tree2c6d377f41e4da7cc2a0911a94c4fc488957e88f /npc/003-1-3
parentde73518186d79759a6f28c60691758061a102629 (diff)
downloadserverdata-6982d561213de03b275eb095758869ab89fdad3c.tar.gz
serverdata-6982d561213de03b275eb095758869ab89fdad3c.tar.bz2
serverdata-6982d561213de03b275eb095758869ab89fdad3c.tar.xz
serverdata-6982d561213de03b275eb095758869ab89fdad3c.zip
Restricted warp to 009-2 (GM-only, needed patch)
Diffstat (limited to 'npc/003-1-3')
-rw-r--r--npc/003-1-3/thief.txt20
1 files changed, 17 insertions, 3 deletions
diff --git a/npc/003-1-3/thief.txt b/npc/003-1-3/thief.txt
index faea050d5..36bf75f0c 100644
--- a/npc/003-1-3/thief.txt
+++ b/npc/003-1-3/thief.txt
@@ -2,9 +2,9 @@
// Author:
// Jesusalva
// Description:
-// Temporary NPC to block path to Halinarzo
+// Temporary NPC to block path to Halinarzo, later a controlled warp
-003-1-3,45,35,0 script Thief#temp003 NPC_PLAYER,{
+003-1-3,45,35,0 script Thief#temp003 NPC_PLAYER,0,0,{
mesn;
mesq l("I am from the Thief's Guild of Hurnscald.");
@@ -14,6 +14,20 @@
mesq l("Call the High Council, if you may. I won't free this path any time soon!");
close;
+OnTouch:
+ if (getgmlevel()) goto L_Warp; // if (BaseLevel >= 15) and this NPC must be invisible
+ warp "003-1-3", 45, 36;
+ percentheal -10,0;
+ mesn;
+ mesq l("Stop there! No one is allowed past this point! Stand back!!");
+ mes "";
+ mes col("The thief pushes you with so much strength, that you get hurt.",9);
+ close;
+
+L_Warp:
+ warp "009-2", 70, 179;
+ close;
+
OnInit:
.@npcId = getnpcid(0, .name$);
setunitdata(.@npcId, UDT_HEADTOP, 1308); // Dress
@@ -24,7 +38,7 @@ OnInit:
setunitdata(.@npcId, UDT_HAIRCOLOR, 5);
.sex = G_MALE;
- .distance = 3;
+ .distance = 4;
end;
}