patchFreeciv - Patches: patch #4216, RFC: Tile property requirements

Show feedback again

patch #4216: RFC: Tile property requirements

Submitted by:  Sveinung Kvilhaugsvik <sveinung>
Submitted on:  Tue Sep 24 15:33:24 2013  
Category: generalPriority: 5 - Normal
Status: Need InfoPrivacy: Public
Assigned to: Sveinung Kvilhaugsvik <sveinung>Open/Closed: Open
Planned Release: 2.6.0Contains 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 Apr 14 04:36:16 2016, comment #3:

Is this ticket still relevant? At least for some of these properties an alternative implementation has been added since this ticket was created.

Marko Lindqvist <cazfi>
Project Administrator
Tue Sep 24 21:53:33 2013, comment #2:

> What properties you have in mind?

"Claimed" is one. (I think it has been suggested before) What target_player can see on the tile if it is there. Examples (without final names): Tile seen, Tile known, Units on tile that isn't in the invisible layer seen, All units on tile seen. I'm most interested in the last one.

May be a separate requirement type or integrated: Check that a unit is alone at a tile. Check if there are units at all at a tile.

  • Tile property: "TileProperty" "Single Unit"
  • Tile property: "TileProperty" "No Units"


  • Requirement type: "Units on tile" "1"
  • Requirement type: "Units on tile" "0"
Sveinung Kvilhaugsvik <sveinung>
Project MemberIn charge of this item.
Tue Sep 24 16:04:11 2013, comment #1:

What properties you have in mind? I've had an idea about "claimed = within somebody's borders" type tile requirement myself, and some additions to CityTile (properties applicable only to tiles within city radius) such as "worked" (note that output bonuses never need this, quite the contrary, as the fact that requirement is checked at all indicates that tile is worked, or considered for working (which would break if there was also requirement that tile is worked currently))

Marko Lindqvist <cazfi>
Project Administrator
Tue Sep 24 15:33:24 2013, original submission:

It is currently possible to test if a tile is a city center by using the "CityTile" requirements type and testing for "Center". It would be nice to be able to test other tile properties as well. I therefore consider to add a new requirement type about tile (city or not) properties. Should it test if the tile has a city center and absorb "CityTile" or leave "CityTile" alone?

Sveinung Kvilhaugsvik <sveinung>
Project MemberIn charge of this item.


(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 cazfi (Posted a comment)
  • -unavailable- added by sveinung (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