Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2003:
[Freeciv-Dev] Re: (PR#5672) Changing production categories when having t
Home

[Freeciv-Dev] Re: (PR#5672) Changing production categories when having t

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#5672) Changing production categories when having to much shields
From: "ue80@xxxxxxxxxxxxxxxxxxxxx" <ue80@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Sep 2003 11:42:45 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Tue, Sep 02, 2003 at 02:07:53PM -0700, ue80@xxxxxxxxxxxxxxxxxxxxx wrote:
> On Tue, Sep 02, 2003 at 01:39:49PM -0700, Jason Short wrote:
> > 
> > [ue80@xxxxxxxxxxxxxxxxxxxxx - Mon Sep  1 18:51:48 2003]:
> > 
> > > Set production in a size 1 city to settlers. Wait until you have 200
> > > shields, change the production to warrior and set the next item in the
> > > worklist to foo (foo item from improvement/wonder) You get the warrior
> > > and have ~ 190 shields for the wonder or improvement. That shouldn't be
> > > possible. You should lose 95 shields when doing that.
> > 
> [...]
> > 
> > Here's a patch.  It's more complicated than I would have thought since
> > an extra piece of data has to be sent all around: the city's surplus
> > from the previous turn.
> > 
> > Please test.  Design board, please comment.
> 
> When having 600 wondershields change production to pyramids and building 
> a military unit next the 400 remaining shields are penalized, but
> when changing back to a wonder you don't get the full shields. Think that
> shouldn't be.

Savegame attached.
The rifle is build, then 100 units-production should be moved to the
next round, but with a wonder in worklist and backchanging to a unit you
only get 50 production.

Thomas
-- 
Thomas Strub  ***  eMail ue80@xxxxxxxxxxxxxxxxxxxxx
jb: people are stupid, they don't want to learn.

Attachment: rifl-140.gz
Description: rifl-140.gz


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