Been playing with nwn scripting and toolset lately:
An article about a persistent world sql/odbc extensiojn:
http://nwvault.ign.com/features/interviews/Papillon013103.shtml
An system of making dynamically linked libraries:
http://nwndynlib.sourceforge.net/
Lots of model editors and viewers and file formats and a script compiler
http://www.torlack.com/
A pretty nifty looking ai system that I haven't yet digested:
http://www.summermeat.net/memeticai/index.html
The scripting reference guide:
http://www.reapers.org/nwn/reference/