pyroflare77
King
- Joined
- Sep 22, 2010
- Messages
- 667
Yet another thing I noticed with the Egypt UA mod. It affects all civilizations because the lua doesn't have something making the dummy buildings to be applied only if you're Egypt
Yeah. Needs to be changed to this in the lua (or something very nearly like it):Yet another thing I noticed with the Egypt UA mod. It affects all civilizations because the lua doesn't have something making the dummy buildings to be applied only if you're Egypt
GameEvents.PlayerDoTurn.Add(
function(iPlayer)
local pPlayer = Players[iPlayer]
if not pPlayer:IsAlive() then return end
if pPlayer:GetCivilizationType() ~= GameInfoTypes["CIVILIZATION_EGYPT"] then return end
for pCity in pPlayer:Cities() do
pCity:SetNumRealBuilding(GameInfoTypes.BUILDING_E_UA_R, (pCity:GetNumNationalWonders() + pCity:GetNumWorldWonders()))
end
end)
<GameData>
<BuildingClasses>
<Row>
<Type>BUILDINGCLASS_E_UA_R</Type>
<DefaultBuilding>BUILDING_E_UA_R</DefaultBuilding>
<Description/>
<NoLimit>true</NoLimit>
</Row>
</BuildingClasses>
<Buildings>
<Row>
<Type>BUILDING_E_UA_R</Type>
<BuildingClass>BUILDINGCLASS_E_UA_R</BuildingClass>
<GreatWorkCount>-1</GreatWorkCount>
<Cost>-1</Cost>
<FaithCost>-1</FaithCost>
<PrereqTech>NULL</PrereqTech>
<CultureRateModifier>5</CultureRateModifier>
</Row>
</Buildings>
<Building_YieldModifiers>
<Row>
<BuildingType>BUILDING_E_UA_R</BuildingType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>2</Yield>
</Row>
</Building_YieldModifiers>
</GameData>
But you got my reference, right?The second one should be Attila's Court 2: Electric Boogaloo
Egyptian UA Rebuilt has got to be the most broken AWMN mod in the history of forever. :/ I'll probably fix it in the next update, but I update very scarcely due to the sheer bureaucracy needed to upload a mod.Yet another thing I noticed with the Egypt UA mod. It affects all civilizations because the lua doesn't have something making the dummy buildings to be applied only if you're Egypt
Can someone remind me what I have yet to do? I've kind of lost track with 20 mods to maintain
Can someone remind me what I have yet to do? I've kind of lost track with 20 mods to maintain