| 12345678910111213141516171819202122232425262728293031323334 |
- # Quest chain 2 (D29): activated on the day-start after the starter-quest
- # completes, completes on the first carrot harvest (the crop-harvest event's
- # cropItemId is the crop def id, not the seed item), pays a seed restock +
- # questProgress slot on completion.
- id: carrot-quest
- initial: inactive
- states:
- - id: inactive
- - id: active
- - id: complete
- onEnter:
- - action: give-item
- itemId: carrot-seed
- qty: 2
- - action: play-sound
- sound: harvest
- - action: set-state
- path: player.questProgress.carrot-quest
- value: complete
- transitions:
- - from: inactive
- to: active
- on: day-start
- when:
- and:
- - { op: eq, path: player.questProgress.starter-quest, value: complete }
- - not: { op: exists, path: player.questProgress.carrot-quest }
- - from: active
- to: complete
- on: crop-harvest
- when:
- op: eq
- path: payload.cropItemId
- value: carrot
|