aboutsummaryrefslogtreecommitdiff
path: root/data/behaviors/stall_guard_talk.yaml
blob: c9434afd5d7b4f67a40b45e7008113ca729a80c8 (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
id: stall_guard_talk
type: talk
nodes:
  start:
    message: "Caught you red-handed! You have three options, thief."
    options:
      - text: "\"I'll pay a fine. (500 credits)\""
        goto: bribe
        condition:
          min_credits: 500
      - text: "\"Take me to jail.\""
        goto: jail
      - text: "\"You'll have to catch me first!\""
        goto: fight
  bribe:
    message: "Smart choice. Hand over 500 credits and we'll forget this happened."
    action:
      cost: 500
    options:
      - text: "\"Fine, take it.\""
        end: true
  jail:
    message: "Off to the detention cell with you!"
    action:
      teleport: 162
    options:
      - text: "(You are dragged away)"
        end: true
  fight:
    message: "Then defend yourself!"
    action:
      set_flags:
        guard_hostile: true
    options:
      - text: "(The guard attacks!)"
        end: true