aboutsummaryrefslogtreecommitdiff
path: root/data/behaviors/sawmill_operator_talk.yaml
blob: 338ee6160c23b109ec872b51c4ee8e01e3bdda35 (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
id: sawmill_operator_talk
type: talk
nodes:
  start:
    message: "Welcome to the lumberyard! I can turn your logs into planks — for a small fee, of course. What can I do for ya?"
    options:
      - text: "Turn all my logs into planks."
        condition:
          any_of:
            - has_item: logs
            - has_item: oak_logs
            - has_item: teak_logs
            - has_item: mahogany_logs
        next: prices
      - text: "What are your prices?"
        next: prices
      - text: "Nothing for now."
        next: goodbye
  prices:
    message: "Here's what I charge per log:\n  Regular logs: 5 credits\n  Oak logs: 10 credits\n  Teak logs: 20 credits\n  Mahogany logs: 40 credits\n\nWant me to process your logs?"
    options:
      - text: "Yes, process all my logs."
        condition:
          any_of:
            - has_item: logs
            - has_item: oak_logs
            - has_item: teak_logs
            - has_item: mahogany_logs
        next: process
      - text: "No thanks."
        next: goodbye
  process:
    message: ""
    action:
      sawmill: true
  goodbye:
    message: "Come back anytime you need more planks!"