File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ fix/exploding-trees
2+ ===================
3+
4+ .. dfhack-tool ::
5+ :summary: Removes "phantom" trees before they can explode.
6+ :tags: fort bugfix
7+
8+ By default, this script runs once a month by the Control Panel's Bug Fixes tab.
9+
10+ This script mitigates a longstanding Dwarf Fortress bug.
11+
12+ Once a year, trees check if they should grow. The exact day and time of this
13+ growth is different for every tree.
14+
15+ Occasionally, when a tree is cut down or otherwise removed from the game, the
16+ game engine doesn't remove the tree's data from the list of plants. The exact
17+ details of this are not currently understood.
18+
19+ For some reason, these "phantom" trees will sometimes collapse during this
20+ growth. This can stun, injure, or kill units which happen to be near this
21+ collapse.
22+
23+ This script finds those trees and sets their dead flag, preventing them from
24+ growing and collapsing.
25+
26+ Usage
27+ -----
28+
29+ ::
30+
31+ fix/exploding-trees
Original file line number Diff line number Diff line change 33fix/exploding-trees
44===================
55
6- This script is normally run once a month by the Control Panel's Bug Fixes tab,
7- tool identifier "fix/exploding-trees".
6+ By default, this script runs once a month by the Control Panel's Bug Fixes tab.
87
98This script mitigates a longstanding Dwarf Fortress bug.
109
You can’t perform that action at this time.
0 commit comments