Barathor
Emperor
- Joined
- May 7, 2011
- Messages
- 1,202
V 1.0.3.276
AssignStartingPlots:GetListOfAllowableLuxuriesAtCitySite()
line 8066:
Existing:
Correction:
Since cocoa is included in this function now, and has an index of 41, the table needs to be expanded like the other ones within the file.
Also, Firaxis, while you're focused on this function:
1) The GK luxuries (crab, truffles, copper, citrus, and salt) are still not included in this function and should be.
2) There really needs to be a simple check for an existing luxury (regional luxuries within the start zone) before the function proceeds with assigning "true" values to luxury types. In rare cases, this causes a bug where a civ doesn't receive their 2nd luxury type at their capital (if that occupied tile was the only tile available for the chosen luxury), which is an unnecessary handicap to start with.
AssignStartingPlots:GetListOfAllowableLuxuriesAtCitySite()
line 8066:
Existing:
Code:
local allowed_luxuries = table.fill(false, [COLOR="Red"]35[/COLOR]);
Correction:
Code:
local allowed_luxuries = table.fill(false, [COLOR="Blue"]45[/COLOR]);
Since cocoa is included in this function now, and has an index of 41, the table needs to be expanded like the other ones within the file.
Also, Firaxis, while you're focused on this function:
Spoiler :
1) The GK luxuries (crab, truffles, copper, citrus, and salt) are still not included in this function and should be.
2) There really needs to be a simple check for an existing luxury (regional luxuries within the start zone) before the function proceeds with assigning "true" values to luxury types. In rare cases, this causes a bug where a civ doesn't receive their 2nd luxury type at their capital (if that occupied tile was the only tile available for the chosen luxury), which is an unnecessary handicap to start with.