On 1.12 our STS plugin (screenshot attached, albeit formatted ugly 🤢) would add to the lore of the sprite everything that affected the price and allowed the player to see a clear breakdown of what affected the amount of money they were getting from selling a pokemon. I would love to see something like this added to EnvySTS :)
#[Suggestion] EnvySTS - Ability to view price breakdown
1 messages · Page 1 of 1 (latest)
So I'm not too sure how to make this work with the current pricing system
Because it's just a list of specs it checks and then applies
I can add names to them
Yeah could work, adding a "display text" option attached to each defined spec
Yeah but then how is that gonna be displayed in the config
Not sure how I'd make it placeholder-able
hm fair point
I envisioned it more like auto-populating the "list" of things as opposed to having to have it show all possible ones (ie if its 0 just dont list it)
Like if you had a config like:
spec: shiny:1
min-price:
type: +
value: 300.0
required-permission: ''
display-text: 'Shiny'```
and had a line for price-breakdown-format:'%display-text%: %type%%value%'
it would iterate through all the modifiers its applying to the pokemon, adding a new line of Shiny: +300.0 to a new placeholder you could put on the item like %price_breakdown%
That's only one line though
?
I meant like if the pokemon was shiny, the placeholder would return
Shiny: +300.0
If the pokemon was shiny, custom textured, and legendary it would return
Custom Texture: +500.0
Legendary: +1000.0```
(newlines automatically being made by the placeholder)
I can't add lines automatically when they're defined in the config @tardy bison Which is the issue I'm talking about
I'm not sure what to do
Because the config defines the lines and that's what yanno?
Even if I did add them automatically
How would that function
If it's like this for example
lore:
- 'abc'
- '%placeholder%'
- 'abc'
Not so simple really
ACtually
hmm
I guess it should be possible
should be possible, just isnt super elegant for full customization ig
I dont know any better way of doing so though
sweet