empserver/info/land.t
Markus Armbruster bf89453f8a Remove non-mission land unit reaction
Land unit reactions are overly complex because we have two different
concepts controlling them: reaction radius (set with lrange) and
reserve mission (set with mission).  You need to deal with both to set
up or query reactions.

Commit 8d0e1af5 "fixed" this by making reserve missions meaningless.

The previous commit made reserve missions meaningful again: they
support an op-area now.  This brought back the problem of having to
deal with two separate commands to accomplish one thing.

Fix this for good by removing non-mission land unit reaction
alltogether.  The only feature we lose by that is the ability to order
land units to react until the order is explicitely cancelled.  That's
because missions are implicitely cleared by many commands and events,
while non-mission reaction wasn't.  Closes #858121 and #858122.

Remove the non-mission reaction case from att_reacting_units().

Don't limit reserve missions to the land unit's reaction radius: make
lnd_reaction_range() return the type's maximum radius instead of
lnd_rad_max.

The reaction radius is now useless.  Remove the lrange command, and
struct lndstr member lnd_rad_max along with its selector react.
Remove land command's column rd.  Make ldump show column react as
zero.  Deprecate edit key 'P' in dounit(), and don't show it in
pr_land().
2008-12-25 11:47:05 +01:00

49 lines
1.3 KiB
Perl

.TH Command LAND
.NA land "Report status of land units"
.LV Basic
.SY "land <UNITS>"
The land unit report command is a census of your land units. For
example:
.EX land *
.NF
# unit type x,y a eff mil frt mu fd tch retr xl ln carry
0 cav cavalry 1,-1 100% 10 0 127 12 992 75% 0 0
1 cav cavalry 0,0 100% 0 0 127 12 968 75% 0 0
2 cav cavalry 0,0 100% 10 0 127 12 40 75% 0 0
3 units
.FI
.s1
The report format contains the following fields:
.s1
.in \w'unit type\0\0'u
.L #
the unit number
.L "unit type"
the type of land unit; \*Qcavalry\*U, \*Qengineer\*U, etc.,
.L x,y
the land unit's current location,
.L a
the army designation letter (set by \*Qarmy\*U command),
.L eff
the land unit's efficiency, prefixed by \*Q=\*U if stopped,
.L mil
the number of mil currently in the land unit,
.L frt
the land unit's fortification level,
.L mu
the mobility of the land unit,
.L fd
the amount of food on board,
.L tch
the tech level of the land unit,
.L retr
the retreat percentage of the land unit (see info \*morale\*U),
.L xl
the number of extra-light planes on board,
.L ln
the number of land units on board,
.L carry
the ship or land unit the carrying the land unit, if any.
.in
.s1
.SA "lstat, upgrade, build, cargo, army, march, attack, assault, lload, llookout, scrap, lmine, LandUnits"