Set legacy to false, update css to handle
This commit is contained in:
@@ -402,10 +402,8 @@ label {
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
.sheet-afflictions-text {
|
||||
justify-items: left;
|
||||
text-align: left;
|
||||
padding-left: 25px;
|
||||
label.sheet-afflictions-text {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.sheet-half-text {
|
||||
@@ -443,36 +441,35 @@ label {
|
||||
width: 210px;
|
||||
}
|
||||
|
||||
/* I can't find a way to override number widths from roll20's default */
|
||||
.sheet-long-number[type="number"] {
|
||||
width: 105px !important;
|
||||
.charsheet input.sheet-long-number[type="number"] {
|
||||
width: 105px;
|
||||
}
|
||||
|
||||
.sheet-thin-number[type="number"] {
|
||||
width: 30px !important;
|
||||
.charsheet input.sheet-thin-number[type="number"] {
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
.sheet-total-display[type="text"] {
|
||||
.charsheet input.sheet-total-display[type="text"] {
|
||||
border: none;
|
||||
color: var(--foreground-color);
|
||||
vertical-align: revert;
|
||||
width: 70px !important;
|
||||
width: 70px;
|
||||
}
|
||||
|
||||
.sheet-affliction-display[type="text"] {
|
||||
.charsheet input.sheet-affliction-display[type="text"] {
|
||||
border: none;
|
||||
color: var(--foreground-color);
|
||||
font-weight: bold;
|
||||
width: auto !important;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.sheet-damage-dice-count[type="number"] {
|
||||
width: 24px !important;
|
||||
.charsheet input.sheet-damage-dice-count[type="number"] {
|
||||
width: 24px;
|
||||
text-align: right;
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
.sheet-3row-textarea {
|
||||
textarea.sheet-3row-textarea{
|
||||
height: 72px;
|
||||
}
|
||||
|
||||
@@ -745,7 +742,7 @@ input[type="text"].sheet-skill-total {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
button[type="roll"].sheet-move-roller {
|
||||
.charsheet button[type="roll"].sheet-move-roller {
|
||||
align-items: center;
|
||||
background: transparent;
|
||||
border: 1px solid #ccc;
|
||||
@@ -759,11 +756,11 @@ button[type="roll"].sheet-move-roller {
|
||||
color: var(--foreground-color);
|
||||
}
|
||||
|
||||
button[type="roll"].sheet-move-roller:before {
|
||||
.charsheet button[type="roll"].sheet-move-roller:before {
|
||||
content: "";
|
||||
}
|
||||
|
||||
button[type="roll"].sheet-skill-roller {
|
||||
.charsheet button[type="roll"].sheet-skill-roller {
|
||||
background: transparent;
|
||||
border: 2px var(--foreground-color);
|
||||
border-style: none none solid none;
|
||||
@@ -778,7 +775,7 @@ button[type="roll"].sheet-skill-roller:hover {
|
||||
color: #555555;
|
||||
}
|
||||
|
||||
button[type="roll"].sheet-stat-roller {
|
||||
.charsheet button[type="roll"].sheet-stat-roller {
|
||||
align-items: center;
|
||||
background: #00000000;
|
||||
border: none;
|
||||
|
||||
@@ -351,16 +351,16 @@
|
||||
<div class="sheet-options">
|
||||
<div class="sheet-below-stats">
|
||||
<div class="sheet-afflictions-grid">
|
||||
<p><label><input name="attr_Asleep" value="1" title="Attribute: Asleep" type="checkbox" /> Asleep</label></p>
|
||||
<p><label><input name="attr_Burned" value="1" title="Attribute: Burned" type="checkbox" /> Burned</label></p>
|
||||
<p><label><input name="attr_Confused" value="1" title="Attribute: Confused" type="checkbox" /> Confused</label></p>
|
||||
<p><label><input name="attr_Cursed" value="1" title="Attribute: Cursed" type="checkbox" /> Cursed</label></p>
|
||||
<p><label><input name="attr_Frozen" value="1" title="Attribute: Frozen" type="checkbox" /> Frozen</label></p>
|
||||
<p><label><input name="attr_Infatuated" value="1" title="Attribute: Infatuated" type="checkbox" /> Infatuated</label></p>
|
||||
<p><label><input name="attr_Paralyzed" value="1" title="Attribute: Paralyzed" type="checkbox" /> Paralyzed</label></p>
|
||||
<p><label><input name="attr_Poisoned" value="1" title="Attribute: Poisoned" type="checkbox" /> Poisoned</label></p>
|
||||
<p><label><input name="attr_Toxified" value="1" title="Attribute: Toxified" type="checkbox" /> Toxified</label></p>
|
||||
<p><label><input name="attr_Stunned" value="1" title="Attribute: Stunned" type="checkbox" /> Stunned</label></p>
|
||||
<p><label class="sheet-afflictions-text"><input name="attr_Asleep" value="1" title="Attribute: Asleep" type="checkbox" /> Asleep</label></p>
|
||||
<p><label class="sheet-afflictions-text"><input name="attr_Burned" value="1" title="Attribute: Burned" type="checkbox" /> Burned</label></p>
|
||||
<p><label class="sheet-afflictions-text"><input name="attr_Confused" value="1" title="Attribute: Confused" type="checkbox" /> Confused</label></p>
|
||||
<p><label class="sheet-afflictions-text"><input name="attr_Cursed" value="1" title="Attribute: Cursed" type="checkbox" /> Cursed</label></p>
|
||||
<p><label class="sheet-afflictions-text"><input name="attr_Frozen" value="1" title="Attribute: Frozen" type="checkbox" /> Frozen</label></p>
|
||||
<p><label class="sheet-afflictions-text"><input name="attr_Infatuated" value="1" title="Attribute: Infatuated" type="checkbox" /> Infatuated</label></p>
|
||||
<p><label class="sheet-afflictions-text"><input name="attr_Paralyzed" value="1" title="Attribute: Paralyzed" type="checkbox" /> Paralyzed</label></p>
|
||||
<p><label class="sheet-afflictions-text"><input name="attr_Poisoned" value="1" title="Attribute: Poisoned" type="checkbox" /> Poisoned</label></p>
|
||||
<p><label class="sheet-afflictions-text"><input name="attr_Toxified" value="1" title="Attribute: Toxified" type="checkbox" /> Toxified</label></p>
|
||||
<p><label class="sheet-afflictions-text"><input name="attr_Stunned" value="1" title="Attribute: Stunned" type="checkbox" /> Stunned</label></p>
|
||||
</div>
|
||||
<div class="sheet-2col-centered">
|
||||
<b>Movement</b>
|
||||
@@ -418,16 +418,16 @@
|
||||
<div class="sheet-options">
|
||||
<div class="sheet-below-stats">
|
||||
<div class="sheet-afflictions-grid">
|
||||
<p><label><input name="attr_Asleep" value="1" title="Attribute: Asleep" type="checkbox" /> Asleep</label></p>
|
||||
<p><label><input name="attr_Burned" value="1" title="Attribute: Burned" type="checkbox" /> Burned</label></p>
|
||||
<p><label><input name="attr_Confused" value="1" title="Attribute: Confused" type="checkbox" /> Confused</label></p>
|
||||
<p><label><input name="attr_Cursed" value="1" title="Attribute: Cursed" type="checkbox" /> Cursed</label></p>
|
||||
<p><label><input name="attr_Frozen" value="1" title="Attribute: Frozen" type="checkbox" /> Frozen</label></p>
|
||||
<p><label><input name="attr_Infatuated" value="1" title="Attribute: Infatuated" type="checkbox" /> Infatuated</label></p>
|
||||
<p><label><input name="attr_Paralyzed" value="1" title="Attribute: Paralyzed" type="checkbox" /> Paralyzed</label></p>
|
||||
<p><label><input name="attr_Poisoned" value="1" title="Attribute: Poisoned" type="checkbox" /> Poisoned</label></p>
|
||||
<p><label><input name="attr_Toxified" value="1" title="Attribute: Toxified" type="checkbox" /> Toxified</label></p>
|
||||
<p><label><input name="attr_Stunned" value="1" title="Attribute: Stunned" type="checkbox" /> Stunned</label></p>
|
||||
<p><label class="sheet-afflictions-text" ><input name="attr_Asleep" value="1" title="Attribute: Asleep" type="checkbox" /> Asleep</label></p>
|
||||
<p><label class="sheet-afflictions-text" ><input name="attr_Burned" value="1" title="Attribute: Burned" type="checkbox" /> Burned</label></p>
|
||||
<p><label class="sheet-afflictions-text" ><input name="attr_Confused" value="1" title="Attribute: Confused" type="checkbox" /> Confused</label></p>
|
||||
<p><label class="sheet-afflictions-text" ><input name="attr_Cursed" value="1" title="Attribute: Cursed" type="checkbox" /> Cursed</label></p>
|
||||
<p><label class="sheet-afflictions-text" ><input name="attr_Frozen" value="1" title="Attribute: Frozen" type="checkbox" /> Frozen</label></p>
|
||||
<p><label class="sheet-afflictions-text" ><input name="attr_Infatuated" value="1" title="Attribute: Infatuated" type="checkbox" /> Infatuated</label></p>
|
||||
<p><label class="sheet-afflictions-text" ><input name="attr_Paralyzed" value="1" title="Attribute: Paralyzed" type="checkbox" /> Paralyzed</label></p>
|
||||
<p><label class="sheet-afflictions-text" ><input name="attr_Poisoned" value="1" title="Attribute: Poisoned" type="checkbox" /> Poisoned</label></p>
|
||||
<p><label class="sheet-afflictions-text" ><input name="attr_Toxified" value="1" title="Attribute: Toxified" type="checkbox" /> Toxified</label></p>
|
||||
<p><label class="sheet-afflictions-text" ><input name="attr_Stunned" value="1" title="Attribute: Stunned" type="checkbox" /> Stunned</label></p>
|
||||
</div>
|
||||
<div class="sheet-2col-centered">
|
||||
<b>Movement</b>
|
||||
|
||||
@@ -10,24 +10,15 @@ https://discord.gg/F24Ka8E
|
||||
|
||||
Things we want to add to the character sheet, presented in no particular order of priority:
|
||||
|
||||
- [ ] Mobile support!
|
||||
- [X] Set legacy to false
|
||||
- [ ] Refactor sheets to minimize overhead
|
||||
- [ ] Reasonable user experience on the Companion App
|
||||
- [ ] Full "optimized for use" support for Companion App
|
||||
- [ ] Allow a second ability score to apply to skill checks
|
||||
- [ ] Allow formula calculations for the extra damage fields
|
||||
- [ ] Refactor the sheet workers to remove the cascading change observation; each `setAttrs` call takes way too long, so we want to capitalise on making them as low as possible
|
||||
- [ ] Add Struggle to the move lists automatically
|
||||
- [X] ~~Somehow make it easier to get tokens into initiative. No idea how to accomplish this.~~
|
||||
- [x] ~~Display the full bonus to skill checks~~
|
||||
- [x] ~~Handle temporary stat changes somehow, this may be a lot of work~~
|
||||
- [x] ~~Prevent critical range from going below 0 or above 20, maybe do similar to other fields~~
|
||||
- [x] ~~Add a Settings page~~
|
||||
- [X] ~~Display the adjusted stat score when temporary stat changes are provided~~
|
||||
- [X] ~~Display the skills section for Pokémon characters~~
|
||||
- [X] ~~Moves deserve a section for "bonuses that apply to all moves." Things that should go here include:~~
|
||||
- [X] ~~A spot for Attack and Special Attack bonuses, for things like Ace Trainer~~
|
||||
- [X] ~~The critical hit range for the moves, as this is used for passives, items, etc.~~
|
||||
- [X] ~~Allow modifications to movement (maybe just an extra box)~~
|
||||
- [X] ~~Add status effects that you can click~~
|
||||
- [X] ~~Burn, Poison/Toxified, and Paralyzed should modify stats automatically~~
|
||||
- [X] ~~JSON import and export of sheet data, to support the Pokelicious Sheets and also migrating/copying characters~~
|
||||
|
||||
|
||||
## Changelog
|
||||
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
"roll20userid": "199597,1319761",
|
||||
"preview": "PTA3.png",
|
||||
"instructions": "# Welcome to the wonderful world of Pokemon (Tabletop Adventures!)\nHello! We made this character sheet to make playing the game way easier, and we _really hope_ that we've succeeded. \nThat being said - if you find any issues, or have any suggestions for improvements, please feel free to reach out to us at the _[PTA Discord server](https://discord.gg/F24Ka8E) (we hang out in the `pta-tool-dev` channel)!_\n\n### Some things that may not be super obvious to beginners:\nHead on over to *[this handy FAQ](https://docs.google.com/document/d/10seBEJonoWJJyNRpZm9-ijjnj_aezLqflsB63m41mmw/edit)* regarding the PTA 3 system, which has way more information than has been crammed into this section. That said; here are some of the sheet-relevant points:\n- Moves and Skills are rolled to the chat log by pressing on the d20 icon; these are rollable buttons, even if they might not look like it!\n- Natural 1s and 20s are, in most cases, not actually that special in PTA 3, and we've handled every case for critical hits that can come up.\n - 1s are not, by default, an auto-miss, so we disabled the appearance of them as such _(you'll see `cf0` in most dice rolls - this is what disables the red highlighting of natural 1s!)_\n\n### Here are some tips that we think will make your use of the sheet much more productive:\n- Create a new character sheet for each Trainer and Pokemon\n - Use the Configuration page to choose which sheet to use\n - The _`Pokemon (Character Class)`_ option is for player characters using the Pokemon class from the PHB2\n- Trainers can enjoy the same colorful backgrounds as Pokemon by selecting a type from the Configuration page\n- Effect Thresholds in the Move sections are for additional effects like Poison Sting's _\"On hit, if you got 15 or higher on Accuracy Check, the target is Poisoned\"_\n - They also handle moves such as Slash and Karate Chop's customised critical hit ranges.\n- You don't have a limited number of moves that you can add to a character sheet! If you want to, you can add the same move multiple times for different effects, such as for a Pokemon with the _\"Sheer Force\"_ passive\n - This allows you to have one move that has all the additional effects coded into it, and one that doesn't where you add 1d20 to the damage pop-up, saving you space in the chat log!\n - We've got it on our to-do list to allow adding things like `1d20` or `@{Red|ATKMOD}` to the _\"Extra Damage\"_ field in moves - for now you'll need to use the pop-up to add these things _(or figure out the number and add it manually)_",
|
||||
"legacy": true
|
||||
"legacy": false
|
||||
}
|
||||
Reference in New Issue
Block a user