/// <summary> /// Add a step to the progress of the construction site. Checks if the site is allowed to progress first. /// </summary> /// <param name="message"></param> public void HandleAdvanceProgressConstructing(AdvanceProgress message) { Building.Stage stage = Building.Stages[ConstructionSite.CurrentStage - 1]; ConstructionSite.CurrentStageProgress += 1.0f / stage.Steps; }
public void HandleAdvanceProgressPreparing(AdvanceProgress message) { // This will probably be things like leveling the ground and such later. Everything that needs to be done before the actual building starts and that does not need items. ConstructionSite.CurrentStageProgress += 0.25f; }