plant-growth-sim

Simulate multi-stage plant growth with configurable definitions and environmental factors.

Updated May 16, 2026
One-click install
npx skills add https://github.com/haitao2016/--Skill --skill plant-growth-sim
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: plant-growth-sim
Source: https://github.com/haitao2016/--Skill/tree/main/plant-growth-sim
Command: npx skills add https://github.com/haitao2016/--Skill --skill plant-growth-sim

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires UrhoX Lua, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a framework for simulating plant growth in 2D and 3D environments, suitable for games and educational applications, saving developers time on complex simulation logic.

Core Features & Use Cases

  • Data-Driven Plant Definition: Customize plant species with various stages, needs, and yields.
  • Growth Engine: Simulate multi-stage growth with environmental factors.
  • Visualization: Render 3D and 2D plants, including detailed stage progression.
  • Harvest System: Track plant maturity and manage harvests.
  • Use Case: Use this Skill to create realistic farming simulations or educational plant growth applications.

Quick Start

Define a plant species with PlantDef.create({ name = "Tomato", stages = ..., needs = ..., yield = ... }). Create a growth engine with GrowthEngine.new(plant). Update the engine with plant:update(dt, env), where env includes light, water, temperature, and soil fertility factors.

Frequently Asked Questions about plant-growth-sim

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I simulate plant growth in a game using Lua?▼

To simulate plant growth in Lua, define a plant with `PlantDef.create`, instantiate `GrowthEngine.new`, and call `plant:update(dt, env)` by passing light, water, temperature, and soil fertility factors.

How does the growth engine handle environmental factors?▼

The growth engine processes environmental factors by updating plant progression through `plant:update(dt, env)`, where `env` contains variables like light, water, temperature, and soil fertility that drive multi-stage simulation.

Can I define custom plant species with specific growth stages and yields?▼

Yes, the framework enables data-driven plant definition using `PlantDef.create`, allowing you to configure custom species with specific stages, environmental needs, and harvest yields.

Does this plant growth simulation framework require UrhoX Lua?▼

Yes, this framework requires UrhoX Lua and related libraries to handle rendering and environment simulation for visualizing 2D and 3D plant growth progression.

What is the best way to build a farming simulation with multi-stage plant progression?▼

The best way to build a farming simulation is using a dedicated growth engine framework that tracks multi-stage progression, visualizes 2D and 3D plants, and manages a harvest system for mature plants.

Why does my plant growth simulation need a harvest system?▼

A harvest system tracks plant maturity and manages harvests within the simulation framework, ensuring that plants are collected only after completing their configured growth stages and yielding their defined output.