aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/client.yaml
blob: da3aede2c7fe9e99d65382e4ce84727caf0b0a92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
name: The Client
description: A shadowy figure in a dark coat. They speak in clipped, measured tones and seem to know everything about every creature in the sector.
protected: true
unique: true
idle_descriptions:
    - reviews a holographic dossier
    - marks a location on a worn star chart
    - flips a credit chit between their fingers
    - mutters coordinates under their breath
    - glances at you appraisingly
    - taps a data pad with a stylus
talk:
    nodes:
        assign_task:
            action: null
            messages:
                - '"Let me check what''s available..." The Client scrolls through their data pad.'
            options:
                -   text: '"Understood."'
                -   goto: start
                    text: '"What else do you have?"'
        buy_acid:
            action:
                credits: -10
                give_item: acid_vial
            messages:
                - '"Handle with care." The Client passes you a vial of corrosive acid.'
            options:
                -   condition:
                        min_credits: 10
                    goto: buy_acid
                    text: '"Buy more."'
                -   goto: supplies
                    text: '"Thanks."'
        buy_gloves:
            action:
                credits: -50
                give_item: insulated_gloves
            messages:
                - '"These''ll keep the current from frying your hands." The Client tosses you a pair of thick rubber gloves.'
            options:
                -   goto: supplies
                    text: '"Thanks."'
        buy_salt:
            action:
                credits: -5
                give_item: salt
            messages:
                - '"Here you go." The Client slides a packet of salt across the table.'
            options:
                -   condition:
                        min_credits: 5
                    goto: buy_salt
                    text: '"Buy more."'
                -   goto: supplies
                    text: '"Thanks."'
        buy_visor:
            action:
                credits: -75
                give_item: spectral_visor
            messages:
                - '"Spectral frequency filter. Makes the invisible visible — and keeps their attacks from scrambling your brain."'
            options:
                -   goto: supplies
                    text: '"Thanks."'
        current_task:
            messages:
                - '"Let me check your file." The Client pulls up your record.'
            options:
                -   text: '"Okay."'
        extend_confirm:
            messages:
                - '"Extending your task costs 30 Reputation and adds more kills. Want to proceed?"'
            options:
                -   goto: extend_done
                    text: '"Yes, extend it."'
                -   goto: start
                    text: '"Never mind."'
        extend_done:
            action: null
            messages:
                - '"Done. I''ve added more targets to your contract."'
            options:
                -   text: '"Thanks."'
        skip_confirm:
            messages:
                - '"Skipping a task costs 30 Reputation and resets your streak. Are you sure?"'
            options:
                -   goto: skip_done
                    text: '"Yes, skip it."'
                -   goto: start
                    text: '"Never mind."'
        skip_done:
            action: null
            messages:
                - '"Task cancelled. Your streak has been reset."'
            options:
                -   goto: assign_task
                    text: '"Give me a new one."'
                -   text: '"Goodbye."'
        start:
            messages:
                - The Client looks up from their data pad. "What do you need?"
            options:
                -   condition:
                        not: true
                        player_flag: assassin_task_mob
                    goto: assign_task
                    text: '"I need a job."'
                -   condition:
                        not: false
                        player_flag: assassin_task_mob
                    goto: current_task
                    text: '"What''s my current task?"'
                -   condition:
                        not: false
                        player_flag: assassin_task_mob
                    goto: skip_confirm
                    text: '"I want to skip my task."'
                -   condition:
                        all_of:
                            -   not: false
                                player_flag: assassin_task_mob
                            -   player_flag: assassin_unlocked_extend
                                value: true
                    goto: extend_confirm
                    text: '"I want to extend my task."'
                -   goto: supplies
                    text: '"I need supplies."'
                -   text: '"Goodbye."'
        supplies:
            messages:
                - '"I stock everything you need for the job. Cheap, too."'
            options:
                -   condition:
                        min_credits: 5
                    goto: buy_salt
                    text: '"Buy salt (5 credits each)."'
                -   condition:
                        min_credits: 10
                    goto: buy_acid
                    text: '"Buy acid vial (10 credits each)."'
                -   condition:
                        min_credits: 50
                    goto: buy_gloves
                    text: '"Buy insulated gloves (50 credits)."'
                -   condition:
                        min_credits: 75
                    goto: buy_visor
                    text: '"Buy spectral visor (75 credits)."'
                -   goto: start
                    text: '"Back."'