Implement the magic-cookie check and its test.

This commit is contained in:
Eric S. Raymond 2023-04-06 19:03:02 -04:00
parent d16822a583
commit 58cf204eba
4 changed files with 34 additions and 1 deletions

View file

@ -3186,6 +3186,7 @@ arbitrary_messages: !!omap
# %d of %d "random" messages %d of %d "class" messages
# %d of %d hints %d of %d turn thresholds'
- RESUME_ABANDON: 'To resume an earlier Adventure, you must abandon the current one.'
- BAD_SAVE: 'Oops, that does not look like a valid save file.'
- VERSION_SKEW: |-
I'm sorry, but that Adventure was begun using Version %d.%d of the
save file format, and this program uses Version %d.%d. You must find an instance