]> git.pond.sub.org Git - empserver/blob - info/retreat.t
ship: Unbreak MOB_ACCESS real-time mobility update for ships
[empserver] / info / retreat.t
1 .TH Command RETREAT
2 .NA retreat "Set retreat conditions/paths for ships or fleets"
3 .LV Expert
4 .SY "retreat <SHIP/FLEET> <PATH> <CONDITIONS>"
5 .SY "retreat <SHIP/FLEET> q"
6 The retreat command allows you to examine or modify the retreat
7 orders of your ships
8 .s1
9 The first argument selects ships to view or give orders for.
10 If a fleet designation is given when specifying orders, the orders
11 apply to all members of that fleet.
12 .s1
13 Retreat orders consist of a retreat path and conditions.
14 .s1
15 A retreat path 'h' orders the ships not to retreat.
16 .s1
17 With 'q' instead of a retreat path, the current retreat paths and
18 conditions will be listed.
19 The report format contains the following fields:
20 .s1
21 .in \w'ship type\0\0'u
22 .L shp#
23 the ship number
24 .L "ship type"
25 the type of ship; \*Qpatrol boat\*U, \*Qsubmarine\*U, etc,
26 .L x,y
27 the ship's current location,
28 .L flt
29 the fleet designation letter (set by \*Qfleetadd\*U command),
30 .L path
31 the current retreat path,
32 .L "as flt?"
33 whether these are fleet retreat orders,
34 .L flags
35 what conditions will trigger retreat.
36 .in
37 .s1
38 For example:
39 .EX retreat * q
40 .NF
41 shp#     ship type       x,y   fl path       as flt?  flags
42    0 bb   battleship     2,0      jjuuj               i
43 1 ship
44 .FI
45 .s1
46 A player may give retreat orders for a ship or a fleet. Retreat
47 orders include a set of conditions that determine when the fleet/ship
48 will retreat, and a path that the fleet/ship will follow. When a condition
49 is met for a particular ship, the \*Qas flt?\*U field is checked. If it
50 is Yes, then every ship in that fleet with fleet retreat orders retreats
51 along the specified path. If it is no, then the retreat orders apply to
52 that ship only, and only that ship retreats.
53 .s1
54 When a ship is added to a fleet, it is given the retreat orders of the
55 first ship in that fleet that has fleet retreat orders and is in the
56 same sector, if any exist.
57 .s1
58 Retreat orders are wiped when a ship navigates.
59 .s1
60 Retreat conditions are:
61 .nf
62
63         Condition       Meaning
64         i               Retreat when the ship is injured,
65                         i.e. whenever the ship is damaged by gun fire,
66                         bombs or torpedoes
67         t               Retreat when a sub torpedoes or tries to
68                         torpedo the ship
69         b               Retreat when a plane bombs or tries to bomb
70                         the ship
71         s               Retreat when the ship detects a sonar ping
72         d               Retreat when the ship is depth-charged
73         h               Retreat when helpless --- a ship is helpless
74                         when it is fired upon, and no friendly
75                         ships/sectors (including the ship itself) are
76                         able to fire back at the aggressor
77         u               Retreat upon a failed boarding attempt
78 .fi
79 .s1
80 For example, if the battleship above was fired at, it would attempt to
81 retreat 2 sectors, jj, using the normal amount of mobility for moving
82 2 sectors. It would then look like:
83 .NF
84 shp#     ship type       x,y   fl path       as flt?  flags
85    0 bb   battleship     2,0      uuj                 i
86 1 ship
87 .FI
88 .s1
89 .SA "ship, fleetadd, Ships"