Spellcheck the YAML - yielded one trivial fix.

This commit is contained in:
Eric S. Raymond 2025-05-25 10:57:34 -04:00
parent 9df69fe034
commit 3e989aec53
3 changed files with 15 additions and 5 deletions

View file

@ -75,6 +75,9 @@ pylint:
check: advent cheat pylint cppcheck check: advent cheat pylint cppcheck
cd tests; $(MAKE) --quiet cd tests; $(MAKE) --quiet
spellcheck:
@batchspell adventure.yaml
reflow: reflow:
@clang-format --style="{IndentWidth: 8, UseTab: ForIndentation}" -i $$(find . -name "*.[ch]") @clang-format --style="{IndentWidth: 8, UseTab: ForIndentation}" -i $$(find . -name "*.[ch]")
@black --quiet *.py @black --quiet *.py

View file

@ -1,6 +1,10 @@
# SPDX-FileCopyrightText: (C) Eric S. Raymond <esr@thyrsus.com> # SPDX-FileCopyrightText: (C) Eric S. Raymond <esr@thyrsus.com>
# SPDX-License-Identifier: BSD-2-Clause # SPDX-License-Identifier: BSD-2-Clause
# #
# batchspell: add XYZZY Twopit Bedquilt ne se sw nw dwarves dwarvish gouts
# batchspell: add Crowther add axe pinin Har har meself Hmmm Adventuredom
# batchspell: add Tsk gameplay bugfixes
#
# This YAML file gets processed into a collection of data structures and # This YAML file gets processed into a collection of data structures and
# variable initializers describing Colossal Cave. It replaces an ad-hoc # variable initializers describing Colossal Cave. It replaces an ad-hoc
# text database shipped with Adventure versions up to 2.5. The format # text database shipped with Adventure versions up to 2.5. The format
@ -3432,7 +3436,7 @@ objects: !!omap
- 'There are a few recent issues of "Spelunker Today" magazine here.' - 'There are a few recent issues of "Spelunker Today" magazine here.'
texts: texts:
- |- - |-
I'm afraid the magazine is written in dwarvish. But pencilled on one I'm afraid the magazine is written in dwarvish. But penciled on one
cover you see, "Please leave the magazines at the construction site." cover you see, "Please leave the magazines at the construction site."
- DWARF: - DWARF:
words: ['dwarf', 'dwarv'] words: ['dwarf', 'dwarv']
@ -3940,11 +3944,13 @@ obituaries:
Oh dear, you seem to have gotten yourself killed. I might be able to Oh dear, you seem to have gotten yourself killed. I might be able to
help you out, but I've never really done this before. Do you want me help you out, but I've never really done this before. Do you want me
to try to reincarnate you? to try to reincarnate you?
# batchspell: add wr
yes_response: |- yes_response: |-
All right. But don't blame me if something goes wr...... All right. But don't blame me if something goes wr......
--- POOF!! --- --- POOF!! ---
You are engulfed in a cloud of orange smoke. Coughing and gasping, You are engulfed in a cloud of orange smoke. Coughing and gasping,
you emerge from the smoke and find.... you emerge from the smoke and find....
# batchspell: remove wr
- query: |- - query: |-
You clumsy oaf, you've done it again! I don't know how long I can You clumsy oaf, you've done it again! I don't know how long I can
keep this up. Do you want me to try reincarnating you again? keep this up. Do you want me to try reincarnating you again?
@ -4226,7 +4232,7 @@ actions: !!omap
message: |- message: |-
There is a puff of orange smoke; within it, fiery runes spell out: There is a puff of orange smoke; within it, fiery runes spell out:
\tOpen Adventure %V - http://www.catb.org/esr/open-adventure/ Open Adventure %V - http://www.catb.org/esr/open-adventure/
words: ['versi'] words: ['versi']
noaction: true noaction: true

View file

@ -16,8 +16,8 @@ of Peje Nilsson in restructuring some particularly grotty gotos is
gratefully acknowledged. Petr Voropaev contributed fuzz testing and gratefully acknowledged. Petr Voropaev contributed fuzz testing and
code cleanups. Aaron Traas did a lot of painstaking work to improve code cleanups. Aaron Traas did a lot of painstaking work to improve
test coverage, and factored out the last handful of gotos. Ryan test coverage, and factored out the last handful of gotos. Ryan
Sarson nudged us into fixing a longstannding minor bug in the Sarson nudged us into fixing a longstanding minor bug in the
handling of incorrect magic-word sequebcesm, handling of incorrect magic-word sequences,
== Nomenclature == == Nomenclature ==
@ -75,7 +75,8 @@ Bug fixes:
* A few minor typos have been corrected: absence of capitalization on * A few minor typos have been corrected: absence of capitalization on
"Swiss" and "Persian", inconsistent spelling of "imbedded" vs. "embedded", "Swiss" and "Persian", inconsistent spelling of "imbedded" vs. "embedded",
"eying" for "eyeing", "thresholds" for "threshholds". "eying" for "eyeing", "thresholds" for "threshholds", "pencilled"
for "penciled".
* Under odd circumstances (dropping rug or vase outdoors) the game could * Under odd circumstances (dropping rug or vase outdoors) the game could
formerly say "floor" when it should say "ground" (or "dirt", or formerly say "floor" when it should say "ground" (or "dirt", or