edit: Report loading/unloading of planes & land units properly
Print a message, send bulletin to owner. Affects plane keys 's', 'y', and land unit keys 'S', 'Y'. The message is necessary to give the deity a chance to catch unexpected changes, e.g. a player loading a plane right before the deity edits it. Watching out for such changes is especially important with non-interactive edit. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
97b3aacaca
commit
cbe9897bfa
4 changed files with 86 additions and 4 deletions
|
@ -38,6 +38,8 @@
|
|||
|
||||
extern void report_god_takes(char *, char *, natid);
|
||||
extern void report_god_gives(char *, char *, natid);
|
||||
extern void divine_load(struct empobj *, int, int);
|
||||
extern void divine_unload(struct empobj *, int, int);
|
||||
extern void divine_sct_change(struct sctstr *, char *, int, int, char *, ...)
|
||||
ATTRIBUTE((format (printf, 5, 6)));
|
||||
#define divine_sct_change_quiet(sp, name, change, ...) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue