forked from Roll20/roll20-api-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.json
16 lines (16 loc) · 845 Bytes
/
script.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"name": "DLEllipseDrawer",
"script": "treehugger.js",
"version": "1.1",
"description": "This script allows ellipses to be drawn on the Dynamic Lighting layer and have them automatically convert to polygon approximations. To use, just activate the script and draw a circle or ellipse using the draw tool on the dynamic lighting layer. The script will replace the drawn ellipse with a N-sided polygonal approximation of the ellipse instead. To change the value of N in-game, simply type '!treehugger <integer>' to set N=<integer>. Otherwise, the default value can be modified from the API script menu.",
"authors": "Tim M.",
"roll20userid": "1625710",
"useroptions": [
{
"name": "N",
"type": "number",
"default": "20",
"description": "This is the default number of sides for polygons generated by DLELlipseDrawer."
}
]
}