dhruv-tailor / excelmakesbelhappypack

Combination of Governments Expanded, Missions Expanded and Ideas Variation
36 stars 15 forks source link

Refactor all mission triggers to take account for new buildings #89

Closed Grociu closed 4 years ago

Grociu commented 4 years ago

Finished project #82

I added forcelimit and manpower options to the province_has_building_of_group function. I believe that every trigger and highlight in missions now uses this function to determine building status. Most were pretty standard cases, I had to add a custom tooltip twice I think. In general this fixes a lot of bugs where the new buildings of higher tier would not count as credit for a mission, and logic errors where you had to have EITHER 10 temples or 10 cathedrals, not a mix of these.

stackpoint commented 4 years ago

Looks good.