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 24 Sep 2013 03:33:24 PM UTC  
 
Category: generalPriority: 5 - Normal
Status: Need InfoPrivacy: Public
Assigned to: Sveinung Kvilhaugsvik <sveinung>Open/Closed: Open
Planned Release: 2.6.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue 24 Sep 2013 09:53:33 PM UTC, 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"

or

  • Requirement type: "Units on tile" "1"
  • Requirement type: "Units on tile" "0"
Sveinung Kvilhaugsvik <sveinung>
Project MemberIn charge of this item.
Tue 24 Sep 2013 04:04:11 PM UTC, 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 24 Sep 2013 03:33:24 PM UTC, 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):
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup