]> git.pond.sub.org Git - empserver/commit
edit: Improve remaining existing nation change reporting
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 3 Feb 2013 17:11:27 +0000 (18:11 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 6 Jun 2013 17:55:02 +0000 (19:55 +0200)
commitd006791ed6cc2061dee41b7962cf75086ee11365
treee759da206168858b3dbb9c3e0b068a9b324e5ca9
parent93aa604b67786a02f4fd84cb71fc5e7b0a5e3048
edit: Improve remaining existing nation change reporting

Print "FOO of CNAME (#CNUM)" instead of just "FOO".  Print "unchanged"
instead of "changed from X to X" on no-op.

Send a bulletin to the country and report news when appropriate.

Affected keys:

        key   struct member   before  after   notes
        -------------------------------------------
         n    nat_cnam        --      BN         1
         r    nat_pnam        --      B-         2
         b    nat_btu         --      BN         3
         m    nat_reserve     BN      BN
         c    nat_xcap,ycap   --      B-
         o    nat_xorg,yorg   --      B-
         u    nat_timeused    --      BN
         M    nat_money       B-      BN

Notes:

1. Reports N_NAME_CHNG rather than N_AIDS/N_HURTS.

2. Message improved to accurately reflect string truncation.

3. Greengrocers' apostrophe in message fixed.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/edit.c
tests/actofgod/actofgod.xdump
tests/actofgod/journal.log