bugFreeciv - Bugs: bug #20894, Idea: Mark tiles as...

Show feedback again

bug #20894: Idea: Mark tiles as do-not-use/force-use in the city map to help with overlaps

Submitted by:  Goswin von Brederlow <mrvn>
Submitted on:  Thu Jun 13 09:53:51 2013  
Category: NoneSeverity: 1 - Wish
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Thu Jun 13 09:53:51 2013, original submission:

I have 2 cities A and B like this (simplified and shrunk for this example):


A is larger and has a city radius of 2.5 while B is small and has a radius of 1. The usable tiles of A and B overlap at #. A has a lot of choices of usable tiles while B is seriously limited. What happens is that A will claim the # tile while having perfectly good alternatives while B is desperate to get it.

Or worse, I'm desperate for B to use it while the AI thinks B should use another tile and A should use it. Then every time A and B change size (or some other event I can't pin down) B will give up the tile and A will start using it.

Now here is my idea:

1) In the city map of A I would like to flag the # tile as do-not-use, preventing the tile from being used by that city. The CMA agent and implicit reset of tiles on size change would then ignore that tile, take it as blocked by another city even if it is not.

2) In the city map of B I would like to flag the # tile as force-use. This could have 3 meanings:

2a) Must use the tile. Force-use can only be set when the tile is used by the city. If the tile must be vacated due to lack of citizens then the force-use would expire. Don't like that much.

2b) When picking tiles to use first pick all force-use tiles before any other. No Specialist may be picked before all force-use tiles are used. But force-used tiles may remain empty if there aren't enough citizens to fill them all.
This would survive a city shrinking because a settler was build and regrowing.

2c) When picking tiles to use first pick all force-use tiles before any other. The CMA/implicit selection may pick any subset of those tiles if it can't or doesn't want to pick them all. So specialist may be chosen instead of using a force-use tile.



Goswin von Brederlow <mrvn>


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mrvn (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup