Aoe2scenarioparser

Latest version: v0.1.67

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

Scan your dependencies

Page 5 of 14

0.1.43

Added

- The `MessageManager` (`scenario.message_manager`)
- The ability to change the 6 text fields in the message tab (instructions, hints, victory etc.)
- `MessageManager` documentation: [link](https://ksneijders.github.io/AoE2ScenarioParser/cheatsheets/message/)
- The `is_dirty` attribute to retrievers to see if they were manually changed (from outside managers)
- A setting that stops managers from overwriting dirty retrievers (on by default)
- `settings.ALLOW_DIRTY_RETRIEVER_OVERWRITE`

Changed

- **BackEnd**: Partially rewritten construct & commit logic (slight performance improvement)
- **BackEnd**: Renamed all references to `UUID` named: `host_uuid` to just `uuid`

---

0.1.42

Fixed

- Issue with `Effect.armour_attack_class` attribute not being displayed (correctly) when printing triggers/effects
- Incorrect ID for `EffectId.DISABLE_OBJECT_DELETION`

---

0.1.41

Fixed

- `DifficultyLevel.EXTREME` is now properly available. Representing `-1` `:yFE:`
- The `quantity` field not being shown when printing the `Difficulty level` Condition when the difficulty was set to `EXTREME (-1)`
- `TechInfo.INDIANS` not being renamed to `TechInfo.HINDUSTANIS`

---

0.1.40

Improved

- Docstrings and for the PlayerAttribute (`Attribute`) dataset (Thanks Alian)

Fixed

- `TechInfo.unique_techs()` having a typo in `TechInfo.FABRIC_SHIELDS` tech
- `UnitInfo.unique_units()` returning the (`ELITE_`)`SHRIVAMSHA_RIDER` as castle units

---

0.1.39

Added

- **Update 61321**:
- Techs in `TechInfo`
- Docstrings for all `ObjectAttribute` entries (Directly from the UGC Guide. Credits: Alian)
- These new datasets for the `Modify Attribute` effect: (**Thanks to Alian, our dataset wizard**)
- Import like: `from AoE2ScenarioParser.datasets.trigger_lists import <NAME HERE>`
- `ChargeType`
- `ChargeEvent`
- `CombatAbility`
- `FogVisibility`
- `GarrisonType`
- `OcclusionMode`
- `ProjectileHitMode`
- `ProjectileVanishMode`
- `UnitTrait`

Updated

- **Update 61321**:
- `TechInfo.SULTANS` to: `TechInfo.GRAND_TRUNK_ROAD`
- `TechInfo.INDIANS` to: `TechInfo.HINDUSTANIS`
- Renamed dataset `SmartProjectile` to: `ProjectileSmartMode`
- Dataset documentation: [link](https://ksneijders.github.io/AoE2ScenarioParser/cheatsheets/datasets/)

Fixed

- Issue reading some older scenarios
- Typo in `TechInfo` dataset:
- `TechInfo.FABRIC_SHIEDS` to: `TechInfo.FABRIC_SHIELDS`
- `TechInfo.STONE_SHADT_MINING_GOLD_GENERATION_INCREASE` to: `TechInfo.STONE_SHAFT_MINING_GOLD_GENERATION_INCREASE`
- Typo in `BlastLevel` dataset:
- `BlastLevel.TWNETY_FIVE_PERCENT` to: `BlastLevel.TWENTY_FIVE_PERCENT`

Changed

- Renamed `SmartProjectile.ENABLED` to: `ProjectileSmartMode.TARGET_FUTURE_LOCATION`
- Renamed a couple techs for consistency (Thanks Alian)
- `HEAVY_CAV_ARCHER` to: `HEAVY_CAVALRY_ARCHER`
- `RESOURCES_LAST_LONGER_15` to: `RESOURCES_LAST_15_PERCENT_LONGER`
- `RESOURCES_LAST_LONGER_30` to: `RESOURCES_LAST_30_PERCENT_LONGER`
- `RESOURCES_LAST_LONGER_40` to: `RESOURCES_LAST_40_PERCENT_LONGER`
- `RESOURCES_LAST_LONGER_50` to: `RESOURCES_LAST_50_PERCENT_LONGER`
- `RESOURCES_LAST_LONGER_75` to: `RESOURCES_LAST_75_PERCENT_LONGER`
- `RESOURCES_LAST_LONGER_100` to: `RESOURCES_LAST_100_PERCENT_LONGER`
- `RESOURCES_LAST_LONGER_125` to: `RESOURCES_LAST_125_PERCENT_LONGER`
- `RESOURCES_LAST_LONGER_150` to: `RESOURCES_LAST_150_PERCENT_LONGER`
- `RESOURCES_LAST_LONGER_175` to: `RESOURCES_LAST_175_PERCENT_LONGER`
- `RESOURCES_LAST_LONGER_200` to: `RESOURCES_LAST_200_PERCENT_LONGER`
- `RESOURCES_LAST_LONGER_300` to: `RESOURCES_LAST_300_PERCENT_LONGER`
- `FOLWARK_HORSE_COLLAR_EXTRA` to: `HORSE_COLLAR_FOLWARK_BONUS_INCREASE`

---

0.1.38

Fixed

- Issue with reading scenario files when script name field was populated

---

Page 5 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.