Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relink children if any new custom factions with parents were added #2620

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

ajrb
Copy link
Collaborator

@ajrb ajrb commented Mar 17, 2024

Missed this back in 2018. If new custom factions are added by mods and they specify parent factions, this needs to be processed by the child linking code FactionFile.RelinkChildren() otherwise it does nothing.

Found this when Cliffworms added a named NPC to Betony - this should be used at the provinces ruler but it wasn't. Will confirm once this has been completely tested.

Still doesn't help being able to modify existing faction data to, for example, set the ruler value for Betony. Tried some things for that but breakpoints stopped working and I just can't continue today.

@ajrb ajrb added the bug label Mar 17, 2024
@ajrb ajrb added this to the DFU 1.0.1 milestone Mar 17, 2024
@ajrb
Copy link
Collaborator Author

ajrb commented Mar 17, 2024

Tested this now using Cliff's mod and it successfully adds a ruler NPC to Betony. Be nice to get this into 1.0.1 since it's nice and self contained.

@KABoissonneault KABoissonneault merged commit 0ead2fe into Interkarma:master Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants