source: trunk/game/dialogue/bouncer.yaml @ 833

Revision 699, 5.5 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: Dig
17AVATAR_PATH: gui/portraits/bouncer.png
18DEFAULT_GREETING:
19    ID: main_dialog
20    SAY: "What do you want?  Can't you see I'm drinking here?"
21    ACTIONS:
22    -   meet:
23        - dig
24    RESPONSES:
25    -   REPLY: "I'm looking for stuff to make beer with."
26        CONDITION: "quest.hasActiveQuest('beer') and not\
27           \ quest.hasFinishedQuest('beer') and\
28           \ quest['beer'].isGoalValue('beer_instructions')"
29        GOTO: help_beer
30       
31    -   REPLY: "Do you know Jacob?"
32        GOTO: explain_jacob
33       
34    -   REPLY: "Do you work here?"
35        GOTO: inn_background
36       
37    -   REPLY: "Are you going to kick my ass?"
38        GOTO: ass_kicking
39       
40    -   REPLY: "Was Camillia with you in the bar here two nights ago?"
41        CONDITION: "quest['fedex'].isGoalValue('drunkard_evidence')"
42        GOTO: check_alibi
43       
44    -   REPLY: "Who are those two women over there?"
45        GOTO: loose_women
46       
47    -   REPLY: "Why is Camilla such a bitch?"
48        CONDITION: "pc.met('camilla')"
49        GOTO: explain_camilla
50       
51    -   REPLY: "What is up with Synnove?"
52        CONDITION: "pc.met('synnove')"
53        GOTO: explain_synnove
54       
55    -   REPLY: "Your boss's booze monopoly is over!!"
56        CONDITION: "quest['beer'].getValue('beer_quality') >= 1"
57        GOTO: ungratitude
58       
59    -   REPLY: "I'm looking for Pekko, you seen him?"
60        CONDITION: "quest.hasActiveQuest('fedex') and not\
61           \ quest.hasFinishedQuest('fedex') and not\
62           \ quest['fedex'].isGoalValue('found_pekko')"
63        GOTO: help_fedex
64       
65    -   REPLY: "Hey, back off.  Just making small talk."
66        GOTO: parting_shot
67       
68SECTIONS:
69-   ID: explain_camilla
70    SAY: "Well, it's probably because she gets hit on by greasy layabouts all\
71       \ hours of the day.  Maybe you should cut her some slack."
72    RESPONSES:
73    -   REPLY: "Hmmm... Can you confirm that she was here all night with you\
74           \ two days ago?"
75        CONDITION: "quest['fedex'].isGoalValue('drunkard_evidence')"
76        GOTO: check_alibi
77       
78    -   REPLY: "I suppose that's not unreasonable."
79        GOTO: back
80       
81-   ID: check_alibi
82    SAY: "Huh?  You're not her boyfriend.  And I'm not her babysitter.  Why do\
83       \ you care?"
84    RESPONSES:
85    -   REPLY: "I'm investigating a murder"
86        GOTO: investigate
87       
88    -   REPLY: "No reason.  No reason at all."
89        GOTO: main_dialog
90       
91-   ID: investigate
92    SAY: "Oh, in that case officer, she was with me the whole time. [rolls\
93       \ eyes]"
94    RESPONSES:
95    -   REPLY: "I get the sense that you are not taking this very seriously."
96        GOTO: main_dialog
97       
98-   ID: ass_kicking
99    SAY: "Not today.  I'm off duty.  But watch yourself all the same."
100    RESPONSES:
101    -   REPLY: "I'll do that."
102        GOTO: back
103       
104-   ID: explain_jacob
105    SAY: "I'm Jacob's guy.  You got a problem with him - or his family - you\
106       \ got a problem with me.  So do you have a problem?"
107    RESPONSES:
108    -   REPLY: "Nope.  No problem at all."
109        GOTO: back
110       
111-   ID: explain_synnove
112    SAY: "OK, she's a little weird.  She was 5 when she saw what those Russians\
113       \ bastards did to her mother.  She'd have been next if Jacob and I hadn't\
114       \ shown up in time."
115    RESPONSES:
116    -   REPLY: "Oh, I had no idea.  Gruesome."
117        GOTO: back
118       
119-   ID: inn_background
120    SAY: "If you call sittin' here and bullshitting `working`.  But I do solve\
121       \ problems for Jacob.  You're not a problem, are ya?"
122    RESPONSES:
123    -   REPLY: "No sir, no problem here."
124        GOTO: back
125       
126-   ID: help_beer
127    SAY: "Now you are just trying to be funny.  And failing.   Get out of here\
128       \ before I decide to throw you out."
129    RESPONSES:
130    -   REPLY: "Yeah, well maybe I'll find my own bouncer, too!"
131        GOTO: parting_shot
132       
133-   ID: loose_women
134    SAY: "Buy 'em a drink and find out."
135    RESPONSES:
136    -   REPLY: "I would do that if I could afford the booze in this place."
137        GOTO: back
138       
139-   ID: help_fedex
140    SAY: "I dunno.  Dude's in here all the time."
141    RESPONSES:
142    -   REPLY: "Was he here talking to Bart a couple nights ago?"
143        CONDITION: "quest['fedex'].isGoalValue('drunkard_evidence')"
144        GOTO: pekko_check
145       
146    -   REPLY: "Lot of help you are."
147        GOTO: parting_shot
148       
149-   ID: pekko_check
150    SAY: "Buy 'em a drink and find out."
151    RESPONSES:
152    -   REPLY: "I would do that if I could afford the booze in this place."
153        GOTO: back
154       
155-   ID: parting_shot
156    SAY: "Watch yourself, Bub.  I don't want to get out this chair."
157    RESPONSES:
158    -   REPLY: "Ulp."
159        GOTO: end
160       
161-   ID: ungratitude
162    SAY: "Oh, a wise guy huh??? [gets out of chair]"
163    RESPONSES:
164    -   REPLY: "I'm out of here!"
165        GOTO: end
166       
167...
Note: See TracBrowser for help on using the repository browser.