Keniisu
YouTuber | Modder
This is my current code: (Not yet tested so corrections would be nice.
)
I'm trying to add this:
If anybody could help, I'd be grateful.

Code:
local iCiv_ID = GameInfoTypes.CIVILIZATION_MOROCCO -- Morroco is placeholder Civ
function GameEvents.PlayerDoTurn.Add(function(iPlayer)
pPlayer = Players(iPlayer) --get Player ID
local pCiv = pPlayer:GetCivilizationType() --get Civ ID
local iTourism = pPlayer:GetTourism()
local iGold = iTourism
local iCulture = math.floor(iTourism/2)
local pCity = pPlayer:GetCapitalCity()
if pPlayer:IsGoldenAge()
iGold = iTourism + 2
iCulture = math.floor(iTourism/2) + 2
else
end
end
I'm trying to add this:
For every 2 Tourismoutput by your civilization gain +2 Gold
and +1 Culture
, however this is increased by 15% during a Golden Age
. Great People
are earned +5% faster for every civilization you have become Exotic
with. (Max: 30%)
If anybody could help, I'd be grateful.