Nescio Posted May 7, 2019 Report Share Posted May 7, 2019 As you can see the numbers under “Resource Trickle:” are quite ugly; they ought to be 0.59, −0.34, and −0.31. Is there a way to hide those trailing zeroes and nines? Also, the line-break ought to occur before the minus, not after. Quote Link to comment Share on other sites More sharing options...
LordGood Posted May 7, 2019 Report Share Posted May 7, 2019 oh yeah i forgot i made that palace lol Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted May 7, 2019 Report Share Posted May 7, 2019 A while ago @WhiteTreePaladin suggested to set the precision, but I don't know if he or anyone else has a more concrete idea about that. Spoiler On 9/29/2018 at 6:04 PM, Gurken Khan said: For starters, I'd like to suggest to not display numbers after the decimal point (for missing resources to buy a tech). The resources I have don't show fractions, so just do whatever rounding you use and show the integer; otherwise I think it can get quite ridiculous... ^^ On 10/1/2018 at 4:33 PM, WhiteTreePaladin said: Probably not a bad idea - at least some precision should be set. Quote Link to comment Share on other sites More sharing options...
Nescio Posted May 7, 2019 Author Report Share Posted May 7, 2019 Apparently 0 + 0.2 + 0.2 + 0.2 = 0.6000000000000001 and 0 − 0.1 − 0.1 − 0.1 = 0.30000000000000004: Spoiler Rounding everything to the nearest integer won't work for me, because trickle changes in my 0abc mod can be as low as 0.005. Quote Link to comment Share on other sites More sharing options...
WhiteTreePaladin Posted May 7, 2019 Report Share Posted May 7, 2019 6 minutes ago, Nescio said: Rounding everything to the nearest integer won't work for me, because trickle changes in my 0abc mod can be as low as 0.005. Even limiting to three decimal places could be worth it. I don't know how many places are shown in that figure, but it's an unsightly amount. Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted May 7, 2019 Report Share Posted May 7, 2019 @Nescio Yeah, I see about the trickle; but like @WhiteTreePaladin said, maybe it could be rounded to three decimal places? Quote Link to comment Share on other sites More sharing options...
Nescio Posted May 7, 2019 Author Report Share Posted May 7, 2019 Yeah, that would be great, provided no unnecessary zeroes are added (e.g. 2.000 or 0.200 instead of 2 or 0.2). Quote Link to comment Share on other sites More sharing options...
borg- Posted May 7, 2019 Report Share Posted May 7, 2019 (edited) Hey, u can send me this palace? Edited May 7, 2019 by borg- Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 7, 2019 Report Share Posted May 7, 2019 7 minutes ago, borg- said: Hey, u can send me this palace? I thinks it's already in ? Quote Link to comment Share on other sites More sharing options...
borg- Posted May 7, 2019 Report Share Posted May 7, 2019 5 minutes ago, stanislas69 said: I thinks it's already in ? Nop Quote Link to comment Share on other sites More sharing options...
Nescio Posted May 7, 2019 Author Report Share Posted May 7, 2019 Yes, it is: art/actors/structures/carthaginians/palace.xml Quote Link to comment Share on other sites More sharing options...
borg- Posted May 7, 2019 Report Share Posted May 7, 2019 9 minutes ago, Nescio said: Yes, it is: art/actors/structures/carthaginians/palace.xml Tnx!!! Well, it is not in the current version of the game. Quote Link to comment Share on other sites More sharing options...
Nescio Posted May 7, 2019 Author Report Share Posted May 7, 2019 It's not used, but it has been present in the game for years; it was added in rP18939 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.