mia.yaml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # Mia dialogue: the traveling merchant who arrives once the mayor-talk-quest
  2. # is complete (the Mod spawns her). Choices, a give-item action, and a
  3. # condition-gated victory branch (only after player.flag.victory exists).
  4. id: mia
  5. startNode: greeting
  6. nodes:
  7. - id: greeting
  8. text: "Mia: Well hello! I'm Mia, a traveling merchant. Heard you're fixing up the old farm."
  9. choices:
  10. - text: "What do you sell?"
  11. to: wares
  12. - text: "Any advice for a new farmer?"
  13. to: advice
  14. - text: "Happy Spring Festival!"
  15. to: festival-spring-wishes
  16. when:
  17. op: exists
  18. path: player.flag.festivalSpring
  19. - text: "Summer Market going well?"
  20. to: festival-summer-wishes
  21. when:
  22. op: exists
  23. path: player.flag.festivalSummer
  24. - text: "Cheers for the Autumn Harvest!"
  25. to: festival-autumn-wishes
  26. when:
  27. op: exists
  28. path: player.flag.festivalAutumn
  29. - text: "Winter Festival is magical this year."
  30. to: festival-winter-wishes
  31. when:
  32. op: exists
  33. path: player.flag.festivalWinter
  34. - text: "The farm is thriving now!"
  35. to: victory
  36. when:
  37. op: exists
  38. path: player.flag.victory
  39. - text: "See you around."
  40. to: farewell
  41. - id: wares
  42. text: "Mia: I deal in rumors and encouragement — the store across the way has the actual seeds and tools. Here, a free pumpkin seed to get your autumn planting started."
  43. actions:
  44. - action: give-item
  45. itemId: pumpkin-seed
  46. qty: 1
  47. to: greeting
  48. - id: advice
  49. text: "Mia: Plant to the season — parsnips in spring, carrots in summer, pumpkins in autumn, turnips even in winter. A dairy cow in a barn brings steady milk. Stack your harvests and the gold adds up."
  50. to: greeting
  51. - id: victory
  52. text: "Mia: I can see it from the road — the fields are full and the coop and barn are humming. Pinefield Valley is alive again. You've done it, farmer!"
  53. actions:
  54. - action: give-item
  55. itemId: milk
  56. qty: 2
  57. to: farewell
  58. - id: festival-spring-wishes
  59. text: "Mia: Spring petals? I brought a few crates of them from the eastern valley."
  60. to: greeting
  61. - id: festival-summer-wishes
  62. text: "Mia: Summer fireworks! I stocked extra glowsticks just for the market crowd."
  63. to: greeting
  64. - id: festival-autumn-wishes
  65. text: "Mia: Autumn harvest charms — I carry handcrafted ones from the mountain village."
  66. to: greeting
  67. - id: festival-winter-wishes
  68. text: "Mia: Winter snow crystals? I keep them in a chilled case. They never melt!"
  69. to: greeting
  70. - id: farewell
  71. text: "Mia: Safe travels. I'll swing by again next season."