X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=adventure.yaml;h=9f10ce72c8b5cd092978af2ff62bdd7b03b23ca4;hb=97241e87d75a68c2cf2ba56a4cd561d979498c17;hp=ec9ce29cb3af570a0fe38b7aa01123ca63789797;hpb=b37f9f4b2daa51b969a1d0e08cf84f23ca82202b;p=open-adventure.git diff --git a/adventure.yaml b/adventure.yaml index ec9ce29..9f10ce7 100644 --- a/adventure.yaml +++ b/adventure.yaml @@ -1,6 +1,6 @@ # This YAML file gets processed into a collection of data structure and # variable initializers describing Colossal Cave. It replaces an ad-hoc -# text database shipped with Adventure versions up to 2.6. The format +# text database shipped with Adventure versions up to 2.5. The format # change enabled a lot of use of symbolic names where there were previously # inscrutable numeric literals. # @@ -33,6 +33,21 @@ # If the inventory desription begins with "*" the object is dungeon # furniture that cannot be taken or carried. # +# obituaries: Death messages and reincarnation queries. Order is +# significant, they're used in succession as the player racks up +# deaths. +# +# hints: Each item contains a hint number (add 10 to get cond bit), +# the number of turns he must be at the right loc(s) before +# triggering the hint, the points deducted for taking the hint, the +# message number (section 6) of the question, and the message +# number of the hint. These values are stashed in the "hints" +# array. +# +# These correspond to sections 1, 2, 5, 6, 10, 11, and 14 in the old +# adventure.text format. Sections 3, 4, 7, 8, and 9 haven't moved yet. +# Section 12 was obsolete. + locations: !!omap - LOC_NOWHERE: description: @@ -1035,8 +1050,8 @@ arbitrary_messages: !!omap - ONE_HIT: 'One of them gets you!' - NONE_HIT: 'None of them hits you!' - DONT_KNOW: 'Sorry, I don''t know the word "%s".' -- WHAT_DO: 'What do you want to do with the %L?' -- NO_SEE: 'I see no %L here.' +- WHAT_DO: 'What do you want to do with the %L%L?' # FIXME: %L%L should become %L once parsing no longer depends on packed tokens +- NO_SEE: 'I see no %L%L here.' # FIXME: %L%L should become %L once parsing no longer depends on packed tokens - DO_WHAT: '%C what?' - OKEY_DOKEY: 'Okay, "%s".' - GARNERED_POINTS: 'You have garnered %d out of a possible %d points, using %d turn%S.' @@ -1547,3 +1562,58 @@ obituaries: yes_response: 'Okay, now where did I put my orange smoke?.... >POOF!<\nEverything disappears in a dense cloud of orange smoke.' - query: 'Now you''ve really done it! I''m out of orange smoke! You don''t expect\nme to do a decent reincarnation without any orange smoke, do you?' yes_response: 'Okay, if you''re so smart, do it yourself! I''m leaving!' + +# FIXME: Hint texts shouldn't be in arbitrary_messages, but inlined here +hints: +- number: 1 + turns: 4 + penalty: 2 + question: ENTRY_QUERY + hint: HARD_GRATE +- number: 2 + turns: 5 + penalty: 2 + question: BIRD_QUERY + hint: SKITTISH_BIRD +- number: 3 + turns: 8 + penalty: 2 + question: SNAKE_QUERY + hint: SNAKE_HINT +- number: 4 + turns: 75 + penalty: 4 + question: MAZE_HELP + hint: DROP_THINGS +- number: 5 + turns: 25 + penalty: 5 + question: PLOVER_QUERY + hint: EXPLORE_HINT +- number: 6 + turns: 20 + penalty: 3 + question: HELP_LEAVING + hint: NOGO_WEST +- number: 7 + turns: 8 + penalty: 2 + question: WONDERING_QUERY + hint: ADVANCED_SECTION +- number: 8 + turns: 25 + penalty: 2 + question: FOREST_QUERY + hint: GO_EAST +- number: 9 + turns: 10 + penalty: 4 + question: OGRE_QUERY + hint: OGRE_CLUE +- number: 10 + turns: 1 + penalty: 4 + question: MISSING_ONE + hint: NO_LOCATE + +# end