Apple111111
Warlord
- Joined
- Sep 14, 2024
- Messages
- 171
Do you know where I can find the script for the Trading Company events? (Specifically wondering about the France, Spain, Portugal, England events), I'm wondering if I could make my own one.
Do you know where I can find the script for the Trading Company events? (Specifically wondering about the France, Spain, Portugal, England events), I'm wondering if I could make my own one.
So far I've found the script for the event itself in History.py, and the list of civs that get it in Consts.py.Assets/Python/History.py
Oh, that’s pretty interesting actually.It's based on the plots with the highest war map values for the colonizing civ.
iAmerica: (
ControlledResourceCount(
(improvement_resources(iFarm, iPasture), 20),
(improvement_resources(iPlantation, iOrchard), 15),
(improvement_resources(iMine, iQuarry), 35),
subject=VASSALS,
by=1880,
),
All(
Wonders(iStatueOfLiberty, iHollywood, iEmpireStateBuilding, iPentagon, iUnitedNations),
Project(iLunarLanding),
by=1970,
),
All(
CommercePercent(75, subject=ALLIES),
PowerPercent(75, subject=ALLIES),
by=1990,
),
I assume this is a bug, and the order of the two projects may be switched around in the “Consts” file. Try swapping it for iLunarLanding, and see if it gives Man in Space.So I tried to change America's UHV in HistoricalVictory.py and I noticed something weird. I edited it like so:
But when I checked in-game in the Civilopedia the required project was "Man in Space". I tested with other space projects and they get the project above it in CIV4ProjectInfo.xml, but others like iManhattanProject or iTheInternet get the correct description. Am I missing something here or is this a bug?
iGreatFirewall was missing in Consts.py, that solved it.I assume this is a bug, and the order of the two projects may be switched around in the “Consts” file. Try swapping it for iLunarLanding, and see if it gives Man in Space.