Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#6624) Disband city cleanup
Home

[Freeciv-Dev] Re: (PR#6624) Disband city cleanup

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6624) Disband city cleanup
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 11 Jan 2004 14:43:41 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Sun, Jan 11, 2004 at 02:34:06PM -0800, Per I. Mathisen wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=6624 >
> 
> On Sun, 11 Jan 2004, Mike Kaufman wrote:
> > > We must make it a special case. An effect 'nocapital_size1', perhaps,
> > > which makes the item only be available for non-capital size 1 cities.
> >
> > Effects have no effect on building requirements except indirectly.
> > Again you'd have to have all cities but the capital have this effect.
> > Note good.
> 
> Then let's not make it an effect.
> 
> bldg_req = "!Capital"
> size_req = { "=", 1 }
> 
> I am sure modpack folks can find many more uses for these two
> improvements.

I think you're using a cannon to kill a fly. This is a unique rule. Make it
a unique command. In city dialog/Settings have a button: Disband City.
desensitized for size!=1 or capital city.

send_packet_disband_city(&aconnection, pcity);

-mike




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