Aoe2scenarioparser

Latest version: v0.1.67

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

Scan your dependencies

Page 9 of 14

0.1.19

Added

- The `append_after_source` parameter to the `copy_trigger` function.
- The `add_suffix` parameter to the `copy_trigger` function. Decides if `" (copy)"` is added to the name.
- QOL feature for the creation of `Effects` and `Conditions`.
- When not using `area_x2` and `area_y2`, they are set to the values of `area_x1` and `area_y1` respectively.
This makes selecting a single tile a little easier.
- A list functions to the `TerrainId` dataset.
- `water_terrains()` for all water terrains.
- `beach_terrains()` for all beach terrains.
- `tree_terrains()` for all tree terrains.
- A list function to the `OtherInfo` dataset.
- `OtherInfo.trees()` for all tree objects.

Updated

- Projectiles dataset with `houfnice` and `hussite wagon` projectiles.

Fixed

- Multiple new issues with the famous `\x00` (end of line) character.
- The `copy_trigger_per_player` and `copy_trigger_tree_per_player` functions.
- Units and Techs in `UnitInfo` and `TechInfo` dataset.

Removed

- Type checks from `UnitInfo` and `TechInfo` filter functions.
- The parameter `item_id` from the `new_effect` functions as it's unused in the editor.

---

0.1.18

**Support for the new 51737 update!**
Special thanks to **Alian** for his contribution with the datasets! <3

Added

- Support for the new `1.43` scenario file version.
- New Units, Buildings, Heroes etc. from the `51737` patch! -- [28] (Alian713)
- Added `append_after_source` parameter to `copy_trigger` function.

[28]: https://github.com/KSneijders/AoE2ScenarioParser/pull/28

---

0.1.17

Added

- `filter_units_by_const()` function to the unit_manager. ([check the docs for examples](https://aoe2scenarioparser.readthedocs.io/en/master/cheatsheets/units.html#select-existing-units))
- `PlayerId.all()` function. ([check these docs for examples](https://aoe2scenarioparser.readthedocs.io/en/master/cheatsheets/datasets.html#players))

Updated

- All `TriggerManager` functions now accept an `int` as well as `TriggerSelect`.
- `get_trigger(TS.index(i))` is now equal to: `get_trigger(i)`.
- Docs with a link to the newly created Discord server!

Fixed

- Fixed issue with `remove_effect` and `remove_condition` in display order arrays.
- Fixed issue with specific `modify_attribute` effect combination.

---

0.1.16

Fixed

- Type validation in dataset functions. -- [25] (Alian713)
- Issue with creating modify_attribute effect.

[25]: https://github.com/KSneijders/AoE2ScenarioParser/pull/25

---

0.1.15

Added

- **Alian713** as an author! **The dataset wizard!**
- Filters to dataset functions. -- [22] (Alian713)
- `CORRUPTION` and many `MODDABLE...` to the `TerrainId` dataset. -- [24] (Alian713)

Improved

- Doc strings, error messages and type annotations for datasets. -- [24] (Alian713)

Fixed

- Issue with order lists updating when directly removing items from the list (using `.pop()` or `.remove()`)
- Issue with reading `1.40` maps.

[22]: https://github.com/KSneijders/AoE2ScenarioParser/pull/22
[24]: https://github.com/KSneijders/AoE2ScenarioParser/pull/24

---

0.1.14

Fixed

- Issue with converting `armour_attack_quantity` and `armour_attack_class` inside the parser.
- Some missing attributes for the newly added effect and condition attribute.

---

Page 9 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.