aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/sawmill_operator.yaml
blob: 0fc423df434216522df1aa80dec8365530ee9b05 (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
description: A burly worker in a thick apron, covered in sawdust. He operates the industrial sawmill.
idle_descriptions:
  - wipes sawdust from his goggles
name: sawmill operator
protected: true
talk:
    nodes:
        goodbye:
            messages:
                - Come back anytime you need more planks!
        prices:
            messages:
                - |-
                  Here's what I charge per log:
                    Regular logs: 5 credits
                    Oak logs: 10 credits
                    Teak logs: 20 credits
                    Mahogany logs: 40 credits

                  Want me to process your logs?
            options:
                - condition:
                    any_of:
                        - has_item: logs
                        - has_item: oak_logs
                        - has_item: teak_logs
                        - has_item: mahogany_logs
                  goto: process
                  text: Yes, process all my logs.
                - goto: goodbye
                  text: No thanks.
        process:
            messages:
                - ""
        start:
            messages:
                - Welcome to the lumberyard! I can turn your logs into planks — for a small fee, of course. What can I do for ya?
            options:
                - condition:
                    any_of:
                        - has_item: logs
                        - has_item: oak_logs
                        - has_item: teak_logs
                        - has_item: mahogany_logs
                  goto: prices
                  text: Turn all my logs into planks.
                - goto: prices
                  text: What are your prices?
                - goto: goodbye
                  text: Nothing for now.
unique: true