dhruv-tailor / excelmakesbelhappypack

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

Released Vassals Ideas #2

Closed stackpoint closed 4 years ago

stackpoint commented 4 years ago

Countries that are released as a vassal (and in general) don't have idea groups in this modpack.

The historical_idea_groups setting controls the ideas that countries spawn with even when AI_USES_HISTORICAL_IDEA_GROUPS is disabled and this modpack voids the historical_idea_groups setting.

stackpoint commented 4 years ago

Here are a couple options:

  1. Individually write historical_idea_groups for the 830+ tags

    • flogi wisely decided that this was a huge waste of time and just voided all the historical_idea_groups instead of trying to fit 16 idea groups for 800+ vanilla tags
  2. Setup up generic historical_idea_groups

    • Not actually difficult since you can just use a regular expression or python script to modify all the country files all at once. Would just need to figure out what particular idea groups you would want the AI to pick.
  3. Let the spawned country pick the groups in-game and give them the ideas

stackpoint commented 4 years ago

I've tested an idea ( https://github.com/stackpoint/excelmakesbelhappypack/pull/3/commits/24553ab3aeec2e362a9055671d57cdfe6c65d0d8 ) where I added a decision that an AI can click for free points when they don't have idea groups filled out but as expected the AI did not always fill the idea groups in a timely fashion even with 90% idea cost reduction and ended up using the monarch points to take tech and other things.

mellester commented 4 years ago

My vote would be to use pyhton to genrate 800+ random idea groups for tags

stackpoint commented 4 years ago

As an aside, this is why the colonial nations don't spawn in with any ideas groups. We don't have to fill out an entire list of groups but adding expansion_ideas will make them spawn in with that idea group at least. Would solve having to set various factors in the idea groups code.

mellester commented 4 years ago

As a alternative you can have a event fire that adds the idea group and ideas to the nation just released in question. Using add_idea_group and add_idea A quick fix would be to directly copy the overlords ideas and start working from there.

stackpoint commented 4 years ago

In my testing the AI will pick idea groups within 30 days of being spawned so no need to copy the overlords ideas. After that a decision can be used to grant them those ideas. I have a draft I will upload in a moment.

stackpoint commented 4 years ago

See: https://github.com/TheDivexz/excelmakesbelhappypack/pull/5

stackpoint commented 4 years ago

See: https://github.com/TheDivexz/excelmakesbelhappypack/issues/11#issuecomment-613474612

stackpoint commented 4 years ago

I think there is an expectation that your colonial nation take expansion as their first idea group, whether they can actually afford to colonize or not. Until we figure out the AI logic causing them not to choose it, we should set it manually in historical_idea_groups.

stackpoint commented 4 years ago

Released vassals/countries should now get the same number of ideas as the country who released them, after 40-50 days. This is to give the released nation enough time to actually pick their ideas groups.