edit &c: Report sector non-change differently

Print "unchanged" instead of "changed from X to X".  Affects edit,
setresource, setsector.  Suppress bulletin and news.  Affects only
edit sector key 'L'.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2013-02-03 10:43:46 +01:00
parent 6ff503c288
commit 004c4d0f23
5 changed files with 101 additions and 90 deletions

View file

@ -366,11 +366,11 @@ actor action victim times duration time
0 44 3 1 0 0
0 44 1 32 0 0
0 43 2 2 0 0
0 44 3 2 0 0
0 43 3 2 0 0
0 44 3 1 0 0
0 43 1 67 0 0
0 42 1 4 0 0
1 45 0 1 0 0
0 43 3 1 0 0
/config
config treaty
uid cna cnb status acond bcond exp

View file

@ -71,7 +71,7 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,7 X 0
Play#0 command edit
Play#0 output Play#0 1 Che target of 1,7 changed from POGO (#0) to POGO (#0)
Play#0 output Play#0 1 Che target of 1,7 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,7 X -1
Play#0 command edit
@ -131,16 +131,16 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,-7 L 3,-7 L 1,0
Play#0 command edit
Play#0 output Play#0 1 Sector 3,-7 duplicated to 3,-7
Play#0 output Play#0 1 Sector 3,-7 unchanged
Play#0 output Play#0 1 Usage: edit <country|land|ship|plane|unit> <NAT|SECT|SHIP|PLANE|LAND> [<KEY> <VALUE>]...
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 e 0
Play#0 command edit
Play#0 output Play#0 1 Efficiency of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Efficiency of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 e -1
Play#0 command edit
Play#0 output Play#0 1 Efficiency of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Efficiency of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 e 100
Play#0 command edit
@ -152,7 +152,7 @@
Play#0 output Play#0 6 0 640
Play#0 input setsect e 1,3 -2147483648
Play#0 command setsector
Play#0 output Play#0 1 Efficiency of 1,3 changed from 0 to 0
Play#0 output Play#0 1 Efficiency of 1,3 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setsect e 3:7,3 1
Play#0 command setsector
@ -204,11 +204,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 i 0
Play#0 command edit
Play#0 output Play#0 1 Iron ore content of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Iron ore content of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 i -1
Play#0 command edit
Play#0 output Play#0 1 Iron ore content of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Iron ore content of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 i 100
Play#0 command edit
@ -220,11 +220,11 @@
Play#0 output Play#0 6 0 640
Play#0 input setres i 2,2 0
Play#0 command setresource
Play#0 output Play#0 1 Iron ore content of 2,2 changed from 0 to 0
Play#0 output Play#0 1 Iron ore content of 2,2 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setres i 4,2 -1
Play#0 command setresource
Play#0 output Play#0 1 Iron ore content of 4,2 changed from 0 to 0
Play#0 output Play#0 1 Iron ore content of 4,2 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setres i 6,2 100
Play#0 command setresource
@ -236,7 +236,7 @@
Play#0 output Play#0 6 0 640
Play#0 input setsect i 1,3 -2147483648
Play#0 command setsector
Play#0 output Play#0 1 Iron ore content of 1,3 changed from 0 to 0
Play#0 output Play#0 1 Iron ore content of 1,3 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setsect i 3:7,3 1
Play#0 command setsector
@ -254,11 +254,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 g 0
Play#0 command edit
Play#0 output Play#0 1 Gold content of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Gold content of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 g -1
Play#0 command edit
Play#0 output Play#0 1 Gold content of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Gold content of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 g 100
Play#0 command edit
@ -270,11 +270,11 @@
Play#0 output Play#0 6 0 640
Play#0 input setres g 2,2 0
Play#0 command setresource
Play#0 output Play#0 1 Gold content of 2,2 changed from 0 to 0
Play#0 output Play#0 1 Gold content of 2,2 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setres g 4,2 -1
Play#0 command setresource
Play#0 output Play#0 1 Gold content of 4,2 changed from 0 to 0
Play#0 output Play#0 1 Gold content of 4,2 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setres g 6,2 100
Play#0 command setresource
@ -286,7 +286,7 @@
Play#0 output Play#0 6 0 640
Play#0 input setsect g 1,3 -2147483648
Play#0 command setsector
Play#0 output Play#0 1 Gold content of 1,3 changed from 0 to 0
Play#0 output Play#0 1 Gold content of 1,3 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setsect g 3:7,3 1
Play#0 command setsector
@ -304,11 +304,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 f 0
Play#0 command edit
Play#0 output Play#0 1 Fertility of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Fertility of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 f -1
Play#0 command edit
Play#0 output Play#0 1 Fertility of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Fertility of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 f 100
Play#0 command edit
@ -320,11 +320,11 @@
Play#0 output Play#0 6 0 640
Play#0 input setres f 2,2 0
Play#0 command setresource
Play#0 output Play#0 1 Fertility of 2,2 changed from 0 to 0
Play#0 output Play#0 1 Fertility of 2,2 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setres f 4,2 -1
Play#0 command setresource
Play#0 output Play#0 1 Fertility of 4,2 changed from 0 to 0
Play#0 output Play#0 1 Fertility of 4,2 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setres f 6,2 100
Play#0 command setresource
@ -336,7 +336,7 @@
Play#0 output Play#0 6 0 640
Play#0 input setsect f 1,3 -2147483648
Play#0 command setsector
Play#0 output Play#0 1 Fertility of 1,3 changed from 0 to 0
Play#0 output Play#0 1 Fertility of 1,3 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setsect f 3:7,3 1
Play#0 command setsector
@ -354,11 +354,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 c 0
Play#0 command edit
Play#0 output Play#0 1 Oil content of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Oil content of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 c -1
Play#0 command edit
Play#0 output Play#0 1 Oil content of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Oil content of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 c 100
Play#0 command edit
@ -370,11 +370,11 @@
Play#0 output Play#0 6 0 640
Play#0 input setres o 2,2 0
Play#0 command setresource
Play#0 output Play#0 1 Oil content of 2,2 changed from 0 to 0
Play#0 output Play#0 1 Oil content of 2,2 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setres o 4,2 -1
Play#0 command setresource
Play#0 output Play#0 1 Oil content of 4,2 changed from 0 to 0
Play#0 output Play#0 1 Oil content of 4,2 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setres o 6,2 100
Play#0 command setresource
@ -386,7 +386,7 @@
Play#0 output Play#0 6 0 640
Play#0 input setsect oi 1,3 -2147483648
Play#0 command setsector
Play#0 output Play#0 1 Oil content of 1,3 changed from 0 to 0
Play#0 output Play#0 1 Oil content of 1,3 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setsect oi 3:7,3 1
Play#0 command setsector
@ -404,11 +404,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 u 0
Play#0 command edit
Play#0 output Play#0 1 Uranium content of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Uranium content of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 u -1
Play#0 command edit
Play#0 output Play#0 1 Uranium content of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Uranium content of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 u 100
Play#0 command edit
@ -420,11 +420,11 @@
Play#0 output Play#0 6 0 640
Play#0 input setres u 2,2 0
Play#0 command setresource
Play#0 output Play#0 1 Uranium content of 2,2 changed from 0 to 0
Play#0 output Play#0 1 Uranium content of 2,2 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setres u 4,2 -1
Play#0 command setresource
Play#0 output Play#0 1 Uranium content of 4,2 changed from 0 to 0
Play#0 output Play#0 1 Uranium content of 4,2 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setres u 6,2 100
Play#0 command setresource
@ -436,7 +436,7 @@
Play#0 output Play#0 6 0 640
Play#0 input setsect u 1,3 -2147483648
Play#0 command setsector
Play#0 output Play#0 1 Uranium content of 1,3 changed from 0 to 0
Play#0 output Play#0 1 Uranium content of 1,3 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setsect u 3:7,3 1
Play#0 command setsector
@ -462,11 +462,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 w 100
Play#0 command edit
Play#0 output Play#0 1 Workforce percentage of 5,1 changed from 100 to 100
Play#0 output Play#0 1 Workforce percentage of 5,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 7,1 w 101
Play#0 command edit
Play#0 output Play#0 1 Workforce percentage of 7,1 changed from 100 to 100
Play#0 output Play#0 1 Workforce percentage of 7,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setsect w 1,3 -2147483648
Play#0 command setsector
@ -474,9 +474,9 @@
Play#0 output Play#0 6 0 640
Play#0 input setsect w 3:7,3 1
Play#0 command setsector
Play#0 output Play#0 1 Workforce percentage of 3,3 changed from 100 to 100
Play#0 output Play#0 1 Workforce percentage of 5,3 changed from 100 to 100
Play#0 output Play#0 1 Workforce percentage of 7,3 changed from 100 to 100
Play#0 output Play#0 1 Workforce percentage of 3,3 unchanged
Play#0 output Play#0 1 Workforce percentage of 5,3 unchanged
Play#0 output Play#0 1 Workforce percentage of 7,3 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setsect w 5,3 2147483647
Play#0 command setsector
@ -488,11 +488,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 l 0
Play#0 command edit
Play#0 output Play#0 1 Loyalty of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Loyalty of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 l -1
Play#0 command edit
Play#0 output Play#0 1 Loyalty of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Loyalty of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 l 127
Play#0 command edit
@ -504,11 +504,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 x 0
Play#0 command edit
Play#0 output Play#0 1 Guerillas of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Guerillas of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 x -1
Play#0 command edit
Play#0 output Play#0 1 Guerillas of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Guerillas of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 x 255
Play#0 command edit
@ -520,11 +520,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 p 0
Play#0 command edit
Play#0 output Play#0 1 Plague stage of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Plague stage of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 p -1
Play#0 command edit
Play#0 output Play#0 1 Plague stage of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Plague stage of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 p 4
Play#0 command edit
@ -536,11 +536,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 t 0
Play#0 command edit
Play#0 output Play#0 1 Plague time of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Plague time of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 t -1
Play#0 command edit
Play#0 output Play#0 1 Plague time of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Plague time of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 t 32767
Play#0 command edit
@ -552,11 +552,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 F 0
Play#0 command edit
Play#0 output Play#0 1 Fallout of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Fallout of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 F -1
Play#0 command edit
Play#0 output Play#0 1 Fallout of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Fallout of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 F 9999
Play#0 command edit
@ -568,11 +568,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 a 0
Play#0 command edit
Play#0 output Play#0 1 Available workforce of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Available workforce of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 a -1
Play#0 command edit
Play#0 output Play#0 1 Available workforce of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Available workforce of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 a 9999
Play#0 command edit
@ -584,7 +584,7 @@
Play#0 output Play#0 6 0 640
Play#0 input setsect a 1,3 -2147483648
Play#0 command setsector
Play#0 output Play#0 1 Available workforce of 1,3 changed from 0 to 0
Play#0 output Play#0 1 Available workforce of 1,3 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setsect a 3:7,3 1
Play#0 command setsector
@ -602,11 +602,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 M 0
Play#0 command edit
Play#0 output Play#0 1 Mines of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Mines of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 M -1
Play#0 command edit
Play#0 output Play#0 1 Mines of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Mines of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 M 32767
Play#0 command edit
@ -618,7 +618,7 @@
Play#0 output Play#0 6 0 640
Play#0 input setsect mi 1,3 -2147483648
Play#0 command setsector
Play#0 output Play#0 1 Mines of 1,3 changed from 0 to 0
Play#0 output Play#0 1 Mines of 1,3 unchanged
Play#0 output Play#0 6 0 640
Play#0 input setsect mi 3:7,3 1
Play#0 command setsector
@ -636,11 +636,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 R 0
Play#0 command edit
Play#0 output Play#0 1 Road percentage of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Road percentage of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 R -1
Play#0 command edit
Play#0 output Play#0 1 Road percentage of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Road percentage of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 R 100
Play#0 command edit
@ -652,11 +652,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 r 0
Play#0 command edit
Play#0 output Play#0 1 Rail percentage of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Rail percentage of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 r -1
Play#0 command edit
Play#0 output Play#0 1 Rail percentage of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Rail percentage of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 r 100
Play#0 command edit
@ -668,11 +668,11 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 1,1 d 0
Play#0 command edit
Play#0 output Play#0 1 Defense percentage of 1,1 changed from 0 to 0
Play#0 output Play#0 1 Defense percentage of 1,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 3,1 d -1
Play#0 command edit
Play#0 output Play#0 1 Defense percentage of 3,1 changed from 0 to 0
Play#0 output Play#0 1 Defense percentage of 3,1 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 5,1 d 100
Play#0 command edit
@ -713,7 +713,7 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 4,4 D 4,4
Play#0 command edit
Play#0 output Play#0 1 Distribution sector of 4,4 changed from 4,4 to 4,4
Play#0 output Play#0 1 Distribution sector of 4,4 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 6,4 s +
Play#0 command edit
@ -721,7 +721,7 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 6,4 s +
Play#0 command edit
Play#0 output Play#0 1 Designation of 6,4 changed from + to +
Play#0 output Play#0 1 Designation of 6,4 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 8,4 s +
Play#0 command edit
@ -737,7 +737,7 @@
Play#0 output Play#0 6 0 640
Play#0 input edit l 6,4 S +
Play#0 command edit
Play#0 output Play#0 1 New designation of 6,4 changed from + to +
Play#0 output Play#0 1 New designation of 6,4 unchanged
Play#0 output Play#0 6 0 640
Play#0 input edit l 8,4 S +
Play#0 command edit
@ -1627,8 +1627,6 @@
Play#0 output Play#0 1
Play#0 output Play#0 1 > BULLETIN from POGO, (#0) dated Thu Jan 1 00:00:00 1970
Play#0 output Play#0 1 Sector 1,-7 taken from you by an act of POGO!
Play#0 output Play#0 1 Sector 3,-7 taken from you by an act of POGO!
Play#0 output Play#0 1 Sector 3,-7 given to you by an act of POGO!
Play#0 output Play#0 1 Old owner of 1,-3 changed from 3 (#3) to 1 (#1) by an act of POGO
Play#0 output Play#0 1 Old owner of 3,-3 changed from 3 (#3) to 1 (#1) by an act of POGO
Play#0 output Play#0 1 Sector -2,2 swapped with 2,-2 by an act of POGO!