Scaling with era

It should automatically scale for you depending on the table used. If it's yields via Lua you're going to have to find the era and multiply that by the default yields.
 
Oh so I have to use lua?
And how about trigger basically trying to do unique wonder bonus xp for current war declared.
Spawns uu when gg born
And culture and faith for units recruited from City scaling with era.

And prolly scoot it way early (strong UW for Rome) to replace UU
 
Last edited:
In the "naturalwonderschanges.sql" file you have for example:

INSERT INTO Feature_EraYieldChanges
('FeatureType', 'YieldType', 'Yield')
VALUES
('FEATURE_POTOSI', 'YIELD_PRODUCTION', 2),

Maybe you can use sth like this to experiment with (also search the files for "EraYieldChanges" to see whether there's a core file with that somewhere)
 
Oh so I have to use lua?
And how about trigger basically trying to do unique wonder bonus xp for current war declared.
Spawns uu when gg born
And culture and faith for units recruited from City scaling with era.

And prolly scoot it way early (strong UW for Rome) to replace UU
Excuse me?
 
For example for one building I am trying to program several triggers.
Whenever a great general is spawns spawns a Unit
Whenever a unit is created +10 XP per ongoing war
And
Whenever a unit is trained in city either production, faith, or gold generates +5 culture +5 faith scaling with era.

So I would use XML to create the building?
and LUA to make the values?
 
Whenever a great general is spawns spawns a Unit
Probably needs Lua.
Whenever a unit is created +10 XP per ongoing war
Lua as well.
Whenever a unit is trained in city either production, faith, or gold generates +5 culture +5 faith scaling with era.
Building_YieldFromUnitProduction.
 
So Building_YieldFromUnitProduction
generates yields automatically scaled and from unit purchases? or do I have to do for each era multiply.
 
So Building_YieldFromUnitProduction
generates yields automatically scaled and from unit purchases? or do I have to do for each era multiply.
Automatically scaled.
 
Also should such a building be unlocked as heroic epoch or national.

And how hard would it to be to make a mod mod for Maya to change science to tourism for UI
 
Back
Top Bottom