ENDLESS™ Space 2 is turn-based 4X space-strategy that launches players into the space colonization age of different civilizations within the ENDLESS™ Universe. Your Vision. Their Future.
I'm trying to make an equivalent to cravers Feeding pits that make approval malus when you are in other government than dictatorship or autocracy. I've tried 2 way that failed (everything work except when I odd the sentances to make it specific to player's government).
1st way : Modifying the temporary effect file with the malus from looting system : <ModifierTargetProperty="Happiness"Operation="Addition"Value="-10"Path="ClassSenate,!GovernmentDictatorship,!GovernmentDictatorshipCravers/../ClassEmpire/ClassColonizedStarSystem"TooltipOverride="%HappinessOnNonDictatorship"/>
2nd way : Creating Different system's improvments depending on the government. Same fails (this work with gameplay affinity but not with government) : <PathPrerequisiteFlags="Prerequisite,Discard,Government">ClassSenate,GovernmentDictatorship,GovernmentDictatorshipCravers</PathPrerequisite>
Is this a law? A system improvement? faction trait?
Best advice I can give though, you probably want to add a ../ in front of your path.
It is a system improvement that destroy a minor population and active a temporary effect. I've tried your solution, but it didn't worked (the system improvement always disappear).
HighOverseer wrote: In which XML file can I find that?
The first one is taken from "SimulationDescriptors[DLC2]" in "Simulation" game's file and concern the TemporaryEffectSystemPillageHappinessMalus.
The second one is taken from the file "LawDefinitions[mod] in the mod file I use as a backbone (because the line about the affinitygameplay was working, I was hopping it will be the same with the government)
I wanted to share the concerned file of the mod but it say "something went wrong, please try again" without more information so i'll use google drive.
Here is the link : https://drive.google.com/drive/folders/1xHUd7X8ZPuQfEtiMmLIdX8t_a10zX2Yw?usp=sharing
I use the mod Wrath of the Righteous as a backbone. The autor didn't give any sign of live since 2018 and since I will not share it on internet but use it for myself, it shouldn't be a problem to use it this way.
al00195
Newcomer
al00195
Newcomer
10 400g2g ptsReport comment
Why do you report al00195?
Are you sure you want to block al00195 ?
BlockCancelAre you sure you want to unblock al00195 ?
UnblockCancelHighOverseer
Eyder Newcomer
HighOverseer
Eyder Newcomer
900g2g ptsReport comment
Why do you report HighOverseer?
Are you sure you want to block HighOverseer ?
BlockCancelAre you sure you want to unblock HighOverseer ?
UnblockCancelVIPCaptainCobbs
Solitary Immortal
I will not die, you can't make me
VIPCaptainCobbs
Solitary Immortal
76 100g2g ptsReport comment
Why do you report CaptainCobbs?
Are you sure you want to block CaptainCobbs ?
BlockCancelAre you sure you want to unblock CaptainCobbs ?
UnblockCancelal00195
Newcomer
al00195
Newcomer
10 400g2g ptsReport comment
Why do you report al00195?
Are you sure you want to block al00195 ?
BlockCancelAre you sure you want to unblock al00195 ?
UnblockCancel