davidlallen
Deity
We have a problem in Dune Wars which I have duplicated as a bug in vanilla (BTS 3.19). Please find attached a standalone tiny mod to show the problem.
I have modified the Barracks building to be a national building, with limit 2. The game appears to enforce a limit of 1. Here is how you can see the problem.
1. Start a new game with this mod, and use WB to give yourself 3 cities.
2. Set one city to build a barracks and set the other cities to build something else, like a warrior.
3. I have adjusted the build cost of barracks to a tiny number so it will build in one turn. Click next turn and you will get a barracks.
4. Set the second city to build a barracks. You can do this; the game knows you are allowed two barracks.
5. Try to set the third city to build a barracks. The game prevents you, because there is one built and one in your queue for another city. This is fine, it also shows the game knows about national limits.
6. Click next turn, and your second city will build the barracks.
7. Now for the surprise. Where did the barracks go, in your first city? It has been silently removed.
Something in the game misunderstands the national limit, and deletes your first barracks when the second is built. Can anybody help track this down?
I have modified the Barracks building to be a national building, with limit 2. The game appears to enforce a limit of 1. Here is how you can see the problem.
1. Start a new game with this mod, and use WB to give yourself 3 cities.
2. Set one city to build a barracks and set the other cities to build something else, like a warrior.
3. I have adjusted the build cost of barracks to a tiny number so it will build in one turn. Click next turn and you will get a barracks.
4. Set the second city to build a barracks. You can do this; the game knows you are allowed two barracks.
5. Try to set the third city to build a barracks. The game prevents you, because there is one built and one in your queue for another city. This is fine, it also shows the game knows about national limits.
6. Click next turn, and your second city will build the barracks.
7. Now for the surprise. Where did the barracks go, in your first city? It has been silently removed.
Something in the game misunderstands the national limit, and deletes your first barracks when the second is built. Can anybody help track this down?