Open azum4roll opened 2 weeks ago
UPDATE GameSpeeds
SET TechCostPerTurnMultiplier = 20
WHERE Type = 'GAMESPEED_QUICK';
UPDATE GameSpeeds
SET TechCostPerTurnMultiplier = 30
WHERE Type = 'GAMESPEED_STANDARD';
UPDATE GameSpeeds
SET TechCostPerTurnMultiplier = 45
WHERE Type = 'GAMESPEED_EPIC';
UPDATE GameSpeeds
SET TechCostPerTurnMultiplier = 90
WHERE Type = 'GAMESPEED_MARATHON';
The numbers for each game speed, for reference. None of them matter as it's always 100 right now.
@axatin
I don't play with tech trading on so I don't really have a feeling for which values would be reasonable there, and I never changed anything in that part of the code. Feel free to rework it as you like.
In my current run, you can buy a tech which is worth 20k science for just 2-5k gold from AI you made friendship, and you can sell a tech at 10-15k gold to them. I feel like this should at least be the opposite.
In CvDealAI::GetTechValue(), the base cost of a tech is calculated as follows:
It seems the second
max
on the second line is supposed to bemin
, or it doesn't make sense.The first
max
could also bemin
, but at the end, are these upper/lower bounds really necessary? Looks like it's better with justiItemValue = iTurnsLeft * /*30 in standard*/ GC.getGame().getGameSpeedInfo().getTechCostPerTurnMultiplier();