updated to DLL 43 now my game just closes with no warning, error etc after only 70 turns. reverting back to 41.
i also noticed i was not able to buy a great prophet ever.
Whoward knows what he's doing ...
Thanks for the vote of confidence but ... "Whoward is only human and mistakes happen"![]()
updated to DLL 43 ... i also noticed i was not able to buy a great prophet ever.
updated to DLL 43 now my game just closes with no warning, error etc after only 70 turns
Is there some way to get the current city working distance bonuses from policy/traits/buildings?
I'm using a mod that highlights the maximum workable city limit (for cities and settlers assuming they found a city on the spot) but it's currently hardcoded to range 3 and I wanna fix that.
local iBuyDistance = pCity.GetBuyPlotDistance and pCity:GetBuyPlotDistance() or GameDefines.MAXIMUM_BUY_PLOT_DISTANCE
local iWorkDistance = pCity.GetWorkPlotDistance and pCity:GetWorkPlotDistance() or 3
Code:local iBuyDistance = pCity.GetBuyPlotDistance and pCity:GetBuyPlotDistance() or GameDefines.MAXIMUM_BUY_PLOT_DISTANCE local iWorkDistance = pCity.GetWorkPlotDistance and pCity:GetWorkPlotDistance() or 3
No way to tell apart the sources then?
You can find it out by checking for the trait/policy/building that gives an increase.
If the player has a trait that increases range, all cities will increase; same if the player has a policy.
Iterate all the buildings in a city and check to see if they give an increase.
<!-- Events sent when plots change from worker actions -->
<!-- GameEvents.TileFeatureChanged.Add(function(iPlotX, iPlotY, iOwner, iOldFeature, iNewFeature) end) -->
<!-- GameEvents.TileImprovementChanged.Add(function(iPlotX, iPlotY, iOwner, iOldImprovement, iNewImprovement, bPillaged) end) -->
<!-- GameEvents.TileRouteChanged.Add(function(iPlotX, iPlotY, iOwner, iOldRoute, iNewRoute, bPillaged) end) -->
<Row Class="3" Name="EVENTS_TILE_IMPROVEMENTS" Value="0"/>
I received the red message that I did not have the correct prerequisites.
Any chance that this mod work with " combat_and_stacking_overhaul__v_2 " everyone ?
Thanks