mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-31 08:55:39 -04:00
86 lines
1.5 KiB
Plaintext
86 lines
1.5 KiB
Plaintext
---
|
|
title: Random Modifiers
|
|
layout: ../../layouts/MainLayout.astro
|
|
---
|
|
|
|
import { MiniRepl } from '../../docs/MiniRepl';
|
|
import { JsDoc } from '../../docs/JsDoc';
|
|
|
|
# Random Modifiers
|
|
|
|
These methods add random behavior to your Patterns.
|
|
|
|
## choose
|
|
|
|
<JsDoc client:idle name="choose" h={0} />
|
|
|
|
## wchoose
|
|
|
|
<JsDoc client:idle name="wchoose" h={0} />
|
|
|
|
## chooseCycles
|
|
|
|
<JsDoc client:idle name="chooseCycles" h={0} />
|
|
|
|
## wchooseCycles
|
|
|
|
<JsDoc client:idle name="wchooseCycles" h={0} />
|
|
|
|
## degradeBy
|
|
|
|
<JsDoc client:idle name="Pattern.degradeBy" h={0} />
|
|
|
|
## degrade
|
|
|
|
<JsDoc client:idle name="Pattern.degrade" h={0} />
|
|
|
|
## undegradeBy
|
|
|
|
<JsDoc client:idle name="Pattern.undegradeBy" h={0} />
|
|
|
|
## undegrade
|
|
|
|
<JsDoc client:idle name="Pattern.undegrade" h={0} />
|
|
|
|
## sometimesBy
|
|
|
|
<JsDoc client:idle name="Pattern.sometimesBy" h={0} />
|
|
|
|
## sometimes
|
|
|
|
<JsDoc client:idle name="Pattern.sometimes" h={0} />
|
|
|
|
## someCyclesBy
|
|
|
|
<JsDoc client:idle name="Pattern.someCyclesBy" h={0} />
|
|
|
|
## someCycles
|
|
|
|
<JsDoc client:idle name="Pattern.someCycles" h={0} />
|
|
|
|
## often
|
|
|
|
<JsDoc client:idle name="Pattern.often" h={0} />
|
|
|
|
## rarely
|
|
|
|
<JsDoc client:idle name="Pattern.rarely" h={0} />
|
|
|
|
## almostNever
|
|
|
|
<JsDoc client:idle name="Pattern.almostNever" h={0} />
|
|
|
|
## almostAlways
|
|
|
|
<JsDoc client:idle name="Pattern.almostAlways" h={0} />
|
|
|
|
## never
|
|
|
|
<JsDoc client:idle name="Pattern.never" h={0} />
|
|
|
|
## always
|
|
|
|
<JsDoc client:idle name="Pattern.always" h={0} />
|
|
|
|
Next up: [Conditional Modifiers](/learn/conditional-modifiers)
|