X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=adventure.yaml;h=31988de02af8bc300f4a95e8d784ed226846dbee;hb=refs%2Fheads%2Fmaster;hp=70c2a0563b5547511f75149bb5cb3b1395427b34;hpb=e5d01c83f08ca9bfe25aec709084cc22ef52d9df;p=open-adventure.git diff --git a/adventure.yaml b/adventure.yaml index 70c2a05..31988de 100644 --- a/adventure.yaml +++ b/adventure.yaml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: (C) Eric S. Raymond +# 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 @@ -24,7 +27,7 @@ # 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" propery 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 @@ -81,7 +84,7 @@ # Order doesn't matter; the logic simply tests every threshold on # the assumption that turn counts never decrease nor skip values. # -# objects: Objects that are refernced in C code or the YAML by name +# objects: Objects that are referenced 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. @@ -112,12 +115,12 @@ # message when the message is printed. These sequences are: # %d = an integer # %s = an ASCII string -# %S = The letter 's' or nothing (if a previous %d value is exactly 1) +# %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. motions: !!omap - MOT_0: words: !!null @@ -781,7 +784,7 @@ locations: !!omap 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]}, @@ -1372,7 +1375,7 @@ locations: !!omap very tight canyon 15 feet below. If you go down you may not be able to get back up. short: 'You''re in secret e/w canyon above tight canyon.' - maptag: 'Secret e/w canyom' + maptag: 'Secret e/w canyon' conditions: {DEEP: true} travel: [ {verbs: [EAST], action: [goto, LOC_KINGHALL]}, @@ -1727,7 +1730,7 @@ locations: !!omap 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]}, @@ -1900,7 +1903,7 @@ locations: !!omap wall, and stretches to the other end of the room, where various other sundry objects can be glimpsed dimly in the distance. short: 'You''re at ne end.' - maptag: 'Reoisitory ne end' + maptag: 'Repository ne end' conditions: {DEEP: true, LIT: true} sound: MURMURING_SNORING travel: [ @@ -2045,7 +2048,7 @@ locations: !!omap 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: [ @@ -2105,7 +2108,7 @@ locations: !!omap ] - 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.' @@ -2321,7 +2324,7 @@ locations: !!omap description: long: 'You are in a long, rough-hewn, north/south corridor.' short: !!null - maptag: 'Rough-newn corridor' + maptag: 'Rough-hewn corridor' conditions: {DEEP: true} travel: [ {verbs: [NORTH], action: [goto, LOC_DEADEND13]}, @@ -2352,7 +2355,7 @@ locations: !!omap description: long: 'You are in the ogre''s storeroom. The only exit is to the south.' short: !!null - maptag: 'Ogre''s streroom.' + maptag: 'Ogre''s storeroom.' conditions: {DEEP: true} travel: [ {verbs: [SOUTH, OUT], action: [goto, LOC_LARGE]}, @@ -2753,7 +2756,7 @@ locations: !!omap You are on a small ledge at the top of a nearly vertical cliff. There is a low crawl leading off to the northeast. short: 'You''re at top of cliff.' - maptag: 'Cliiftop' + maptag: 'Clifftop' conditions: {DEEP: true} travel: [ {verbs: [CLIMB, DOWN], action: [goto, LOC_CLIFFACE]}, @@ -2832,6 +2835,18 @@ locations: !!omap {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: |- @@ -3013,6 +3028,7 @@ arbitrary_messages: !!omap 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: |- @@ -3171,6 +3187,7 @@ arbitrary_messages: !!omap To achieve the next higher rating would be a neat trick! Congratulations!! - OFF_SCALE: 'You just went off my scale!!' +- SAVERESUME_DISABLED: 'Save and resume are disabled.' - RESUME_HELP: 'To resume your Adventure, start a new game and then say "RESUME".' # This message is not currently used #- TABLE_SPACE: |- @@ -3181,18 +3198,18 @@ 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 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 -# been dabbling in magic, knowing not the havoc you might cause thereby. -# Leave at once, before you do irrevocable harm!" The fog thickens, -# until at last you can see nothing at all. Your vision then clears, -# and you find yourself back in The Real World. +- 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 + been dabbling in magic, knowing not the havoc you might cause thereby. + Leave at once, before you do irrevocable harm!" The fog thickens, + until at last you can see nothing at all. Your vision then clears, + and you find yourself back in The Real World. - TWIST_TURN: |- Sorry, but the path twisted and turned so much that I can't figure out which way to go to get back. @@ -3225,10 +3242,10 @@ classes: 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 @@ -3248,7 +3265,9 @@ turn_thresholds: 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 @@ -3323,7 +3342,7 @@ objects: !!omap - 'The bird does not seem inclined to sing while in the cage.' - 'It almost seems as though the bird is trying to tell you something.' - |- - To your surprise, you can understand the bird''s chirping; it is + To your surprise, you can understand the bird's chirping; it is singing about the joys of its forest home. - 'The bird does not seem inclined to sing while in the cage.' - |- @@ -4142,7 +4161,7 @@ actions: !!omap 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: