Wider ranges, an agent guide, patch and effects commands
Every effect's sliders and clamps now reach far (a nudge from a tremor to an earthquake, a banner that stays minutes). AGENTS.md documents the file schema, every option and range, the CLI, verification and worked scenarios for scripts and coding agents; attention-required effects prints the catalog as JSON, patch merges keys into a rule, docs prints the guide.
This commit is contained in:
+3
-3
@@ -31,10 +31,10 @@ Item {
|
||||
|
||||
function trigger(opts, notif, rule) {
|
||||
opts = opts || {}
|
||||
amount = number(opts.intensity, 1, 0.2, 3)
|
||||
power = number(opts.speed, 1, 0.3, 3)
|
||||
amount = number(opts.intensity, 1, 0.05, 20)
|
||||
power = number(opts.speed, 1, 0.1, 10)
|
||||
style = opts.style === "rain" || opts.style === "burst" ? String(opts.style) : "cannons"
|
||||
var seconds = number(opts.duration, 1, 0.5, 15)
|
||||
var seconds = number(opts.duration, 1, 0.1, 60)
|
||||
active = true
|
||||
emitting = true
|
||||
stopEmit.interval = Math.round(seconds * 1000)
|
||||
|
||||
Reference in New Issue
Block a user