Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NicknamePokemon: Format iv_pct on 3 digits (#3698)
For better sorting on pokemon's name, format iv_pct on 3 digits.
- Loading branch information
ac07ad3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does not work well on whole ten numbers. 80% mon will produce 08 suffix insteed of 080.
ac07ad3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made it with
"nickname_template": "{iv_pct:0>3}_{iv_ads}"
and seems to work.ac07ad3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My fault. Suffix was truncated by name length limit.
ac07ad3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can I NOT HAVE this 3-digit thing? My current config:
"nickname_template": "{name} {iv_pct}"
. Thanks!ac07ad3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind,
{iv_pct2}
does the trick.