Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Help] sheet.json files

1451959868
vÍnce
Pro
Sheet Author
Pardon my ignorance. &nbsp;I've read the wiki info (json info quoted below): <a href="https://github.com/Roll20/roll20-character-sheets/" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/</a>... instructions : Markdown-formatted instructions for using the sheet. If there are any particular setup steps, special rolls you want to make the player aware of, etc., this is the place to put that info. Try to be succinct. After we have reviewed your sheet if we approve it we will add it to the approved.yaml file in the root directory which will cause it to be available to everyone on the main Roll20 site. If we reject your sheet, we will comment on your Github commit and let you know what changes need to be made before it can be accepted. PLEASE VERIFY YOUR SHEET.JSON IS VALID JSON at <a href="http://jsonlint.com" rel="nofollow">http://jsonlint.com</a> before you submit it! So, I use an online(wysiwyg)&nbsp;markdown editor like&nbsp; <a href="https://stackedit.io/editor" rel="nofollow">https://stackedit.io/editor</a> and I copy/paste my edited markdown into the json's instructions area. example: { "html": "foo.html", "css": "foo.css", "authors": "foo", "roll20userid": "foo", "preview": "foo.jpg", "instructions": "This is a test -- -- -- -- -- -- -- And this is some more text. More Testing -- -- -- -- -- -- And I am all done testing. " } testing the above with&nbsp; jsonlint I get an error: Error: Parse error on line 7: ...", "instructions": "This is a test -- ----------------------^ Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined' I'm sure I'm missing something obvious. &nbsp;Any help? &nbsp;Thanks
1451963121
Lithl
Pro
Sheet Author
API Scripter
Replace each newline in your instructions string with \n See my Exalted 2e sheet for an example: { "html": "exalted2e.html", "css": "exalted2e.css", "authors": "Brian Shields, Benjamin Bandelow", "preview": "exalted2e.jpg", "roll20userid": "235259,442", "instructions": "###Rollable Tables\nThe roll buttons assume you have two rollable tables, one named `exalted` and one named `exalted-damage`.\n\nThe table `exalted` should have the following table items:\n\n* \"botch\" (weight 1)\n* \"0\" (weight 5)\n* \"1\" (weight 3)\n* \"2\" (weight 1)\n\nThe table `exalted-damage` should have the following table items:\n\n* \"0\" (weight 6)\n* \"1\" (weight 4)\n\nIf your campaign includes Sidereals throwing around Ascending and/or Descending Destinies, you will either need the API (a mentor feature) or alternate rollable tables, and the roll buttons on the sheet will not be correct.\n\n**When creating your own macros,** be sure to multiply any Ability by `1-Ability|max`, to account for abilities which have been reset to 0. For example, `/r (@{Dexterity}+@{Melee})t[exalted]` will roll your Dexterity and Melee together, however if the checkbox to reset Melee to 0 is ticked, the roll will be incorrect. Instead, use `/r (@{Dexterity+@{Melee}*(1-@{Melee|max}))t[exalted]`.\n\n###Roll Templates\nThis sheet includes five roll templates: `joinbattle`, `joindebate`, `joinwar`, `attack`, and `damage`.\n\n`joinbattle` and `joindebate` both accept the properties `wits`, `awareness`, `bonus dice`, `bonus successes`, and `roll`. `joinwar` is the same, except `war` is used instead of `awareness`. If you create your own macros using these templates, each of the properties should be an inline roll and the `roll` property should roll an appropriate number of times on the `exalted` table.\n\n`attack` **requires** the properties `attribute`, `ability`, `specialty`, `accuracy`, `bonus dice`, `bonus successes`, and `roll`. As with the previous templates, if you create your own attack macros, these properties should all be inline rolls, and `roll` should roll on the `exalted` table. `attack` can *optionally* include the properties `name`, `attribute name`, `ability name`, and `specialty name`. The attack roll button in the repeating section on the **Combat** tab uses the weapon name for `name`, while the other name properties are unused. If supplied in a custom macro, they will be used in place of \"Attribute\", \"Ability\", and \"Specialty\".\n\n`damage` **requires** the properties `damage type`, `damage`, `bonus dice`, `bonus successes`, `target soak`, `pool`, `minimum roll`, and `roll`. `damage` can *optionally* include `name`, `attribute name`, `attribute`, `ability name`, and `ability`.\n\nThe properties `damage`, `attribute`, `ability`, `bonus dice`, `bonus successes`, `target soak`, `pool`, `minimum roll`, and `roll` should all be inline rolls. `minimum roll` should roll on the `exalted-damage` table a number of times equal to your minimum damage for the attack (generally 1, except for overwhelming weapons). `roll` should roll on the `exalted-damage` table the appropriate number of times. The two damage rolls are distinguised by the `pool` property. **In a custom macro, `pool` should be set to roll a number of zero-sided dice equal to your damage dice pool minus your minimum damage. This roll should generate successes on results of 1 or greater, and failures on results of 1 or less.** Such an inline roll looks something along the lines of `[[(Damage + Attribute + Ability + Bonus Dice - Target Soak - Minimum Damage)d0&gt;1f&lt;1]]`. This computation results in either 0 (for a die pool of 0 or less) or the size of the pool expressed as a negative value. This lets the template know whether to use your minimum damage or your regular damage." }
1451973128
vÍnce
Pro
Sheet Author
Thanks Brian. &nbsp;I had a feeling before I checked... I'm assuming this is not how it's supposed to look? This has happened on other sheets as well. &nbsp;I thought I had messed up the sheet.json file so that's why I was asking. &nbsp;Thoughts? Exalted 2e sheet.json
1451974392
Lithl
Pro
Sheet Author
API Scripter
Looks like the display page isn't parsing the Markdown syntax any more. That's a bug.
1451974503
vÍnce
Pro
Sheet Author
I can submit a post to Bugs. &nbsp;Thanks