Skip to content

Commit 4fb6ca1

Browse files
committed
sr: add examples how to define the recipe duration
1 parent 5e9f106 commit 4fb6ca1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

wikis/summoningrituals/docs/recipe/basics.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ The `ticks` component defines the duration the ritual needs to be finished. When
124124

125125
Values passed to this function are specified in ticks (_1 second = 20 ticks_). Higher values mean longer duration for the ritual.
126126

127+
```js
128+
.ticks(40) // 2 seconds, this is the default
129+
.ticks(200) // 10 seconds
130+
```
131+
127132
## Recipe Validation
128133

129134
After a recipe has been created, the mod will check its validity internally. There are multiple checks in place to ensure a recipe is valid.

0 commit comments

Comments
 (0)