minor amends to allow for mobile app

Mobile app doesn't support macros fully so I've made a note that the Roll button might not work.
This commit is contained in:
tapiochre
2021-03-22 13:53:02 +00:00
parent e376694b74
commit 1e707d3a3e
2 changed files with 14 additions and 0 deletions
@@ -242,6 +242,11 @@
content: '';
}
.charsheet button[type="roll"].sheet-blank-roll-button + span {
visibility: hidden;
display: none;
}
.charsheet button[type="roll"].sheet-blank-roll-button {
color: #444444 !important;
border: 2px solid #444444 !important;
@@ -512,6 +517,9 @@ input[name="attr_Edit"]:checked + div {
/* halo layout */
.sheet-editPane {
width: 80%;
}
input[name="attr_Portrait"][value="PC0"] {
border: 1px solid #cccc00;
@@ -551,4 +559,9 @@ input[name="attr_Edit"]:checked + div {
visibility: visible;
}
.charsheet button[type="roll"].sheet-blank-roll-button + span {
display: block !important;
visibility: visible !important;
}
}
@@ -408,6 +408,7 @@
<button class="sheet-blank-roll-button" type="roll" name="roll_DicePool"
value="/me attempts to ?{What are you trying to achieve?}
&{template:Hammerheads} {{shaken=[[0d0+{(floor((@{physicalStress}/@{physical})-0.05))+(floor((@{mentalStress}/@{mental})-0.05))+(floor((@{socialStress}/@{social})-0.05)) + (floor(@{PhysicalStress}/14)) + (floor(@{MentalStress}/14)) + (floor(@{SocialStress}/14))}]]}} {{name=@{Callsign}}} {{portrait=@{Portrait}}} {{physical_stress=[[0d0+@{PhysicalStress}]]}} {{physical_dice_size=@{Physical}}} {{physical=[[1d@{Physical}]]}} {{mental_stress=[[0d0+@{MentalStress}]]}} {{mental_dice_size=@{Mental}}} {{mental=[[1d@{Mental}]]}} {{social_stress=[[0d0+@{SocialStress}]]}} {{social_dice_size=@{Social}}} {{social=[[1d@{Social}]]}} {{trait_name=[[0d0 + ?{Which attribute?|Physical,1|Mental,2|Social,3}]]}} {{CrowdControl_dice_size=@{CrowdControl}}} {{CrowdControl=[[1d@{CrowdControl}]]}} {{EmergencyMedical_dice_size=@{EmergencyMedical}}} {{EmergencyMedical=[[1d@{EmergencyMedical}]]}} {{Firefighting_dice_size=@{Firefighting}}} {{Firefighting=[[1d@{Firefighting}]]}} {{HammerheadPilot_dice_size=@{HammerheadPilot}}} {{HammerheadPilot=[[1d@{HammerheadPilot}]]}} {{Hazmat_dice_size=@{Hazmat}}} {{Hazmat=[[1d@{Hazmat}]]}} {{HighAltitudeRecovery_dice_size=@{HighAltitudeRecovery}}} {{HighAltitudeRecovery=[[1d@{HighAltitudeRecovery}]]}} {{LegalSpecialist_dice_size=@{LegalSpecialist}}} {{LegalSpecialist=[[1d@{LegalSpecialist}]]}} {{Logistics_dice_size=@{Logistics}}} {{Logistics=[[1d@{Logistics}]]}} {{MarineRecovery_dice_size=@{MarineRecovery}}} {{MarineRecovery=[[1d@{MarineRecovery}]]}} {{NetworkSpecialist_dice_size=@{NetworkSpecialist}}} {{NetworkSpecialist=[[1d@{NetworkSpecialist}]]}} {{Mechanic_dice_size=@{Mechanic}}} {{Mechanic=[[1d@{Mechanic}]]}} {{TacticalResponse_dice_size=@{TacticalResponse}}} {{TacticalResponse=[[1d@{TacticalResponse}]]}} {{TechnicalAnalyst_dice_size=@{TechnicalAnalyst}}} {{TechnicalAnalyst=[[1d@{TechnicalAnalyst}]]}} {{UrbanRecovery_dice_size=@{UrbanRecovery}}} {{UrbanRecovery=[[1d@{UrbanRecovery}]]}} {{TrainingPackage=[[0d0 + ?{Which training package?|Crowd Control,1|Emergency Medical,2|Firefighting,3|Hammerhead Pilot,4|Hazmat,5|High Altitude Recovery,6|Legal Specialist,7|Logistics,8|Marine Recovery,9|Network Specialist,10|Mechanic,11|Tactical Response,12|Technical Analyst,13|Urban Recovery,14}]]}} {{Distinction_dice_size=8}} {{Distinction=[[1d8]]}} {{Hinder_dice_size=4}} {{Hinder=[[1d4]]}} {{Distinction_Name=?{Which Distinction?|@{Distinction1Name}|@{Distinction2Name}|@{Distinction3Name}}}} {{Distinction_Hinder=[[0d0 +?{Does your distinction help or hinder?|Help,1|Hinder,2}]]}} {{MyStress4=[[1d4]]}} {{Stress4=[[1d4]]}} {{Stress6=[[1d6]]}} {{Stress8=[[1d8]]}} {{Stress10=[[1d10]]}} {{Stress12=[[1d12]]}} {{MyStress=[[0d0 +?{Do you have relevant stress at D4?|No,0|Yes,4}]]}} {{TargetStress=[[0d0 +?{Does your target have any stress?|No,0|D6,6|D8,8|D10,10|D12,12}]]}} {{friend4=[[1d4]]}} {{friend6=[[1d6]]}} {{friend8=[[1d8]]}} {{friend10=[[1d10]]}} {{friend12=[[1d12]]}} {{friendship=[[0d0+?{Are you receiving help?|No,0|D6,6|D8,8|D10,10|D12,12}]]}}">Dice Pool Builder</button>
<span>This may not work on the Roll20 Beta Mobile app.</span>
</div>
</div>
</div>