Goody Hut Percentages?

jefmart1

Prince
Joined
Aug 16, 2005
Messages
463
What controls the chances of a goody hut having a specific result?

I saw something in the handicap file, but there are no numbers. So if I wanted to make barbs appear 50% of the time, gold 25%, scout 10%, and empty 15% how would I do that?
 
I think its this in HandicapInfos. Each incidence is one chance to get that type of goody hut result. So, for Settler level, you get this:

<Goodies>
<GoodyType>GOODY_HIGH_GOLD</GoodyType>
<GoodyType>GOODY_HIGH_GOLD</GoodyType>
<GoodyType>GOODY_HIGH_GOLD</GoodyType>
<GoodyType>GOODY_HIGH_GOLD</GoodyType>
<GoodyType>GOODY_LOW_GOLD</GoodyType>
<GoodyType>GOODY_LOW_GOLD</GoodyType>
<GoodyType>GOODY_MAP</GoodyType>
<GoodyType>GOODY_SETTLER</GoodyType>
<GoodyType>GOODY_SETTLER</GoodyType>
<GoodyType>GOODY_WARRIOR</GoodyType>
<GoodyType>GOODY_WARRIOR</GoodyType>
<GoodyType>GOODY_SCOUT</GoodyType>
<GoodyType>GOODY_WORKER</GoodyType>
<GoodyType>GOODY_WORKER</GoodyType>
<GoodyType>GOODY_EXPERIENCE</GoodyType>
<GoodyType>GOODY_HEALING</GoodyType>
<GoodyType>GOODY_TECH</GoodyType>
<GoodyType>GOODY_TECH</GoodyType>
<GoodyType>GOODY_TECH</GoodyType>
<GoodyType>GOODY_TECH</GoodyType>
</Goodies>

4 chances for high gold, 2 for low gold, 4 for goody tech etc...
Higher levels get chances for lots of nasty barbarians and fewer techs and less gold. Hmm, I wonder if its possible to add goody types?
 
Top Bottom