whoward69
DLL Minion
Speaking of the DEEPWATER_EMBARKATION promotion, have you changed something about this lately?
Nope. It's added by "Units - Steampunk Airships" IIRC - have you removed that mod?
Speaking of the DEEPWATER_EMBARKATION promotion, have you changed something about this lately?
Nope. It's added by "Units - Steampunk Airships" IIRC - have you removed that mod?
Are you considering to integrate Active Diplo?
that would be really great !Only in that I'm currently ripping out V10 of Civ 4 Diplo Features and adding in V11, and while making such major changes that break saved games I may as well make them all.
Anybody know the current code state of Smart AI v3 and JdH's Multiplayer Diplo mod - last I heard bugs were still being removed from both.
Only in that I'm currently ripping out V10 of Civ 4 Diplo Features and adding in V11, and while making such major changes that break saved games I may as well make them all.
Btw when I had a look at your Steampunk-Mod, I noticed the UnitsSteampunkAirshipsUnitPanel.sql and EnemyUnitPanel.lua. May I ask what these files do? Made me really curious!
JdH has been silent for a little while, but he said he's still working on the Active Diplo stuff.
"Mummy, make the nasty man who wants me to look in the path finding code go away"![]()
pCity:CountFeature(iFeatureType)
pCity:CountWorkedFeature(iFeatureType)
pCity:CountImprovement(iImprovementType)
pCity:CountWorkedImprovement(iImprovementType)
pCity:CountPlotType(iPlotType)
pCity:CountWorkedPlotType(iPlotType)
pCity:CountResource(iResourceType)
pCity:CountWorkedResource(iResourceType)
pCity:CountTerrain(iTerrainType)
pCity:CountWorkedTerrain(iTerrainType)
pPlayer:CountAllFeature(iFeatureType)
pPlayer:CountAllWorkedFeature(iFeatureType)
pPlayer:CountAllImprovement(iImprovementType)
pPlayer:CountAllWorkedImprovement(iImprovementType)
pPlayer:CountAllPlotType(iPlotType)
pPlayer:CountAllWorkedPlotType(iPlotType)
pPlayer:CountAllResource(iResourceType)
pPlayer:CountAllWorkedResource(iResourceType)
pPlayer:CountAllTerrain(iTerrainType)
pPlayer:CountAllWorkedTerrain(iTerrainType)
pPlot:GetNumTradeRoutes()
Lua API methods new in v76
Code:pCity:CountFeature(iFeatureType) pCity:CountWorkedFeature(iFeatureType) pCity:CountImprovement(iImprovementType) pCity:CountWorkedImprovement(iImprovementType) pCity:CountPlotType(iPlotType) pCity:CountWorkedPlotType(iPlotType) pCity:CountResource(iResourceType) pCity:CountWorkedResource(iResourceType) pCity:CountTerrain(iTerrainType) pCity:CountWorkedTerrain(iTerrainType) pPlayer:CountAllFeature(iFeatureType) pPlayer:CountAllWorkedFeature(iFeatureType) pPlayer:CountAllImprovement(iImprovementType) pPlayer:CountAllWorkedImprovement(iImprovementType) pPlayer:CountAllPlotType(iPlotType) pPlayer:CountAllWorkedPlotType(iPlotType) pPlayer:CountAllResource(iResourceType) pPlayer:CountAllWorkedResource(iResourceType) pPlayer:CountAllTerrain(iTerrainType) pPlayer:CountAllWorkedTerrain(iTerrainType) pPlot:GetNumTradeRoutes()
pCity and pPlayer ones should help with traits "gain X for each N (worked) tiles"
pPlot:GetNumTradeRoutes() answers the recurring question "how many trade routes in this plot" without have to get and count all the trade route description strings!