]> git.pond.sub.org Git - empserver/commit
edit: Report ship and land unit commodity change properly
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 3 Feb 2013 12:16:48 +0000 (13:16 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 6 Jun 2013 17:55:01 +0000 (19:55 +0200)
commitb99a116dd6ee48fc20610e299d8f3171e3b254e0
tree9f21c5e42fb426e7f3cce02729ff59c7d9557657
parent5e4af4a6f0327206cfe73bc1c146644eaab1b71d
edit: Report ship and land unit commodity change properly

Print a message describing the actual change.  Necessary to give the
deity a chance to catch unexpected changes, e.g. a player unloading
stuff right before the deity edits it, leaving fewer items than the
deity intends to take.  Watching out for such changes is especially
important with non-interactive edit.

Send bulletin to owner and report news exactly like the give command.

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