Page 2 of 2

Posted: Sun Aug 26, 2018 6:29 pm
by fran
Corbeau wrote:Most people probably missed this, but a few days ago I upgraded my ruleset to have granary sizes like this (comments welcome):

Code: Select all

City    Food    Max
size    after   food
        growth
  1	         10
  2	  2*	 12
  3	  4*	 15
  4	  6*	 18
  5	  8	 22
  6	 10	 26
  7	 12	 30
  8	 15	 35
  9	 20	 40
 10	 25	 50
 +1	 +5	+10

* free Granary
Huh, this can be done?
Does +1/5/10 indicate it continues forever? That would mean you can provide a function as input.
I also didn't know "food after growth" can be specified for every size.
Does that mean, a city shrinking from size 3 to 2 will have 2 in granary, shrinking from 2 to 1 will have 0?
This is really interesting, because you don't want to shrink small cities with that setting.

Posted: Sun Aug 26, 2018 9:07 pm
by Corbeau
fran wrote:
Corbeau wrote:Most people probably missed this, but a few days ago I upgraded my ruleset to have granary sizes like this (comments welcome):

Code: Select all

City    Food    Max
size    after   food
        growth
  1	         10
  2	  2*	 12
  3	  4*	 15
  4	  6*	 18
  5	  8	 22
  6	 10	 26
  7	 12	 30
  8	 15	 35
  9	 20	 40
 10	 25	 50
 +1	 +5	+10

* free Granary
Huh, this can be done?
Does +1/5/10 indicate it continues forever? That would mean you can provide a function as input.
Well, you could call it a function, it's basically a simple linear increase where you define an increment. The +5 for food remaining is due to Granary making 50% of the food being preserved on growth.
Does that mean, a city shrinking from size 3 to 2 will have 2 in granary, shrinking from 2 to 1 will have 0?
I'm not sure. I presume you're talking about shrinking due to starvation. When shrinking due to building population units, I think the amount of food stays the same as it was before shrinking, regardless of size and presence of Granary improvement.