*Added OnAttach trigger in order to keep system working with buildout tables

This commit is contained in:
PrisonCamp
2014-11-11 01:51:33 -08:00
parent a1be4daf1d
commit d516bfaa92
@@ -13,6 +13,14 @@ trigger OnInitialize()
return SCRIPT_CONTINUE;
}
trigger OnAttach()
{
deltadictionary dctScriptVars = self.getScriptVars();
dctScriptVars.put("numMuseumChecks", 1);
messageTo(self, "checkForMuseumBuilding", null, 60, false);
return SCRIPT_CONTINUE;
}
messageHandler checkForMuseumBuilding()
{
location here = getLocation(self);
@@ -115,4 +123,4 @@ void spawnNpc(obj_id self)
attachScript(npc, "conversation.bestine_artist06");
return;
}
}