Aoe2scenarioparser

Latest version: v0.2.15

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

Scan your dependencies

Page 3 of 18

0.2.3

Added

- Support for the **new** `Unit.caption_string_id` attribute
- Support for the 6 **new** `Effect` attributes:
- `resource_1` & `resource_1_quantity`
- `resource_2` & `resource_2_quantity`
- `resource_3` & `resource_3_quantity`
- Support for the **new** `Effect` attributes in the following effects:
- `change_object_cost`
- `change_technology_cost`
- This is reflected in the `trigger.new_effect.<effect>` functions and the `EffectId` documentation.
- Example:
py
from AoE2ScenarioParser.datasets.trigger_lists import Attribute
...
trigger.new_effect.change_object_cost(
resource_1=Attribute.WOOD_STORAGE,
resource_1_quantity=20,
resource_2=Attribute.GOLD_STORAGE,
resource_2_quantity=80,
)


Removed

> ⚠️ BREAKING CHANGE

- Support for the `wood`, `food`, `gold` and `stone` attributes in the following effects:
- `change_object_cost`
- `change_technology_cost`
- Switch to the new `resource_X` and `resource_X_value` properties
- This is reflected in the `trigger.new_effect.<effect>` functions and the `EffectId` documentation.

---

0.2.2

> _Due to earlier version release testing `0.2.0` and `0.2.1` were pushed to `test.pypi.org` blocking those versions forever... F_

Added

- **Ability to read the new 1.54 scenarios**
- This version is available since Update Preview 125283 (October 14, 2024)
- ⚠️ Very limited implementation - No new features from the update have been implemented yet ⚠️

---

0.1.74

Added

- `r3c5` to the `ButtonLocation` dataset (`value = 15`) -- Credits: [mardaravicius](https://github.com/KSneijders/AoE2ScenarioParser/pull/49)
- `dock_page2` to the `ButtonLocation` dataset (`value += 20`) -- Credits: [mardaravicius](https://github.com/KSneijders/AoE2ScenarioParser/pull/49)
- Example: `ButtonLocation.r1c5.dock_page2 Result: (5 + 20) = 25`

---

0.1.73

Added

- Placeholder Technologies to the `TechInfo` dataset -- Credits: [mardaravicius](https://github.com/KSneijders/AoE2ScenarioParser/pull/48)
- `TechInfo.TECHNOLOGY_PLACEHOLDER_01` (Until 10 (incl))

---

0.1.72

Renamed

- The effect `CHANGE_RESEARCH_LOCATION` to `CHANGE_TECHNOLOGY_LOCATION`
- Fixes an inconsistency with the in-game name (renamed a while ago)
- Kept an alias of the old function `change_research_location` with deprecation warning

Fixed

- `PlayerAttribute.<X>.editor_name` not working
- Updated the `json` file used by the `editor_name` property to reflect the new in-game names

---

0.1.71

Added

- The `remove_triggers` function to the `TriggerManager`
- This function doesn't break display order or changes execution order and also keeps all activation effects properly linked

Fixed

- `scenario.actions.load_data_triggers()` function overwriting the trigger display order

---

Page 3 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.