Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: Paratroopers problem
Home

[Freeciv-Dev] Re: Paratroopers problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <chrisk@xxxxxxxxx>
Cc: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Paratroopers problem
From: Jason Dorje Short <jdorje@xxxxxxxxxxxx>
Date: Sun, 11 Jul 2004 00:09:50 -0400

Christian Knoke wrote:

  if (get_transporter_occupancy(punit) > 0) {
    notify_player_ex(pplayer, punit->x, punit->y, E_NOEVENT,
                     _("Game: You cannot paradrop a transporter unit."));
  }

What does this message mean, is it correct? "transported unit"? Why?

A paratrooper cannot transport anything. A paratrooper needs to be inside a
city in order to paradrop.

You cannot drop a unit that is transporting other units. So if you add the paradrop flag to some transporter unit in the ruleset, you won't be able to paradrop if it's carrying units. Except...

Also,  return FALSE; missing?

So it would seem.

jason


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