aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/estate_broker.yaml
blob: e95c3a7ccd328631cc58ab895537312e261503d2 (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
52
53
54
55
56
57
58
59
description: A sharply-dressed real estate agent with a datapad and a practiced smile.
idle_descriptions:
  - flashes a professional smile
name: estate broker
protected: true
talk:
    nodes:
        already_own:
            messages:
                - 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:
                - goto: start
                  text: Good to know.
        goodbye:
            messages:
                - Come back when you're ready to invest in your future!
        info:
            messages:
                - 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:
                - action:
                    credits: -10
                    set_player_flags:
                        owns_house_local_neighborhood: local_neighborhood
                  condition:
                    not: true
                    player_flag: owns_house_local_neighborhood
                  goto: purchased
                  text: Sounds great! I'll buy one.
                - goto: goodbye
                  text: Maybe later.
        purchased:
            messages:
                - 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:
                - goto: start
                  text: Thanks!
        start:
            messages:
                - Welcome to the Local Neighborhood development! I'm selling premium housing plots for only 10 credits. Interested in buying a house?
            options:
                - action:
                    credits: -10
                    set_player_flags:
                        owns_house_local_neighborhood: local_neighborhood
                  condition:
                    not: true
                    player_flag: owns_house_local_neighborhood
                  goto: purchased
                  text: Yes, I'd like to buy a house.
                - condition:
                    player_flag: owns_house_local_neighborhood
                  goto: already_own
                  text: I already own a house here.
                - goto: goodbye
                  text: No thanks.
                - goto: info
                  text: What do I get with a house?
unique: true