burgingham wrote:I think he just chose values that will work. Not paying too much attention that it doesn't match the exact formula he gave you.
Amanda44 wrote:But how does that work if it has to be half and half again? Loftar also gave that formula but in my head the numbers given mean it would only use two types of stones .... idk, this is why numbers are confusing ...
loftar wrote:You do appear to need a good trolling.
barra wrote:Amanda44 wrote:But how does that work if it has to be half and half again? Loftar also gave that formula but in my head the numbers given mean it would only use two types of stones .... idk, this is why numbers are confusing ...
I believe this is how it works:
If the three stone types are 1800, 120, 80
half of 1800 is 900, which is more than 120. Half of 900 is 450, which is more than 80. Your building will have the colors 1 2 3
If it's 1100, 530, 370
half of 1100 is 550, so it will skip whatever stone is 530. Half of 550 is 225, which is less than 370, so it won't skip. You'll get 1 2 3
If it's 1200, 700, 100
half of 1200 is 600, which is less than 700, so it won't skip, but half of 700 is 350 which is more than 100, so it will skip. You'll get 1 2 3
If it's 740, 660, 600
half of 740 is 370, which is less than 660, so it won't skip, and half of 660 is 330, which is less than 600, so it won't skip. You'll get 1 2 3
The only combination you can't get is 1 2 3
Amanda44 wrote:Secondary will be the second largest quantity provided it's total is at least half of the primary's quantity, else it will be primary again
Tertiary will be the third largest quantity provided it's total is at least half of the secondary's quantity, else it will be secondary again
660 isn't half of 740 ... neither is 600 half of 660 ... my maths skills are not good but ....
simimi wrote:Dont say thanks, was a pleasure.
barra wrote:If it's 1100, 530, 370
half of 1100 is 550, so it will skip whatever stone is 530. Half of 550 is 225, which is less than 370, so it won't skip. You'll get 1 2 3
Sevenless wrote:Are you sure? The way I read loftar's comment was that if anything gets over-ridden, it cascades down. So you get 111 instead of 113.
loftar wrote:You do appear to need a good trolling.
Users browsing this forum: Python-Requests [Bot] and 160 guests