It doesn't check the spawn table to see what zone the mob is "supposed" to be in. Otherwise mobs that don't spawn naturally (i.e. are spawned as part of a quest) would never have a working quest file (and I know for a fact that you can give such npcs working quests).
If you have npcs in the same zone with the same name who need different quest files based upon their npcid, name the file npcid.pl. The name.pl format is optional.
As for why it didn't work when you moved an npc and quest file from one zone to another, i don't know. Its likely your quests weren't reloaded when you zoned, though. Next time when you need to reload quests, issue a #reloadpl command instead of zoning.
__________________
The PEQ Database Editor is available!
Edit Loot, NPCs, Spawns, Merchants, Factions, NPC Spell Lists, and Tradeskills with ease!
Check it out!
|