Commit Graph
23 Commits
Author SHA1 Message Date
DBFBlackbull 618d242375 Update sheet.json 2021-04-26 20:27:55 +02:00
Peter Bjerg Mogensen 8b9a648f05 Turned legacy sanitization off to be able to use datalists! 2021-02-16 16:03:42 +01:00
Peter Bjerg Mogensen 5ce0c1cca2 Merge branch 'master' into AD&D_2E-Datalists
# Conflicts:
#	AD&D 2E Revised/sheet.json
2021-02-08 09:55:06 +01:00
Nathanael Winget cfb3227746 Add legacy sanitization opt-in 2021-02-04 10:52:31 -05:00
Peter Bjerg Mogensen d6683e3295 Updated sheet.json 2021-02-03 22:28:24 +01:00
DBFBlackbullandPeter Bjerg Mogensen a95c3f5736 Ad&d 2 e revised new weapons section and style changes (#6389)
* Cleanup style sheet, by removing unnecessary measurements, and adding default font families. This was done to remove IDE errors and warnings

* Added default font family to hard coded style elements

* Cleaned up HTML warnings for 'disabled=true', when the correct HTML is just to have 'disabled', stand alone in the HTML element

* Fixed spelling error for disabled

* - Sorted styles to be in order based on their length

- Added extra parenthesis for hit and damage calculations
- Fixed a few spelling errors

* Changed all equal stylings with the same value, to all use the same class

* Shrunk down rogue skills table

* Initial commit of new Player Options weapon section

* Fixed HTML errors by closing missing end tags

* Changed some Tabs to Whitespace for consistency

* Removed 'disabled' tag from calculator, to allow players to insert their own values

* Updated currency calculators to actually look at the values given in the quantity field

* - Added input field for non proficient penalty with weapons

- Added checkbox on Standard weapons for non profecient
- Added dropdown for multiple levels of proficiency for Player Option melee weapon

* Added Ranged category PB for Hitting and Ranged Category PB Specialist / Mastery for damage

* Added background image again to charsheet. Apparently a bug in the CSS had kept it working all this time

* Fixed tabs for new weapons section

* Fixed header name for new weapons section

* Changed input fields to dynamically match cell size

* Fixed table head order

* Added new source for logo. This might work

* - Added label around checkboxes in order to style them better.

- Added new styling for checkboxes inside a label

* Added better titles for elements and a bit of extra styling

* Better styling of the logo

* - Added centering styling to all headers for checkboxes for weapons.

- Removed centering styling for all the checkboxes themselves as they are already centered

* Changed range modifers from checkboxes into radio buttons, so only once can be selected at a time

* Fixed styling of a few table inputs

* Removed unused and non existing header styling

* Indented the HTML a bit and removed extra elements with no matching tag

* Styled the proficiency checkboxes to properly the boxes with the title headings

* Styled the followers's input fields a bi

* Removed unused tags with missing start or end tag

* Removed unused, and added missing start tags

* Removed extra end tags and removed unused attribute

* Changed all readonly="true" to just be 'readonly'. This is the correct way to show it in the browser

* Fixed minor HTML errors

* - Changed weapon table styling to style entire rows instead of individual cells. This could be optimized further by allowing the CSS to target specific <th> elements

- Better styling for equipment fields. Now te checkbox is properly placed

* Better styling for Gear Stored on mount checkbox

* Changed repeating classes on PO weapons to match the new PO tag

* Readded line for rogue / bard skill up macro

* Moved the title Leather Armor up to be consistent with the other headings

* Fixed checkbox styling

* Moved checkbox title from now invisible checkbox to the parent label

* Changed Padded Leather to Padded Armor

* Revert "Moved checkbox title from now invisible checkbox to the parent label"

This reverts commit 3983a371de9012e001b642d52cc546e7cafbacbe.

* Tried to add titles back to checkboxes by using styling instead of moving every single title to the label element

* Added myself as an author and added new instructions text in the sheets.json file

* - Added version number to sheet

- Fixed spelling of Player Option

* Updated readme with new information

* Removed -po-a and po-d for player's option weapons. This should keep the list of weapons consistent across standardand player's options rule sets

* Added a start to indicate a note

* Adding some padding to equipment list to make it look better

* Changed remaining hardcoded stylings to use a single class instead

* Fixed spelling error 'default-heading'

* - Fixed some styling on the weapons section

- Fixed some errorours calculations for the weapons section

* - Added a bit more space to the rogue table and fixed the styling a bit

- Simplified the styling on equipment page
- Simplified the styling on the rogue page

* - Added brackets to calculate familiarity value

- Hopefully added javascript to automatically update version label on the top of the sheet

* - Removed name fields from each option tag as they did not work

- Added radio button attribute name to each value to make the value visible to macro users

* Generalized table styling

* - Moved table styling 'border-collapse: collapse; border-spacing: 0;' to be a general styling for all tables in the sheet

- Restyle the Standard Attributes section to be one big table instead of multiple tables

* - Renamed Score to Ability Score

- Changed entire Player Option Attribute section to be styled and aligned to look better

* Added padding to make indentation for sub ability scores

* Readded version value. Lets see if the javascript adds the value automatically

* Moved chat sheet version update to after if statement to ensure that it is run, if it works

* Makes sure that the version is updated.... if it works

* Rearanged readme and sheet.json so the newest message is first

* Removed wrong readonly tag

* Added more readme text

* Fixed styling for Player Option attributes

* Added colgroup for better styling of first and last column of ability scores.

* Cleaned up styling of Rogue skills table

* Removed <td> elements placed outside of table

* Removed remaining fixed stylings as they have been moved to css file

* - Styled Turning tables a bit.

- Added monster names to Hit dice input placeholders
- Fixed a broken placeholder
- Added suplimentary text from Player's Handbook to the the bottom of the table

* Fixed attribute name spelling error

* Bumped version and removed javascript that didnt work

* - Changed Radio button name attribute to be different for standard and player options. They cannot be linked to due how radio buttons work. Might revist this in the future

- Fixed title text saying Specialist when it should say Mastery

* Only takes the highest of specialist / mastery damage bonus, same goes for point blank Specialist / mastery bonus.

This way a player will not get both bonuses if only a single value is selected

* For Standard weapons section, added specialist tag to proficient value to dropdown to indicate the two shares the same value.

* Added missing placeholder

* Added centering to Turning tables

* Fixed missing HTML end tag

* Moved Gear Stored section to the first div column to make it say aligned with the Gear carried even when there are multiple potions / dusts / scrolls

* Bumped version number

* Added placeholder texts

* Bumped version

* Added 1px width to the first and last <td> element because <colgroup> does not appear to work on Roll20

* - Added Related weapon / familiarity to be explicitly visible

- Added the option to the dropdown menu

* Changed setting og character_sheet attribute back to try and avoid breaking something

* Removed misplaced semicolon

* Formatted HTML

* Readded disabled for now. Next commit will work on removing them.

- Added brackets to floor function to ensure that macros get the value and not the calculation

* Removed &nbsp; and formated HTML

* Bumped version

* - Removed <br>

- Formatted HTML

* Removed unneeded &nbsp;

* Rmoved disabled input

* Added square brackets to famil penalty to make it calculate

* Removed extra plus that broke calculations

* Bumped version

* Removed misinforming title tag

* Added link to meta thread in sheet.json and readme file

Co-authored-by: Peter Bjerg Mogensen <pbm@impact.dk>
2020-05-11 11:12:59 -04:00
DBFBlackbullandPeter Bjerg Mogensen 202b05936b [AD&D 2E Revised] Improved rolls and styling + a few features (#6024)
* - Added the possibility for a rogue / bard / multiclass to have two different armor values for their thief skills. Leather Armor (the base value) and a heavy armor. The same could be achieved before, but the user would need to remove and add the armor penelty every time they changed armor.

- Added more tranparency for the No Armor bonuses, by showing both the bonus value and the new total for all skills
- Added the tables for thief and bard armor adjustments for easier lookups when the player acquires new armor
- Added the tables for illegal bard armor types as found in the Bards Handbook

* - Fixed width by 2 pixel

- Added headers to the rogue table for No Armor and Heavy Armor.
- Tried to change the field set from creating its own table, to just create rows in the existing table. This is malformed HMTL, but it might look prettier

* Rename all "Ini" buttons to say "Initiativ" for clarity

* Changed all buttons that said 'Initiativ' (Danish) to 'Initiative' (English). Oopsie daisie

* - Styled rogue skills armor adjustment tables for readability

- Streamline melee weapons and ranged weapons
- Removed Specialist from ranged weapon, and master from melee and ranged weapons. These were based on the Player Options Combat and Tactics books. The values in these books are different from the players handbook and therefore not compatible. This would result in wrong calculated values
- Removed dexterity bonus to ranged damage. Dexterity only adds a Missle Attack Adjustment, no damage adjustments

* - Added better output for surprise rolls. Now you can see that it tests against the value 3.

- Cleaned up a couple of empty tables and missplaced <tr> and <td>

* Updated Hit, Damage and Initiative calculations to consolidate their bonuses for easier reading on mouse over

* Prefixed new styling with 'sheet-' Apparently they 'sheet-' is prefixed to all css classes

* Adding styling to some missing fields

* - Style changes for fieldset rows. Now have a header to keep correct spacing for all fields

- Small optimization of css classes

* Added spell names to initiative rolls

* - Fixed experince fieldset indentation

- Added a text area for experience points notes

* Fixed fieldset indentation

* Bumped version by 2 minor points.

- 1 for my last pull request (where I forgot to bump)
- 1 for this pull request

Co-authored-by: Peter Bjerg Mogensen <pbm@impact.dk>
2020-03-30 13:48:15 -04:00
Project462 348b7605a0 Change to reflect account ownership.
Yes, this is my account, and my contribution. the account SFX was deleted.
2017-09-20 16:47:58 -05:00
Project462 1ff0faccad Slight correction 2017-08-06 18:10:37 -05:00
Project462 c5375da6ef Update sheet ver# 2017-08-06 11:35:18 -05:00
Nathanael Winget c708792f89 fix json errors 2017-07-25 10:02:44 -04:00
wing-it 663b35ad9d Update sheet.json 2017-07-24 14:54:07 -04:00
Project462 8b30633a55 Numerous fixes and additions 2017-07-18 23:18:35 -05:00
Phil 014c9bda9f Update sheet.json 2017-04-05 09:57:48 -06:00
Phil 6c8a1cf001 Update sheet.json 2017-04-04 13:11:44 -06:00
Project462 981d71b437 TheAaronSheet Implementation
Numerous changes, additions and fixes
2017-04-03 20:24:11 -05:00
Phil 7bff5e38c0 Update sheet.json 2017-03-27 17:31:45 -06:00
Phil 63217e9d9e Update sheet.json 2017-03-27 17:31:24 -06:00
Project462 23f61b07fd Numerous fixes and changes
Added autocalc script for gem values, added comeliness, added bardic identify, removed rogue and psion follower class boxes, and fixed hundred of title errors and references
2017-03-26 19:26:03 -05:00
Phil Behreberg bd1620b01f fixing sheet.json 2016-12-05 16:05:56 -07:00
Project462 a83d601c9a Corrected User ID 2016-12-05 16:54:32 -06:00
Project462 bdc1a67d1a Updated Workers 2016-12-01 14:00:45 -06:00
Phil Behreberg f74ecbeaa0 cleaning up character sheets, updating approved 2016-08-22 17:39:46 -06:00