You can read and reply to posts and download all mods without registering.
We're an independent and non-profit fan-site. Find out more about us here.
class containerscript extends SqRootScript { function OnFrobWorldEnd() { if (!Quest.Get("HideInterface")) { checkEmpty(); Sound.PlayEnvSchema(self, "Event Activate", self, 0, eEnvSoundLoc.kEnvSoundAmbient); ShockGame.Container(self); } } function OnContainer() { checkEmpty(); } function checkEmpty() { if (!IsDataSet("Searched") && !Link.AnyExist("Contains", self)) { local suffix = " (searched)"; SetProperty("ObjName", ": \"" + Data.GetObjString(self, "objname") + suffix + "\""); SetProperty("ObjShort", ": \"" + Data.GetObjString(self, "objshort") + suffix + "\""); SetData("Searched", true); } }}