+# SPDX-FileCopyrightText: (C) Eric S. Raymond <esr@thyrsus.com>
+# SPDX-License-Identifier: BSD-2-Clause
+#
# This YAML file gets processed into a collection of data structures and
# variable initializers describing Colossal Cave. It replaces an ad-hoc
# text database shipped with Adventure versions up to 2.5. The format
# long: Long description, always shown on first encounter.
# short: Short description. If none, use long description.
# maptag: Tag for mapping, not used by the game itself.
-# Only used if the "short" property in !!null.
+# Only used if the "short" property is !!null.
# conditions: A dictionary of attributes
# LIT Light
# OILY If FLUID flag is on: true for oil, false for water
# %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
# Motion names of the form MOT_* are not explicitly referenced in the
# locations YAML, but usually get compiled into generated C.
You are in a low n/s passage at a hole in the floor. The hole goes
down to an e/w passage.
short: 'You''re in n/s passage above e/w passage.'
- maptag: !!null
+ maptag: "Floor hole."
conditions: {DEEP: true}
travel: [
{verbs: [HALL, OUT, SOUTH], action: [goto, LOC_KINGHALL]},
description:
long: 'You are in a long sloping corridor with ragged sharp walls.'
short: !!null
- maptag: !!null
+ maptag: "Sloping corridor"
conditions: {DEEP: true}
travel: [
{verbs: [UPWAR, SHELL], action: [goto, LOC_SHELLROOM]},
roar, so loud that the entire cave seems to be trembling. Another
passage leads south, and a low crawl goes east.
short: 'You''re at junction with warm walls.'
- maptag: !!null
+ maptag: "Warm junction"
conditions: {NOARRR: true, DEEP: true}
sound: LOUD_ROAR
travel: [
]
- LOC_LIMESTONE:
description:
- long:
+ long: |-
You are walking along a gently sloping north/south passage lined with
oddly shaped limestone formations.
short: 'You''re in limestone passage.'
{verbs: [], action: [goto, LOC_Y2]},
]
+# Starting locations of dwarves.
+# Sixth dwarf is special (the pirate). He always starts at his
+# chest's eventual location inside the maze.
+dwarflocs: [
+ LOC_KINGHALL,
+ LOC_WESTBANK,
+ LOC_Y2,
+ LOC_ALIKE3,
+ LOC_COMPLEX,
+ LOC_MAZEEND12,
+]
+
arbitrary_messages: !!omap
- NO_MESSAGE: !!null
- CAVE_NEARBY: |-
black smoke.
- SHELL_IMPERVIOUS: 'The shell is very strong and is impervious to attack.'
- START_OVER: 'What''s the matter, can''t you read? Now you''d best start over.'
+- WELL_POINTLESS: 'Well, that was remarkably pointless!'
- DRAGON_SCALES: 'The axe bounces harmlessly off the dragon''s thick scales.'
- NASTY_DRAGON: 'The dragon looks rather nasty. You''d best not try to get by.'
- BIRD_BURNT: |-
# %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
using that other version in order to resume that Adventure.
-# This message is not currently used
- SAVE_TAMPERING: |-
A dark fog creeps in to surround you. From somewhere in the fog you
hear a stern voice. "This Adventure has been tampered with! You have
message: 'All of Adventuredom gives tribute to you, Adventurer Grandmaster!'
- threshold: 9999
message: |-
- 'Adventuredom stands in awe -- you have now joined the ranks 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 threshold in fewer than 330 turns.'
+ my knowledge, never achieved this threshold in fewer than 330 turns.
turn_thresholds:
- threshold: 350
Good grief, don't you *EVER* give up? Do you realize you've spent
over 2500 turns at this? That's another ten points off, a total of
twenty points lost for taking so long.
-
+
+# Objects names OBJ_* are not made visible by the map-graph generator.
+# Don't change these casually.
objects: !!omap
- NO_OBJECT:
inventory: !!null
message: |-
Mist is a white vapor, usually water, seen from time to time in
caverns. It can be found anywhere but is frequently a sign of a deep
- pit leading down to water.'
+ pit leading down to water.
words: ['mist']
noaction: true
- FBOMB: