Update the PlantGrowth component and PlantGrowthSystem to improve plant growth stages based on the calendar. Introduce a new PlantDef structure with a Stages list for texture, size, and growth duration, allowing for more dynamic plant behavior. Adjust WorldScene to utilize the updated growth logic, ensuring varied initial maturity and seamless integration with the calendar system. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
23 lines
517 B
PowerShell
23 lines
517 B
PowerShell
param(
|
|
[ValidateSet("Debug", "Release")]
|
|
[string]$Configuration = "Release"
|
|
)
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
$Root = Resolve-Path (Join-Path $PSScriptRoot "..")
|
|
$Project = Join-Path $Root "src\LittleSim\LittleSim.csproj"
|
|
|
|
Push-Location $Root
|
|
try {
|
|
dotnet build LittleSim.sln -c $Configuration
|
|
if ($LASTEXITCODE -ne 0) {
|
|
exit $LASTEXITCODE
|
|
}
|
|
|
|
dotnet run --project $Project -c $Configuration --no-build @args
|
|
exit $LASTEXITCODE
|
|
}
|
|
finally {
|
|
Pop-Location
|
|
}
|