Aoe2scenarioparser

Latest version: v0.1.67

Safety actively analyzes 629908 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 14

0.1.7

Added

- Functions to the `UnitInfo` and `TechInfo` dataset.
- `UnitInfo.vils()` for all villagers (Male/Female and all their professions).
- `UnitInfo.unique_units()` for all unique units (Both castle and non castle unique units).
- `TechInfo.unique_techs()` for all unique technologies.
- Error messages when accidently setting a value to `UnitInfo.ARCHER` instead of `UnitInfo.ARCHER.ID` (as an example).

Fixed

- A recursion issue with the `copy_trigger` related functions - [Issue 10]

[issue 10]: https://github.com/KSneijders/AoE2ScenarioParser/issues/10

---

0.1.6

Fixed

- An issue which renamed all variables to: "VariableStruct" - [Issue 9]

[issue 9]: https://github.com/KSneijders/AoE2ScenarioParser/issues/9

Changed

- The datasets `UnitInfo`, `BuildingInfo`, `HeroInfo`, `TechInfo` and `OtherInfo` replace the following datasets:
- UnitId, GaiaUnitId, UnitIcon and GaiaUnitIcon
- BuildingId, GaiaBuildingId and BuildingIcon
- HeroId, HeroIcon
- TechId
- UnitOtherId, GaiaUnitOtherId
- The `ButtonLocation` dataset has changed it's properties.
- From: `LOCATION_<C>_<R>` (`<C>` = Column number, `<R>` = Row number)
- To: `r<R>c<C>`
- Example (Row 1, col 4):
- Old: `LOCATION_3_0`. Old numbering started from 0.
- New: `r1c4`. New numbering starts from 1.

Please check the [datasets cheatsheet] page or the [readthedocs dataset] page on how to use the new datasets.

[datasets cheatsheet]: https://github.com/KSneijders/AoE2ScenarioParser/blob/master/cheatsheets/DATASETS.md
[readthedocs dataset]: https://aoe2scenarioparser.readthedocs.io/en/master/

---

0.1.5

Fixed

- An issue with `\x00` suffixes

---

0.1.4

Fixed

- An issue looking up the `.json` files on non-windows machines.

---

0.1.3

Fixed

- An issue with relative directories when accessing `.json` structure files.

---

0.1.2

Fixed

- An issue with pip not uploading non `*.py` files.

---

Page 11 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.