Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #919179

Split Growth_Food effect into separate effects depending on whether the city is growing or shrinking

Added by Alina L. over 1 year ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The Growth_Food effect (that allows a city to retain a percentage of its foodbox when growing) currently also applies identically when a city is shrinking. Splitting this functionality into a separate Shrink_Food effect would offer ruleset authors more options in ruleset design.

For instance:
  • Having only a Growth_Food effect, but no Shrink_Food effect, avoids the case where food magically appears out of thin air when shrinking.
  • Conversely, a high Shrink_Food effect (but no Growth_Food effect) gives cities the ability to withstand famine or siege, without also granting them rapid growth.

For existing rulesets, keeping the old behavior would necessitate adding a duplicate Shrink_Food effect for every Growth_Food effect.


Related issues

Related to Freeciv - Bug #922785: granary_savings() function header documents return value wrong wayClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocks Freeciv - Task #939772: S3_2 datafile format freeze (d3f)New

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Marko Lindqvist over 1 year ago

  • Category set to General
  • Sprint/Milestone set to 3.2.0

#2 Updated by Marko Lindqvist over 1 year ago

  • Related to Bug #922785: granary_savings() function header documents return value wrong way added

#3 Updated by Marko Lindqvist 11 months ago

  • Subject changed from Split Growth_Food effect into separate effects depening on whether the city is growing or shrinking to Split Growth_Food effect into separate effects depending on whether the city is growing or shrinking

#4 Updated by Marko Lindqvist 6 months ago

  • Blocks Task #939772: S3_2 datafile format freeze (d3f) added

Also available in: Atom PDF