]> git.pond.sub.org Git - empserver/commit
Revise rules for cargo plane loads
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 27 Sep 2009 22:03:13 +0000 (18:03 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 8 Dec 2009 07:15:51 +0000 (08:15 +0100)
commit7b7fe69c4679736d25781635dc931e1140e3cea3
tree9bb8cb9f8ab9353d09eeb4d75f5dc9704f1217ff
parentb2107e5301bb238d54e588a90860c8941ebfe9e4
Revise rules for cargo plane loads

There are three ways to fly cargo: transport (fly command with a
commodity argument), cargo drops (drop command that isn't a sea mine
drop), and paradrops.

A cargo flight can be either an airlift or an airdrop.  Airlifts carry
more cargo than airdrops.  A cargo drop or paradrop with a non-VTOL
plane is an airdrop.  Anything else is an airlift.

Before, paradrop always behaved like an airdrop, regardless of VTOL,
and drop always like an airlift.  This made little sense.

Effect of the change on the stock game: paradrop with tc carries twice
the punch, and np/tr/jt can drop less than they can fly.  In
particular, tr can't drop guns anymore, and jt can drop only one
instead of three.
src/lib/subs/mission.c
src/lib/subs/plnsub.c