Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2003:
[Freeciv-Dev] Re: (PR#6973) civ3foodbox
Home

[Freeciv-Dev] Re: (PR#6973) civ3foodbox

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: i-freeciv-lists@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6973) civ3foodbox
From: "use_less@xxxxxxxxxxx" <use_less@xxxxxxxxxxx>
Date: Mon, 8 Dec 2003 13:20:26 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6973 >

So then I thought to myself, self, why did you break compatibility with 
existing rulesets when you could've written your patch to use the
existing ruleset variables?  And thus, I wrote this patch, 
flexfoodbox-compat.diff.  Format is the same as the old rulesets, in
game.ruleset:

; Parameters used to generalize the calculation of city granary size:
;   city_granary_size = (granary_food_ini * foodbox) +
;                       (granary_food_inc * city_size) * foodbox / 100
granary_food_ini        = 1
granary_food_inc        = 100

And to implement civ 3 style foodbox:

; Parameters used to generalize the calculation of city granary size:
;   city_granary_size = (granary_food_ini * foodbox) +
;                       (granary_food_inc * city_size) * foodbox / 100
granary_food_ini        = 2, 2, 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 6
granary_food_inc        = 0

Amazing what a good night of sleep will get you. :)

-James
-- 
_______________________________________________
http://www.ign.com
Upgrade to Premium IGN Email
- 15MB of space
- No ads!
- Pop3 Downloads

Powered by Outblaze

Attachment: flexfoodbox-compat.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]