aboutsummaryrefslogtreecommitdiff
path: root/data/behaviors/general_store.yaml
blob: 657e8426e6ce371a43d34721516d7a6e9b45aea8 (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
id: general_store
type: talk
nodes:
  start:
    message: "\"Welcome to the General Store! Need any supplies?\""
    options:
      - text: "\"I'd like to browse.\""
        goto: shop
      - text: "\"Goodbye.\""
        end: true
  shop:
    message: "\"Take your time. What can I get you?\""
    action:
      shop:
        message: "What would you like to buy or sell?"
        items:
          - item_id: fishing_rod
            buy_price: 10
            sell_price: 2
          - item_id: fishing_bait
            buy_price: 2
            sell_price: 0
          - item_id: matches
            buy_price: 10
            sell_price: 2
          - item_id: firesteel
            buy_price: 40
            sell_price: 10
          - item_id: lighter
            buy_price: 30
            sell_price: 7
          - item_id: hammer
            buy_price: 20
            sell_price: 5
          - item_id: knife
            buy_price: 10
            sell_price: 2
          - item_id: chisel
            buy_price: 10
            sell_price: 2
          - item_id: bread
            buy_price: 10
            sell_price: 2
          - item_id: bowstring
            buy_price: 20
            sell_price: 5
    options:
      - text: "\"I'm done.\""
        goto: start