-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
currently a plugin syntax can only have a name and a single string expression. i would like to see a way in which we can reliably supply more data to plugins. my proposal is a simple key=value pair. i would like to propose that every single piece of data sent into the plugin be a named parameter and allow plugins to specify somehow a default parameter permitting 1 single non-named parameter.
examples
- from permit the RollPlugin to accept a min #6
<roll 1d4-2 min=0> - from permit a table to be rolled on multiple times #7
<table forestAmbush rolls=2> - also valid:
<roll expr=1d4-2 min=0><roll expr=1d4-2><roll 1d4-2><table name=forestAmbush rolls=2><table name=forestAmbush><table forestAmbush>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels