|
When on a building page, e.g. /#/Town/Building/0/11
and changing towns, I'd like the view to remain on the building having the same type.
There could be many buildings of the same type, so choose sensibly between those in the next city, to land on a building that you were working on in the same way as one on the current page:- Always store the last demolishing (-) or building (+) of each building, so you know what was last done to it, and when;
- When navigating from town A to town B, note the current state of the building in town A. It will be increasing, decreasing or static. If static, look at its last action (increasing or decreasing);
- Look for a building in town B, of the same type, currently having the same increase or decrease;
- If there is no such building, look in the history to find one of that type, and choose the one that was increased|decreased in the same direction as the one in Town A;
- If there is no such building, choose one of the same type that is closest to the level of the one in Town A;
- If there is no such building, choose a building of similar class (military cost-saver, sovereignty/library, etc) to the identical plot (as currently).
This would be useful for changing the purpose of many towns at the same time, e.g. demolishing all your Book Binders, then building many Cavalry Parade Grounds, for instance. With the above implemented, you could Demolish a level of Book Binder in one town, then when you move to the next town, a Book Binder is selected for you.
-------------
|