public ScriptManager()
{
this.ItemScripts = new ItemScriptCollection();
this.AiScripts = new AiScriptCollection();
this.NpcShopScripts = new NpcShopScriptCollection();
this.QuestScripts = new QuestScriptCollection();
this.DungeonScripts = new DungeonScriptCollection();
this.PuzzleScripts = new PuzzleScriptCollection();
this.NpcScriptHooks = new NpcScriptHookCollection();
this.GlobalVars = new ScriptVariables();
if (_compilers.ContainsKey("cs"))
_compilers["cs"].PreCompilers.Add(new CSharpPreCompiler());
}