public Resource_Production_Component(ConstructionItem ci, Level level) : base(ci)
 {
     this.TimeSinceLastClick     = level.Avatar.LastTick;
     this.ProductionResourceData = CSV.Tables.Get(Gamefile.Resources).GetData(((Buildings)ci.GetData()).ProducesResource) as Files.CSV_Logic.Resource;
     this.ResourcesPerHour       = ((Buildings)ci.GetData()).ResourcePer100Hours;
     this.MaxResources           = ((Buildings)ci.GetData()).ResourceMax;
 }