Skip to content

Commit

Permalink
add missing field for trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowbean committed Dec 13, 2024
1 parent 40f52b9 commit 9a92b7b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/source/modeling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3008,8 +3008,8 @@ There are 4 fields in ``Triggers``:
* ``Condition`` -> it will fire the trigger effects, when :ref:`Condition` is met
* ``Effects`` -> what would happen if the trigger is fired
* ``Status`` -> it is triggered or not
* ``Curable`` -> whether the trigger is curable
* ``Status`` -> it is triggered or not (if missing, default is False)
* ``Curable`` -> whether the trigger is curable (if missing, default is False)
Syntax of trigger
^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -3024,7 +3024,9 @@ it is a must to specify :ref:`Trigger Locations`
,"effects":..
,"status":..
,"curable":..}
......
{"triggerName2WithDefaultValue":
{"condition":..
,"effects":..}
}
,"AfterCollect": # optional
{}
Expand All @@ -3039,7 +3041,7 @@ it is a must to specify :ref:`Trigger Locations`
* ``AfterCollect``
* ``BeforeDistribution``
* ``AfterDistribution``
* during the waterfall
* ``during the waterfall``
When to run trigger
^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 9a92b7b

Please sign in to comment.