All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
UnitInfo.BEAR.ID
missing from the list when clearing withObjectClear.WOLFS
- The
xs
ShuffleVectorArray
function
- Missing
xs
files from the python package
All releases from
0.2.8
to0.2.19
were release tests
- Package dependencies (
requirements.txt
,pyproject.toml
)
- Added support for an
Area
object in theGridMapFactory
0.2.2
,0.2.3
,0.2.4
&0.2.5
were just release tests
- Typo in name
TerrainMark.WATER_SHORE_BEACH
- Docstrings to all functions
TileUtil.within_range(...)
function to get all tiles that are within a range of a given tile- Support for objects bigger than 1x1! (Use the
object_size
config option)
XsUtil.read(...)
renamed toXsUtil.file(...)
XsUtil.format_name(...)
renamed toXsUtil.constant(...)
GridMap.reset_all(...)
renamed toGridMap.set_all(...)
Locator.find_...(...)
functions all returnList[Tile], bool
instead ofTile|None
Locator.find_...(...)
functions no longer use random guessing anymore, all tiles are shuffled and looped through for consistent 100% coverage
- Issue with
Locator.find_random_tile_within_range(...)
usingrandom.randrange
(exclusive) - Issue with multiple
create_objects
appending their counts instead of counting the total
GridMapFactory
class for creatingGridMap
s easilyScenarioUtil
class for utility functions regarding scenariosas_layer
parameter forApplyBlockedAsBlack(...)
to use the layer feature instead of the terrain itselfDEEP_FISH
,SHORE_FISH
andFISH_OBJECTS
(combination of the two) entries toObjectClear
SHORE
entry toTerrainMark
for selecting the line of water right next to the beachTileUtil
class
AoE2ScenarioRms.mark_blocked_tiles(...)
was moved toGridMapFactory.block(...)
AoE2ScenarioRms.clear_scenario(...)
was moved toScenarioUtil.clear(...)
ApplyDebug
classes now have to be applied manually just beforescenario.write_to_file(...)
Locator
now uses a shuffled list of available tiles instead of guessing tilesconst
parameter fromCreateObjectConfig(...)
can now be list to randomize const per group- Renamed
ImproperCreateObjectError
toInvalidCreateObjectError
- Using
TerrainMark.WATER
will no longer include the first line of water around land. AddTerrainMark.SHORE
for those tiles
XsEntry
class due to being redundant when moving thejoin_string
to a global state (which it should be)Debug
class due to being redundant as theApplyDebug
classes can be used themselves.AoE2ScenarioRms.write(...)
function due to now being done automatically when callingscenario.write_to_file(...)
debug
parameter fromAoE2ScenarioRms(...)
Debug
class (IntFlag)ApplyDebug
classes for the logic of applying the debug features (units
/terrain
/triggers
/xs
)ApplyXsPrint
ApplyBlockedAsBlack
ApplyNoClutter
ApplyAllVisible
debug
parameter fromAoE2ScenarioRms(...)
now takes theDebug
class instead of a boolean
- Official start of this package. (No longer just a script)