]> git.pond.sub.org Git - empserver/commit - src/lib/commands/give.c
give: Report number given when less than requested amount
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 20 Jan 2013 16:38:06 +0000 (17:38 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 6 Jun 2013 17:52:26 +0000 (19:52 +0200)
commit4c1866285b45496d03812a4195d0b31a1e7e706f
treee6716d81ffb2b5410c1f11b87860f51c3e8eaefb
parent9aaf6093599c0018c2639836395f7dba27ae0593
give: Report number given when less than requested amount

Necessary to give the deity a chance to catch unexpected changes,
e.g. a player moving away stuff right before a give command, leaving
fewer items than the deity intends to take.

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