Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -98,13 +98,13 @@ namespace Server.Engines.Plants
m_SeedHue |= PlantHue.Reproduces;
}
public PlantItem Plant{ get; }
public PlantItem Plant { get; }
public bool FertileDirt{ get; set; }
public bool FertileDirt { get; set; }
public DateTime NextGrowth{ get; private set; }
public DateTime NextGrowth { get; private set; }
public PlantGrowthIndicator GrowthIndicator{ get; private set; }
public PlantGrowthIndicator GrowthIndicator { get; private set; }
public bool IsFullWater => m_Water >= 4;
@ -288,7 +288,7 @@ namespace Server.Engines.Plants
public bool PollenProducing => Plant.IsCrossable && Plant.PlantStatus >= PlantStatus.FullGrownPlant;
public bool Pollinated{ get; set; }
public bool Pollinated { get; set; }
public PlantType SeedType
{
@ -624,7 +624,6 @@ namespace Server.Engines.Plants
if (Utility.RandomDouble() < infestationChance)
Infestation++;
double fungusChance = 0.15 - StrengthPotion * 0.075 + (Water - 2) * 0.10;
if (Utility.RandomDouble() < fungusChance)