Gilgamesch
Ancient Alien
Sorry for ask this, but is the unhappiness via buildings supported with your last dll update.
Thanks.
Thanks.
// Trust the modder if they set a building to negative happiness
#if !defined(MOD_API_EXTENSIONS)
if(pBuildingInfo->GetHappiness() > 0)
#endif
{
ChangeBaseHappinessFromBuildings(pBuildingInfo->GetHappiness() * iChange);
}
// Trust the modder if they set a building to negative global happiness
#if !defined(MOD_API_EXTENSIONS)
if(pBuildingInfo->GetUnmoddedHappiness() > 0)
#endif
{
ChangeUnmoddedHappinessFromBuildings(pBuildingInfo->GetUnmoddedHappiness() * iChange);
}
Like most (if not all) programmers, documentation (help text etc) is very low on my list of tasks to do
One day ... [tumbleweed passes by]
whoward69,
One quick question...with support for vanilla out the window, we have G&K and BNW. If one of your mods does not indicate if the mod is for one or the other, is it for both?
Example (using your web page) "Global - Coastal Waters Only" under Compatibility simply says "Hot Seat". Now I know its for BNW, but if I didn't, how would I know if its for only G&K, only those with BNW, or both? Really a question of clarification.
Thanks!
The problem is in "UI - City Expansion" (the only one of my mods that touches the CityView.lua file)
At line 1390
Code:if thisBuildingClass.MaxGlobalInstances <= 0 and thisBuildingClass.MaxTeamInstances <= 0 and (not isBNW [B][COLOR="Red"]and[/COLOR][/B] thisBuildingClass.MaxPlayerInstances ~= 1) then
should be
Code:if thisBuildingClass.MaxGlobalInstances <= 0 and thisBuildingClass.MaxTeamInstances <= 0 and (not isBNW [B][COLOR="Green"]or[/COLOR][/B] thisBuildingClass.MaxPlayerInstances ~= 1) then
If it is only for GK, it says (GK)
If it's only for BNW, it says (BNW)
All the others are for both I guess.
UI - Multiple Unique Bonuses (GK) is clearly labled as being BNW incompatible.
Do you have plans to make a BNW compatible version of UI - Multiple Unique Bonuses?
Edit: same for the terracotta army as I can see right now...
Now regular specialist builds show up, but Artist Guild and Writer's Guild (so far) don't show up.
if thisBuildingClass.MaxGlobalInstances <= 0 and thisBuildingClass.MaxTeamInstances <= 0
and ([COLOR="Red"][B]not[/B][/COLOR] isBNW [B][COLOR="Red"]and[/COLOR][/B] thisBuildingClass.MaxPlayerInstances ~= 1) then
if thisBuildingClass.MaxGlobalInstances <= 0 and thisBuildingClass.MaxTeamInstances <= 0
and (isBNW [B][COLOR="Green"]or[/COLOR][/B] thisBuildingClass.MaxPlayerInstances ~= 1) then
Is it intended that the free tile buys from culture in the UI - City Expansion mod increase the gold cost of buying more tiles?
The problem is in "UI - City Expansion" (the only one of my mods that touches the CityView.lua file)
At line 1390