Exemple #1
0
 /*Delete Cosntruction Site once it's been confirmed, or no confirmation was necessary */
 public static void DeleteConstructionSiteConfirmed(RoadConstructionSite ConstructionSite)
 {
     if (ConstructionSite.helpFromFaction != null)
     {
         RoadsOfTheRim.factionsHelp.helpFinished(ConstructionSite.helpFromFaction);
     }
     RoadConstructionSite.DeleteSite(ConstructionSite);
 }
Exemple #2
0
        /*Delete Cosntruction Site once it's been confirmed, or no confirmation was necessary */
        private static void DeleteConstructionSiteConfirmed(RoadConstructionSite ConstructionSite)
        {
            if (ConstructionSite.helpFromFaction != null)
            {
                FactionsHelp.HelpFinished(ConstructionSite.helpFromFaction);
            }

            RoadConstructionSite.DeleteSite(ConstructionSite);
        }
Exemple #3
0
 public static void FinaliseConstructionSite(RoadConstructionSite site)
 {
     if (site.GetNextLeg() != null)
     {
         site.GetComponent <WorldObjectComp_ConstructionSite>().SetCosts();
         RoadBuildingState.Caravan.GetComponent <WorldObjectComp_Caravan>().StartWorking();
     }
     else
     {
         RoadConstructionSite.DeleteSite(site);
     }
 }