Topic: Frisian Balancing
hessenfarmer |
Posted at: 2019-12-13, 20:50
I have done this and it should be sufficient. In my first attempt I got the code in immovables.cc wrong. The immovables with low probability are not removed by the probability check but replaced with a new instance of themselves (i.e. they do not grow) so they need an extra cycle each time this happens. Top Quote |
Nordfriese |
Posted at: 2019-12-13, 20:56
Just add one with suitable values and placeholder graphics in the balancing branch in review, and I´ll add the graphics in the branch then Edited: 2019-12-13, 20:56
Top Quote |
hessenfarmer |
Posted at: 2019-12-13, 21:06
oh that is very kind of you. I will do so then. Top Quote |
hessenfarmer |
Posted at: 2019-12-13, 21:57
ok I created a placeholder for "Stink Shepherd's Tree" Top Quote |
Nordfriese |
Posted at: 2019-12-13, 23:47
Pushed a set of graphics. How do you like them? Edited: 2019-12-13, 23:48
Top Quote |
hessenfarmer |
Posted at: 2019-12-14, 12:42
I like them very much. Top Quote |
WorldSavior |
Posted at: 2019-12-15, 16:35
So it's not always the best bush, but it can also be the 6th best
Why? Do they work different to trees? Somebody said that the best 6 trees are chosen and then weighted again by their growth possibility, the better, the more probable. In this example the chance to plant the wrong bush would not be 50%, but 0.01/0.71.
I like them, they fit well to blackland. They have some candle-look so to speak, and this fits well to the blackland trees which have some lamp-look sometimes. Wanted to save the world, then I got widetracked Top Quote |
stonerl |
Posted at: 2019-12-15, 21:39
Very nice. Top Quote |
hessenfarmer |
Posted at: 2019-12-16, 10:20
indeed. Maybe this Code could use some optimization.
Ok here is how it works: this rresults in a chance of 5 / 75 in our example which is 6%. so it is not as high as I first I expected (got something wrong from the code) but still high. if you calculate this with 70+10+10+10+10+10 you'll end up with a 50/120 = 41 % probability that a 10% immovable is planted instead of a 70% immovable.
it works the same for all immovables, so yes the better growthprobability the more often the immovable is chosen. but the algorithm evaluates basically the probability of 1 immovable against the sum of 5 other immovables which is not perfect I believe. Edited: 2019-12-16, 10:32
Top Quote |
JanO |
Posted at: 2019-12-16, 16:14
I would adjust the mathematics here, too. But yet I have no idea, where you want to calculate squares. Would it not be sufficient to just multiply the random number by a "probability correction factor" of - lets say - 1.1 or 1.2? Top Quote |