Ah, I figured it out: you need to chop down the forest first.View attachment 557440
Any idea why this guy can't build a slave plantation?
* Is in Brazil
* I have Slavery and Colonialism
* Can't be done on either coffee or tobacco
* CAN be done on banana or sugar
# used: CvScreensInterface, Stability
def canRespawn(iPlayer):
iCiv = civ(iPlayer)
# no respawn before spawn
if year() < dBirth[iCiv] + 10: return False
# only dead civ need to check for resurrection
if player(iPlayer).isAlive(): return False
# check if only recently died
if turn() - data.players[iPlayer].iLastTurnAlive < turns(10): return False
# check if the civ can be reborn at this date
if not any(year().between(iStart, iEnd) for iStart, iEnd in dResurrections[iPlayer]):
return False
# TODO: function like exclusive(iCiv1, iCiv2) to simplify this
# Thailand cannot respawn when Khmer is alive and vice versa
if iCiv == iThailand and player(iKhmer).isAlive(): return False
if iCiv == iKhmer and player(iThailand).isAlive(): return False
# Rome cannot respawn when Italy is alive and vice versa
if iCiv == iRome and player(iItaly).isAlive(): return False
if iCiv == iItaly and player(iRome).isAlive(): return False
# Greece cannot respawn when Byzantium is alive and vice versa
if iCiv == iGreece and player(iByzantium).isAlive(): return False
if iCiv == iByzantium and player(iGreece).isAlive(): return False
# India cannot respawn when Mughals are alive (not vice versa -> Pakistan)
if iCiv == iIndia and player(iMughals).isAlive(): return False
# Exception during Japanese UHV
if player(iJapan).isHuman() and year().between(1920, 1945):
if iCiv in [iChina, iKorea, iIndonesia, iThailand]:
return False
if not player(iPlayer).isAlive() and turn() > data.players[iPlayer].iLastTurnAlive + turns(20):
if iCiv not in dRebirth or year() > year(dRebirth[iCiv]) + turns(10):
return True
return False
You can view the player stability scores in the StoredData screen of the WB. Set the screen to Player mode (dropdown menu on the left) and select the civ.
Releasing civ in their core has the same (additional) requirements as a regular respawn. Likely the "# check if the civ can be reborn at this date" part is the culprit, as this limits a civ from being able to be released to certain windows. (For example, Egypt can only be released between 900-1300 or 1800-2020)
Spoiler :
Code:# used: CvScreensInterface, Stability def canRespawn(iPlayer): iCiv = civ(iPlayer) # no respawn before spawn if year() < dBirth[iCiv] + 10: return False # only dead civ need to check for resurrection if player(iPlayer).isAlive(): return False # check if only recently died if turn() - data.players[iPlayer].iLastTurnAlive < turns(10): return False # check if the civ can be reborn at this date if not any(year().between(iStart, iEnd) for iStart, iEnd in dResurrections[iPlayer]): return False # TODO: function like exclusive(iCiv1, iCiv2) to simplify this # Thailand cannot respawn when Khmer is alive and vice versa if iCiv == iThailand and player(iKhmer).isAlive(): return False if iCiv == iKhmer and player(iThailand).isAlive(): return False # Rome cannot respawn when Italy is alive and vice versa if iCiv == iRome and player(iItaly).isAlive(): return False if iCiv == iItaly and player(iRome).isAlive(): return False # Greece cannot respawn when Byzantium is alive and vice versa if iCiv == iGreece and player(iByzantium).isAlive(): return False if iCiv == iByzantium and player(iGreece).isAlive(): return False # India cannot respawn when Mughals are alive (not vice versa -> Pakistan) if iCiv == iIndia and player(iMughals).isAlive(): return False # Exception during Japanese UHV if player(iJapan).isHuman() and year().between(1920, 1945): if iCiv in [iChina, iKorea, iIndonesia, iThailand]: return False if not player(iPlayer).isAlive() and turn() > data.players[iPlayer].iLastTurnAlive + turns(20): if iCiv not in dRebirth or year() > year(dRebirth[iCiv]) + turns(10): return True return False
Ahhhhhhhhhhhh that makes sense!
Is there a way to check the windows in the code ? Where can I find the windows
Looking at some civs stability I noticed this:
-------------------
Japan has -10 expansion stability, yet they only have two cities inside core and no other cities. (they semi-collapsed and released 2 cities, putting them from 4 to 2)
Mongolia has -6 expansion stability, yet has 12 core vs 11 outside population
Tibet has -8 expansion stability, with 6 core vs 0 outside population
---------------------
What is giving all of these nations negative expansion stability? Is it the "if they survive too long get stability penalty" at play here? Or what could it be? I don't see a way to inquire further as to what the numbers are. And concepts on civiopledia does not seem to give any clues what could be causing the problem outside too low core pop or razing cities. I just want vassals to stop collapsing Most living civs have negative expansion stability
The conqueror's event for being the first to discover a Native American civ is the only one that applies to human and AI equally. Trading Company events are available to both as well, but for the AI it's enough to just discover the tech that unlocks the National Wonder while the human has to actually build it IIRC. All other conqueror events are only there to help out the AI I think.Just started playing this awesome mod but I don't really understand the doom-stack spawning triggers. Playing as Portugal I got a stack in the new world when I meet the Aztecs but playing as the Greeks I got no units while the AI gets stacks everywhere around Persia and Egypt during the time of Alexander, is this just to help out the AI? and if so is there any info of what civs you can and can't get these kinds of events with?
Core: the religion will always be able to spread here, and will spread much faster here for a while after being foundedWhat is the mechanical difference of zones coded as minority vs periphery vs historical for religion?
I see Judaism has minority in most places, Confucianism minority in japan
But other religions I cannot find much for minority.
What is the difference of having something labeled as periphery vs having them labeled as minority? Periphery vs historical?