Skip to content

Add new parameter to items to allow the use of Mega Evolution#537

Merged
AerunDev merged 3 commits intodevelopfrom
416-add-a-parameter-for-items-to-allow-mega-evolution
Jul 10, 2025
Merged

Add new parameter to items to allow the use of Mega Evolution#537
AerunDev merged 3 commits intodevelopfrom
416-add-a-parameter-for-items-to-allow-mega-evolution

Conversation

@Aelysya
Copy link
Collaborator

@Aelysya Aelysya commented Jun 28, 2025

Description

This PR add a new parameter to items that allow to know if possessing this item in the bag allows the player to Mega Evolve its Pokémon

closes #416

Tests to perform

  • Opening a project correctly launches the migration
  • After the migration, pre-existing mega tools all have the isAllowingMega parameter set to true in their JSON file (Mega Ring, Mega Bracelet, Mega Anchor are example of mega tools)
  • The badge Mega Evolution appears in the 'parameters' block of these items in the Database
  • Opening the parameters editor correctly shows a new Toggle option to define if the item allows the use of Mega Evolution
  • Modifying the toggle value correctly changes the JSON value isAllowingMega

@Aelysya Aelysya self-assigned this Jun 28, 2025
@Aelysya Aelysya linked an issue Jun 28, 2025 that may be closed by this pull request
@AerunDev
Copy link
Collaborator

Thanks a lot for this contribution @Aelysya!
I'll test it next week, to make sure I have the time to do so.
Plus, will be better to add the PSDK part too I think.

Copy link
Collaborator

@AerunDev AerunDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testé, fonctionnel, c'est propre, point faible ? Trop fort. 💪

@AerunDev AerunDev merged commit b502637 into develop Jul 10, 2025
5 checks passed
@AerunDev AerunDev deleted the 416-add-a-parameter-for-items-to-allow-mega-evolution branch July 10, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a parameter for items to allow Mega Evolution

3 participants