mikeburnfire
Warlord
- Joined
- Oct 4, 2014
- Messages
- 156
I want City-States to yield 2 WC delegates, even after being puppeted by Venice, annexed by Austria, or just outright conquered. What would be the best way of doing this? Give each MinorCiv a Unique Wonder (ala Forbidden Palace) that nobody else can acquire?
I looked at JFD's Germans as a possibility (their UA is that conquered City-States yield 1 delegate). Unfortunately, it's in SQL, so I wouldn't know how to tweak it to apply to everyone. It looks like this:
I looked at JFD's Germans as a possibility (their UA is that conquered City-States yield 1 delegate). Unfortunately, it's in SQL, so I wouldn't know how to tweak it to apply to everyone. It looks like this:
Code:
function JFD_CityStateConquests(oldOwnerID, isCapital, cityX, cityY, newOwnerID, pop, isConquest)
local player = Players[newOwnerID]
local capturedPlayer = Players[oldOwnerID]
if player:GetCivilizationType() == civilisationID then
local city = Map.GetPlot(cityX, cityY):GetPlotCity()
if city:IsOriginalCapital() and capturedPlayer:IsMinorCiv() then
if not city:IsHasBuilding(buildingDelegateID) then
city:SetNumRealBuilding(buildingDelegateID, 1)
end
end
end
end