Ok, here is the simplest way I can think to try out what I'd like to do:
1. I just take the vanilla (totally vanilla) 1.5 files, and open up export_descr_buildings.txt. I insert into the list of hidden_resources a new HR called "not_here".
2. I insert "and hidden_resource not_here" into the requirement line of the three greek theater complex levels.
3. I also reduce the minimum city level to village just to test this out.
I started the game up and it looks like it works. I can't build this in any of my cities now playing as "Greek Cities". Now, onto the second part of the test:
1. I open up descr_regions.txt and put "not_here" as a new resource into the "Rhodes" province only.
2. Without doing anything else, I try to boot up. It loads up the game successfully. But unfortunately it doesn't recognize the new hidden_resource (in descr_regions.txt) yet. I can't build the theaters anywhere, including in Rhodes.
(3. This would *seem* to indicate that the game is just checking the map.rwm file, and hasn't recognized the changes I made in descr_regions.txt.)
So, the next step:
1. I delete the map.rwm file that is inside the "base" subdirectory.
2. Without doing anything else, I try to boot up. This time it works. I can build the odeon in Rhodes, but nowhere else.
(3. Also, it was a little slower loading up this time right when I hit the "Start the Campaign" button - like it maybe was generating the map.rwm file then.)
This would seem to indicate that *using the buildings already in the game* that hidden resources will work very simply like this.
Bookmarks