Back to NxLabs

NxLabs / Vintage Story

Heartwood: An Ecosystem Platform

ABy Alyis

Core ecosystem simulation platform for Vintage Story.

Description

Heartwood

⚠ Early Pre-Release — Work in Progress
This mod is in active development and not feature-complete. Expect bugs, missing content, and breaking changes between versions. Save compatibility is not guaranteed during the pre-release period. Feedback and bug reports are welcome.
<section>Core ecosystem simulation platform for Vintage Story. Bridges the game to a 24/7 population server that manages persistent wildlife, habitat patches, and cross-mod coordination.</section> <article style="border: 1px solid #dee2e6; border-radius: 0.375rem; background-color: white; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);"><header style="padding: 0.5rem 1rem; background-color: #f8f9fa; border-bottom: 1px solid #dee2e6; border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; font-weight: bold;">Ecosystem Simulation</header>
<section>

Persistent Populations

Wildlife populations are simulated 24/7 by an external Go server using logistic growth models. Animals persist across chunk loads, server restarts, and player sessions.

  • Populations grow, decline, and migrate between habitat patches
  • Predator-prey dynamics with configurable food webs
  • Seasonal presence modifiers per species
  • Hunting pressure tracking &mdash; overhunting reduces local populations
</section>
<section>

Habitat Patches

The world is automatically divided into habitat patches based on temperature, rainfall, and vegetation. Species spawn only in habitats that match their ecological niche.

  • 16 habitat types from frozen tundra to tropical forest
  • Carrying capacity varies by patch size and quality
  • Migration corridors connect neighboring patches
</section>
<section>

Entity Lifecycle

Heartwood manages the full lifecycle of every entity it controls &mdash; from spawn to death.

  • Entities materialize when chunks load, persist when chunks unload
  • UUID-tagged for round-trip identity across sessions
  • Spawn suppression &mdash; native VS spawning is replaced for managed species
  • Age stages, breeding, home establishment, and natural death
</section>
<section>

Herds, Homes &amp; Settlements

The simulation tracks group behavior, territory, and NPC villages &mdash; not just individual entities.

  • Herd membership and cohesion managed server-side
  • Home/den/nest assignments with establishment and decay
  • Settlement data synced for NPC village population modeling
</section>
</article> <article style="border: 1px solid #dee2e6; border-radius: 0.375rem; background-color: white; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);"><header style="padding: 0.5rem 1rem; background-color: #f8f9fa; border-bottom: 1px solid #dee2e6; border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; font-weight: bold;">Cross-Mod Platform</header>
<section>

Addon Architecture

Heartwood doesn't add any creatures itself. Instead, addon mods register species from other mods (vanilla VS, Critters, MoreAnimals, etc.) with the ecosystem platform.

  • Wingspan &mdash; registers birds, adds flocking, nesting, birdwatching
  • Fauna &mdash; registers land animals, adds herding, denning, predator AI
  • Settlement &mdash; registers NPCs, adds autonomous villages with construction

Any mod author can write their own addon to register species with Heartwood.

</section>
<section>

Web Dashboard

Built-in web UI at localhost:8080 with real-time visualization.

  • Entity map with species color-coding and player tracking
  • Habitat patch overlay with population counts
  • Population heatmap and migration corridors
  • Species registry, event log, and settlement markers
  • Optional password authentication for remote access
</section>
</article> <article style="border: 1px solid #dee2e6; border-radius: 0.375rem; background-color: white; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);"><header style="padding: 0.5rem 1rem; background-color: #f8f9fa; border-bottom: 1px solid #dee2e6; border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; font-weight: bold;">Commands</header>

    Download

    No download link is available for this entry right now.

    Ratings & reviews

    No ratings yet

    Sign in to leave a rating or comment.