There's nothing in the code, neither the C++ or the Python that implies anything else than that the selection of techs from huts are random, unless the getSorenRandNum(int, chr[])-method tweaks it (which is a bit unlikely). The selection process is as follows:
1. Computer iterates through the complete list of techs.
2. Each tech that is currently researchable (ie. you got the prequisites) and attainable from huts (a boolean in the TechInfos.xml) are given a random number ('score') in the range 1 to 10000.
3. The techID for the tech that's got the highest score so far is stored and its score is compared to that of the next possible tech you could get.
4. If the score of a tech exceeds the value of the currently stored tech, the score and the ID of this tech overwrites the stored score and techID.
5. You get the tech which ID is stored after the computer has iterated through the whole list.
The whole shebang is in the function recieveGoody in the CvPlayer.cpp file. To conclude: As far as I'm concerned it looks fairly random.
Footnote: This whole method can be overridden by its corresponding python-function, but in FFH that is not the case.
So, then, how can you explain Elves getting FOL and dwarves getting ROK, oh, about 99% of the time?
When you see something happen often enough a pattern forms and the randomness is really questionable.
As mentioned, AI civs are on paths to certain techs/religions. Having two scouts early helps the elves hit goodie huts (they probably never get killed by animals too), but still, to get FOL in only 128 turns you have to be extremely lucky or get a little help from the Elf Gods or something....
![]()
What I cunningly like best is researching the religion tech you are going for before they do (FoL or RoK)... Nnnnngh Denied! If they get as fustrated as I do researching a damn useless waste of time (especially with 2 turns to go when someone else discovers it) it makes some good payback.
When you finish a religion tech in Fire, you get a disciple of the religion, regardless of whether it's been founded or not...![]()
So, then, how can you explain Elves getting FOL and dwarves getting ROK, oh, about 99% of the time?
When you see something happen often enough a pattern forms and the randomness is really questionable.
As mentioned, AI civs are on paths to certain techs/religions. Having two scouts early helps the elves hit goodie huts (they probably never get killed by animals too), but still, to get FOL in only 128 turns you have to be extremely lucky or get a little help from the Elf Gods or something....
![]()
3. You superpolate the experiences that reinforces a theory based on unknown forces manipulating reality and downplay those who don't. This is human nature and is widely believed to be the reason that Occam cut a lot of people with his razor.
In summary:
Statistics good, Occam == Jack the Ripper
I hate to pop a village and receive the tech I'm 90% researched. In the last games, I'm getting usually fishing (not very usufull in Highlands maps).
Try Highlands map with the SEA option rather than lakes. You'll find a much more interesting map IMO and Fishing becomes important again
As an aside, the bonus worker on higher diffs is not unique to the elves - all AIs get one. On the top levles in vanilla they start with a couple of archers - probably a handful of warriors in FfH.