🚧 days are counted, plants know which day it is, but harvestables are still broken
This commit is contained in:
@@ -41,6 +41,9 @@ public partial class PlantBehaviour2D : Node2D
|
||||
set => _state = value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The day count at the day this plant was planted.
|
||||
/// </summary>
|
||||
public int DayPlanted { get; set; }
|
||||
|
||||
public int CurrentDayInCalendar
|
||||
@@ -70,10 +73,10 @@ public partial class PlantBehaviour2D : Node2D
|
||||
|
||||
_state = growthFloor switch
|
||||
{
|
||||
0 => PlantState.Planted,
|
||||
1 => PlantState.SmallPlant,
|
||||
2 => PlantState.BigPlant,
|
||||
_ => PlantState.Ready
|
||||
0 => PlantState.None,
|
||||
1 => PlantState.Planted,
|
||||
2 => PlantState.SmallPlant,
|
||||
_ => PlantState.BigPlant
|
||||
};
|
||||
|
||||
_calledOnReady = true;
|
||||
|
||||
Reference in New Issue
Block a user