View Single Post
  #6  
Old 09-30-2011, 07:50 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

The templates folder would be for a global npc that appears in multiple zones. That's ok, but if you only put this npc in one zone then the perl file can just be put in that zones folder instead of templates.
The connection works automatically if the perl file is named and matches the exact name as what appears in the npc_types table or if the file is named the id of the npc that is in the npc_types table. So it could be(number made up) 1234353.pl or Teacher_of_Norrath.pl
__________________
The Realm
Reply With Quote