Regrowth

From Don't Starve Wiki
Jump to navigation Jump to search

Exclusive to: Don't Starve Together icon.png
Regrowth is a mechanic in Don't Starve Together. There are four main mechanisms for regrowth, which work slightly differently: Regrowth[1], Offspring Regrowth[2], Desolation Regrowth[3], and Resource Renewal[4]. Only the first three are configurable. On the World Customization Screen, the regrowth setting sets a multiplier on how quickly each of these regrowths happen (from Very Slow to Very Fast, 0.15, 0.33, 1, 3, 7). For all types of regrowth, it only decreases the timer for the regrowth time while that entity is in its regrowth season. For example, desolation regrowth time for a Blue Mushtree is 50 days, and their season is Winter, so it will only try to spawn once every 3.33 winters.

Regrowth

After one of these entities is destroyed, the game will try to place a new one after the regrowth time has passed. The game picks a point within 5 tiles of the original spot. It must meet certain conditions, including: the same terrain type, plantable, not on a road, has no entities within 3 units, and no structures/walls/regrowth blockers within 5 tiles. If a player is within 19.2 tiles, it waits (retries every ~29 s) without resetting the full regrowth timer; if a placement check fails, it resets the full regrowth timer and tries again after another period.

Entity Regrowth Time Regrowth Condition / Season
Carrot planted.png
12.5 days Not Winter or night.
Flower.png
30 seconds While the ground is very wet, but not during rain, night, or Winter. Double rate during Spring.
Rabbit Hole.png
5 days Summer.
Hollow Stump.png
9.375 days in Autumn.
18.75 days in Spring.
The base timer is 9.375 days. Paused during Winter and Summer.
Slowed by 50% during Spring, meaning it takes twice as long.
Single Light Flower.png
5 days Any time.
Reeds.png
5 days Spring.
Cactus.png / Oasis Cactus.png 20 days (base timer) The base timer is true for Autumn and Spring. Paused in Winter.
Twice as fast in Summer. Slowed by 20% during Rain.
Cave Banana Tree.png
5 days Not affected by seasons, weather, or time of the day.
Red Mushroom.png / Green Mushroom.png / Blue Mushroom.png 20 days (base timer) When destroyed (dug up or burnt).
Regrowth is twice as fast at certain times: Red at Day, Green at Dusk, and Blue at Night.
Planted Mandrake.png
12.5 days Only when planted form burns. Not affected by seasons, weather, or time of the day.

Note that although flowers do not regrow during the rain, new flowers still spawn during rain like they do in single-player Reign of Giants.

Offspring Regrowth

This is intended to give the effect of forests growing and reclaiming land. Each tree has a timer after which it will try to spawn a sapling of the same type nearby. If there are fewer than 5 other trees of the same type in the radius that would have 5 such trees at worldgen, then it will succeed in spawning one. Offspring Regrowth doesn't occur within a 2-tile distance of structures, or around a 0.75-tile radius of any object.

Tree Regrowth Time Regrowth Season
Evergreen.png
5 days Not Winter. Doubled rate in Summer.
Lumpy Evergreen.png
8 days Any season.
Twiggy Tree.png
8 days Any season.
Birchnut Tree.png
3 days Spring.
Mushtree.png
3 days Winter.
MushtreeRed.png
3 days Summer.
MushtreeGreen.png
3 days Spring.
Lune Tree.png
3 days Based on Moon Cycle.
From 0 - 2x at Full Moon.
Lunar Mushtree.png
3 days Winter.
Palmcone Tree.png
3 days Not Winter.
Boulderbough Build.png
8 days Any season.

Desolation Regrowth

Desolation regrowth is intended to spawn trees in areas they belong in after the area has had all or almost all of its trees destroyed, such as by an out of control forest fire. Desolation regrowth cannot occur if there are any of the same type of tree within a 12.5-tile radius, and base structures or walls within 5 tiles, or any entities at all within 3 units (almost a tile). The regrowth will start in their sapling stage (except for Mushtrees, which are immediately Mushtrees).

Tree Regrowth Time Regrowth Season
Evergreen.png
50 days Not Winter. Doubled rate in Summer.
Lumpy Evergreen.png
50 days Any season.
Twiggy Tree.png
50 days Any season.
Birchnut Tree.png
50 days Spring.
Mushtree.png
50 days Winter.
MushtreeRed.png
50 days Summer.
MushtreeGreen.png
50 days Spring.
Lune Tree.png
50 days Based on Moon Cycle.
From 0 - 2x at Full Moon.
Palmcone Tree.png
50 days Not Winter.
Boulderbough Build.png
50 days Any season.

Resource Renewal

Resource Renewal is a mechanic limited to Wilderness and Endless game modes and is intended to guarantee that essential resources are available for spawned-in players. There are 4 groups of resources, usually with multiple prefabs. Periodically (every ca. 15 minutes) the game checks an area around spawn points (these are used to respawn players in Wilderness mode, and are actually fixed in place during world generation, and present in all game modes). If none of the matching prefabs are found within a 60-unit (15-tile) radius around the point, the game attempts to spawn a randomly-picked prefab from the spawn set. This will only succeed if there are no players within a 240-unit (60-tile) radius of the spawn point. On the surface, spawn points are plentiful in Grasslands and rare in Forest biomes. In the Caves, spawn points are placed only at the cave exit staircases.

Match set Spawn set
Flint.png Flint.png
Sapling.pngTwigs.pngTwiggy Tree.png Sapling.pngTwiggy Tree.png
Grass Tuft.pngGrass Tuft Withered.pngCut Grass.pngGrass Gekko.png Grass Tuft.png
Berry Bush.pngBerry Bush2.pngJuicy Berry Bush.png Berry Bush.pngJuicy Berry Bush.png

References

  1. scripts/components/regrowthmanager.lua
  2. scripts/components/plantregrowth.lua
  3. scripts/components/desolationspawner.lua
  4. scripts/components/forestresourcespawner.lua