Refactor plant growth system to enhance data-driven mechanics
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>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
d0f8fec273
commit
02e342cb73
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
CONFIGURATION="${CONFIGURATION:-Release}"
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case "$1" in
|
||||
-c | --configuration)
|
||||
CONFIGURATION="$2"
|
||||
shift 2
|
||||
;;
|
||||
*)
|
||||
break
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
cd "$ROOT"
|
||||
|
||||
dotnet build LittleSim.sln -c "$CONFIGURATION"
|
||||
dotnet run --project src/LittleSim/LittleSim.csproj -c "$CONFIGURATION" --no-build "$@"
|
||||
Reference in New Issue
Block a user