aboutsummaryrefslogtreecommitdiff
path: root/data/behaviors/estate_broker_talk.yaml
blob: b14323dacc01befafddad8b4ff7c9f214a9b6755 (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: estate_broker_talk
type: talk
nodes:
  start:
    message: "Welcome to the Local Neighborhood development! I'm selling premium housing plots for only 10 credits. Interested in buying a house?"
    options:
      - text: "Yes, I'd like to buy a house."
        condition:
          not:
            player_flag: owns_house_local_neighborhood
        action:
          cost: 10
          set_player_flags:
            owns_house_local_neighborhood: "local_neighborhood"
        next: purchased
      - text: "I already own a house here."
        condition:
          player_flag: owns_house_local_neighborhood
        next: already_own
      - text: "No thanks."
        next: goodbye
      - text: "What do I get with a house?"
        next: info
  purchased:
    message: "Excellent! The plot is yours. You'll find your new home in the Local Neighborhood just north of here. Use the Estate Directory terminal to enter your house. The home comes with a workshop — perfect for construction projects."
    options:
      - text: "Thanks!"
        next: start
  already_own:
    message: "Yes, you're already a proud homeowner here! Your house is waiting for you. Use the Estate Directory to enter it, or expand your workshop."
    options:
      - text: "Good to know."
        next: start
  info:
    message: "Each house comes with an entrance hall and a workshop equipped with a workbench. You can use the workbench with a saw to turn logs into planks, or assemble planks into furniture. Furniture can be sold for a profit or displayed in your home. Future developments will allow adding more rooms to your house."
    options:
      - text: "Sounds great! I'll buy one."
        condition:
          not:
            player_flag: owns_house_local_neighborhood
        action:
          cost: 10
          set_player_flags:
            owns_house_local_neighborhood: "local_neighborhood"
        next: purchased
      - text: "Maybe later."
        next: goodbye
  goodbye:
    message: "Come back when you're ready to invest in your future!"