genbtc / AutoTrimps

Automation for the idle incremental game 'Trimps'
36 stars 51 forks source link

Info about AutoTrimps AFK in Speed Achieves description #148

Closed KilSys closed 6 years ago

KilSys commented 6 years ago

image

genbtc commented 6 years ago

Darn. I was wondering if this would show up anywhere else :( We cant have the hint message at all then, cant work around how i had to shove it in the game. (in that tooltip anyway)

KilSys commented 6 years ago

I guess that info appears after I have clicked "Go AFK Mode" button in "Display" AutoTrimps

SinRopa commented 6 years ago

Can you read the contents of the box first, then use a condition to hide it?

KilSys commented 6 years ago

It seems that problem is in function formatMinutesForDescriptions() in modules/utils.js . I guess, it was planned to use it only in "World Info" box. As far as I understood, it's used not only in World Info but also in description for speed achievements

genbtc commented 6 years ago

That is a game function I overwrote to be able to show the seconds. I dont want to start controlling too many game functions. And if I did it outside it would require DOM check and insertion 10x a second leading to performance degradation, So the message will be removed. 13f6148cee4bb30266de868907fccab1132e842d