Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#11130) city destruction message missing
Home

[Freeciv-Dev] (PR#11130) city destruction message missing

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#11130) city destruction message missing
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Nov 2004 15:00:52 -0800
Reply-to: rt@xxxxxxxxxxx

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

> [chrisk - Sun Nov 21 15:16:43 2004]:

> When a military unit destroys an empty enemy city, no message is given
(only
> a chat message).


    notify_player_ex(pplayer, pcity->tile, E_NOEVENT,
                     _("Game: You destroy %s completely."), pcity->name);
    notify_player_ex(cplayer, pcity->tile, E_CITY_LOST, 
                     _("Game: %s has been destroyed by %s."), 
                     pcity->name, pplayer->name);

So there is an E_CITY_LOST message for the player who loses the city and
an E_NOEVENT message for the player who destroys the city.

In most cases the E_NOEVENT message will only be shown on the chatline.
 Should we change this to E_CITY_LOST also?  This isn't quite right but
probably better.  For 2.0 adding a new event type is probably too much.

jason




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