id: sawmill_operator_talk type: talk nodes: 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: - text: "Turn all my logs into planks." condition: any_of: - has_item: logs - has_item: oak_logs - has_item: teak_logs - has_item: mahogany_logs next: prices - text: "What are your prices?" next: prices - text: "Nothing for now." next: goodbye prices: message: "Here's what I charge per log:\n Regular logs: 5 credits\n Oak logs: 10 credits\n Teak logs: 20 credits\n Mahogany logs: 40 credits\n\nWant me to process your logs?" options: - text: "Yes, process all my logs." condition: any_of: - has_item: logs - has_item: oak_logs - has_item: teak_logs - has_item: mahogany_logs next: process - text: "No thanks." next: goodbye process: message: "" action: sawmill: true goodbye: message: "Come back anytime you need more planks!"