summaryrefslogtreecommitdiff
path: root/npcs.xml
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-03-25 21:49:57 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2013-03-25 21:50:16 +0100
commite18fd05cf80aef3cf52cb8cb1cb19c3974a9f5cd (patch)
treee51a8290b7db24ce07043859573decee4fb9169e /npcs.xml
parent0f0a2c0962f02ebe7fa273284aa17ef9bc835509 (diff)
downloadclientdata-e18fd05cf80aef3cf52cb8cb1cb19c3974a9f5cd.tar.gz
clientdata-e18fd05cf80aef3cf52cb8cb1cb19c3974a9f5cd.tar.bz2
clientdata-e18fd05cf80aef3cf52cb8cb1cb19c3974a9f5cd.tar.xz
clientdata-e18fd05cf80aef3cf52cb8cb1cb19c3974a9f5cd.zip
Add new id for invisible npcs, make old id not selectable as suggested by 4144.
Previously id 127 was used for both regular npcs with an invisible sprite and npcs used for e.g. spell effects, which shouldn't be selectable, but were.
Diffstat (limited to 'npcs.xml')
-rw-r--r--npcs.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/npcs.xml b/npcs.xml
index e6be10f8..1d9db850 100644
--- a/npcs.xml
+++ b/npcs.xml
@@ -124,8 +124,11 @@
<npc id="126">
<sprite variant="26">npcs/npc.xml</sprite>
</npc>
- <!-- empty (Invisible NPC) -->
- <npc id="127">
+ <!-- empty (Invisible NPC used for magic effects) -->
+ <!-- for npc scripts with an invisible but selectable sprite you usually want 400,
+ for warps/doors use 45,
+ for 'hidden' npcs the client shouldn't know about use 32767 -->
+ <npc id="127" targetSelection="false">
<sprite variant="27">npcs/npc.xml</sprite>
</npc>
<!-- Nomad, standing -->
@@ -929,6 +932,13 @@
<npc id="375">
<sprite variant="0">npcs/npc-annualeaster.xml</sprite>
</npc>
+ <!-- empty (Invisible NPC used in scripts) -->
+ <!-- for npcs that shouldn't be selectable (e.g. in magic effects) use 127,
+ for warps/doors use 45,
+ for 'hidden' npcs the client shouldn't know about use 32767 -->
+ <npc id="400">
+ <sprite variant="27">npcs/npc.xml</sprite>
+ </npc>
<!-- Put new unique sprites above here. For huge npcs, see range 216-250. For poses/outfits npcs, see 251-299 -->
<!-- note: don't go above 999, because the 1000's are reserved for mob id -->