aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/sawmill_operator.yaml
blob: b70362fdaf2a902affe4636da8d06c0b12c51b16 (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
color: "186"
description: A burly worker in a thick apron, covered in sawdust. He operates the industrial sawmill.
idle: The sawmill operator wipes sawdust from his goggles.
name: sawmill operator
protected: true
talk:
    nodes:
        goodbye:
            message: Come back anytime you need more planks!
        prices:
            message: |-
                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:
            action:
                sawmill: true
            message: ""
        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:
                - 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
size: small