override protected void LabourResult() { shuttle = Instantiate(Resources.Load <GameObject>("Prefs/shuttle")).GetComponent <Shuttle>(); shuttle.FirstSet(this); constructing = false; workflow -= workflowToProcess; if (showOnGUI) { hangarObserver.PrepareHangarWindow(); } UIController.current.MakeAnnouncement(Localization.GetPhrase(LocalizedPhrase.ShuttleConstructed)); }
override protected void LabourResult() { shuttleID = nextShuttleID++; status = HangarStatus.ShuttleInside; if (workersCount > 0) { FreeWorkers(); } workflow = 0f; listChangesMarkerValue++; if (showOnGUI) { hangarObserver.PrepareHangarWindow(); } GameLogUI.MakeAnnouncement(Localization.GetPhrase(LocalizedPhrase.ShuttleConstructed)); }
override protected void LabourResult(int iterations) { if (iterations < 1) { return; } shuttleID = nextShuttleID++; status = HangarStatus.ShuttleInside; if (workersCount > 0) { FreeWorkers(); } workflow = 0f; listChangesMarkerValue++; if (showOnGUI) { hangarObserver.PrepareHangarWindow(); } AnnouncementCanvasController.MakeAnnouncement(Localization.GetPhrase(LocalizedPhrase.ShuttleConstructed)); }