Giter VIP home page Giter VIP logo

roll20 / roll20-character-sheets Goto Github PK

View Code? Open in Web Editor NEW
1.2K 98.0 4.1K 2.38 GB

Character sheet templates created by the community for use in Roll20 VTT. Submit a ticket at roll20.net/help if critical hotfixes are to be requested.

Home Page: https://roll20.net/

License: MIT License

CSS 11.17% HTML 83.14% JavaScript 2.69% Makefile 0.01% Shell 0.01% Batchfile 0.01% Python 0.02% Rich Text Format 0.02% SCSS 1.06% Less 0.02% Pug 1.36% Stylus 0.20% Sass 0.10% PowerShell 0.01% Nunjucks 0.01% TypeScript 0.05% EJS 0.16%
hacktoberfest

roll20-character-sheets's Introduction

Roll20 Character Sheets

Roll20.net is the easy-to-use virtual tabletop that brings pen and paper gaming to the web the right way. Built on a powerful platform of tools, yet elegantly simple, it focuses on enhancing what makes tabletop gaming great: storytelling and camaraderie.

This repository is the collection of all the community-contributed character sheets that are available for use on Roll20. These are, mostly, created for free, for use by the community, and represent dozens, if not hundreds of hours of effort on the parts of their creators.

This repository consists of over 📜 800 community contributed sheets, from over 🧑 300 contributors, who have written over ⌨️ 400,000 lines of code. This is an 🦦 otter.

Community Conduct

The Roll20 Code of Conduct applies to your participation on this repository.

tl;dr

Following the Roll20 Code of Conduct means no racism, no sexism, no hate speech, no backseat gaming, no personal attacks, no transphobia, no misgendering, no ableism, no anti-LGBTQIA+ sentiments (and so on) are allowed.

Table of Contents

Contributing

There are many ways in which you can contribute to these sheets, and to the health of the space:

Getting Started

If you are interested in contributing code, fixing issues, or adding content, the Roll20 Wiki: Building Character Sheets documentation is a great place to start familiarizing yourself with the space.

Improving Existing Character Sheets

Before you submit work to the repository, please ensure that there is not already a sheet that covers the game you are intending to create a sheet for. If there is already one, fear not! Be bold and suggest some changes.

In general, this should look something like this:

  • Fork the repository.
  • Make your changes to the sheet in question.
  • Make the Pull Request.
  • Invite previous contributors to review your changes.
  • Once everyone is satisfied with the changes, we can merge the changes into the existing sheet.

We have learned from experience that it is better to have a single sheet that is contributed to by a number of people, rather than perpetuating the cycle of a contributing a sheet, losing interest, moving on, and then the next contributor creating an entirely new sheet. This is a collaborative community, please feel empowered to collaborate!

Beginner's Guide to GitHub - for Roll20 character sheets

Starting a New Character Sheet

If you have a burning desire to start from scratch, and there isn't already an existing sheet for a game or system, then it's time to embark upon a voyage of discovery. ⛵ There is plenty of documentation available on the Roll20 Help Center and on the community wiki, but here's a quick primer to get you started.

A character sheet, at a minimum requires four files in an appropriately named subfolder of the repo:

  • <sheetname>.html - This HTML file describes the structure and functionality of your character sheet. It might consist of inputs to store user data, buttons to make rolls to the VTT, repeating sections to store lists of information (like inventory items), or more advanced elements such as roll templates or sheet workers.
  • <sheetname>.css - This CSS file is primarily responsible for adding styles to your character sheet. However, CSS can be very versatile and such is used for much, much, much more.
  • preview.(jpg/png/gif) - This image file is what users will see as a preview, before selecting your sheet.
  • sheet.json - This JSON file includes metadata about the sheet, including the filenames for your sheet, your credit as author(s), and much more. It's integral to your sheet being implemented correctly that this format is followed. Please see this document for more information.

Submission Guidelines

All contributions to this repository must meet the minimum requirements outlined in this article. We additionally reccomend requesting approvals from a sheet's original author if you are submitting any large overhauls to actively-maintained sheets. This will speed up your approval process.

Release Cadence

Pull Requests are reviewed at least weekly by 00:00 UTC on Thursdays, although cadence is often more frequent.

Once a Pull Request has been merged, changes should be served on Roll20.net within approximately ten minutes. Contributors are encouraged to open a GitHub issue if their changes haven't appeared 24 hours after the Pull Request has been merged.

Internationalization & Translations

We use Crowdin to crowdsource and manage translations for various aspects of our site.

Check out the Help Center articles and Community Wiki documentation below to learn about translations and to help us make Roll20 accessible in as many languages as possible!

Sheet translations submitted outside of Crowdin will not be accepted and/or will be overwritten by Crowdin.

Uploading Sheets

Ensure that you have installed jq before running the following commands:

cd 5eShaped # Change this to your desired sheet directory
cat sheet.json|  jq ". += {\"version\":\"$(date +%s)\"}" | tee sheet.json # This will bump the version field in sheet.json

Commit the change to sheet.json, push your changes to one of the supported branches and watch CircleCI for the branch to which you pushed. The supported branches are:

  • master
  • staging

License

All of the code (HTML/CSS) of the sheets in this repository is released under the MIT license (see LICENSE file for details). If you contribute a new sheet or help improve an existing sheet, you agree that your contribution is released under the MIT License as well.

Contact

For urgent concerns, problems, or hotfixes, please submit a ticket at https://roll20.net/help

roll20-character-sheets's People

Contributors

actoba avatar amandasearle avatar anduh avatar ap3h3ad avatar bronsonhall avatar clevett avatar dbfblackbull avatar djjus avatar joesinghaus avatar karlinator avatar kreuvf avatar kurohyou avatar lockbox313 avatar madcoder253 avatar mlenser avatar mperes avatar nmbradley avatar norwhal avatar pjbehr87 avatar plutosdad avatar rileydutton avatar roll20deploy avatar sheet-service avatar solarswordsman avatar stexinator avatar villain1nglasses avatar vince-roll20 avatar wing-it avatar xophra avatar zakarik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

roll20-character-sheets's Issues

D&D E3.5 Fields not updating

In the D&D character sheet the fields armorclass and flatac does not calculate, but instead writes the calculation with a lot of pluses.
image

CWOD-V20 Character sheet problems...

It looks like Unicode characters placed directly in the CSS document aren't working anymore (I seem to have had some success in replacing them with escaped code sequences, but am not confident I know how Github works/those CSS files work well enough to post). There are a lot of other problems I'm not expert enough to track down, too. Suffice it to say, the sheet is really broken. Looks nothing like the preview on any browsers I use.
broken page

SpyCraft Version 2.0 Sheet Error

On the SpyCraft 2.0 character sheet the 'Talent' and 'Speciality' fields always set to the same input as the other (eg. if you type 'Roll20' into the Talent field it appears in the Speciality field and vice versa). This is quite annoying and makes it harder to keep track of who has what bonuses.

I believe that the issue is in the first section of HTML but I can't pinpoint the error myself, although it look like it might have two lines to set the Talent instead of one of the Talent and one for the Speciality.

Support for fix() or abs()

In GURPS you should be able to "spend" negative values of points to reduce your stats. However, since floor() always rounds to the lower number, the calculation gets messed up.

For example, if the stat has a base value of 10, and costs 20 points the raise/lower. I'd use a formula like this.

10 + floor(@{points} / 20)

For positive values this works fine, but for most negative values the output is 1 lower than it should be.

10 + floor(24 / 20) = 11
10 + floor(-24 / 20) = 8

Could you implement a fix() function, which always rounds the value towards 0.

Or alternatively add an absolute value function. In which case I could emulate fix() like so:

@{points}/abs(@{points}) * floor(abs(@{points}) / 20)

13 th recovery roll is not working

sorry to my english
line 217 is not working to make a roll to recovery..
this is the correct text:
Recovery Value: [[@{level}@{REC-die}+@{CON-mod}]]"

[bug] DnD_5e character sheet basic ability checks

Line 776 roll is defined as [[1d20 + @{strength_mod} [Strength Mod] + @{global_check_bonus} [Active Check Bonus] ]]
Line 785 defines name="attr_basic_strength_check_mod" value="@{strength_mod} + @{basic_strength_bonus} + @{basic_strength_prof_exp}"
basic_strength_check_mod is never used and should be used in place of @{strength_mod} in line 776, otherwise the Unskilled STR check does not add the supplied proficiency or bonus modifiers in the roll. This is the same for all PC and NPC Unskilled ability checks.

Exalted 2e character sheet

Hi!

I'd like to suggest an improvement regarding JoinWar, JoinBattle, JoinDebate - currently, it does not prompt for bonus successes and/or bonus from charms - this is due to the rolloption not having the added

?{Bonus Dice (Charms, Stunts, etc.)|0})t[exalted]+?{Automatic Successes|0}"

line.

I'd suggest adding that to the above mentioned areas since currently, there is no real way to use a charm to improve any of the "JoinX" options.

[Bug] ul, ol, li elements are being stripped

This seems to be a new bug.

The list of allowed HTML tags is missing ul, ol, and li

See:

html = filterFunc(html, "<br><input><textarea><div><span><label><hr><img><b><i><strong><em><h1><h2><h3><h4><h5><h6><p><hr><table><tr><td><tbody><thead><th><tfoot><select><option><fieldset><button>");

Support for tertiary operators.

After testing with the new abs() function, it's become apparent that it won't work for the GURPS sheet (as described in issue #83), since it results in a division by 0 if the user wants to keep their attribute at default (and naturally that will cascade and invalidate the vast majority of other calculations on the character sheet).

It would seem this is only solved by either implementing a fix function, or adding tertiary operators, in which case I can do
x != 0 ? abs(x) * x/abs(x) : 0 or x >= 0 ? floor(x) : ceil(x)


I also have another problem, which would require tertiary operators to solve. Unless someone can suggest an alternate way to compute it, which would be amazing.

GURPS has a slightly complicated system for calculating skill levels, the first few levels cost fewer points than the later levels.

Points Level
1 1
2 2
4 3
8 4
12 5
+4 +1

The only way I can think to accomplish this right now is with a tertiary operator.
(x >= 1 ? 1 : 0) + (x >= 2 ? 1 : 0) + floor(x / 4)
of course this would also work in a much more simple fashion if those booleans could be evaluated as a 1 or 0.
(x >= 1) + (x >= 2) + floor(x / 4)

x = 1
(1) + (0) + floor(0.25) = 1
x = 3
(1) + (1) + floor(0.75) = 2
x = 10
(1) + (1) + floor(2.5) = 4

I was trying to think of a way to do it with modulo, but to no avail.


If that's too much too ask, then the GURPS character sheet will have to be very minimal in it's use of auto-calc. Or supported by an API script.

Call of Cthulhu Character Sheet calculations

CoC 7th ed character sheets seem to be calculating max HP and MP incorrectly and locking it out.
Hit Points: Con + SIZ divided by 2. Round up any fractions.
Magic Points: Same as POW

This is not the calculation being shown.
capture

SWN Ship: Deleting wrong fields

Deleting the repeatable fields for Weapons, Defense, or Fitting will delete rows in the other.

For example:

  1. Enter information for one weapon.
  2. Enter information for one defense.
  3. Delete the defense.
  4. Close sheet.
  5. Reopen sheet. All weapons, defenses, and fittings are gone.

freeseamlesstextures.com is down, breaking FantasyCraft sheet

One of the sites I use for a background image is down and has been. I've been getting mail asking me to fix it, so I changed the background image to something (and somewhere) else.

Can someone push this change sooner rather than later? The sheet is pretty unusable like this...

DnD_5e : Attack roll button in Weapons section not working

First, amazing work on this DnD 5 character sheet ! Thank you very much

That said, the attack roll button doesn't seem to work. When I press it I got a
SyntaxError: Expected "(", ".", "[", "abs(", "ceil(", "d", "floor(", "round(", "t", "{", [ |\t], [+|-] or [0-9] but end of input found.
(even with an empty line)

Trying to complete a character sheet for the D6 Star Wars RPG.

I saw that there are 3 D20 Star Wars character sheets, but no D6 sheets.

I don't have any previous experience with HTML/CSS, but I have plugged in all of the bare bones required for the sheet, and plan to improve it later.
How do I accomplish the uploading with GITHUB?

  • I have created the .json file and verified it.
  • I have built the HTML file.
  • I have created the CSS file.
  • I took a .png snip of the character sheet, but keep getting errors on upload.

Please let me know what you need me to do.

d6starwarspreview

AD&D 1E sheet strength bug

The blank for strength on the 1E sheet does not recognize the "percentage strengths" for stronger characters. This should be displayed as 18/22, or 18/00. It instead erases the field. The field only recognizes whole numbers, not the slash.

Exalted: Third Edition character sheet issues

The character sheet for exalted third edition does not seem to properly display certain aspects of itself. For example, the radio buttons do not appear at all, merely a black square that disappears when I click on it. Check boxes also appear to be nonfunctional, having a "?" appear in them when selected.

Dark Heresy Sheet is rolling a non-existent stat for Melee

On the Dark Heresy (1st Edition) sheet, there's a "Damage" Button that rolls melee damage for the weapon you've setup there. However, it incorrectly refers to the "strength" attribute, rather than than the "s" attribute where the character sheet stores one's strength score. This results in anyone using the melee damage button encountering an issue where it can't find the "strength" attribute.

This error is located on line 487, which is highlighted here: https://github.com/Roll20/roll20-character-sheets/blob/master/Dark_Heresy/DarkHeresy.html#L487

Thanks!

Character Sheet For D&D 3.5 skill problem

Uncheking a skill as a class skill doens't count ranks as half.
Looking at the code I can tell that we should change all {value="class"} camps to {value="1"} camps and then change all camps with {value="@{XXX-mod}+@{SKILLranks}+@{SKILLmiscmod}"} to {value="@{XXX-mod}+floor(@{SKILLranks}/2)+@{SKILLclassskill}*ceil(@{SKILLmiscmod}/2)"}
That change would make would change the skills to auto-calculate values as class skills.

[BUG] CSS filtering/post-processing snags on child selector

The function responsible for validating CSS input chokes on the CSS child selector.

I'm not sure which JS file it is in, but the function is defined with var filterFunc = function(input, allowed) {

The regex being used to match HTML angle brackets (/[\<>]/) is also matching the single angle bracket (>) used as a CSS child selector, causing my stylesheet to be thrown out.

Needless to say, I expected to use child selectors in my Character Sheet, so it would be super if this could be fixed.

This is an example of the selector in use:

.sheet-dropdown-attr_mental:hover > .sheet-drop-background {

Here is the code in question, I marked the offending regex.

var evil = [
              /(\bdata:\b|eval|cookie|\bwindow\b|\bparent\b|\bthis\b)/i, // suspicious javascript-type words
              /behaviou?r|expression|moz-binding|@import|@charset|(java|vb)?script|[\<]|\\\w/i,
              /[\<>]/, // back slash, html tags,    <---- THIS BREAKS CSS CHILD SELECTORS
              /[\x7f-\xff]/, // high bytes -- suspect
              /[\x00-\x08\x0B\x0C\x0E-\x1F]/, //low bytes -- suspect
              /&\#/, // bad charset
            ];

            for(var i=0; i < evil.length; i++) {
                if(input.match(evil[i])) {
                    console.error("Potential CSS security violation; character sheet template styling thrown out.");
                    input = "";
                }
            }

Dungeon World damage dice is wonky

Hello al,,
Couldn't find another report on this problem, so I'm opening a new one.

The damage dice is all over the place, sometimes showing just 18 (as if that was the input, not a roll at all) and sometimes rolling the previous damage notation we put in, or the one before it, instead of the current one. We first noticed it when trying to enter d8 for damage.

Wilson-Homebrew.css

.charsheet thead td {
font-weight: bold;
}

.charsheet td {
padding-right: 1em;
}

.charsheet input[type=text], .charsheet input[type=number] {
padding-left: 2px;
border: 1px solid #333333;
}

.charsheet table {
margin-bottom: 0.5em;
}

.sheet-formblock {
width: 22em;
margin-bottom: 1em;
}

.charsheet textarea {
width: 95%;
max-width: 95%;
min-width: 95%;
resize: vertical;
overflow-y: auto;
min-height: 5em;
border: 1px solid black;
}

.sheet-thiefabilities input, .sheet-savingthrows input, .sheet-turnundead input {
width: 5em;
}

.sheet-shortnum {
width: 2.5em;
text-align: center;
}

.sheet-spelltable {
margin-top: 0.5em;
}

.sheet-spelltable td {
padding: 0px;
text-align: center;
}

[Bug] imgsrv.roll20.net proxy delivering content insecurely

Roll20 uses TLS by default, yay! But the content proxy server (imgsrv.roll20.net) isn't set up to deliver content over TLS, so the browsers are complaining.

Firefox is the most strict in this regard. For passive content (e.g., images), this isn't a big deal as Firefox allows the content. But for "active" content (e.g., fonts) the content is blocked completely.

This makes it impossible to use webfonts in our character sheets on Firefox.

image

[Bug] Roll buttons referencing radio buttons in repeating fieldset not working properly

​Clicking roll buttons inside repeating fieldsets that reference a radio button group inside the fieldset doesn't work properly.

The retrieved value substituted into the roll command is always the value of the last radio button, rather than the value of the checked radio button.

Example fieldset:

<fieldset class="repeating_bugreport">
  d6: <input type="radio" name="attr_sigasset_value" value="6" checked="true"/>
  d8: <input type="radio" name="attr_sigasset_value" value="8" />
  d10: <input type="radio" name="attr_sigasset_value" value="10" />

  <button type="roll" value="/em test: @{sigasset_value} @{sigasset_name}"</button>
  <input type="text" name="attr_sigasset_name" value="testname" />
</fieldset>

Clicking the roll button above will always result in @{sigasset_value} being resolved to 10 instead of the checked value 6.

Das_Schwarze_Auge_4-1 - Dice rolls very hard to read

In the DSA stylesheet it is very hard to read the dice rolls. This is important to distinguish between two or three critical dices.

A simple change to the stylesheet will help, make the dices more visible.

.basicdiceroll {
color: yellow;
font-size: 1.15em;
font-style: bold;
}

This would help us a great deal. We really like the tool and the character sheet.

Thanks for all the work.

Best regards,
Kai

Fonts don't display correctly on Linux machines

Hi, I participate in a Dark Heresy campaign and I have noticed that the fonts used on the sheet are not Linux compatible. Cambria for example is only licensed for use on Windows Operating systems and Hoefler is distributed through Apple. Essentially what happens is you end up with a character sheet that has the field labels all jumbled.

Here's a site for free embeddable fonts: http://www.fontsquirrel.com/home

And here is an article on setting up browser-agnostic font embedding with CSS with the above site: http://www.midwinter-dg.com/permalink-font-face_embedding_made_simple_with_font_squirrel_2010-12-22.html

S5E suggestion

I was wondering if you could add intuition to the list of drain attribute options for homebrew/custom magic traditions that use it

Pathfinder-Neceros/sheet.json line ending issue

It doesn't seem to matter what I do, OSX changes the line ending on this file, leaving it permanently modified in my working copy. I've set git to have both core.autocrlf=false and core.safecrlf=false but it doesn't seem to make any difference.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.