diff --git a/Shadowrun3e/README.MD b/Shadowrun3e/README.MD index cdd0c2a490..cb95447748 100644 --- a/Shadowrun3e/README.MD +++ b/Shadowrun3e/README.MD @@ -1,5 +1,38 @@ # Shadowrun 3rd Edition +## Release Notes 9/28/2021 + +### changes/bug fixes +1. Tar Pit ad Tar baby: when using the "execute" button it will roll the Opposed test between the ic ratin and the utility as well as a sensor test. The resutls of the three rolls will be whispered to the GM. +2. added chat buttons at the end of melee attack. Defending character can click on either Defense or Full defense. The results of the attack test will be passed to the new "defense" roll. The defense roll will compare successes and determin winner. Weapon damage and power will be stagged up as per the melee combat rules of srun3e. If the attacker wins the contest, the defeder will get Resist buton. +If "full defense" was chosen, the defender will also be presented with a "dodge" button. Choosing dodge will roll a melee dodge test and present the player with a "resist" button. The only differnce between the "Resist" button displayed afer the offense test and the dodge test is that the reults of the dodge are passed to the resist and count towards the resist successes. If the defender wins the melee contest and they choose "full defence" the roll will result in "Attack Parried". Else, a "resist" button will be displayed and the attacking character will be able to roll damage resistnace based on the staged up weapon damage and power for the melee weapon currently equipped by the defender. The chat buttons do not have to be used, regular sheet rolls can still be used i.e. the defender can use the attack button for a melee weapon and then the player that looses the contest can roll a resistance test. The benefit for the chat buttons is that they reduce the amount of roll queries presented to the players as the data is already sent to the roll. +3. fixed bug on matrix wound penalty +4. added pool tracking for dispel tests +5. added foci to repeating spells +6. added button to select and add player to the "operator/rigger" section of the vehicle tab. Will also update value of control pool and gunnery skill. Vehicle skill still needs to be updated manually. +7. resist explosion now asks for distance in meters from explosion and calculates power reduction accordingly. +8. added chat button after AoE spells. Any charcter in the range of the spell can click on the button and it will determine attack successes. +9. added chat button after magic attack ( regular and AoE ) for spell defense for an ally mage/shaman to click on. +10. added chat button after magic attack or spell defense to resist spell. Resistance is based on attribute if not an elemental spell, in which case resistance is 1/2 impact. +11. All chat buttons published after magic attack roll template pass the value of the original roll to prepopulate most of the roll questions. +12. Resist and Dodge buttons presented after ranged attack roll template will pass value of original roll to dodge and resist rolls. +13. Added translation tags for all html elements and rolls +14. removed the use of case statements +15. switched from show/hide buttons to tabs for sub tabs +16. fixed bugs and added opposed roll for Matrix Combat Manuevers + + +### Impact on existing characters. +none + +### Todo +add knockdown test chat button after melee and ranged attacks. +add shotgun ammo to ammo type list on repeating ranged weapons. +add translation to sheet worker rolls. +add opposition tests with payload for banish rolls +add opposition tests with payload for spirit control rolls + + ## Release Notes 9/1/2021 ### changes/bug fixes diff --git a/Shadowrun3e/shadowrun3e.css b/Shadowrun3e/shadowrun3e.css index 0329f8fe47..f02005291d 100644 --- a/Shadowrun3e/shadowrun3e.css +++ b/Shadowrun3e/shadowrun3e.css @@ -262,6 +262,14 @@ input:checked+.slider:before { border-radius: 50%; } +.nuyen-total { + display: grid; + align-items: center; + grid-template-columns: auto auto 1fr; + border-bottom: 3px solid black; + +} + .karma-max { display: grid; align-items: center; @@ -357,6 +365,7 @@ input:checked+.slider:before { grid-template-columns: 220px; } +.show-weaponmod .header, .matrix-rating .header { font-weight: bold; } @@ -433,7 +442,7 @@ input:checked+.slider:before { grid-template-columns: 45px 45px 45px 45px 45px 45px 45px; } -.conditionstatus2-attrs span { +.number-span { background-color: white; color: black; padding: 5px; @@ -466,6 +475,7 @@ input:checked+.slider:before { column-gap: 5px; } +.deck-combat-system2 span, .deck-memory-used span, .dicepool span { background-color: white; @@ -513,6 +523,183 @@ input:checked+.slider:before { color: black; } +.combat-tabs, +.magic-tabs { + display: grid; + grid-template-columns: auto auto auto auto auto auto auto auto 1fr; +} +.spirit-magic-tabs { + display: grid; + grid-template-columns: auto auto 1fr; +} +.ware-tabs, +.rigger-tabs, +.decking-tabs { + display: grid; + grid-template-columns: auto auto auto 1fr; +} +.gear-tabs { + display: grid; + grid-template-columns: auto auto auto auto auto 1fr; +} + +.ware-tabs-cyber, +.ware-tabs-bio, +.ware-tabs-nano, +.combat-tabs-combat, +.combat-tabs-ranged, +.combat-tabs-melee, +.combat-tabs-explosives, +.combat-tabs-armor, +.combat-tabs-ammo, +.rigger-tabs-skills, +.rigger-tabs-rcdeck, +.rigger-tabs-subscriber, +.decking-tabs-skills, +.decking-tabs-cyberdeck, +.decking-tabs-frame, +.decking-tabs-utilities, +.gear-tabs-gear, +.gear-tabs-credsticks, +.gear-tabs-vehiclelist, +.magic-tabs-spells, +.magic-tabs-totem, +.magic-tabs-initiate, +.magic-tabs-skills, +.magic-tabs-foci, +.magic-tabs-adept, +.magic-tabs-geas, +.magic-tabs-conjuring, +.magic-tabs-astral { + display: grid; + background-color: white; + border-bottom: 3px solid black; + text-align: center; + align-items: center; + border-top-right-radius: 10px; + border-top-left-radius: 10px; + font-size: 18; + color: black; +} +.tabs-empty { + border-bottom: 3px solid black; +} +.ware-tabs-switch[value="cyber"]~button.ware-tabs-cyber, +.ware-tabs-switch[value="bio"]~button.ware-tabs-bio, +.ware-tabs-switch[value="nano"]~button.ware-tabs-nano, +.combat-tabs-switch[value="combat"]~button.combat-tabs-combat, +.combat-tabs-switch[value="ranged"]~button.combat-tabs-ranged, +.combat-tabs-switch[value="melee"]~button.combat-tabs-melee, +.combat-tabs-switch[value="explosives"]~button.combat-tabs-explosives, +.combat-tabs-switch[value="armor"]~button.combat-tabs-armor, +.combat-tabs-switch[value="ammo"]~button.combat-tabs-ammo, +.rigger-tabs-switch[value="rigger"]~button.rigger-tabs-skills, +.rigger-tabs-switch[value="rcdeck"]~button.rigger-tabs-rcdeck, +.rigger-tabs-switch[value="subscriber"]~button.rigger-tabs-subscriber, +.decking-tabs-switch[value="decking"]~button.decking-tabs-skills, +.decking-tabs-switch[value="cyberdeck"]~button.decking-tabs-cyberdeck, +.decking-tabs-switch[value="frame"]~button.decking-tabs-frame, +.decking-tabs-switch[value="utilities"]~button.decking-tabs-utilities, +.gear-tabs-switch[value="gear"]~button.gear-tabs-gear, +.gear-tabs-switch[value="credsticks"]~button.gear-tabs-credsticks, +.gear-tabs-switch[value="vehiclelist"]~button.gear-tabs-vehiclelist, +.magic-tabs-switch[value="spells"]~button.magic-tabs-spells, +.magic-tabs-switch[value="totem"]~button.magic-tabs-totem, +.magic-tabs-switch[value="initiate"]~button.magic-tabs-initiate, +.magic-tabs-switch[value="sorcery"]~button.magic-tabs-skills, +.magic-tabs-switch[value="foci"]~button.magic-tabs-foci, +.magic-tabs-switch[value="adept"]~button.magic-tabs-adept, +.magic-tabs-switch[value="geas"]~button.magic-tabs-geas, +.magic-tabs-switch[value="conjuring"]~button.magic-tabs-conjuring, +.magic-tabs-switch[value="astral"]~button.magic-tabs-astral { + color: white; + font-weight: bold; + text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; + background-color: rgba(192,192,192,.9); + font-weight: bold; + border-top: 3px solid black; + border-left: 3px solid black; + border-right: 3px solid black; + border-bottom: unset; +} +.cyberware, +.bioware, +.nanoware, +.combat-skills, +.rangedweapons, +.meleeweapons, +.explosives, +.armor, +.ammo, +.rigger-rcdeck, +.vehicle-skills, +.drones-list, +.deck-utilities, +.deck-cyberdeck, +.deck-skills, +.gear, +.credsticks-show, +.vehicles-list, +.sorcery-skills, +.spells-section, +.fetish-foci, +.totem, +.geas, +.adept-powers, +.conjuring, +.magicinitiate, +.astralattributes { + display: none; +} + +.ware-tabs-switch[value="cyber"]~div.cyberware, +.ware-tabs-switch[value="bio"]~div.bioware, +.ware-tabs-switch[value="nano"]~div.nanoware, +.combat-tabs-switch[value="combat"]~div.combat-skills, +.combat-tabs-switch[value="ranged"]~div.rangedweapons, +.combat-tabs-switch[value="melee"]~div.meleeweapons, +.combat-tabs-switch[value="explosives"]~div.explosives, +.combat-tabs-switch[value="armor"]~div.armor, +.combat-tabs-switch[value="ammo"]~div.ammo, +.rigger-tabs-switch[value="rigger"]~div.vehicle-skills, +.rigger-tabs-switch[value="rcdeck"]~div.rigger-rcdeck, +.rigger-tabs-switch[value="subscriber"]~div.drones-list, +.decking-tabs-switch[value="decking"]~div.deck-skills, +.decking-tabs-switch[value="cyberdeck"]~div.deck-cyberdeck, +.decking-tabs-switch[value="frame"]~div.deck-cyberdeck, +.decking-tabs-switch[value="utilities"]~div.deck-utilities, +.gear-tabs-switch[value="gear"]~div.gear, +.gear-tabs-switch[value="credsticks"]~div.credsticks-show, +.gear-tabs-switch[value="vehiclelist"]~div.vehicles-list, +.magic-tabs-switch[value="spells"]~div.spells-section, +.magic-tabs-switch[value="totem"]~div.totem, +.magic-tabs-switch[value="initiate"]~div.magicinitiate, +.magic-tabs-switch[value="sorcery"]~div.sorcery-skills, +.magic-tabs-switch[value="foci"]~div.fetish-foci, +.magic-tabs-switch[value="adept"]~div.adept-powers, +.magic-tabs-switch[value="geas"]~div.geas, +.magic-tabs-switch[value="conjuring"]~div.conjuring, +.magic-tabs-switch[value="astral"]~div.astralattributes { + display: block; + border-bottom: 3px solid black; + border-left: 3px solid black; + border-right: 3px solid black; + background-color: rgba(192,192,192,.9); + border-bottom-left-radius: 10px; + border-bottom-right-radius: 10px; +} + +.buttontoggle[value="Frame"]~button.decking-tabs-skills, +.buttontoggle[value="Frame"]~button.decking-tabs-cyberdeck { + display: none; +} + +.buttontoggle[value="NPC"]~button.decking-tabs-frame, +.buttontoggle[value="Character"]~button.decking-tabs-frame { + display: none; +} + + .sheet-tabstoggle[value="magic"]+.charsheet { background-image: url("https://raw.githubusercontent.com/bahornbeck/img/master/images/nebula2.jpg"); } @@ -622,6 +809,7 @@ input:checked+.slider:before { color: black; } +.spirit-magic-tabs, .reaction-spirit, .alwaysdisplayed-buttons, .critters-only, @@ -653,6 +841,7 @@ input:checked+.slider:before { display: none; } +.buttontoggle[value="Spirit"]~div.magic-tabs, .buttontoggle[value="Spirit"]~div.hide-spirit-critter, .buttontoggle[value="Critter"]~div.hide-spirit-critter, .buttontoggle[value="Spirit"]~div.normal-init, @@ -663,6 +852,7 @@ input:checked+.slider:before { display: none; } +.buttontoggle[value="Spirit"]~div.spirit-magic-tabs, .buttontoggle[value="Spirit"]~div.spells-spirit-status, .buttontoggle[value="Spirit"]~div.reaction-spirit, .buttontoggle[value="Spirit"]~div.spirittype-info { @@ -727,8 +917,7 @@ input:checked+.slider:before { } .deck-memory-used, -.frame-util-used, -.deck-attributes { +.frame-util-used { padding: 5px; background-color: rgba(192,192,192,.9); border: 1px solid darkslategray; @@ -775,6 +964,27 @@ min-width: 0; grid-template-columns: 73px 1fr; } +.sheet-rolltemplate-conjure div.sheet-conjure-resist-table, +.sheet-rolltemplate-spell div.sheet-spell-resist-table, +.sheet-rolltemplate-resistadv div.sheet-spell-resist-table { + display: grid; + align-items: center; + text-align: center; + grid-template-columns: auto auto auto auto auto; +} +.sheet-rolltemplate-resistadv div.sheet-resist-table { + display: grid; + align-items: center; + text-align: center; + grid-template-columns: auto auto auto auto auto auto auto; +} + +.sheet-rolltemplate-spell div.sheet-spell-pool-table { + display: grid; + align-items: center; + text-align: center; + grid-template-columns: auto auto; +} .char-attributes { display: grid; @@ -880,8 +1090,17 @@ min-width: 0; font-family: 'Pictos'; } +.pictos-custom-attack, .pictos-custom-button { font-family: 'Pictos Custom'; + font-size: 22px; + height: 80%; + padding-right: unset; + padding-left: unset; +} +.pictos-custom-attack { + padding-top: 4px; + padding-bottom: 4px; } .d6-button { @@ -908,13 +1127,16 @@ min-width: 0; .sheet-rolltemplate-vehicle div.sheet-rtcontainer, .sheet-rolltemplate-matrix div.sheet-rtcontainer, .sheet-rolltemplate-spell div.sheet-rtcontainer, +.sheet-rolltemplate-conjure div.sheet-rtcontainer, .sheet-rolltemplate-init div.sheet-rtcontainer, .sheet-rolltemplate-attribute div.sheet-rtcontainer, .sheet-rolltemplate-explosive div.sheet-rtcontainer, .sheet-rolltemplate-skill div.sheet-rtcontainer, .sheet-rolltemplate-adept div.sheet-rtcontainer, .sheet-rolltemplate-attack div.sheet-rtcontainer, -.sheet-rolltemplate-resistance div.sheet-rtcontainer { +.sheet-rolltemplate-aoe div.sheet-rtcontainer, +.sheet-rolltemplate-resist div.sheet-rtcontainer, +.sheet-rolltemplate-resistadv div.sheet-rtcontainer { width: 100%; border: 3px solid black; color: black; @@ -928,12 +1150,16 @@ min-width: 0; color: white; } + +.sheet-rolltemplate-conjure div.sheet-rtheader, .sheet-rolltemplate-spell div.sheet-rtheader { border-bottom: 3px solid black; background-color: olivedrab; color: white; } +.sheet-rolltemplate-melee div.sheet-rtheader, +.sheet-rolltemplate-aoe div.sheet-rtheader, .sheet-rolltemplate-attack div.sheet-rtheader { border-bottom: 3px solid black; background-color: red; @@ -967,7 +1193,8 @@ min-width: 0; color: black; } -.sheet-rolltemplate-resistance div.sheet-rtheader { +.sheet-rolltemplate-resist div.sheet-rtheader, +.sheet-rolltemplate-resistadv div.sheet-rtheader { border-bottom: 3px solid black; background-color: black; color: white; @@ -979,18 +1206,25 @@ min-width: 0; color: black; } +.sheet-rolltemplate-spell div.sheet-conjure-resist-table:nth-child(odd), +.sheet-rolltemplate-spell div.sheet-spell-resist-table:nth-child(odd), +.sheet-rolltemplate-spell div.sheet-spell-pool-table:nth-child(odd), .sheet-rolltemplate-info div.sheet-rtrow:nth-child(odd), .sheet-rolltemplate-item div.sheet-rtrow:nth-child(odd), .sheet-rolltemplate-vehicle div.sheet-rtrow:nth-child(odd), .sheet-rolltemplate-matrix div.sheet-rtrow:nth-child(odd), .sheet-rolltemplate-spell div.sheet-rtrow:nth-child(odd), +.sheet-rolltemplate-conjure div.sheet-rtrow:nth-child(odd), .sheet-rolltemplate-init div.sheet-rtrow:nth-child(odd), .sheet-rolltemplate-attribute div.sheet-rtrow:nth-child(odd), .sheet-rolltemplate-explosive div.sheet-rtrow:nth-child(odd), .sheet-rolltemplate-skill div.sheet-rtrow:nth-child(odd), .sheet-rolltemplate-adept div.sheet-rtrow:nth-child(odd), .sheet-rolltemplate-attack div.sheet-rtrow:nth-child(odd), -.sheet-rolltemplate-resistance div.sheet-rtrow:nth-child(odd) { +.sheet-rolltemplate-aoe div.sheet-rtrow:nth-child(odd), +.sheet-rolltemplate-melee div.sheet-rtrow:nth-child(odd), +.sheet-rolltemplate-resist div.sheet-rtrow:nth-child(odd), +.sheet-rolltemplate-resistadv div.sheet-rtrow:nth-child(odd) { background-color: white; } @@ -998,6 +1232,9 @@ min-width: 0; font-size: 10px; } +.sheet-rolltemplate-spell div.sheet-conjure-resist-table:nth-child(even), +.sheet-rolltemplate-spell div.sheet-spell-resist-table:nth-child(even), +.sheet-rolltemplate-spell div.sheet-spell-pool-table:nth-child(even), .sheet-rolltemplate-item div.sheet-rtrow:nth-child(even), .sheet-rolltemplate-info div.sheet-rtrow:nth-child(even), .sheet-rolltemplate-vehicle div.sheet-rtrow:nth-child(even), @@ -1008,7 +1245,11 @@ min-width: 0; .sheet-rolltemplate-skill div.sheet-rtrow:nth-child(even), .sheet-rolltemplate-adept div.sheet-rtrow:nth-child(even), .sheet-rolltemplate-attack div.sheet-rtrow:nth-child(even), -.sheet-rolltemplate-resistance div.sheet-rtrow:nth-child(even), +.sheet-rolltemplate-aoe div.sheet-rtrow:nth-child(even), +.sheet-rolltemplate-melee div.sheet-rtrow:nth-child(even), +.sheet-rolltemplate-conjure div.sheet-rtrow:nth-child(even), +.sheet-rolltemplate-resistadv div.sheet-rtrow:nth-child(odd), +.sheet-rolltemplate-resist div.sheet-rtrow:nth-child(odd), .sheet-rolltemplate-spell div.sheet-rtrow:nth-child(even) { background-color: lightgrey; } @@ -1022,7 +1263,11 @@ min-width: 0; .sheet-rolltemplate-skill .sheet-numberspan, .sheet-rolltemplate-adept .sheet-numberspan, .sheet-rolltemplate-spell .sheet-numberspan, -.sheet-rolltemplate-resistance .sheet-numberspan, +.sheet-rolltemplate-melee .sheet-numberspan, +.sheet-rolltemplate-conjure .sheet-numberspan, +.sheet-rolltemplate-aoe .sheet-numberspan, +.sheet-rolltemplate-resist .sheet-numberspan, +.sheet-rolltemplate-resistadv .sheet-numberspan, .sheet-rolltemplate-attack .sheet-numberspan{ background-color: yellow; display: inline-block; @@ -1042,7 +1287,11 @@ min-width: 0; .sheet-rolltemplate-skill .inlinerollresult, .sheet-rolltemplate-adept .inlinerollresult, .sheet-rolltemplate-attack .inlinerollresult, -.sheet-rolltemplate-resistance .inlinerollresult, +.sheet-rolltemplate-aoe .inlinerollresult, +.sheet-rolltemplate-melee .inlinerollresult, +.sheet-rolltemplate-conjure .inlinerollresult, +.sheet-rolltemplate-resist .inlinerollresult, +.sheet-rolltemplate-resistadv .inlinerollresult, .sheet-rolltemplate-spell .inlinerollresult { display: inline-block; min-width: 1.5em; @@ -1061,7 +1310,11 @@ min-width: 0; .sheet-rolltemplate-skill .inlinerollresult.fullcrit, .sheet-rolltemplate-adept .inlinerollresult.fullcrit, .sheet-rolltemplate-attack .inlinerollresult.fullcrit, -.sheet-rolltemplate-resistance .inlinerollresult.fullcrit, +.sheet-rolltemplate-aoe .inlinerollresult.fullcrit, +.sheet-rolltemplate-melee .inlinerollresult.fullcrit, +.sheet-rolltemplate-conjure .inlinerollresult.fullcrit, +.sheet-rolltemplate-resist .inlinerollresult.fullcrit, +.sheet-rolltemplate-resistadv .inlinerollresult.fullcrit, .sheet-rolltemplate-spell .inlinerollresult.fullcrit { border: 2px solid #3FB315; } @@ -1076,7 +1329,11 @@ min-width: 0; .sheet-rolltemplate-skill .inlinerollresult.fullfail, .sheet-rolltemplate-adept .inlinerollresult.fullfail, .sheet-rolltemplate-attack .inlinerollresult.fullfail, -.sheet-rolltemplate-resistance .inlinerollresult.fullfail, +.sheet-rolltemplate-aoe .inlinerollresult.fullfail, +.sheet-rolltemplate-melee .inlinerollresult.fullfail, +.sheet-rolltemplate-conjure .inlinerollresult.fullfail, +.sheet-rolltemplate-resist .inlinerollresult.fullfail, +.sheet-rolltemplate-resistadv .inlinerollresult.fullfail, .sheet-rolltemplate-spell .inlinerollresult.fullfail { border: 2px solid #B31515; } @@ -1091,7 +1348,11 @@ min-width: 0; .sheet-rolltemplate-skill .inlinerollresult.importantroll, .sheet-rolltemplate-adept .inlinerollresult.importantroll, .sheet-rolltemplate-attack .inlinerollresult.importantroll, -.sheet-rolltemplate-resistance .inlinerollresult.importantroll, +.sheet-rolltemplate-aoe .inlinerollresult.importantroll, +.sheet-rolltemplate-melee .inlinerollresult.importantroll, +.sheet-rolltemplate-conjure .inlinerollresult.importantroll, +.sheet-rolltemplate-resist .inlinerollresult.importantroll, +.sheet-rolltemplate-resistadv .inlinerollresult.importantroll, .sheet-rolltemplate-spell .inlinerollresult.importantroll { border: 2px solid #4A57ED; } @@ -1207,7 +1468,7 @@ min-width: 0; .spells-status-buttons { display: grid; - grid-template-columns: 200px 60px 25px 60px 25px 60px 25px 60px 25px 60px 25px; + grid-template-columns: 100px 45px 60px 25px 60px 25px 60px 25px 60px 25px 60px 25px; align-items: center; text-align: end; background-color: rgba(192,192,192,.9); @@ -1220,7 +1481,7 @@ min-width: 0; .spells-spirit-status { display: grid; - grid-template-columns: auto auto auto 60px 25px auto 25px 60px 25px 60px 25px; + grid-template-columns: auto 45px auto 35px auto 45px auto 35px auto 35px 20px; align-items: center; text-align: end; background-color: rgba(192,192,192,.9); @@ -1241,15 +1502,17 @@ color:red; .magic-spells-row, .magic-spells-table { display: grid; - grid-template-columns: 105px 70px 45px 35px 53px 50px 85px 63px 45px 45px 73px 30px 1fr; + grid-template-columns: 95px 70px 40px 40px 40px 40px 53px 50px 75px 77px 40px 40px 73px 30px 1fr; font-size: 10px; } .sorcery-config { - grid-template-columns: auto auto auto auto auto auto; + grid-template-columns: 20px auto 30px auto auto 30px auto auto 30px auto auto 30px 20px; display: grid; background-color: rgba(192,192,192,.9); border: 2px solid #fff; border-radius: 10px; + text-align: right; + align-items: center; } .magic-spells-row { box-sizing: border-box; @@ -1297,17 +1560,10 @@ input[type="checkbox"].hidden-checkbox { border-radius: 5px; } -.astralattributes { - border: 1px solid #fff; - padding: 3px; - background-color: rgba(192,192,192,.9); - border-radius: 5px; -} - .astralspace { display: grid; vertical-align: middle; - grid-template-columns: 235px 100px 20px 50px 120px 45px 45px 35px; + grid-template-columns: 120px 130px 100px 20px 50px 120px 45px 45px 35px; } .astralspace select{ vertical-align: middle; @@ -1317,7 +1573,7 @@ input[type="checkbox"].hidden-checkbox { .astralcombat { display: grid; align-items: center; - grid-template-columns: 100px 30px 160px 90px 10px 40px 60px; + grid-template-columns: 100px 30px 120px 120px 90px 10px 30px 40px 60px; } .geas-table, @@ -1325,7 +1581,10 @@ input[type="checkbox"].hidden-checkbox { display: grid; grid-template-columns: 220px 220px; } - +.conjuring-table { + display: grid; + grid-template-columns: 120px 120px 120px 120px 120px 100px 100px 1fr; +} .totem-table { display: grid; @@ -1401,7 +1660,6 @@ input.foci-switch:checked~div.fetish-foci { grid-template-columns: auto auto auto auto auto; border: 2px solid #fff; border-radius: 10px; - background-color: rgba(192,192,192,.9); } .combat-skills-items { @@ -1414,12 +1672,12 @@ input.foci-switch:checked~div.fetish-foci { .combat-unarmed { display: grid; align-items: center; - grid-template-columns: 180px 80px auto auto auto; + text-align: right; + grid-template-columns: auto 50px 20px auto auto auto auto 1fr; border-bottom: 2px solid #fff; border-left: 2px solid #fff; border-right: 2px solid #fff; border-radius: 10px; - background-color: rgba(192,192,192,.9); } melee-table-row input[type="textarea"], .combat-unarmed input[type="textarea"] { @@ -1435,6 +1693,7 @@ melee-table-row input[type="textarea"], grid-template-columns: 50px 225px 210px 100px 90px 150px 1fr; } + .ranged-table-items { font-weight: bold; display: grid; @@ -1457,15 +1716,20 @@ melee-table-row input[type="textarea"], text-align: center; vertical-align: middle; } +.explosives-table-row-bg input[type="number"], .explosives-table-row input[type="number"], .ranged-table-row input[type="number"] { -moz-appearance: textfield; } +.ranged-table-row-bg input::-webkit-outer-spin-button, +.ranged-table-row-bg input::-webkit-inner-spin-button, .ranged-table-row input::-webkit-outer-spin-button, .ranged-table-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } + +.ranged-table-row-bg select, .ranged-table-row select { -webkit-appearance: none; -moz-appearance: none; @@ -1473,10 +1737,14 @@ melee-table-row input[type="textarea"], text-overflow: ''; } +.ranged-table-row-bg { + background-color: rgba(192,192,192,.9); +} + +.ranged-table-row-bg, .ranged-table-row { align-self: center; display: grid; - background-color: rgba(192,192,192,.9); border-left: 2px solid #fff; border-right: 2px solid #fff; text-align: center; @@ -1516,16 +1784,22 @@ melee-table-row input[type="textarea"], border-top-left-radius: 10px; } +.table-top-left-nc, .table-top-left { - background-color: rgba(192,192,192,.9); border: 2px solid #fff; text-align: center; vertical-align: middle; border-top-left-radius: 10px; } - -.table-top-right { +.table-top-left { background-color: rgba(192,192,192,.9); +} +.table-top-left-w { + background-color: white; +} +.table-top-right-nc, +.table-top-right-w, +.table-top-right { border-top: 2px solid #fff; border-bottom: 2px solid #fff; border-right: 2px solid #fff; @@ -1533,15 +1807,28 @@ melee-table-row input[type="textarea"], vertical-align: middle; border-top-right-radius: 10px; } - -.table-top-mid{ +.table-top-right { background-color: rgba(192,192,192,.9); +} +.table-top-right-w { + background-color: white; +} + +.table-top-mid-w, +.table-top-mid-nc, +.table-top-mid { border-right: 2px solid #fff; border-top: 2px solid #fff; border-bottom: 2px solid #fff; text-align: center; vertical-align: middle; } +.table-top-white { + background-color: white; +} +.table-top-mid { + background-color: rgba(192,192,192,.9); +} .table-bottom{ background-color: rgba(192,192,192,.9); border-top: 2px solid #fff; @@ -1549,14 +1836,17 @@ melee-table-row input[type="textarea"], vertical-align: middle; } +.table-item-left-nc, .table-item-left { - background-color: rgba(192,192,192,.9); border-left: 2px solid #fff; border-bottom: 2px solid #fff; border-right: 2px solid #fff; text-align: center; vertical-align: middle; } +.table-item-left { + background-color: rgba(192,192,192,.9); +} .table-item { display: flex; align-items: center; @@ -1655,10 +1945,9 @@ melee-table-row input[type="textarea"], border-bottom-right-radius: 10px; } -.armor { +.armor-headers { display: grid; - background-color: rgba(192,192,192,.9); - grid-template-columns: 120px 35px 70px 35px 70px 35px 160px 180px 120px; + grid-template-columns: auto 35px auto 35px auto 35px auto 35px auto 35px auto 25px; text-align: right; align-items: center; border: 2px solid #fff; @@ -1674,7 +1963,6 @@ melee-table-row input[type="textarea"], } .armorsets-table-row { display: grid; - background-color: rgba(192,192,192,.9); text-align: center; border-left: 2px solid #fff; border-right: 2px solid #fff; @@ -1689,7 +1977,6 @@ melee-table-row input[type="textarea"], } .ammo-table-row { display: grid; - background-color: rgba(192,192,192,.9); border-left: 2px solid #fff; border-right: 2px solid #fff; grid-template-columns: 230px 70px 70px 1fr; @@ -1699,7 +1986,7 @@ melee-table-row input[type="textarea"], display: grid; font-weight: bold; font-size: 10px; - grid-template-columns: 50px 100px 60px 100px 50px 45px 45px 50px 60px 40px 1fr; + grid-template-columns: 50px 100px 60px 100px 50px 45px 45px 50px 60px 40px 40px 1fr; } .weaponfocus-attributes { display: grid; @@ -1711,7 +1998,7 @@ melee-table-row input[type="textarea"], border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; text-align: center; - grid-template-columns: 50px 100px 60px 100px 50px 45px 45px 50px 60px 40px 1fr; + grid-template-columns: 50px 100px 60px 100px 50px 45px 45px 50px 60px 40px 40px 1fr; } .melee-table-header { @@ -1720,13 +2007,12 @@ melee-table-row input[type="textarea"], font-size: 10px; grid-template-columns: 50px 100px 100px 50px 45px 45px 50px 60px 60px 40px 1fr; } - +.weaponfocus, .melee-table-row { align-content: center; display: grid; font-size: 10px; border-left: 2px solid #fff; - background-color: rgba(192,192,192,.9); border-right: 2px solid #fff; text-align: center; grid-template-columns: 50px 100px 100px 50px 45px 45px 50px 60px 60px 40px 1fr; @@ -1737,17 +2023,20 @@ melee-table-row input[type="textarea"], font-weight: bold; display: grid; font-size: 10px; - grid-template-columns: 110px 100px 55px 40px 40px 40px 40px 40px 45px 70px 35px 40px 40px 40px 45px 45px 1fr; + grid-template-columns: 100px 100px 55px 40px 40px 50px 50px 50px 45px 55px 35px 40px 40px 40px 45px 45px 1fr } +.explosives-table-row-bg { + background-color: rgba(192,192,192,.9); +} +.explosives-table-row-bg, .explosives-table-row { text-align: center; display: grid; border-left: 2px solid #fff; - background-color: rgba(192,192,192,.9); border-right: 2px solid #fff; font-size: 10px; - grid-template-columns: 110px 100px 55px 40px 40px 40px 40px 40px 45px 70px 35px 40px 40px 40px 45px 45px 1fr; + grid-template-columns: 100px 100px 55px 40px 40px 50px 50px 50px 45px 55px 35px 40px 40px 40px 45px 45px 1fr } .explosive-mods-switch { @@ -1775,22 +2064,6 @@ melee-table-row input[type="textarea"], margin-bottom: unset; } -.mediumselect3 { - width: 100%; - height: inherit; - font-size: 10px; -} - -.smallselect2 { - width: 60px; - font-size: 10px; -} - -.smallselect { - width: 40px; - font-size: 10px; -} - .charsheet input[type=text] { width: 100%; height: 100%; @@ -1895,13 +2168,6 @@ input.enable-fa:not(:checked)~span.show_fa_dice { grid-template-columns: 140px 140px 130px 70px 110px 90px 1fr; font-size: 14px; } -.combat-modifiers-total span { - background-color: white; - color: black; - padding-left: 5px; - padding-right: 5px; - border: 1px solid #000000; -} .combat-conditions { text-align: center; @@ -1966,7 +2232,6 @@ input.enable-fa:not(:checked)~span.show_fa_dice { border-left: 2px solid #fff; border-right: 2px solid #fff; border-radius: 10px; - background-color: rgba(192,192,192,.9); display: grid; align-self: center; grid-template-columns: 130px 55px 130px 55px 95px 55px; @@ -2082,7 +2347,7 @@ input.enable-fa:not(:checked)~span.show_fa_dice { .vehicle-driver { align-items: center; display: grid; - grid-template-columns: 50px 1fr; + grid-template-columns: 50px 1fr 20px; } .vehicle-quickstats{ @@ -2263,12 +2528,21 @@ input.enable-fa:not(:checked)~span.show_fa_dice { .deck-combat-system { display: grid; - vertical-align: middle; align-items: center; text-align: right; - grid-template-columns: 140px 65px 20px 20px 50px 20px 20px 50px 20px 20px 30px 20px 20px 50px 20px; + grid-template-columns: auto 20px 30px 20px 20px 70px 20px 70px 20px 70px 20px 70px 20px 70px 20px 1fr; +} +.deck-combat-system2 { + display: grid; + align-items: center; + text-align: right; + grid-template-columns: auto 20px 20px auto 20px 20px auto 20px 20px auto 20px 20px auto 20px 20px auto 20px 20px auto 20px 1fr; + } +.hack-pool-option { + display: grid; + align-items: center; + grid-template-columns: auto 20px 1fr; } - .deck-summary-attributes { display: grid; grid-template-columns: 65px 25px 50px 50px 50px; @@ -2277,7 +2551,9 @@ input.enable-fa:not(:checked)~span.show_fa_dice { .deck-memory-used { display: grid; - grid-template-columns: 150px 60px 100px 150px 180px 180px; + text-align: right; + align-items: center; + grid-template-columns: auto 25px 20px auto auto auto auto 20px auto auto 20px auto auto 20px auto auto 1fr; } .frame-util-used { @@ -2294,6 +2570,15 @@ input.enable-fa:not(:checked)~span.show_fa_dice { padding-right: 5px; } +.matrix-status[value="out"] ~.matrix-status { + background: green; + color: white; +} +.matrix-status[value="in"] ~.matrix-status { + background: red; + color: white; +} + .taskpool-over[value="1"] ~ .taskpool-over, .astralpool-over[value="1"] ~ .astralpool-over, .controlpool-over[value="1"] ~ .controlpool-over, @@ -2307,11 +2592,6 @@ input.enable-fa:not(:checked)~span.show_fa_dice { background-color: red; } -.deck-utilities { - display: grid; - padding: 2px; - /* grid-template-columns: 350px 350px; */ -} .frame-attributes { display: grid; @@ -2384,19 +2664,9 @@ input.enable-fa:not(:checked)~span.show_fa_dice { .manual-gunnery-tn[value="0"]~button.gunneryswitch { background-color: green; } -.weaponfocus-show[value="false"]~div.weaponfocus { +.weaponfocus-show[value="false"]~div.show-weaponfocus-melee { display: none; } -.armor-show, -.armor-hide, -.ammo-show, -.ammo-hide, -.explosives-show, -.explosives-hide, -.meleeweapons-show, -.meleeweapons-hide, -.rangedweapons-show, -.rangedweapons-hide, .vehicle-stats-show, .vehicle-stats-hide, .drone-list-show, @@ -2411,99 +2681,64 @@ input.enable-fa:not(:checked)~span.show_fa_dice { .manual-gunnery-mods, .manual-gunnery-show, .manual-gunnery-hide, -.deck-utilities-show, -.deck-utilities-hide, -.deck-skills-show, -.deck-skills-hide, -.deck-cyberdeck-show, -.deck-cyberdeck-hide, .securitysheaf-show, .securitysheaf-hide, -.combatskills-show, -.combatskills-hide, .vehicle-skills-show, .vehicle-skills-hide, .rc-deck-show, .rc-deck-hide, -.foci-show, -.foci-hide, -.totem-show, -.totem-hide, -.magicinitiate-show, -.magicinitiate-hide, -.geas-show, -.geas-hide, -.adeptpowers-show, -.adeptpowers-hide, -.spells-show, -.spells-hide, -.astralattributes-show, -.astralattributes-hide, -.sorceryskills-show, .sorceryskills-hide { display: none; } +.vehicle-stats-switch[value="show"]~div.vehicle-stats-hide, +.vehicle-stats-switch[value="hide"]~div.vehicle-stats-show, +.vehicle-condition-switch[value="show"]~div.vehicle-condition-hide, +.vehicle-condition-switch[value="hide"]~div.vehicle-condition-show, +.rc-condition-switch[value="show"]~div.rc-condition-hide, +.rc-condition-switch[value="hide"]~div.rc-condition-show, +.gunnery-switch[value="show"]~div.manual-gunnery-hide, +.gunnery-switch[value="hide"]~div.manual-gunnery-show { + display: block; +} + +.ic-switch[value="show"]~div.ic-hide, +.ic-switch[value="hide"]~div.ic-show, .armor-switch[value="hide"]~div.armor-hide, .armor-switch[value="show"]~div.armor-show, .ammo-switch[value="hide"]~div.ammo-hide, .ammo-switch[value="show"]~div.ammo-show, .explosives-switch[value="hide"]~div.explosives-hide, .explosives-switch[value="show"]~div.explosives-show, -.meleeweapons-switch[value="hide"]~div.meleeweapons-hide, -.meleeweapons-switch[value="show"]~div.meleeweapons-show, .rangedweapons-switch[value="hide"]~div.rangedweapons-hide, .rangedweapons-switch[value="show"]~div.rangedweapons-show, -.vehicle-stats-switch[value="show"]~div.vehicle-stats-hide, -.vehicle-stats-switch[value="hide"]~div.vehicle-stats-show, -.drone-list-switch[value="show"]~div.drone-list-hide, -.drone-list-switch[value="hide"]~div.drone-list-show, -.vehicle-condition-switch[value="show"]~div.vehicle-condition-hide, -.vehicle-condition-switch[value="hide"]~div.vehicle-condition-show, -.rc-condition-switch[value="show"]~div.rc-condition-hide, -.rc-condition-switch[value="hide"]~div.rc-condition-show, -.rc-deck-switch[value="show"]~div.rc-deck-hide, -.rc-deck-switch[value="hide"]~div.rc-deck-show, +.meleeweapons-switch[value="hide"]~div.meleeweapons-hide, +.meleeweapons-switch[value="show"]~div.meleeweapons-show, +.combatskills-switch[value="show"]~div.combatskills-hide, +.combatskills-switch[value="hide"]~div.combatskills-show, .vehicle-skills-switch[value="show"]~div.vehicle-skills-hide, .vehicle-skills-switch[value="hide"]~div.vehicle-skills-show, -.ic-switch[value="show"]~div.ic-hide, -.ic-switch[value="hide"]~div.ic-show, -.gunnery-switch[value="show"]~div.manual-gunnery-hide, -.gunnery-switch[value="hide"]~div.manual-gunnery-show, +.rc-deck-switch[value="show"]~div.rc-deck-hide, +.rc-deck-switch[value="hide"]~div.rc-deck-show, +.drone-list-switch[value="show"]~div.drone-list-hide, +.drone-list-switch[value="hide"]~div.drone-list-show, .deck-utilities-switch[value="show"]~div.deck-utilities-hide, .deck-utilities-switch[value="hide"]~div.deck-utilities-show, -.deck-skills-switch[value="show"]~div.deck-skills-hide, -.deck-skills-switch[value="hide"]~div.deck-skills-show, .deck-cyberdeck-switch[value="show"]~div.deck-cyberdeck-hide, .deck-cyberdeck-switch[value="hide"]~div.deck-cyberdeck-show, .securitysheaf-switch[value="show"]~div.securitysheaf-hide, .securitysheaf-switch[value="hide"]~div.securitysheaf-show, -.combatskills-switch[value="show"]~div.combatskills-hide, -.combatskills-switch[value="hide"]~div.combatskills-show, -.totem-switch[value="show"]~div.totem-hide, -.totem-switch[value="hide"]~div.totem-show, -.geas-switch[value="show"]~div.geas-hide, -.geas-switch[value="hide"]~div.geas-show, -.magicinitiate-switch[value="show"]~div.magicinitiate-hide, -.magicinitiate-switch[value="hide"]~div.magicinitiate-show, -.foci-switch[value="show"]~div.foci-hide, -.foci-switch[value="hide"]~div.foci-show, -.adeptpowers-switch[value="show"]~div.adeptpowers-hide, -.adeptpowers-switch[value="hide"]~div.adeptpowers-show, -.spells-switch[value="show"]~div.spells-hide, -.spells-switch[value="hide"]~div.spells-show, -.sorceryskills-switch[value="show"]~div.sorceryskills-hide, -.sorceryskills-switch[value="hide"]~div.sorceryskills-show, -.astralattributes-switch[value="show"]~div.astralattributes-hide, -.astralattributes-switch[value="hide"]~div.astralattributes-show { - display: block; +.deck-skills-switch[value="show"]~div.deck-skills-hide, +.deck-skills-switch[value="hide"]~div.deck-skills-show { + display: grid; + grid-template-columns: auto 60px 1fr; } -.ammo-switch[value="hide"]~div.ammo-show, -.armor-switch[value="hide"]~div.armor-show, -.explosives-switch[value="hide"]~div.explosives-show, -.meleeweapons-switch[value="hide"]~div.meleeweapons-show, -.rangedweapons-switch[value="hide"]~div.rangedweapons-show, +.ammo-switch[value="hide"]~div.ammo, +.armor-switch[value="hide"]~div.armor, +.explosives-switch[value="hide"]~div.explosives, +.meleeweapons-switch[value="hide"]~div.meleeweapons, +.rangedweapons-switch[value="hide"]~div.rangedweapons, .vehicle-stats-switch[value="hide"]~div.vehicle-stats, .drone-list-switch[value="hide"]~div.drones-list, .vehicle-condition-switch[value="hide"]~div.vehicle-condition, @@ -2514,19 +2749,18 @@ input.enable-fa:not(:checked)~span.show_fa_dice { .deck-cyberdeck-switch[value="hide"]~div.deck-cyberdeck, .securitysheaf-switch[value="hide"]~div.securitysheaf, .combatskills-switch[value="hide"]~div.combat-skills, -.sorceryskills-switch[value="hide"]~div.sorcery-skills, -.spells-switch[value="hide"]~div.spells-section, -.astralattributes-switch[value="hide"]~div.astralattributes, -.totem-switch[value="hide"]~div.totem, -.geas-switch[value="hide"]~div.geas, -.foci-switch[value="hide"]~div.fetish-foci, -.magicinitiate-switch[value="hide"]~div.magicinitiate, -.adeptpowers-switch[value="hide"]~div.adept-powers, .rc-deck-switch[value="hide"]~div.rc-deck, .vehicle-skills-switch[value="hide"]~div.vehicle-skills { display: none; } +.magicinitiate-level { + display: grid; + grid-template-columns: auto 60px 1fr; + + +} + .charsheet button[type=roll].hidedice-button::before { content: ''; } @@ -2581,13 +2815,9 @@ input.enable-fa:not(:checked)~span.show_fa_dice { border: 1px solid red; } -.cyberware-lists{ - display: grid; - grid-template-columns: 580px -} .cyberware-list{ display: grid; - grid-template-columns: 230px 70px 70px 310px; + grid-template-columns: 230px 70px 70px 1fr; } .contacts { @@ -2614,7 +2844,9 @@ input.enable-fa:not(:checked)~span.show_fa_dice { grid-template-columns: 80px 80px 55px 80px 35px 1fr; } -.armor header, +.vehicle-quickstats-border header, +.vehicle-electronics header, +.armor-headers header, .credsticks header, .karma-history header, .deck-utilities-special header, diff --git a/Shadowrun3e/shadowrun3e.html b/Shadowrun3e/shadowrun3e.html index c9f49fa2fa..3e9b5dd425 100644 --- a/Shadowrun3e/shadowrun3e.html +++ b/Shadowrun3e/shadowrun3e.html @@ -1,81 +1,82 @@
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
@@ -128,50 +143,63 @@