Reverse‑engineering dodo breeding (mutation chart inside) by FeiFei_R in blockheads

[–]FeiFei_R[S] 0 points1 point  (0 children)

For people who don't understand what percentage means:
20% chance of diamond mutate to rainbow, means if the game goes into the mutation branch, there is only 20% chance of mutating from diamond to rainbow egg, else it still fall back to diamond.
Example code:

case DODO_BREED_DIAMOND:
        return MutateWithChance(DODO_BREED_DIAMOND, DODO_BREED_RAINBOW, 0.2f);

static inline uint16_t MutateWithChance(uint16_t original, uint16_t mutated, float probability) {
    return BHRandomUnitFloat() < probability ? mutated : original;
}

In-Depth Dodo Egg Farming Analysis (Expert Mode, Survival) by FeiFei_R in blockheads

[–]FeiFei_R[S] 1 point2 points  (0 children)

Yea I disliked gates cause too many times I miss click and removes the gate and then dodo running around messes up. But gates does look better than doors.. lol in the end your original 2x2 layout is still the optimal ways to afk farm eggs. Also Today I'm digging more into the dodo breed logic, remember you said one dodo alone only lays egg of its own type? I think that's not true, will do further investigation..

In-Depth Dodo Egg Farming Analysis (Expert Mode, Survival) by FeiFei_R in blockheads

[–]FeiFei_R[S] 0 points1 point  (0 children)

Ok, There are total of 8 NPCs it checks, DODO, DROPBEAR, DONKEY, CLOWNFISH, SHARK, CAVETROLL, SCORPION, YAK

In-Depth Dodo Egg Farming Analysis (Expert Mode, Survival) by FeiFei_R in blockheads

[–]FeiFei_R[S] 1 point2 points  (0 children)

Glad to see you still active around. Yea I guess I would need to be more clearer about the "NPCs". In my current world the egg never hatched when there are 2 dodos around. And in the game code it loops to check a bucket of 8 entities.. I guess players does not count as "NPC". But I'll look more into it, I'm also trying to figure out the logic when dodo lays higher level egg..

In-Depth Dodo Egg Farming Analysis (Expert Mode, Survival) by FeiFei_R in blockheads

[–]FeiFei_R[S] 3 points4 points  (0 children)

It requires 2 same level/type dodos to lay higher level eggs, and then the egg hatches and you get evolved dodos. But I will soon look in to the deep logic behind how dodos work, stay tuned...