open-adventure/tests/newfilter
Eric S. Raymond fe378b9e13 Improved behavior when magic words are said before they're seen.
Note: there is a tiny risk that this could break savefile
compatibility, as I swiped an unused int member in the game structure
and turned it into a bool. int and bool *should* be the same sixe...
2023-04-05 19:49:38 -04:00

11 lines
401 B
Bash
Executable file

#!/bin/sh
#
# Filter the output from Open Adventure versions to make it compatible with
# the filtered versions of logs made from advent430.
sed \
-e '/bridge now spans the fissure/s//bridge spans the fissure/' \
-e '/ground/s//surface/' \
-e '/floor/s//surface/' \
-e "/Well, that was remarkably pointless!/s//What's the matter, can't you read? Now you'd best start over./" \
# end