#
# arbitrary_messages: These are arguments to rspeak(). Some spans of
# these messages need to be kept adjacent and ordered (for now),
-# though there are no depenencies on actual numbers left. To see
+# though there are no dependencies on actual numbers left. To see
# which, grep for rspeak() calls containing expressions with
# arithmetic. Eventually, these will be pulled out into more
# appropriate data structures. Then ordering can be dropped.
# Order doesn't matter; the logic simply tests every threshold on
# the assumption that turn counts never decrease nor skip values.
#
-# objects: Objects have attributes as follows...
+# objects: Objects that are refernced in C code or the YAML by name
+# have human-readable names; others are named OBJ with a numeric suffix.
+# Objects have attributes as follows...
# inventory: A description for use in the inventory command.
# states: A list of state labels for states from 0 up. Each
# becomes a #define, and is also a state label that
# %s = an ASCII string
# %S = The letter 's' or nothing (if a previous %d value is exactly 1)
# %V = substitute program version string
+#
+# Copyright (c) 2017 by Eric S. Raymond
+# SPDX-License-Identifier: BSD-2-clause
motions: !!omap
- MOT_0:
description:
long: |-
The crack is far too small for you to follow. At its widest it is
- barely wide enough to admit your foot.'
+ barely wide enough to admit your foot.
short: !!null
conditions: {DEEP: true}
travel: [
- LOC_SWISSCHEESE:
description:
long: |-
- You are in a room whose walls resemble swiss cheese. Obvious passages
+ You are in a room whose walls resemble Swiss cheese. Obvious passages
go west, east, ne, and nw. Part of the room is occupied by a large
bedrock block.
short: 'You''re in Swiss Cheese Room.'
description:
long: |-
You're in a large room carved out of sedimentary rock. The floor and
- walls are littered with bits of shells imbedded in the stone. A
+ walls are littered with bits of shells embedded in the stone. A
shallow passage proceeds downward, and a somewhat steeper one leads
up. A low hands and knees passage enters from the south.
short: 'You''re in Shell Room.'
conditions: {DEEP: true}
travel: [
{verbs: [DOWN], action: [goto, LOC_CLIFFBASE]},
- {verbs: [UPWAR], cond: [carry, OBJ_46], action: [goto, LOC_CLIFFTOP]},
+ {verbs: [UPWAR], cond: [carry, RABBITFOOT], action: [goto, LOC_CLIFFTOP]},
{verbs: [UPWAR], action: [goto, LOC_FOOTSLIP]},
]
- LOC_FOOTSLIP:
You'd best take inventory and drop something.
- CLAM_BLOCKER: 'You can''t fit this five-foot clam through that little passage!'
- OYSTER_BLOCKER: 'You can''t fit this five-foot oyster through that little passage!'
-#- DROP_CLAM: 'I advise you to put down the clam before opening it. >STRAIN!<'
+- DROP_CLAM: 'I advise you to put down the clam before opening it. >STRAIN!<'
- DROP_OYSTER: 'I advise you to put down the oyster before opening it. >WRENCH!<'
- CLAM_OPENER: 'You don''t have anything strong enough to open the clam.'
- OYSTER_OPENER: 'You don''t have anything strong enough to open the oyster.'
to form a rare amber gemstone, resting in the cavity in the rock.
- DOUGHNUT_HOLES: 'I suppose you collect doughnut holes, too?'
- GEM_FITS: 'The gem fits easily into the cavity.'
-- RUG_RISES: 'The persian rug stiffens and rises a foot or so off the ground.'
+- RUG_RISES: 'The Persian rug stiffens and rises a foot or so off the ground.'
- RUG_WIGGLES: |-
- The persian rug draped over your shoulder seems to wriggle for a
+ The Persian rug draped over your shoulder seems to wriggle for a
moment, but then subsides.
-- RUG_SETTLES: 'The persian rug settles gently to the ground.'
+- RUG_SETTLES: 'The Persian rug settles gently to the ground.'
- RUG_HOVERS: 'The rug hovers stubbornly where it is.'
- RUG_NOTHING1: 'The rug does not appear inclined to cooperate.'
- RUG_NOTHING2: |-
- If you mean to use the persian rug, it does not appear inclined to
+ If you mean to use the Persian rug, it does not appear inclined to
cooperate.
- FLAP_ARMS: 'Though you flap your arms furiously, it is to no avail.'
- RUG_GOES: |-
- You board the persian rug, which promptly whisks you across the chasm.
+ You board the Persian rug, which promptly whisks you across the chasm.
You have time for a fleeting glimpse of a two thousand foot drop to a
mighty river; then you find yourself on the other side.
- RUG_RETURNS: 'The rug ferries you back across the chasm.'
# %d of %d vocabulary words %d of %d locations
# %d of %d objects %d of %d action verbs
# %d of %d "random" messages %d of %d "class" messages
-# %d of %d hints %d of %d turn threshholds'
+# %d of %d hints %d of %d turn thresholds'
- RESUME_ABANDON: 'To resume an earlier Adventure, you must abandon the current one.'
- VERSION_SKEW: |-
I'm sorry, but that Adventure was begun using Version %d.%d of the
'Adventuredom stands in awe -- you have now joined the ranks of the
W O R L D C H A M P I O N A D V E N T U R E R S !
It may interest you to know that the Dungeon-Master himself has, to
- my knowledge, never achieved this threshhold in fewer than 330 turns.'
+ my knowledge, never achieved this threshold in fewer than 330 turns.'
turn_thresholds:
- threshold: 350
immovable: true
descriptions:
- |-
- A massive stone tablet imbedded in the wall reads:
+ A massive stone tablet embedded in the wall reads:
"Congratulations on bringing light into the dark-room!"
texts:
- '"Congratulations on bringing light into the dark-room!"'
immovable: true
states: [UNTAMED_BEAR, SITTING_BEAR, CONTENTED_BEAR, BEAR_DEAD]
descriptions:
- - 'There is a ferocious cave bear eying you from the far end of the room!'
+ - 'There is a ferocious cave bear eyeing you from the far end of the room!'
- 'There is a gentle cave bear sitting placidly in one corner.'
- 'There is a contented-looking bear wandering about nearby.'
- ''
changes:
- 'The waters crash together again.'
- 'The waters have parted to form a narrow path across the reservoir.'
-- OBJ_46:
+- RABBITFOOT:
words: ['appen', 'lepor']
inventory: 'Leporine appendage'
locations: LOC_FOREST22
treasure: true
states: [RUG_FLOOR, RUG_DRAGON, RUG_HOVER]
descriptions:
- - 'There is a persian rug spread out on the floor!'
- - 'The dragon is sprawled out on a persian rug!!'
- - 'There is a persian rug here, hovering in mid-air!'
+ - 'There is a Persian rug spread out on the floor!'
+ - 'The dragon is sprawled out on a Persian rug!!'
+ - 'There is a Persian rug here, hovering in mid-air!'
- OBJ_63:
words: ['spice']
inventory: 'Rare spices'
message: 'Wizards are not to be disturbed by such as you.'
words: ['wizar']
noaction: true
-- YES:
+- "YES":
message: 'Guess again.'
words: ['yes']
noaction: true