Gents,
I have another problem with a command in the EDB
"and not hidden_resource"
I want remove the string of barracks ouf of my capital. All other cities can build build the normal barrackls, but not the capital.
The reason is because I want introduce another kind of building to the capital. So far, the background.
Now I coded this:
Code:
building barracks
{
levels muster_field militia_barracks city_barracks
{
muster_field requires factions { barbarian, carthaginian, eastern, hun, nomad, roman, } and not hidden_resource newrome
{
capability
I also included the hidden resource into the regions-file and I put the word newrome also in the first line of the EDB. So the hidden_resource itself is working (not CTD!)
I also deleted the map.rwm.
When I start the game now the barracks are removed in ALL cities. I can't find it anymore in the building-tree (the general overview).
The question is: why?