Play Now Login Create Account
illyriad
   New Posts New Posts RSS Feed - When changing towns on Building page
   FAQ FAQ   Forum Search    Register Register   Login Login

When changing towns on Building page

 Post Reply Post Reply
Author
Albatross View Drop Down
Postmaster General
Postmaster General


Joined: 11 May 2011
Status: Offline
Points: 1118
Post Options Post Options   Thanks (0) Thanks(0)   Quote Albatross Quote  Post ReplyReply Direct Link To This Post Topic: When changing towns on Building page
    Posted: 25 Feb 2015 at 22:00
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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.