Skip to content

Commit d1ef9dd

Browse files
committed
Add .rst documentation, tweak wording.
1 parent d1aebe8 commit d1ef9dd

2 files changed

Lines changed: 32 additions & 2 deletions

File tree

‎docs/fix/exploding-trees.rst‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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

‎fix/exploding-trees.lua‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
fix/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
98
This script mitigates a longstanding Dwarf Fortress bug.
109

0 commit comments

Comments
 (0)