Conversation Package
version 2 by Eric Eve
Example: * Consultation - A nodal conversation complete with suggestions, not that they help too much with this doctor!
"Consultation"
Part 1 - Setup
Include Conversation Package by Eric Eve.
To say /p: say paragraph break.
To say /l: say line break.
your symptoms are a familiar thing.
the weather is a familiar thing.
advice-suggestion is a misc-suggestion.
The printed name is "ask him for advice".
Part 2 - Scenario
The Doctor's Surgery is a room.
Doctor Kilpatient is a man in the Surgery. "Doctor Kilpatient is sitting behind his desk, looking at you with the air of a man whose lifetime practice of misanthropy is nearing the reward of ultimate perfection."
Understand "dr" as Doctor Kilpatient.
The node of Doctor Kilpatient is doctor-node.
The ask-suggestions are{ self-suggestion, the weather }.
The tell-suggestions are { your symptoms }.
The other-suggestions are { advice-suggestion }.
Part 3 - Conversation
Chapter 1 - Node-Specific Responses
doctor-node is a closed convnode.
the tell-suggestions are { yourself }.
Response for doctor-node when told about yourself:
say "[node ill-node]'I'm not feeling too good, doctor,' you say. [/p]'So what's the matter?' he asks, 'are you ill?' [/l]"
Default response for doctor-node:
say "[node ill-node]'I'm a busy man, so let's get to the point. Are you ill?' the doctor demands."
ill-node is a closed convnode.
The other-suggestions of ill-node are { yes-no-suggestion }.
The tell-suggestions of ill-node are { your symptoms }.
Response for ill-node when saying yes:
say "[node symptom-node]'Yes, that's why I'm here, doctor,' you tell him. [/p]'So what exactly is the matter?' the doctor wants to know."
Response for ill-node when saying no:
say "'No, I just...' you begin. [/p]'Then kindly don't waste my time.' the doctor snaps, 'Goodbye!'";
end the story finally saying "You have been shown the door".
Response for ill-node when told about your symptoms:
say "[remove your symptoms tell suggestion]'Let's take this one step at a time,' he interrupts you, 'Now tell me, are you ill or not, yes or no?'"
Default response for ill-node:
say "'Come now, I asked you a simple enough question,' he replies, 'Are you ill, yes or no?'"
Node-continuation rule for ill-node:
if a random chance of 1 in 2 succeeds, say "'I haven't got all day,' Dr Kilpatient complains, 'So I'd appreciate it if you would answer my question: are you ill?'"
symptom-node is a closed convnode.
The tell-suggestions are { your symptoms }.
Response for symptom-node when told about your symptoms:
say "'Well, doctor, I've got this terrible headache, my back's killing me, I'm having trouble walking, and I've got this strange lump on my arm,' you say. [/p][node help-node]'Don't worry,' he replies, 'You'll be dead within the week, and then it won't hurt any more. Now, is there anything else I can help you with?' [/l]"
Default response for symptom-node:
say "'No, no, no, don't try to change the subject, just tell me your symptoms!' he interrupts you."
help-node is a convnode.
the other-suggestions of help-node are { yes-no-suggestion }.
response for help-node when saying no:
say "'No, I think you've been quite helpful enough, doctor,' you reply. [/p]'I do my best,' he replies dryly."
response for help-node when saying yes:
say "'Well, yes, I was hoping for something a bit more positive,' you reply. [/p]'I'm not in the business of hope,' he snorts. [/l]"
Chapter 2 - General Responses
response for kilpatient when asked for "advice":
say "[remove advice-suggestion other suggestion]'Can't you give me any advice about how to dull the pain - or stay alive - or anything useful like that?' you ask. [/p]'Pain is good for the soul. So is death. Count yourself fortunate,' he replies. [/l]"
response for kilpatient when asked about kilpatient:
say "[remove self-suggestion ask suggestion]'Are you always this sympathetic with your patients?' you ask. [/p]'I try not to be,' he assures you. [/l]"
response for kilpatient when asked-or-told about the weather:
say "[remove weather ask suggestion]'It's quite cold for the time of year; could the weather be affecting my health?' you ask. [/p]'Possibly,' he replies. [/l]"
response for kilpatient when told about your symptoms:
say "[remove your symptoms tell suggestion]'Let me tell you about my other symptoms,' you begin. [/p]'Please don't,' he interrupts, 'I'm sure they're very boring; you just aren't a medically interesting case.' [/l]".
Part 4 - Testing
Test me with "talk to doctor/t yourself/t symptoms/topics/yes/t yourself/t symptoms/topics/yes/topics/ask for advice/a weather/t symptoms/a himself/topics"