Aoe2scenarioparser

Latest version: v0.2.15

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

Scan your dependencies

Page 1 of 18

0.2.15

Updated

- `PanelLocation` attributes updated to be consistent with in-game names
- `PanelLocation.BETWEEN` → `PanelLocation.MIDDLE`
- `PanelLocation.CENTER` → `PanelLocation.BOTTOM`

Fixed

- `MapManager.map_color_mood` causing an error on write in certain conditions

---

0.2.14

[Datasets documentation](https://ksneijders.github.io/AoE2ScenarioParser/api_docs/datasets/trigger_lists/action_type/) has been improved:

- Ordering of attributes within datasets has been matched to source instead of alphabetically.
- So (for example) the order of ages is no longer: "Castle Age, Dark Age, Feudal Age, Imperial Age"
- Invalid links from UGC site have been filtered out

Changed

- `MapManager.map_color_mood` will now return the `ColorMood` enum when possible

---

0.2.13

Datasets are now in the API docs! [They should appear here](https://ksneijders.github.io/AoE2ScenarioParser/api_docs/datasets/trigger_lists/action_type/)!
_(Predicting the URL)_

Added

- Three new datasets: (For use in a `Modify Attribute` Effect with the corresponding attribute selected)
- `BlockageClass` dataset
- `ObstructionType` dataset
- `SelectionEffect` dataset

Renamed

- `unit_action` dataset module to `unit_ai_action` — **NOT** the class itself (Was already `UnitAiAction`)
- `game_variant` dataset module to `scenario_variant` — **NOT** the class itself (Was already `ScenarioVariant`)

Improved

- Type hinting for unit objects when accessed through `unit_manager.units`

Fixed

- Copying triggers (using any trigger manager copy function) resulted in missing attributes on triggers / effects
- Creating units with older scenario versions

Removed

- Legacy `BlastLevel` attributes. For more info, see this [commit description](https://github.com/KSneijders/AoE2ScenarioParser/commit/aaaaec803072f2fed714fbae27a74e8e52c9f137)

---

0.2.12

Added

- Support for the new civilizations -- Credits: [mardaravicius](https://github.com/KSneijders/AoE2ScenarioParser/pull/52)
- `Civilization.ACHAEMENIDS = 46`
- `Civilization.ATHENIANS = 47`
- `Civilization.SPARTANS = 48`
- Support for the new blank technologies -- Credits: [mardaravicius](https://github.com/KSneijders/AoE2ScenarioParser/pull/52)
- `TechInfo.BLANK_TECHNOLOGY_0` to `TechInfo.BLANK_TECHNOLOGY_19`
- Support for the new action types -- Credits: [mardaravicius](https://github.com/KSneijders/AoE2ScenarioParser/pull/52)
- `ActionType.LINE_FORMATION` = 18
- `ActionType.BOX_FORMATION` = 19
- `ActionType.STAGGERED_FORMATION` = 20
- `ActionType.FLANK_FORMATION` = 21

Improved

- Type hinting for triggers and some other object lists

---

0.2.11

Fixed

- Fixed the same bug corrupting scenarios - missed even more edge cases...

---

0.2.10

Fixed

- Fixed the same bug corrupting scenarios - missed other edge cases

---

Page 1 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.