Add more conditional extensions for CustomNamer #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds the following extensions:
♂
if male,♀
if female and an empty string if genderless.➔
, so you can do{Nature}{ConditionalStatNature}
and getGentle➔Modest
.-
if not empty. Example:{(Species)Species} {ConditionalScale}
➔Wailord - 255
.Gigantamax
andConditionalGigantamax
, the first printsAlpha
if the pokémon is an alpha, and the second prints(Alpha)
.{Nickname}
already defaults to the species name if the pokémon isn't nicknamed, but if the pokémon is in a different language it will print the species name in that language, while{(Species)Species}
always prints it in English. So you can do{ConditionalNickname} {(Species)Species}
and your Japanese Ditto will still be printed as justDitto
if not nicknamed (or[Masuda] Ditto
if its nickname is Masuda).- Tera <type>
only if the pokémon is in a save from a game that supports tera types (currently only SV). Example:{(Species)Species} {ConditionalTeraType}
➔Latios - Tera Electric
.Example custom string:
{Species:0000}{ConditionalForm} {ShinyType} - {ConditionalNickname} {(Species)Species} {ConditionalFormName} {ConditionalGigantamax} {ConditionalAlpha} {ConditionalGender} - {Nature}{ConditionalStatNature} - {(Ability)Ability} ({AbilityNumber}) {ConditionalTeraType} - {IV_HP:00}.{IV_ATK:00}.{IV_DEF:00}.{IV_SPA:00}.{IV_SPD:00}.{IV_SPE:00} - {(Ball)Ball} {ConditionalScale} - {MetDate.Year}.{MetDate.Month:00}.{MetDate.Day:00} - {OriginalTrainerName} ({PaddedSID}.{PaddedTID}) - {Version} - {Checksum:X4}{EncryptionConstant:X8}
Results obtained using the string above:
0110-01 ★ - Weezing (Galar) ♀ - Hardy➔Modest - Levitate (1) - Tera Poison - 26.08.31.31.26.31 - Dream - 255 - 2024.01.23 - PKHeX (1234.123456) - SL - 06B4BE74AF7F.pk9
0720 - [HoompaLoompa] Hoopa - Modest - Magician (1) - Tera Psychic - 31.31.05.03.09.31 - Cherish - 115 - 2024.01.23 - Mac (00553.11275) - AS - 5FCD2C013F95.pk9
0413-01 - Wormadam (Sandy) (Alpha) ♀ - Hasty➔Impish - Anticipation (2) - 22.08.16.31.31.31 - LAPoke - 255 - 2024.01.23 - PKHeX (1234.123456) - PLA - 754A248533DD.pa8
0892-01 - Urshifu (Rapid-Strike) (Gigantamax) ♂ - Jolly - UnseenFist (2) - 00.31.00.31.00.31 - Poke - 70 - 2024.01.23 - PKHeX (1234.123456) - SW - 99430A33EE61.pk8
0029 ■ - [Juliet] NidoranF ♀ - Brave➔Timid - Hustle (4) - 20.07.14.28.05.19 - Poke - 158 - 2024.01.23 - PKHeX (1234.123456) - SH - 58CA90D44919.pk8
0025-01 - Pikachu (Original) ♂ - Hardy - Static (1) - 00.22.23.12.11.22 - Poke - 2024.01.23 - Ash (0275.090898) - SN - B23C8BFA260E.pk7
0385 - [StarFace] Jirachi - Hardy - SereneGrace (1) - 26.31.31.31.04.23 - Cherish - 2024.01.23 - GF (00559.04016) - Y - E949B67FD26A.pk7
0669-03 - [Egg] Flabébé (Blue) ♀ - Naive - FlowerVeil (2) - 13.02.29.13.22.11 - Luxury - 2017.02.23 - PKHeX (54321.12345) - X - 5F7E1F08A3E9.pk6
Closes #20