]> git.pond.sub.org Git - empserver/blob - info/Commands/territory.t
Import of Empire 4.2.12
[empserver] / info / Commands / territory.t
1 .TH Command TERRITORY
2 .NA territory "Assign various sectors to a specific territory"
3 .LV Expert
4 .SY "territory <SECTS> <NUMBER> [<FIELD>]"
5 In Empire, sectors may be given a territory id number.
6 This number may be used in conditional statements as in:
7 .EX census # ?terr=27
8 The program will then give you a census report for all the
9 sectors that have been assigned the territory number \*Q27\*U.
10 .s1
11 In this sense it is essentially an extended \*Qrealm\*U.
12 However, you are not limited to rectangular regions and you have 
13 99 values to choose from.
14 .s1
15 There are four independent territory fields.  If the optional field
16 argument is empty, field 0 is used.
17 .s1
18 .EX territory #1 5 1
19 .s1
20 Would set terr1 field to 5 for all sectors in realm 1.
21 .s1
22 .EX sect * ?terr1=6&terr2=12
23 .s1
24 If terr1 was used to mark different islands and terr2=12 indicated
25 productive sectors, this would highlight all the productive sectors
26 on island number 6.
27 .s1
28 Some possible uses include;
29 all sectors distributing to a particular sector;
30 all coastal sectors;
31 all sectors that have armed missiles in them.
32 And probably thousands that I haven't thought of. ;-)
33 .s1
34 To \*Qunset\*U a territory, set its value to zero.
35 .s1
36 Note: terr and terr0 are the same.
37 .s1
38 .SA "realm, distribute, Sectors"