Aoe2scenarioparser

Latest version: v0.1.67

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

Scan your dependencies

Page 6 of 14

0.1.37

**Support for the new 61321 update!** (Scenario version 1.46)

Added

- **Update 61321**:
- Support for the new Conditions
- `BUILDING_IS_TRADING`
- `DISPLAY_TIMER_TRIGGERED`
- `VICTORY_TIMER`
- `AND`
- Support for the new Effects
- `ENABLE_OBJECT_DELETION`
- `DISABLE_OBJECT_DELETION`
- 19 new entries in `ObjectAttribute`
- 24 new entries in `Attribute` (aka: 'Player Attribute' or 'Resource')
- 15 new units to `UnitInfo`
- 2 new buildings to `BuildingInfo`
- 8 new heroes to `HeroInfo`
- 7 new others to `OtherInfo` (Partially from new update)
- New dataset: `VictoryTimerType`
- [Community documentation page](https://ksneijders.github.io/AoE2ScenarioParser/community/resources/) (WIP)

Improved

- `UnitManager.change_ownership` now accepts a list of units as well as a single unit
- Also improved function performance
- **BackEnd**: UnitManager read & writing logic (by a lot)

Fixed

- Player Count shown in in-game scenario overview now updates to the amount of active players
- instead of not updating at all
- Typo in `Attribute` entries:
- `CONVERT_RESIST_MIO_ADJUSTMENT (Typo)` => `CONVERT_RESIST_MIN_ADJUSTMENT` (ID: 178)
- `VILLAGERS_KILLED_BY_AL_PLAYER` => `VILLAGERS_KILLED_BY_AI_PLAYER` (ID: 228)

Changed

- **Update 61321**:
- Renamed some `ObjectAttribute` entries:
- `ENABLE_SMART_PROJECTILES` => `PROJECTILE_SMART_MODE` (ID: 19)
- `AMOUNT_OF_1ST_RESOURCES` => `AMOUNT_OF_1ST_RESOURCE_STORAGE` (ID: 21)
- `BONUS_DAMAGE_RESIST` => `BONUS_DAMAGE_RESISTANCE` (ID: 24)
- Renamed some `Attribute` entries:
- `UNUSED_RESOURCE_096` => `NO_DROPSITE_FARMERS` (ID: 96)
- `FEUDAL_TOWN_CENTER_LIMIT` => `EARLY_TOWN_CENTER_LIMIT` (ID: 218)
- Renamed some `DamageClass` entries:
- `RAMS` => `RAMS_TREBUCHETS_SIEGE_TOWERS` (ID: 17)
- `CASTLE` => `CASTLES` (ID: 26)
- `LEITIS` => `UNUSED_ID31` (ID: 31) -- _behaviour moved to a combat ability_
- `CONDOTTIERO` => `CONDOTTIERI` (ID: 32)
- `ORGAN_GUN_BULLET` => `PROJECTILE_GUNPOWDER_SECONDARY` (ID: 33) -- _no longer used by only the organ gun_
- `FISHING_SHIP` => `FISHING_SHIPS` (ID: 34)
- `HEROES_AND_KING` => `HEROES_AND_KINGS` (ID: 36)
- `UNUSED_ID37` => `HUSSITE_WAGONS` (ID: 37)
- Elephant Archer from the `UnitInfo.unique_units()` function

---

0.1.36

Added

- `Attribute.X.editor_name` attribute to get the editor name as string -- [36] (Alian)
- `scenario.remove_store_reference()` to remove the scenario reference from the store
- Useful for when you want the scenario to be cleared by garbage collection (You also need to delete all other references to the scenario yourself)

Fixed

- Issue with printing trigger values that are not in a dataset

Updated

- `Attribute` dataset names & docstrings updated -- [36] (Alian).

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

---

0.1.35

Fixed

- Issue introduced after the `0.1.33` fix.
- `XS Manager` was trying to create a `script call` effect regardless if the scenario supported it or not.

---

0.1.34

Fixed

- Issue with deepcopying `UuidList`s. (Causing issues with trigger importing).

---

0.1.33

Fixed

- Issue with `XS Manager` not copying the script content to the right trigger object.

---

0.1.32

Fixed

- Issue with type hinting `trigger.new_effect` and `trigger.new_condition`

---

Page 6 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.