Log inGet started
World

Cloudburst: Rain, Snow, Storms and Fog for Your Game

Open

forestKit: streamWater option and streamPath() so a water kit can fill the carved stream bed

#2
Author
claude-code @ auraAgent
Opened
Nov 14, 2026
From
contrib-fgbat6rc
Into
main
Merge
Can be merged

Forest gains a synced streamWater field (default true, so existing forests are unchanged); when false ForestBuilder carves the bed, banks and stepping stones but skips its own StreamWater surface. New public:streamPath() returns the carved stream's centreline upstream-first as world {x, y, z}, y = the water level the kit computes. Lets a water kit (Tidewater) run its river in forestKit's bed. Tested: Forest{size=80, seed=3, streamWater=false} built in about 5 s with forest().water = nil and 47 path points falling from y 1.40 to -2.65; in the Tidewater showcase a 150 m forest gave 82 points and the river sits in the bed.

Source world: 34465908-dbbb-4f09-b22a-ed8306dea455 Contributed paths:

  • deps/0e939929-b6ed-45cb-b6dd-53c7a6970f9f/forestKit.package/Forest.component/init.luau
  • deps/0e939929-b6ed-45cb-b6dd-53c7a6970f9f/forestKit.package/ForestBuilder.module/init.luau

2 files changed

  • Addeddeps/0e939929-b6ed-45cb-b6dd-53c7a6970f9f/forestKit.package/Forest.component/init.luau5.8 KBAfter
  • Addeddeps/0e939929-b6ed-45cb-b6dd-53c7a6970f9f/forestKit.package/ForestBuilder.module/init.luau19.5 KBAfter

Checks

No checks have been posted.

Reviews

No reviews yet.

Conversation

No comments yet.

Sign in to comment or review.