public void UpgradeNode(CreepingNodeImprovementDefinition upgrade) { this.RemoveImprovementDescriptors(this.NodeDefinition); this.RemoveConstructionCostDescriptor(); DepartmentOfTheInterior.ClearFIMSEOnCreepingNode(this.Empire, this); this.NodeDefinition = upgrade; this.PointOfInterest.CreepingNodeImprovement = this.NodeDefinition; this.MaxLife = this.ConstructionTurns * this.NodeDefinition.GrowthPerTurn; this.AddConstructionCostDescriptor(); if (!this.IsUnderConstruction) { this.CompleteUpgrade(); } }
public void ReApplyFIMSEOnCreepingNode() { DepartmentOfTheInterior.ClearFIMSEOnCreepingNode(this.Empire, this); DepartmentOfTheInterior.GenerateFIMSEForCreepingNode(this.Empire, this); }