Nice script. Open source is win.
Quote:
Originally Posted by xXziroXx
All items are stored in .arc files (yes, laugh away Chris and Inverness)
|
When I read that I knew what I was gonna say in my reply but you had to kill it.
By the way, I have a few notes after looking through the script.
First, if the npc name is
ItemCache then you can simply use
ItemCache.varname rather than
findnpc("ItemCache").varname.
Second, would be a bit more efficient to check if an object is existing by using
varname.type() == 2 rather than
varname.objecttype() == "TStaticVar".
Third, Stefan made it so you can use
var = {} rather than
var = new[0]