Releases
v0.0.6
0.0.6 (2024-05-19)
Features
added bot#units_in_progress(unit_type_id:) which tallies training/morphs in progress (235628a )
added UnitGroup#pos_centroid, to obtain center. first geo extension. (5b260c1 )
adding #- to ug as alias for subtract (eb22d30 )
adding Position#== equality check, limited to x and y (b52908b )
adding ug#idle which looks for an empty orders array (c908a9b )
all read ability ids from the api remap to their generic (aea1b6e )
geo#expo_placement?(x:, y:) to check if coordinate blocks expo (f6f208c )
keep the step time on one line. (03c6e82 )
memoize proto attributes which are hit at high requency (e513664 )
unit#has_buff? can checks applied buffs for a buff_id (e8fe41d )
updates build and docker to 3.3.1 (f8f30e9 )
Bug Fixes
assign memoized fields when set (c48b9de )
dynamic detection of source unit/structure in units_in_progress. forces zergling nr to 2. (3625adb )
ensure pos_centroid uses floats for x,y and size division (3c4824b )
game_info_stale? checks every 4 steps instead of every 2, which is every on_step (e77abe7 )
geo build placements filter explicity no-creep for on_creep:false (74ee2bc )
geo#minerals_for_base and #geysers_for_base tolerates id changes (991a0d8 )
hash Point in 2d, because of single z plane equivalency (40e2c5c )
parsed_creep caching and build_coordinates caching both fixed (d0d0dbe )
query_abilities, query_placements, query_pathings now always returns an array (d3dec1a )
testing should be for QUEEN not QUEENMP. in this case "*MP" is incorrect. (88371c7 )
Performance Improvements
memoize x/y, since one operation often leads to more (eb7b0b3 )
Miscellaneous Chores
You can’t perform that action at this time.