ck2plus / CleanSlate

A community resource, clean base from which to begin mods for CrusaderKings 2
29 stars 13 forks source link

Minor bug when forming Habsburg #214

Closed bladesmoss closed 2 weeks ago

bladesmoss commented 2 weeks ago

I started in 769 as the count of Basel. Saved up gold and couldn't form Von Habsburg. Captured some nearby counties and the option was there. Formed. The game things the castle is in Saarbrucken and Basel at the same time.

The castle is visually in one of the holding slots for Saarbrucken, but when I view the actually barony tier title it centers on Basel and highlights the county. I granted Saarbrucken to someone just to double check and it doesn't outline any holdings in that area for me, despite the castle being up there.

Not sure what other info you may need. Screenshots attached.

image image

bladesmoss commented 2 weeks ago

image

Building another castle in Basel caused some kind of conflict and Habsburg castle vanished.

schwarherz commented 2 weeks ago

Issue seems to have occurred when replacing the province number references with county references in CleanSlate as well as updating the county names and renumbering the provinces. In Vanilla the relevant counties are Province 242 c_aargau and Province 1986 c_saargau. In CleanSlate these have been updated to Province 345 c_basel and Province 242 c_saarbrucken, respectively. b_habsburg is still properly in c_basel in the landed_titles but the decision to build it references c_saarbrucken instead.

I'll push a fix momentarily, but if you want to fix it on your own end without re-downloading just change lines 558 and 561, and 579 of LT_936_decisions.txt from c_saarbrucken to c_basel.

EDIT: I forgot this originated as an issue on Plus. To fix it in Plus, the same change will need to be done in the same file over there instead. I'll be pushing a fix there to the CleanSlate Recompatch branch but it likely won't be merged into main for a while.