Пример #1
0
 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));
 }
Пример #2
0
 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));
 }
Пример #3
0
 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));
 }