fixed tree tutorial - when fighting, when not enough faith, removed old chest, fixed dogs AI - now chasing player, improved shader

This commit is contained in:
2025-03-26 14:24:52 +01:00
parent e8d15453be
commit 38b5abd77a
12 changed files with 1860 additions and 1749 deletions

View File

@@ -420,6 +420,8 @@ namespace Beyond
public void ValidateRequiredItemsToPlant(GameObject gameObject = null)
{
if (GameStateManager.Instance.CurrentState != GameStateManager.State.NORMAL)
return;
if (currentTreeState != TreeState.Empty)
{
infoTextObject.SetActive(false);
@@ -462,6 +464,8 @@ namespace Beyond
public void ValidateRequiredItemToSpeedGrow(GameObject gameObject = null)
{
if (GameStateManager.Instance.CurrentState != GameStateManager.State.NORMAL)
return;
if (currentTreeState == TreeState.FullyGrown)
{
ResetInteractionButtonImage();