From 11e606eab2bf1301524a8043d266d2f7a1da452f Mon Sep 17 00:00:00 2001 From: Timothy Yuen Date: Tue, 29 Dec 2020 11:26:00 -0700 Subject: [PATCH] Added "Stun" weapon quality; Updated README --- Star Wars FFG Alternate/README.md | 8 +++++++- .../Roll20_FFG_StarWars_CharacterSheet.css | 2 +- .../Roll20_FFG_StarWars_CharacterSheet.html | 12 ++++++++++-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/Star Wars FFG Alternate/README.md b/Star Wars FFG Alternate/README.md index 3ac09185cc..e64e23bb8b 100644 --- a/Star Wars FFG Alternate/README.md +++ b/Star Wars FFG Alternate/README.md @@ -5,14 +5,20 @@ Roll20 character sheet for FFG Star Wars; compatible with FFG-SWRPG-Dice-Roller **Playtesters**: Gene Eilebrecht, Ben Hamill, Aaron Lambers, Zack Morris, Brett Wilson, Timothy Yuen +## Version 1.1 + +* Added the "Stun" weapon quality. This quality has a numeric rating as opposed to the "Stun Damage" quality which is a flag to indicate whether the weapon has a stun setting. + ## Version 1.0.1 * Requires manual initialization of fields. Make sure to set all number fields you want to use to a value with a manual keyboard input the first time you use that field. Not doing so may cause some odd behavior with calculations dependent on those fields receiving an "undefined" value. This includes all Characteristics, Vital Stats, Weapon and Armor stats, and Item encumbrance. There is code to auto-init fields, but it currently won't trigger until Roll20 fixes a bug with the sheet:opened event. +* This sheet will work standalone as a record sheet; if you'd like it to make rolls using the FFG dice, we have a custom branch of the FFG-SWRPG-Dice-Roller in this repository. Install (cut and paste) it as a new/custom API from your game's Settings and restart the API sandbox. It' possible that the main branch of the dice roller will work (which can be found in the Script Library dropdown on the API screen). + --------- This sheet is inspired by and an alternative to the [Star Wars FFG API-Compatible sheet](https://github.com/Roll20/roll20-character-sheets/tree/master/Star%20Wars%20FFG%20API-Compatible). When our small local tabletop FFG Star Wars gaming group moved online to Roll20 during the COVID-19 situation, we started with that sheet. As a GM, I saw an opportunity to taylor the sheet to my group's needs. As a web app interface designer by trade, I found it to be a compelling project during my downtime at home. Rather than branching the original project, I started fresh so I could really learn how the Roll20 sheets work from the ground up. I also saw the chance to utilize some CSS Grid techniques for layout (rather than tables) and take advantage of Roll20 Sheet Workers to power most of the calcs. Plus, there were many things we didn't really need in the short-term -- GM info, Vehicles, Companions, etc. This sheet is focused entirely on a single PC. Our group has only playtested this a handful of times so far and there are plenty bugs we haven't caught yet, I'm sure. But it seems to have it's legs underneath it after a couple hundred hours of development and is learning to walk. -We also worked a custom branch of the [FFG-SWRPG-Dice-Roller](https://github.com/Roll20/roll20-api-scripts/tree/master/FFG-SWRPG-Dice-Roller) to integrate with the new sheet. Since it has references objects in this sheet in particular and may not be compatible with other sheets, we have kept our own version for now and haven't tried a PR to the main branch of the dice roller. +We also worked a custom branch of the [FFG-SWRPG-Dice-Roller](https://github.com/Roll20/roll20-api-scripts/tree/master/FFG-SWRPG-Dice-Roller) to integrate with the new sheet. Since it has references objects in this sheet in particular and may not be compatible with other sheets, we have kept our own version for now and haven't tried a PR to the main branch of the dice roller. It is in this respository with the name [diceroller.js](https://github.com/Roll20/roll20-character-sheets/blob/master/Star%20Wars%20FFG%20Alternate/diceroller.js). \ No newline at end of file diff --git a/Star Wars FFG Alternate/Roll20_FFG_StarWars_CharacterSheet.css b/Star Wars FFG Alternate/Roll20_FFG_StarWars_CharacterSheet.css index 798aaf0923..85a45e1a97 100644 --- a/Star Wars FFG Alternate/Roll20_FFG_StarWars_CharacterSheet.css +++ b/Star Wars FFG Alternate/Roll20_FFG_StarWars_CharacterSheet.css @@ -1212,7 +1212,7 @@ background: radial-gradient(circle, rgba(82,100,76,1) 38%, rgba(54,64,51,1) 100% .sheet-weapon_qualities { display: grid; - grid-template-columns: repeat(3, 1fr 4em); + grid-template-columns: repeat(4, 1fr 4em); column-gap: 1em; row-gap: 0.5em; margin-top: 1em; diff --git a/Star Wars FFG Alternate/Roll20_FFG_StarWars_CharacterSheet.html b/Star Wars FFG Alternate/Roll20_FFG_StarWars_CharacterSheet.html index 041d36a366..c2a64e93b7 100644 --- a/Star Wars FFG Alternate/Roll20_FFG_StarWars_CharacterSheet.html +++ b/Star Wars FFG Alternate/Roll20_FFG_StarWars_CharacterSheet.html @@ -1709,7 +1709,7 @@ -