public override void PopulateInfoWindow(ItemToolTip infoWindow, IInventoryItem tipItem) { infoWindow.AddItemTitle(this, tipItem, 0f); infoWindow.AddConditionInfo(tipItem); infoWindow.AddSectionTitle("Weapon Stats", 20f); float single = this.recoilPitchMax + this.recoilYawMax; float single1 = 60f; float single2 = 1f / this.fireRate; if (!this.isSemiAuto) { infoWindow.AddProgressStat("Fire Rate", single2, 12f, 15f); } else { infoWindow.AddBasicLabel("Semi Automatic Weapon", 15f); } infoWindow.AddProgressStat("Damage", this.GetGUIDamage(), 100f, 15f); infoWindow.AddProgressStat("Recoil", single, single1, 15f); infoWindow.AddProgressStat("Range", this.GetBulletRange(null), 200f, 15f); infoWindow.AddItemDescription(this, 15f); infoWindow.FinishPopulating(); }