Alqamar Alaswad
Chieftain
After all these days and all the help I have had from you (including, but not only, @LeeS , @isau, @Hemmelfort , and many others) I have been able to write all the files I think I need to add a new resource (Zebras) to the game.
However, for the love of heavens I am unable to find what is wrong... the code seems to work perfectly, the mod is loading, there are no errors... but the civilopedia page is still showing "LOC_RESOURCE_DRE_RES_ZEBRAS_NAME" instead of the name and the text for the Civilopedia itself is nowhere to be found. Additionally, the icon for the resource is not showing anywhere and it seems like the resource itself is not being added to the map.
I am using Amatheria's resource atlases as a placeholder, but I have created an atlas with a single icon which I think the game is reading, but not using.
Could you please take a look at my files? I have attached the XML files and the logs.
This is a screenshot of the mod folder file structure:
However, for the love of heavens I am unable to find what is wrong... the code seems to work perfectly, the mod is loading, there are no errors... but the civilopedia page is still showing "LOC_RESOURCE_DRE_RES_ZEBRAS_NAME" instead of the name and the text for the Civilopedia itself is nowhere to be found. Additionally, the icon for the resource is not showing anywhere and it seems like the resource itself is not being added to the map.
I am using Amatheria's resource atlases as a placeholder, but I have created an atlas with a single icon which I think the game is reading, but not using.
Could you please take a look at my files? I have attached the XML files and the logs.
This is a screenshot of the mod folder file structure: