Fixed bug
parent
4351182984
commit
a0b6159df8
|
@ -858,14 +858,16 @@ namespace stardew_access.Features
|
||||||
|
|
||||||
string toSpeak = $"Parrot required nuts {perch.requiredNuts.Value}";
|
string toSpeak = $"Parrot required nuts {perch.requiredNuts.Value}";
|
||||||
|
|
||||||
if (perch.currentState == StardewValley.BellsAndWhistles.ParrotUpgradePerch.UpgradeState.Complete)
|
if (!perch.IsAvailable())
|
||||||
return $"Request Completed";
|
return "Empty parrot perch";
|
||||||
else if (perch.currentState == StardewValley.BellsAndWhistles.ParrotUpgradePerch.UpgradeState.Idle)
|
else if (perch.currentState.Value == StardewValley.BellsAndWhistles.ParrotUpgradePerch.UpgradeState.Idle)
|
||||||
return toSpeak;
|
return toSpeak;
|
||||||
else if (perch.currentState == StardewValley.BellsAndWhistles.ParrotUpgradePerch.UpgradeState.StartBuilding)
|
else if (perch.currentState.Value == StardewValley.BellsAndWhistles.ParrotUpgradePerch.UpgradeState.StartBuilding)
|
||||||
return "Parrots started building request";
|
return "Parrots started building request";
|
||||||
else if (perch.currentState == StardewValley.BellsAndWhistles.ParrotUpgradePerch.UpgradeState.Building)
|
else if (perch.currentState.Value == StardewValley.BellsAndWhistles.ParrotUpgradePerch.UpgradeState.Building)
|
||||||
return "Parrots building request";
|
return "Parrots building request";
|
||||||
|
else if (perch.currentState.Value == StardewValley.BellsAndWhistles.ParrotUpgradePerch.UpgradeState.Complete)
|
||||||
|
return $"Request Completed";
|
||||||
else
|
else
|
||||||
return toSpeak;
|
return toSpeak;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue