@@ -1991,8 +1991,9 @@ Military module
19911991 Removes a unit from its squad. Unsets the unit's
19921992 military information (i.e., ``unit.military.squad_id `` and
19931993 ``unit.military.squad_pos ``), the squad's position information (i.e.,
1994- ``squad.positions[squad_pos].occupant ``), and modifies the unit's entity links
1995- to indicate former squad membership or command.
1994+ ``squad.positions[squad_pos].occupant ``), modifies the unit's entity links
1995+ to indicate former squad membership or command, and creates a corresponding
1996+ world history event.
19961997
19971998Items module
19981999------------
@@ -2476,14 +2477,15 @@ General
24762477 using width and height for flexible dimensions.
24772478 Returns *is_flexible, width, height, center_x, center_y *.
24782479
2479- * ``dfhack.buildings.checkFreeTiles(pos,size[,extents [,change_extents[,allow_occupied[,allow_wall[,allow_flow]]]]]) ``
2480+ * ``dfhack.buildings.checkFreeTiles(pos,size[,bld [,change_extents[,allow_occupied[,allow_wall[,allow_flow]]]]]) ``
24802481
2481- Checks if the rectangle defined by ``pos `` and ``size ``, and possibly extents,
2482- can be used for placing a building. If ``change_extents `` is true, bad tiles
2483- are removed from extents. If ``allow_occupied ``, the occupancy test is skipped.
2484- Set ``allow_wall `` to true if the building is unhindered by walls (such as an
2485- activity zone). Set ``allow_flow `` to true if the building can be built even
2486- if there is deep water or any magma on the tile (such as abstract buildings).
2482+ Checks if the rectangle defined by ``pos `` and ``size ``, and possibly the
2483+ extents associated with bld, can be used for placing a building. If
2484+ ``change_extents `` is true, bad tiles are removed from extents. If
2485+ ``allow_occupied ``, the occupancy test is skipped. Set ``allow_wall `` to true
2486+ if the building is unhindered by walls (such as an activity zone). Set
2487+ ``allow_flow `` to true if the building can be built even if there is deep
2488+ water or any magma on the tile (such as abstract buildings).
24872489
24882490* ``dfhack.buildings.countExtentTiles(extents,defval) ``
24892491
0 commit comments