public override void OnUpdate() { base.OnUpdate(); if (count == 0) { Events["installExperiment"].active = expData.canInstall(part.vessel); if (Events["installExperiment"].active) { if (type == ExperimentFactory.KEMINI_EXPERIMENTS) { Events["installExperiment"].guiName = "Install & Run " + expData.getAbbreviation(); } else { Events["installExperiment"].guiName = "Install " + expData.getAbbreviation(); } } Events["moveExp"].active = expData.canMove(part.vessel); if (Events["moveExp"].active) { Events["moveExp"].guiName = "Move " + expData.getAbbreviation(); } Events["finalize"].active = expData.canFinalize(); if (Events["installExperiment"].active) { Events["finalize"].guiName = "Finalize " + expData.getAbbreviation(); } Events["DeployExperiment"].active = false; } count = (count + 1) % 3; }