View Issue Details

IDProjectCategoryView StatusLast Update
0001724Dwarf FortressDwarf Mode -- Environmentpublic2014-01-27 14:21
ReporterThe Architect Assigned Touser6 
PrioritynoneSeveritytweakReproducibilityalways
Status resolvedResolutionno change required 
Product Version0.31.03 
Summary0001724: Underground plants keep growing on soil floors after the wall below is removed
DescriptionAlright, explaining the details of this bug requires some conjecture on my part.

First: Take it for granted that underground plants are only supposed to spawn on mud or full soil walls. Also concede that tiles where underground plants spawn must be Subterranean.

Second: Note that plants will not spawn on Subterranean soil tiles that do not have a full soil wall beneath them on map generation, supporting this hypothesis.

Now, when you remove the soil wall beneath the Subterranean soil tile, any plants present should probably die and it is definite that no more should spawn there. Neither of these behaviors is present.

It is my conjecture that the game performs one check for fertility, probably on map generation or more likely when the tile is first excavated. The game definitely does not perform a proper check when generating the plants, and does not update the status of the tile (plant-viable or not) when the soil wall supporting it is altered.

The easier thing to program would be forcing the game to perform a full check when generating each plant, but the easier thing on processor use would be forcing a one-time check when removing soil walls with open Subterranean tiles overhead. A full check when generating plants would also render existing dry caverns barren if my conjecture is correct (tiles there currently seem to be marked "plant-viable" on generation and not updated, allowing otherwise barren rock to bear fruit).
Steps To ReproduceFind two overlapping soil layers. Dig out upper layer, and pierce caverns. Dig out lower layer, undermining soil of upper layer. Plants will continue to spawn on upper layer, and existing plants will be unharmed.
TagsNo tags attached.

Activities

Quietust

2010-05-03 14:33

reporter   ~0006034

Actually, from what I observed back in 0.28.181.40d, subterranean plants on dry soil only seemed to require a soil wall within a 2 tile radius below (or a *muddy* floor tile within a 2 tile radius on the SAME Z-level). It's very possible that it behaves the same way in 0.31.

The Architect

2010-05-03 16:29

reporter   ~0006046

That's certainly a strange requirement, and by invalidating one of my assumptions it would invalidate the whole report. In order to confirm, I'm now reviewing the situation.

I have no plants in violation of that requirement. Interesting. Where should we go from here? Do I test it further (ruin an artificial biome and check the results)?

Issue History

Date Modified Username Field Change
2010-05-03 14:18 The Architect New Issue
2010-05-03 14:31 user6 Summary Underground plant generation fails to notice unsuitable environment changes => Underground plants keep growing on soil floors after the wall below is removed
2010-05-03 14:33 Quietust Note Added: 0006034
2010-05-03 16:29 The Architect Note Added: 0006046
2014-01-27 14:21 user6 Status new => resolved
2014-01-27 14:21 user6 Resolution open => no change required
2014-01-27 14:21 user6 Assigned To => user6