The original post does not explain in detail how organisms move from biome to biome. Looking at the code it seems to be like this:
-Each organism has a chance to roam at each step proportional to its speed. An organism with speed 10 will roam 1/1000 of the time. An organism with speed 0 will never roam to another biome. This seems like an extremely important consideration for any species that could survive in multiple biomes: put at least one point into speed.
-If an organism chooses to roam, it goes to a randomly chosen biome, including the one it just came from.
If my understanding of the code is correct, if the organism successfully roams, it basically spawns another copy of itself, leaving the original behind to compete in the source biome . That organism isn’t removed from the competition pool. Given the relatively low roaming rate, I’m not sure this makes a huge difference, but it doesn’t seem like it should be intended behavior.
Not what I’m seeing. Roamers start roaming before the encounters in each biome, then after every biome is processed, the roamers find a new home. So the roamers go a whole generation without competing or foraging. Is that not what was intended?
The original post does not explain in detail how organisms move from biome to biome. Looking at the code it seems to be like this:
-Each organism has a chance to roam at each step proportional to its speed. An organism with speed 10 will roam 1/1000 of the time. An organism with speed 0 will never roam to another biome. This seems like an extremely important consideration for any species that could survive in multiple biomes: put at least one point into speed.
-If an organism chooses to roam, it goes to a randomly chosen biome, including the one it just came from.
-If it can’t survive in that biome, it dies.
Yes. Confirmed. Thank you for elaborating.
If my understanding of the code is correct, if the organism successfully roams, it basically spawns another copy of itself, leaving the original behind to compete in the source biome . That organism isn’t removed from the competition pool. Given the relatively low roaming rate, I’m not sure this makes a huge difference, but it doesn’t seem like it should be intended behavior.
The method
.pop
removes the roamer from the original population.Ah, ok. So instead of competing in that generation, the individual roams.
Roamers don’t skip competitions. Roaming happens between competitions for food.Edit: I was wrong. See thread.
Not what I’m seeing. Roamers start roaming before the encounters in each biome, then after every biome is processed, the roamers find a new home. So the roamers go a whole generation without competing or foraging. Is that not what was intended?
You’re right. I’m wrong. Good spotting! This behavior wasn’t intended but I’m keeping it because it’s interesting and makes some biological sense.
It would also be kind of a pain in the ass to change! :)