wakystuf / ESG-Mod

An Endless Space 2 balance and overhaul mod
31 stars 4 forks source link

Pass laws from 5 parties Deed still requires 6 #1387

Closed wakystuf closed 1 year ago

wakystuf commented 1 year ago

Likely needs the quest objective to be adjusted

captaincobbs commented 1 year ago

QuestDefinitions[Deeds].xml, change $LawObjective on Ln 501 from 5 to 4?

wakystuf commented 1 year ago

No, that's just the localization (which is how I also thought it worked originally). The problem is that in lines 532 through 561 it's checking with a Parallel CompletionPolicy="All" that each party's path is satisfied. So I need to rebuild that somehow to be a numerical evaluation (may require adding a variable into ClassSenate or something for the # of parties; I'm not quite sure).

captaincobbs commented 1 year ago

My best idea then is to make the simdescs "LawPolitics0x" give +1 to an empire property of how many different party's laws are passed, then make an interpreter expression and replace the parallel tag with just something that checks for that expression

wakystuf commented 1 year ago

I figured out how to dupe the parallels and make this work. Should now be fixed