source: branches/active/character_customization/game/dialogue/farm_boy2.yaml @ 833

Revision 699, 2.1 KB checked in by technomage, 9 years ago (diff)

Patch by Technomage

  • Renamed the default_root_section and root_sections attributes of the Dialogue class to "default_greeting" and "greetings", respectively;
  • Renamed the RootDialogueSection? class to "DialogueGreeting?" for clarity;
  • Renamed the DEFAULT_ROOT_SECTION and ROOT_SECTIONS tags in the YAML dialogue files as "DEFAULT_GREETING" and "GREETINGS", respectively;
  • Property svn:eol-style set to native
Line 
1#   This file is part of PARPG.
2
3#   PARPG is free software: you can redistribute it and/or modify
4#   it under the terms of the GNU General Public License as published by
5#   the Free Software Foundation, either version 3 of the License, or
6#   (at your option) any later version.
7
8#   PARPG is distributed in the hope that it will be useful,
9#   but WITHOUT ANY WARRANTY; without even the implied warranty of
10#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11#   GNU General Public License for more details.
12
13#   You should have received a copy of the GNU General Public License
14#   along with PARPG.  If not, see <http://www.gnu.org/licenses/>.
15---
16NPC_NAME: Rasmus
17AVATAR_PATH: gui/portraits/farm_boy_temp.png
18DEFAULT_GREETING:
19    ID: main_dialog
20    SAY: "Hi, I'm Rasmus.  What can I do for you?"
21    RESPONSES:
22    -   REPLY: "I'm looking for stuff to make beer with "
23        CONDITION: "quest.hasActiveQuest('beer') and not\
24           \ quest.hasFinishedQuest('beer') and\
25           \ quest['beer'].isGoalValue('beer_instructions')"
26        GOTO: help_beer
27       
28    -   REPLY: "Tell me about the farm"
29        GOTO: describe_farm
30       
31    -   REPLY: "I'm looking for Pekko, you seen him?"
32        CONDITION: "quest.hasActiveQuest('fedex') and not\
33           \ quest.hasFinishedQuest('fedex') and not\
34           \ quest['fedex'].isGoalValue('found_pekko')"
35        GOTO: help_fedex
36       
37    -   REPLY: "Oh, I was looking for Sami."
38        GOTO: end
39       
40SECTIONS:
41-   ID: help_beer
42    SAY: "Not my place to hand out any stuff.  I just work here.  Talk to\
43       \ Manslow."
44    RESPONSES:
45    -   REPLY: "Alright."
46        GOTO: back
47       
48-   ID: help_fedex
49    SAY: "Kimmo's brother?  Nope, he never comes down here, and we basically\
50       \ live here."
51    RESPONSES:
52    -   REPLY: "At least it's warm."
53        GOTO: back
54       
55-   ID: describe_farm
56    SAY: "It was just an empty lot before.  I don't envy the folks who had to\
57       \ break up all this ground."
58    RESPONSES:
59    -   REPLY: "That must have been some effort."
60        GOTO: back
61       
62...
Note: See TracBrowser for help on using the repository browser.