I'm creating a custom map and I'm having a small, weird issue. The way I'm testing it right now is by having my own definitions, adjacencies, provinces, rivers, etc. but still using the other folders (common, landed titles, etc.) from vanilla. This is a bit disorganized but it works to check aesthetics and such.
I've set up adjacencies for portages and major_rivers as such:(Nevermind the silly comments) And it works fine... as long as the rivers 937, 938 and 939 aren't defined in definitions.csv. If I have them defined, it crashes. If I comment them out, it loads. The crash is always at the very end at "calculating_naval_ranges".Code:6;14;sea;936;-1;-1;-1;-1;Isle-Isle 18;19;major_river;937;-1;-1;-1;-1;Celle-Hamburg 19;23;major_river;939;-1;-1;-1;-1;Blabla 20;22;major_river;938;-1;-1;-1;-1;Blabla 937;939;portage;19;-1;-1;-1;-1;WestRiver-WestLake
The rivers are defined properly in default.map too. I tried changing their ID in definitions to 940-942 so that they aren't related to major rivers anymore and it still doesn't work. I'm thinking it might be an issue with the provinces themselves and not with adjacencies.
I'm attaching the map folder here, nothing else is needed. The .mod file is simply the name, path and user_dir. Besides localization for new terrains and gfx for the minimap, I have no other folders.
View attachment 85502
I don't think that "gaps" in the definition.csv are allowed. Also fix the max_provinces and sea_starts in the default.map