diff options
author | Joseph Botosh <rumly111@gmail.com> | 2015-10-27 17:10:48 +0200 |
---|---|---|
committer | Joseph Botosh <rumly111@gmail.com> | 2015-10-27 17:10:48 +0200 |
commit | a50d8bb74a3e421f5af3ea81cfd3d153a923d783 (patch) | |
tree | b0a29795479bc861eadf82b805a6a97a4eb77c48 /npc | |
parent | 2e782bc2100631abb4b17c35bbe48db646b97dd8 (diff) | |
download | serverdata-a50d8bb74a3e421f5af3ea81cfd3d153a923d783.tar.gz serverdata-a50d8bb74a3e421f5af3ea81cfd3d153a923d783.tar.bz2 serverdata-a50d8bb74a3e421f5af3ea81cfd3d153a923d783.tar.xz serverdata-a50d8bb74a3e421f5af3ea81cfd3d153a923d783.zip |
Killing a Crafty teleports back to Ship
Diffstat (limited to 'npc')
-rw-r--r-- | npc/001-2-14/_import.txt | 1 | ||||
-rw-r--r-- | npc/001-2-14/_mobs.txt | 2 | ||||
-rw-r--r-- | npc/001-2-14/teleport.txt | 18 |
3 files changed, 20 insertions, 1 deletions
diff --git a/npc/001-2-14/_import.txt b/npc/001-2-14/_import.txt index 67b165096..52417d391 100644 --- a/npc/001-2-14/_import.txt +++ b/npc/001-2-14/_import.txt @@ -1,3 +1,4 @@ npc: npc/001-2-14/mapflags.txt npc: npc/001-2-14/_warps.txt npc: npc/001-2-14/_mobs.txt +npc: npc/001-2-14/teleport.txt diff --git a/npc/001-2-14/_mobs.txt b/npc/001-2-14/_mobs.txt index a183ab99e..76ab85c46 100644 --- a/npc/001-2-14/_mobs.txt +++ b/npc/001-2-14/_mobs.txt @@ -1,4 +1,4 @@ // 001-2-14 mobs // Crafty -001-2-14.gat,32,32,7,4 monster Crafty 1018,6,30000,15000 +001-2-14.gat,32,32,7,4 monster Crafty 1018,6,30000,15000,"Teleporter::OnCraftyDeath" diff --git a/npc/001-2-14/teleport.txt b/npc/001-2-14/teleport.txt new file mode 100644 index 000000000..4face1767 --- /dev/null +++ b/npc/001-2-14/teleport.txt @@ -0,0 +1,18 @@ +// Evol scripts. +// Author: +// Travolta +// Description: +// Invisible NPC to teleport player back to the Ship. + + +- script Teleporter -1,{ + +OnCraftyDeath: + if (playerattached()) + { + warp "000-2-1",50,38; + message strcharinfo(0), l("What a strange dream."); + } + end; + +} |