I recall, a long while back, that I was having problems when adding a new building. The reason I was having problems was because Python was set to look for a specific building in the xml and that building had to be the 4th one in the xml file.
From what I recall you removed the requirement for Python to look for the building in the specified location ie 4th in the list and instead look for the building type or something like that.
If I've remembered that correctly then I am faced with the issue of having added 6 new buildings and all but one of them is showing in the Civilopedia. The one that isn't showing has all of the correct information in the same way as the other 5 do but does not show in the civilopedia.
There are no XML errors when the mod loads up and if there was anything badly wrong it either wouldn't load, or if it was a minor error, all the buildings after the line with an error on it wouldn't show and there would be an error message.
Is there a limit to the number of buildings that can be added to the Mod?
I doubt there is as I would think it would miss off the last building(s) and not one fairly close to the begining of the list.
Hoping you can help without me having to upload any of the files.
EDIT: Never mind, I resolved the issue by going into a game and playing through for a few turns. The issue was down to a line on a totally different building having the same building type instead of it's own building class.
From what I recall you removed the requirement for Python to look for the building in the specified location ie 4th in the list and instead look for the building type or something like that.
If I've remembered that correctly then I am faced with the issue of having added 6 new buildings and all but one of them is showing in the Civilopedia. The one that isn't showing has all of the correct information in the same way as the other 5 do but does not show in the civilopedia.
There are no XML errors when the mod loads up and if there was anything badly wrong it either wouldn't load, or if it was a minor error, all the buildings after the line with an error on it wouldn't show and there would be an error message.
Is there a limit to the number of buildings that can be added to the Mod?
I doubt there is as I would think it would miss off the last building(s) and not one fairly close to the begining of the list.
Hoping you can help without me having to upload any of the files.
EDIT: Never mind, I resolved the issue by going into a game and playing through for a few turns. The issue was down to a line on a totally different building having the same building type instead of it's own building class.