Skip to content

jms412/PkmnShinyMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PkmnShinyMap

Pokemon shiny list custom map to use with PoracleJS

New Method (August 2021):
Poracle will now load shinyPossible.json without it needing to be copied into the CustomMaps directory. Thank you Jabes for making this possible.

Monster, Raid & Quest DTS
Option 1: {{shinyPossibleEmoji}} - This will use the default sparkles emoji, but can be modified in emoji.json
Option 2: {{#if shinyPossible}} ✨{{/if}} - You can replace this emoji with any other text or emoji

Exceptions:
These Pokemon had their shiny version released for a limited time, depending on the length of the event I may add and remove them, otherwise I may just wait for their permanent release before including them.

Meltan - Fifth Anniversary Event (July 2021 - Also Feb 2019 & Nov 2020)
Unown G, O - Go Fest 2020 (July 2020)
Unown A, L, R, T, U - Enigma Week (Aug 2020)
Unown C - City Spotlight Event (Nov 2020)
Celebi - Special Research - Secrets Of The Jungle Event (Dec 2020)
Mew - Special Research - Kanto Tour (Feb 2021)
Arcanine - Season Of Legends (March 2021 - May 2021)
Smeargle - Pokemon Snap Celebration (April 2021)
Unown F - Go Fest 2021 (July 2021)
Unown U - Ultra Unlock 2021 (Aug 2021)
Butterfree Costume - Fashion Week 2021 (Sep 2021)
Kirlia Costume - Fashion Week 2021 (Sep 2021)
Drifblim Costume - Halloween 2021 (Oct 2021)
Glaceon Costume - Christmas 2021 (Dec 2021)
Nidorino Costume - New Years 2022 (Jan 2022)
Raticate Costume - New Years 2022 (Jan 2022)

Example DTS:
{{name}}{{#if shinyPossible}} ✨{{/if}}

Result:
Pikachu ✨

Web:
Screen Shot 2021-08-27 at 11 03 15 am 2

iOS:
image0

You might also want to check out my half shiny icons to use with PMSF and PoracleJS. They are forked from NilePlumb's base. Thank you NilePlumb.

Pokemon Home Style Half Shiny 512x512
URL: https://raw.githubusercontent.com/jms412/PkmnHomeIcons/master/UICONS_Half_Shiny/
Example:
https://raw.githubusercontent.com/jms412/PkmnHomeIcons/master/UICONS_Half_Shiny/pokemon/113.png
113

Pokemon Home Style Half Shiny 512x512 + Sparkles
URL: https://raw.githubusercontent.com/jms412/PkmnHomeIcons/master/UICONS_Half_Shiny_Sparkles/
Example:
https://raw.githubusercontent.com/jms412/PkmnHomeIcons/master/UICONS_Half_Shiny_Sparkles/pokemon/113.png
113

Pokemon Home Style Half Shiny 128x128
URL: https://raw.githubusercontent.com/jms412/PkmnHomeIcons/master/UICONS_Half_Shiny_128/
Example:
https://raw.githubusercontent.com/jms412/PkmnHomeIcons/master/UICONS_Half_Shiny_128/pokemon/113.png
113

Pokemon Home Style Half Shiny 128x128 + Sparkles
URL: https://raw.githubusercontent.com/jms412/PkmnHomeIcons/master/UICONS_Half_Shiny_Sparkles_128/
Example:
https://raw.githubusercontent.com/jms412/PkmnHomeIcons/master/UICONS_Half_Shiny_Sparkles_128/pokemon/113.png
113

Pokemon Shuffle Style Half Shiny 256x256
URL: https://raw.githubusercontent.com/jms412/PkmnShuffleMap/master/UICONS_Half_Shiny_256
Example:
113

Pokemon Shuffle Style Half Shiny 256x256 + Sparkles
URL: https://raw.githubusercontent.com/jms412/PkmnShuffleMap/master/UICONS_Half_Shiny_Sparkles_256
Example:
113_s

Old Method (For Reference Only):
Current files to put in your config/customMaps folder: shinyPossible.json

Monster & Raid DTS
{{map 'shinyPossible' pokemonId}}{{map 'shinyPossible' (concat pokemonId '_' formId)}}

Only one custom map will be applicable for each Pokemon. If the Pokemon doesn't have any forms or all forms are available as shinies the customMap will pick up the first part of the DTS: {{map 'shinyPossible' pokemonId}} and the second part will be blank. And if the Pokemon has muliple forms and only some of them have the shiny version available the first part of the DTS will be blank and it will pick up the second part: {{map 'shinyPossible' (concat pokemonId '_' formId)}}

The list is configured to have a physical space in front of each symbol already, so don't leave any extra spaces in your DTS. For example it can follow straight on from name and it will look like the following:

Example DTS:
{{name}}{{map 'shinyPossible' pokemonId}}{{map 'shinyPossible' (concat pokemonId '_' formId)}}

Result:
Pikachu ✨

If you would like to pull the half shiny image from my repo and the standard image from a non-shiny version of my repo when the shiny isn't available you can use the following in your DTS. This will mean you don't cache a non-shiny version of the image before the shiny is released. This method goes against the design of what UICONS is meant to do with fallback, but it's the only solution I've come up with so far to avoid discord caching incorrect images (this issue doesn't effect normal image repos as they don't need to modify their icons as shinies are released).

"thumbnail": {"url": "{{#or (map 'shinyPossible' pokemonId) (map 'shinyPossible' (concat pokemonId '_' formId))}}https://raw.githubusercontent.com/jms412/PkmnHomeIcons/master/UICONS_Half_Shiny_Sparkles/pokemon/{{pokemonId}}{{#if evolution}}{{#compare evolution '!=' 0}}_e{{evolution}}{{/compare}}{{/if}}{{#if form}}{{#isnt formName 'Normal'}}{{#if formId}}_f{{formId}}{{/if}}{{/isnt}}{{/if}}.png{{else}}https://raw.githubusercontent.com/jms412/PkmnHomeIcons/master/UICONS/pokemon/{{pokemonId}}{{#if evolution}}{{#compare evolution '!=' 0}}_e{{evolution}}{{/compare}}{{/if}}{{#if form}}{{#isnt formName 'Normal'}}{{#if formId}}_f{{formId}}{{/if}}{{/isnt}}{{/if}}.png{{/or}}"}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published