Edit Type codes for renaming Pokemon
Short Description
Option to edit the type codes of Pokemon according to personal preference
Possible solution
Something like this in the NicknamePokemon Task: { "type": "NicknamePokemon", "config": { "enabled": true, "nickname_above_iv": 0.8, "nickname_above_cp": 1500, "nickname_template": "{iv_pct}-{attack_code}", "nickname_wait_min": 3, "nickname_wait_max": 5, "type_codes":[ Bug: 'Bu' Dark: 'Da' Dragon: 'Dr' Electric: 'Ele' Fairy: 'Fy' Fighting: 'Fg' Fire: 'Fi' Flying: 'Fl' Ghost: 'Gh' Grass: 'Gr' Ground: 'Go' Ice: 'I' Normal: 'No' Poison: 'Po' Psychic: 'Py' Rock: 'Ro' Steel: 'St' Water: 'Wa' ] } },
How it would help others
Easier to remember your own preferences, rather than keep checking the list specified in the documentation.
Additional request: Please let me know the file (and line number if possible) which I can edit to manually change the codes for now.
Ok, that's a config edit, but where does the code support this?
You can edit the type codes yourself here.
I wouldn't recommend using more than one letter though, because that would break most of the attack_code templates.
Don't the attack code templates use the same type_to_one_char_map array?
Yes, but all limited to one character.
I'd be glad to have a go at modifying that to include multiple characters for nicknames and attacks myself. Any chance you could add the "Hacktoberfest" label to the issue please?