spring-gift.yaml 471 B

1234567891011121314
  1. # Example trigger (D15: behavior language v1). From day 5 of any season the
  2. # engine grants the player one parsnip-seed whenever a trigger match runs
  3. # (the condition stays true, so it fires on every matched event — single-shot
  4. # / re-arming triggers are v2). Condition grammar v1: comparisons
  5. # ({ op, path, value? }) combined with and/or/not.
  6. id: spring-gift
  7. when:
  8. op: gte
  9. path: time.day
  10. value: 5
  11. fire:
  12. - action: give-item
  13. itemId: parsnip-seed
  14. qty: 1