patchFreeciv - Patches: patch #4158, "NotGenerated" terrain...

 
 
Show feedback again

patch #4158: "NotGenerated" terrain flag

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Sat 07 Sep 2013 03:17:27 PM UTC  
 
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.5.0, 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 10 Sep 2013 09:44:18 PM UTC, SVN revision 23334:

Added support for terrain flag "NotGenerated" for disallowing map generator from
placing the terrain in question.

See patch #4158

(Browse SVN revision 23334)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Tue 10 Sep 2013 09:43:59 PM UTC, SVN revision 23333:

Added support for terrain flag "NotGenerated" for disallowing map generator from
placing the terrain in question.

See patch #4158

(Browse SVN revision 23333)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun 08 Sep 2013 04:31:44 PM UTC, comment #1:

After thinking it a bit, I think this series (patch #4158 + patch #4159 + related art) would be good feature to 2.5 already.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sat 07 Sep 2013 03:17:27 PM UTC, original submission:

Add "NotGenerated" terrain flag. It instructs map generator never to place the terrain in question. Such terrain can be added from editor or by lua scripting only.

I've had this planned for a long time to support terrains that will appear upon ingame events only, such as "Nuclear Wasteland" or (when I worked on cpt2 ruleset I never finished) "Dead Tile" (caused by pollution).

More recent use-case is adding special terrain type to classic ruleset to be available in editor for scenario builders, but not to randomly appear in normal games.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #18913:  NotGeneratedTerrain.patch added by cazfi (11kB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cazfi (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):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 10 Sep 2013 09:44:31 PM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Sun 08 Sep 2013 04:31:44 PM UTCcazfiPlanned Release2.6.0=>2.5.0, 2.6.0
    Sat 07 Sep 2013 03:17:27 PM UTCcazfiAttached File-=>Added NotGeneratedTerrain.patch, #18913
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup