descr_regions.txt in data/maps/world/base/ is your friend. Simply add your hidden resources to your region of choice.
IIRC in the EDB the appropriate template code is:
Code:
recruits "unit name" requires factions { my_faction, } and hidden_resource my_resource
EDIT: This code goes into the capabilities {} section of a given building. Do note that you can chain multiple conditions (e.g. and hidden_resource my_resource and hidden_resource my_other_resource); however AFAIK the <or> operator appears to be buggy/unreliable. Hence code that reads hidden_resource my_resource or hidden_resource my_other_resource should be split into multiple lines.
But I haven't looked at the EDB in a looooong time so double check with your EDB of choice to see how its done.
Bookmarks