Experiment 1: Testing whether chains restrict movement in the Z axis.
This experiment was to test if a chain would restrict the free movement of a chained creature equally in the X, Y, and Z axis. This experiment was only to address the movement of a creature walking under its own power, rather than a creature being moved by external forces.
A region of solid rock in the shape of a cube, with dimensions of 9 tiles in each direction, was dug out into up/down staircases, theoretically permitting any creature in the cube free movement in any direction. The tile in the exact center of the cube had a constructed floor built in it. A silk rope was then constructed on that center tile.
A stray tame guineahen was then chained to the rope, and its movement observed over a period of several in-game months. During this time the guineahen was observed to move across multiple Z-levels of the stair-cube and was not restricted to the Z-level that the chain was on, or the Z-levels just above and below it, but was seen as far as the topmost and bottom-most layer of the 9 layer cube. On each level, the guineahen was not observed to leave the center 3X3 tile region centered on the X and Y position of the chain. At the end of the observation period, the guineahen was confirmed to still be attached to the chain.
From this experiment it appears that chains do not restrict the voluntary movement of a creature in the Z axis. Chains do appear to restrict creatures from moving more than 1 tile away in the X axis and more than one tile away in the Y axis, but a chained creature may freely move any Z distance while still being attached to the chain.
Experiment 2: Testing the effect of chains on falling creatures
This experiment was to test if a chain would restrict or ‘hang’ falling creatures, as well as whether falling would cause a creature to become detached from a chain.
For this experiment a chain was built on a piece of natural floor. Each of the 8 tiles surrounding that floor was then channeled out, making a 1 Z-layer deep moat, and then covered with a floor hatch. A nearby lever was connected to all 8 hatches. A stray guineahen was then attached to the chain. At this point the guineahen could freely wander across nine tiles - the center tile with the chain attached, and the eight surrounding tiles having 1 Z-level drops covered with floor hatches.
When the guineahen was standing on one of the floor hatches, the lever was pulled. The guineahen fell one Z-level into the surrounding trench. It was stunned but otherwise uninjured. Examination of the chain revealed that the guineahen was still assigned and attached to the chain. The guineahen was then observed to still be unable to move beyond 1 tile X and Y from the location of the chain. The floor hatches at this point could then be closed, even though the chain and the guineahen were on opposite sides of the hatches.
The guineahen was then deliberately removed from the chain, and then reattached to it, in order to move it back atop the hatches. The 8 tiles under the hatches were then channeled one Z-level further down so that all the hatches would have a 2 Z-level drop under them. When the chained guineahen again wandered on top of one of the hatches, the lever was pulled again.
After falling the 2 Z-levels, the guineahen was observed to be significantly injured. Examination of the combat log indicated that the injuries seemed to be due to impact with the ground. There was no indication in the combat log of strangulation or other possible injuries from the chain.
Examination of the chain revealed that at this point the guineahen was assigned to it, but was not attached. The guineahen was then observed to wander away from the location of the chain and was not restricted to the tiles adjacent to the point just under where the chain was. When the lever was pulled again to close the floor hatches, a dwarf promptly retrieved the guineahen and reattached it to the chain.
From this experiment it appears that chains do not restrict falling creatures at all, nor do they cause any injury to them. However, it appears that falling more than 1 tile will cause a creature to become detached from a chain. Since the creature is not moving out of the range of tiles the chain would permit it to move into on its own, something other than moving too far from the chain must be responsible for the creature becoming detached. It may be that when a creature has the ‘flying’ status, it becomes detached from any chains. This will require further experiments.