Slay the Spire

Slay the Spire

Colored Powertips
38 Comments
Ripz 31 Oct, 2024 @ 6:42pm 
Conflict with the mod show rarity colors. That mod changes other tooltips. Crash occurs when hovering over something (idk wat) in the run history screen:

Mods in stacktrace:
- coloredpowertips (2.3.0)
Cause:
java.lang.NullPointerException
at com.badlogic.gdx.graphics.g2d.SpriteBatch.setColor(SpriteBatch.java:199)
at coloredPowertips.patches.ColoredPowerPowertips$ColorChanger.patch(ColoredPowerPowertips.java:42)
at com.megacrit.cardcrawl.helpers.TipHelper.renderTipBox(TipHelper.java:302)
at com.megacrit.cardcrawl.helpers.TipHelper.render(TipHelper.java:104)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:462)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
Smeelio 23 Feb, 2024 @ 2:21pm 
Awesome, tyvm for the info
(Gk) Erasels  [author] 23 Feb, 2024 @ 1:38pm 
Works by default, there's very few mods it doesn't work quite right with, like the Chaser though.
Smeelio 23 Feb, 2024 @ 12:27pm 
Does this work with all mods by default, or do they have to manually add compatibility? Sorry if this is a dumb question, I have no idea how this stuff works haha
jnobody 10 May, 2020 @ 2:02am 
I kept on passing over this mod thinking, eh I guess it looks nice, but it is honestly one of the most important mod supporting mods since as it states, what is and is not a debuff is skewed in mods and knowing makes a world of change, I have spent many runs wishing for orange pellets just to learn something was a "buff" and that money wasted.
Cioe 31 Jan, 2020 @ 9:35pm 
汉化者应该附上这个模组的中文名称,要不然很难在模组列表里找到并启用这个模组。
(Gk) Erasels  [author] 12 Nov, 2019 @ 7:19am 
Yeah, I should make that clearer, you're welcome.
LPM 12 Nov, 2019 @ 4:18am 
ohhh. nice indeed. i just saw the screenshots here

thanks!
(Gk) Erasels  [author] 12 Nov, 2019 @ 1:52am 
check the mod options menu, there are 3 presets to choose from.
LPM 11 Nov, 2019 @ 8:36pm 
hi

can u add another version? for colorblind ppl. i cant differentiate between these 2 colors

not sure if this will work for us, but maybe yellow=buff red=debuff

blue and red would be easier, but u are the author. up to u


Ralara 17 Oct, 2019 @ 4:16pm 
Nice, thanks for fixing!
(Gk) Erasels  [author] 11 Sep, 2019 @ 1:41pm 
Alright, fixed compatability with the beta, it works on the player as well now.
(Gk) Erasels  [author] 24 Aug, 2019 @ 4:30pm 
There, finally got around to fixing the bug. This mod should now be fully compatible with any power (modded or not) that switches its powertypes.

Also, yes, all my mods are on public github repos.
Ralara 13 Aug, 2019 @ 3:18pm 
Is the code open source?
(Gk) Erasels  [author] 11 Aug, 2019 @ 1:10pm 
Because reasons.
Rathlord 11 Aug, 2019 @ 11:34am 
Why would a simple equivalency check that 100% should not be in an update loop cause a slowdown? Even if it was in an update loop, that's a basic math function that even a toaster could do a hundred times a frame without a slowdown...
(Gk) Erasels  [author] 8 Aug, 2019 @ 4:40am 
Yeah, it's a know issue, it's like that for every powert aht can change between buff and debuff. It's a conscious choice because the only way I know to fix it would result in a noticeable slowdown in weaker computers.
Ralara 8 Aug, 2019 @ 3:44am 
When a -1 debuff is applied it colors as Green instead of Red. I suspect that's because the type was Strength which is usually a buff. Could this be updated to check the value of the buff/debuff as well as the type?
(Gk) Erasels  [author] 4 Jul, 2019 @ 2:13am 
Finally got around to it! Sorry that it took so long.
Orange is more orange now but I can't make it more obvious than this because light colors don't come through well since they're being mixed as a consequence of how I do this.

Purple/Yellow is in as well.
(Gk) Erasels  [author] 4 Jun, 2019 @ 2:34pm 
will do, thank for the feedback
Jack Renoson 4 Jun, 2019 @ 1:05pm 
really cool mod! could you maybe change the orange of the blue/orange color option to be a it more... orange? may sound a bit wierd, but it looks more brownish to me, maybe just making it lighter will work. als, maybe add an purple/yellow option, then you have one for every primair/secundair option
tuhmapoika 31 May, 2019 @ 3:37am 
Ah makes sense I guess. Thanks for the replys, gonna try out some mods then since I don't care about leaderboards :)
(Gk) Erasels  [author] 30 May, 2019 @ 3:23am 
The devs disabled them for modders because they were asked. Apparently it was annoying for modders to unlock all the achievements by accident when testing things out.

They also disable some other stuff like appearing on leaderbaords etc but I didn't touch that with the achievement enabler.
tuhmapoika 30 May, 2019 @ 12:26am 
@author Ooh okay.. I wonder why they are disabled in the first place, if you can just enable them by installing another mod...
VenIM 29 May, 2019 @ 6:28pm 
It's hard to play without this now.
(Gk) Erasels  [author] 28 May, 2019 @ 2:37pm 
You can also download my Achievement Enabler mod and then you can unlock achievements whilst playing with mods. :P
tuhmapoika 28 May, 2019 @ 1:49pm 
@Gottschkopf Oh.. Guess I gotta play vanilla then, thanks! :)
Gottschkopf 28 May, 2019 @ 12:49pm 
@tuhmapoika Playing with any mods deactivates achievements.
tuhmapoika 28 May, 2019 @ 4:12am 
Does using this prevent me from getting achievements? I just got the game and finished my first run and I'd love to have QoL things like this, but also get achievements..
sniperman357 24 May, 2019 @ 7:35pm 
@Nuclearburrito it is a buff for the heart, even if it hurts you
Nuclearburrito 24 May, 2019 @ 2:31pm 
beat of death is a buff?
(Gk) Erasels  [author] 23 May, 2019 @ 3:20pm 
I think I know what caused the crash and pushed a fix.
I also added an (incredibly bad) options menu in which you can change the color scheme from green/red to blue/orange.
Goofball 23 May, 2019 @ 11:43am 
got an error that crashed my game. I think it's coming from this mod, can't say for sure though, this was the last line in the java app before it crashed.

18:32:51.962 ERROR core.CardCrawlGame> Exception caught
java.lang.NullPointerException: null
at coloredPowertips.patches.ColoredPowerPowertips$ColorChanger.patch(ColoredPowerPowertips.java:33) ~[coloredPowertips.jar:?]
at com.megacrit.cardcrawl.helpers.TipHelper.renderTipBox(TipHelper.java:271) ~[?:?]
at com.megacrit.cardcrawl.helpers.TipHelper.renderPowerTips(TipHelper.java:187) ~[?:?]
at com.megacrit.cardcrawl.helpers.TipHelper.render(TipHelper.java:105) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:469) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [desktop-1.0.jar:?]
Nyoxide 23 May, 2019 @ 8:44am 
Oh what a great idea!
Dungeon Explorer Levender 23 May, 2019 @ 7:13am 
Best mod :)
Lyght 23 May, 2019 @ 5:22am 
Really like it!
xNeariax 22 May, 2019 @ 3:45pm 
Great idea! Such a small thing, really.. I had no clue I needed this so much, but having a lot of content/expansion mods installed, this is actually a huge improvement. Good job. :)
Vex'd 22 May, 2019 @ 1:40pm 
Big fan of quality of life mods! Heavily enjoy this.