diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-1-3/thief.txt | 20 |
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; } |