|
|
|
@ -3,7 +3,6 @@ using System.Diagnostics;
|
|
|
|
using Babushka.scripts.CSharp.Common.Inventory;
|
|
|
|
using Babushka.scripts.CSharp.Common.Inventory;
|
|
|
|
using Babushka.scripts.CSharp.Low_Code.Variables;
|
|
|
|
using Babushka.scripts.CSharp.Low_Code.Variables;
|
|
|
|
using Godot;
|
|
|
|
using Godot;
|
|
|
|
using Godot.Collections;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Babushka.scripts.CSharp.Common.Farming;
|
|
|
|
namespace Babushka.scripts.CSharp.Common.Farming;
|
|
|
|
|
|
|
|
|
|
|
|
@ -187,6 +186,7 @@ public partial class PlantBehaviour2D : Node2D
|
|
|
|
private void SetActiveHarvestablePlant(bool active)
|
|
|
|
private void SetActiveHarvestablePlant(bool active)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_harvestablePlant.IsActive = active;
|
|
|
|
_harvestablePlant.IsActive = active;
|
|
|
|
|
|
|
|
_harvestablePlant.ProcessMode = active ? ProcessModeEnum.Inherit : ProcessModeEnum.Disabled;
|
|
|
|
_harvestablePlant.UpdateVisuals();
|
|
|
|
_harvestablePlant.UpdateVisuals();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|