aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/sawmill_operator.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'data/mobs/examples/sawmill_operator.yaml')
-rw-r--r--data/mobs/examples/sawmill_operator.yaml50
1 files changed, 50 insertions, 0 deletions
diff --git a/data/mobs/examples/sawmill_operator.yaml b/data/mobs/examples/sawmill_operator.yaml
new file mode 100644
index 0000000..b70362f
--- /dev/null
+++ b/data/mobs/examples/sawmill_operator.yaml
@@ -0,0 +1,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