]> git.pond.sub.org Git - empserver/commit
edit: Generalize edit to multiple objects
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 29 Mar 2013 18:34:12 +0000 (19:34 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 6 Jun 2013 17:59:18 +0000 (19:59 +0200)
commitf3cb215e1f09840bb9e955693edec819be28f0a0
treee36b0e472c853b4c448ea1beb70171adff0f6431
parent4d99e1df374e88c7a92e179655ca625ce7b8be24
edit: Generalize edit to multiple objects

Accept general <SECTS|SHIPS|PLANES|LANDS|NATS> argument instead of
just <SECT|SHIP|PLANE|LAND|NAT>.

edit with <KEY> <VALUE>... arguments applies the arguments to all
selected objects.  Without such arguments, edit lets you edit the
selected objects interactively one after the other.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
info/edit.t
src/lib/commands/edit.c
src/lib/player/empmod.c
tests/actofgod/actofgod.xdump
tests/actofgod/geninput.pl
tests/actofgod/init_script
tests/actofgod/journal.log