]> git.pond.sub.org Git - empserver/commitdiff
Document delivery of civilians and military
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 31 May 2008 16:50:03 +0000 (18:50 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 2 Jun 2008 05:02:26 +0000 (07:02 +0200)
People can be delivered since v4.0.0 (the check that disabled that was
commented out), and cutoff shows these deliveries since v4.0.2.  The
change was documented in info Empire4, but info pages weren't updated.
Do that, and remove the commented out code.

info/cutoff.t
info/route.t
src/lib/commands/deli.c

index 1a6ca7d98670c2e80b9f8a92102a573f84ec8472..3a95bd9f6283872cde73b4695cc576fb70f90cf2 100644 (file)
@@ -25,9 +25,13 @@ These columns represent:
 .L sect
 the x and y coordinates of the sector
 .L ufsgpidbolhr
-the twelve delivery direction columns correspond to the delivery
-direction for food, guns, petroleum (refined), iron ore, dust (gold),
-bars (dust), oil, lcm, and hcm.
+the fourteen delivery direction columns correspond to the delivery
+direction for civilians, military, food, guns, petroleum (refined),
+iron ore, dust (gold), bars (dust), oil, lcm, and hcm.
+.L civ
+the delivery cutoff threshold for civilians in that sector
+.L mil
+the delivery cutoff threshold for military in that sector
 .L uw
 the delivery cutoff threshold for uncompensated workers in that sector
 .L food
@@ -60,22 +64,22 @@ For example:
 .EX cutoff -3:3,-2:0
 .NF
 .ps -1
-Wed Nov 12 00:15:51 1986
+Sat May 31 18:40:57 2008
 DELIVERY CUTOFF LEVELS
-  sect    ufsgpidbolhr   uw food  sh gun pet iron dust bar oil lcm hcm rad
-  0,0   c ............    0    0   0   0   0    0    0   0   0   0   0   0
- -5,-3  a n...........    0  400   0   0   0    0    0   0   0   0   0   0
- -6,-2  k j...........    0  400   0   0   0    0    0   0   0   0   0   0
- -4,-2  + j...........    0  400   0   0   0    0    0   0   0   0   0   0
- -2,-2  m ....n.......    0    0   0   0   0    0    0   0   0   0   0   0
- -5,-1  t ............    0    0   0   0   0    0    0   0   0   0   0   0
- -1,-1  w ....j.......    0    0   0   0   0  800    0   0   0   0   0   0
-  1,-1  m ....j...b...    0    0   0   0   0   40    0   0   0   0   0   0
-  3,-1  j .....j......    0    0   0   0   0    0  104   0   0   0   0   0
-  5,-1  b ............    0    0   0   0   0    0    0   0   0   0   0   0
-  0,0   c y...........    0  200   0   0   0    0    0   0   0   0   0   0
-  2,0   + g.......j...    0  200   0   0   0    0    0   0   0  80   0   0
- -5,1   l ........j...    0    0   0   0   0    0    0   0   0   0   0   0
+   sect   cmufsgpidbolhr civ mil  uw food sh gun pet irn dst bar oil lcm hcm rad
+  0,0   c ..............   0   0   0   0   0   0   0   0   0   0   0   0   0   0
+ -5,-3  a ..n...........   0   0   0 400   0   0   0   0   0   0   0   0   0   0
+ -6,-2  k ..j...........   0   0   0 400   0   0   0   0   0   0   0   0   0   0
+ -4,-2  + ..j...........   0   0   0 400   0   0   0   0   0   0   0   0   0   0
+ -2,-2  m ......n.......   0   0   0   0   0   0   0   0   0   0   0   0   0   0
+ -5,-1  t ..............   0   0   0   0   0   0   0   0   0   0   0   0   0   0
+ -1,-1  w ......j.......   0   0   0   0   0   0   0 800   0   0   0   0   0   0
+  1,-1  m ......j...b...   0   0   0   0   0   0   0  40   0   0   0   0   0   0
+  3,-1  j .......j......   0   0   0   0   0   0   0   0 104   0   0   0   0   0
+  5,-1  b ..............   0   0   0   0   0   0   0   0   0   0   0   0   0   0
+  0,0   c ..y...........   0   0   0 200   0   0   0   0   0   0   0   0   0   0
+  2,0   + ..g.......j...   0   0   0 200   0   0   0   0   0   0   0  80   0   0
+ -5,1   l ..........j...   0   0   0   0   0   0   0   0   0   0   0   0   0   0
     12 sectors
 .ps +1
 .FI
index 977348ad80670fba51b52fa7c34f044ee0f53a39..97c80bcd53aaa3e28081b11fdf51aadda332bf17 100644 (file)
@@ -10,13 +10,15 @@ in a given sector area.
 The <SECTS> argument is as described in \*Qinfo syntax\*U.
 <ITEM> is one of the following:
 .NF
+c    civilians
+m    military
 u    uncompensated workers
 f    food
 s    shells
 g    guns (not gold)
 p    planes
 i    iron ore
-d    dust, (gold)
+d    dust (gold)
 b    bars of gold
 o    oil
 l    light construction materials
index bded12017fed2606fc3841361d2a363aa8ca5abe..bb7cbd6273965e0035ac6f83f1372047c7a023d0 100644 (file)
@@ -52,12 +52,6 @@ deli(void)
 
     if ((ich = whatitem(player->argp[1], "deliver what? ")) == 0)
        return RET_SYN;
-    /*
-       if (ich->i_uid == I_CIVIL || ich->i_uid == I_MILIT) {
-       pr("You cannot deliver people!\n");
-       return RET_FAIL;
-       }
-     */
     if (!snxtsct(&nstr, player->argp[2]))
        return RET_SYN;