[quote=“Taikei no Yuurei, post:5015, topic:47”][quote=“Okiemurse, post:5014, topic:47”][quote=“Taikei no Yuurei, post:4967, topic:47”][quote=“EkarusRyndren, post:4965, topic:47”]So I lost another character getting this but uh, statistically speaking what the flying fuck are the odds of this happening?
For those of you wondering, or who can’t view PNGs because I used a PNG without thinking, two Motels generated perfectly and right next to eachother.[/quote]Interestingly the odds of it happening are roughly the same as the odds of there being a motel in the first place. Probability is fun.[/quote]
Actually not completely true. It depends on when you are calculating the probability of this happening. The probability of 2 independent events happening one after the other or at the same time is the probability of the first event multiplied by the probability of the second event.
If the first event has already happened and is in the past, the probability of event 2 happening is NOT multiplied by event 1.
For example: What are the odds of me flipping a coin twice and getting heads both times? 1/2 * 1/2 = 1/4.
Example 2: I flipped a coin and the results are heads. What is the probability of the second flip being heads as well? 1/2.[/quote]Very true, but since the question doesn’t come up unless you have at least one motel, then you can run the numbers with the assumption that the first motel already exists, and thus you are only looking at the odds of the second happening really.
Perhaps the way I said it is a bit misleading. What I meant was that the odds of having a second hotel adjacent to any hotel you find, are the same as the odds of having found the first hotel in the first place. So if 1 in every 1000 tiles is a hotel, then about 1 in every 1000 hotels you find will have a twin right next to it. (Well, actually it’d be more like 1 in 125 if you allow for all 8 adjacent tiles.)
But, it is really quite rare. I don’t think that can happen with most other features because they seem to have building guidelines that would prevent that. Labs for example all seem to have roads leading to them, and the roads always seem to be empty of vehicles. Also the underground areas overlapping would likely cause problems as well, so I’d guess there is a 5 tile radius or so area that must be maintained between labs.[/quote]
Well if the chance of a tile being a motel is 1 in 1000 then the chance for a second motel directly linked to the first would be more like 1 in 166,6… . As there are 8 tiles directly linked to the motel 2 of which are road and this are not going to spawn a motel.(there could still be a motel on the other side of the road tough)