f20710f5a3
- Replace showRPGAttributes boolean with rpgAttributes array in trackerConfig - Add RPG Attributes section in Edit Trackers with add/remove/rename/toggle - Dynamically generate attribute display from config in userStats.js - Add migration from old showRPGAttributes to new rpgAttributes array - Initialize new attributes with default value of 10 in classicStats - Default attributes: STR, DEX, CON, INT, WIS, CHA (all enabled)
31 lines
855 B
JSON
31 lines
855 B
JSON
[
|
|
{
|
|
"scriptName": "RPG: Clean HTML (From Outgoing Prompt)",
|
|
"findRegex": "/\\s?<(?!\\!--)(?:\"[^\"]*\"|'[^']*'|[^'\">])*>/g",
|
|
"replaceString": "",
|
|
"trimStrings": [],
|
|
"placement": [2],
|
|
"disabled": false,
|
|
"markdownOnly": false,
|
|
"promptOnly": true,
|
|
"runOnEdit": true,
|
|
"substituteRegex": 0,
|
|
"minDepth": null,
|
|
"maxDepth": null
|
|
},
|
|
{
|
|
"scriptName": "RPG: Clean Tracker Blocks (Keeping Last)",
|
|
"findRegex": "/```\\n[\\s\\S]*?\\n---\\n[\\s\\S]*?```\\n+/g",
|
|
"replaceString": "",
|
|
"trimStrings": [],
|
|
"placement": [1, 2],
|
|
"disabled": false,
|
|
"markdownOnly": false,
|
|
"promptOnly": true,
|
|
"runOnEdit": true,
|
|
"substituteRegex": 0,
|
|
"minDepth": 3,
|
|
"maxDepth": null
|
|
}
|
|
]
|