diff --git a/Outbreak/outbreak.html b/Outbreak/outbreak.html index 4969d4afd8..0acc68d5e9 100644 --- a/Outbreak/outbreak.html +++ b/Outbreak/outbreak.html @@ -1,5 +1,5 @@ - +
@@ -15,7 +15,7 @@

S.P.E.W Attributes

-
Strength +
Strength

Strength

@@ -27,7 +27,7 @@
-
Perception +
Perception

Perception

@@ -39,7 +39,7 @@
-
Empathy +
Empathy

Empathy

@@ -51,7 +51,7 @@
-
Willpower +
Willpower

Willpower

@@ -88,7 +88,7 @@

- + @@ -100,7 +100,7 @@
- + @@ -112,7 +112,7 @@
- + @@ -124,7 +124,7 @@
- + @@ -136,7 +136,7 @@
- + @@ -148,7 +148,7 @@
- + @@ -160,7 +160,7 @@
- + @@ -172,7 +172,7 @@
- + @@ -190,7 +190,7 @@

- + @@ -202,7 +202,7 @@
- + @@ -214,7 +214,7 @@
- + @@ -226,7 +226,7 @@
- + @@ -238,7 +238,7 @@
- + @@ -250,7 +250,7 @@
- + @@ -262,7 +262,7 @@
- + @@ -277,8 +277,8 @@

Trained Skills

- - + +
- + @@ -301,7 +301,7 @@
- + @@ -313,7 +313,7 @@
- + @@ -325,7 +325,7 @@
- + @@ -337,7 +337,7 @@
- + @@ -349,7 +349,7 @@
- + @@ -361,7 +361,7 @@
- + @@ -375,7 +375,7 @@
- + @@ -387,7 +387,7 @@
- + @@ -399,7 +399,7 @@
- + @@ -411,7 +411,7 @@
- + @@ -423,7 +423,7 @@
- + @@ -435,7 +435,7 @@
- + @@ -447,7 +447,7 @@
- + @@ -459,7 +459,7 @@
- + @@ -471,7 +471,7 @@
- + @@ -486,7 +486,7 @@

Expert Skills

- + @@ -498,7 +498,7 @@
- + @@ -510,7 +510,7 @@
- + @@ -522,7 +522,7 @@
- + @@ -536,7 +536,7 @@
- + @@ -548,7 +548,7 @@
- + @@ -560,7 +560,7 @@
- + @@ -572,7 +572,7 @@
- + @@ -592,7 +592,7 @@

Skill

Roll

- + @@ -637,7 +637,7 @@
-
speed dice +
speed dice
-
damage dice +
damage dice
-
depletion dice +
depletion dice
-

Long Gun

+

Long Gun

-

Bludgeoning

+

Bludgeoning

-

Pistol

+

Pistol

-

Piercing

+

Piercing

-

Throwing

+

Throwing

-

Slashing

+

Slashing

-

Martial Arts

+

Martial Arts

-

Athletic Gear

+

Athletic Gear

-

First Aid Kits

+

First Aid Kits

-

Swimming/Diving

+

Swimming/Diving

-

Climbing Gear

+

Climbing Gear

-

Medical Gear

+

Medical Gear

-

Tools

+

Tools

-

Command App

+

Command App

-

Recon Gear

+

Recon Gear

-

Value

+

Value

-

Firefighting

+

Firefighting

-

Survival Kit

+

Survival Kit

-

Vehicles

+

Vehicles

diff --git a/Outbreak/outbreak.pug b/Outbreak/outbreak.pug index 2b1404a12f..783fea8a5d 100644 --- a/Outbreak/outbreak.pug +++ b/Outbreak/outbreak.pug @@ -1,7 +1,7 @@ //- VERSION //- ============================= -input(name='attr_version' type='hidden' value='1') +input(name='attr_version' type='hidden' value='1.001') //- MIXINS include src/pug/_mixins.pug @@ -22,7 +22,7 @@ include src/pug/_mixins.pug each val in ['Strength', 'Perception', 'Empathy', 'Willpower'] -const name = val.toLowerCase(); .grid.attributes - img(alt=`${val}` src=`https://raw.githubusercontent.com/clevett/roll20-character-sheets/outbreakv1/Outbreak/src/img/OU_Attributes_${val}_40x40.png`) + img(alt=`${val}` src=`https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Outbreak/src/img/OU_Attributes_${val}_40x40.png`) h3(data-i18n=val) #{val} .grid input(name=`attr_${name}` type='hidden' value=`[[(@{${name}_bonus}*10)+@{${name}_base}]]`) @@ -60,7 +60,7 @@ include src/pug/_mixins.pug h2(data-i18n='Trained Skills') Trained Skills .skill-column - each val,key in {'Bow':['perception', 'strenght'], 'Calm Other':['empathy', 'willpower'], 'Persuade':['empathy', 'willpower'], 'Barter':['empathy', 'willpower'], 'Command':['empathy', 'willpower'], 'Detect Motives':['empathy', 'willpower'], 'Intimidate':['empathy', 'willpower'], 'Digital Systems':['perception', 'willpower']} + each val,key in {'Bow':['perception', 'strength'], 'Calm Other':['empathy', 'willpower'], 'Persuade':['empathy', 'willpower'], 'Barter':['empathy', 'willpower'], 'Command':['empathy', 'willpower'], 'Detect Motives':['empathy', 'willpower'], 'Intimidate':['empathy', 'willpower'], 'Digital Systems':['perception', 'willpower']} +skillList(key, val[0], val[1]) .skill-column each val,key in {'Pistol':['perception', 'willpower'], 'Long Gun':['perception', 'willpower'], 'First Aid':['perception', 'willpower'], 'Blunt':['strength', 'willpower'], 'Pierce':['strength', 'willpower'], 'Slash':['strength', 'willpower'], 'Navigation':['perception', 'willpower'], 'Swim':['strength', 'willpower'], 'Throw':['perception', 'strength']} @@ -77,7 +77,7 @@ include src/pug/_mixins.pug each val in ['Specalizations', 'Attr', 'Bonus', 'Adv', 'Skill', 'Roll',] h3(data-i18n=val) #{val} fieldset(class='repeating_skills') - input(name=`attr_button_base` type='hidden' value=`[[(?{Gear Or Kit| None, 0 | Archery, @{archery_gear}+@{attribute_bonus}|Athletic Gear, @{athletic_gear}+@{attribute_bonus}|Bludgeon, @{bludgeoning}+@{attribute_bonus}|Climbing Gear, @{climbing_gear}+@{attribute_bonus}|Command Apparatus, @{command_app}+@{attribute_bonus}|Firefighting, @{firefighting}+@{attribute_bonus}|First Aid Kit, @{first_aid_kits}+@{attribute_bonus}|Long Gun, @{long_gun}+@{attribute_bonus}|Martial Arts, @{martial_arts}+@{attribute_bonus}|Medical Gear, @{medical_gear}+@{attribute_bonus}|Piercing, @{piercing}+@{attribute_bonus}|Pistol, @{pistol}+@{attribute_bonus}|Recon Gear, @{recon_gear}+@{attribute_bonus}|Slashing, @{slashing}+@{attribute_bonus}|Survival Kit, @{survival_kit}+@{attribute_bonus}|Swimming/Diving, @{swimming_diving}+@{attribute_bonus}|Throwing, @{throwing}+@{attribute_bonus}|Tools, @{tools}+@{attribute_bonus}|Value, @{value}+@{attribute_bonus}|Vehicles, @{vehicles}+@{attribute_bonus}})*?{Multiplier|1|2|3|4|5}]]`) + input(name=`attr_button_base` type='hidden' value=`[[(?{Gear Or Kit| None, 0 | Archery, @{archery_gear}|Athletic Gear, @{athletic_gear}|Bludgeon, @{bludgeoning}|Climbing Gear, @{climbing_gear}|Command Apparatus, @{command_app}|Firefighting, @{firefighting}|First Aid Kit, @{first_aid_kits}|Long Gun, @{long_gun}|Martial Arts, @{martial_arts}|Medical Gear, @{medical_gear}|Piercing, @{piercing}|Pistol, @{pistol}|Recon Gear, @{recon_gear}|Slashing, @{slashing}|Survival Kit, @{survival_kit}|Swimming/Diving, @{swimming_diving}|Throwing, @{throwing}|Tools, @{tools}|Value, @{value}|Vehicles, @{vehicles}})*?{Multiplier|1|2|3|4|5}]]`) input(name=`attr_total` type='hidden' value=`(@{skill} [Skill]+@{button_base} [Kit])`) input(name=`attr_skill_name` type='text' value=``) @@ -108,13 +108,13 @@ include src/pug/_mixins.pug .column .grid.box.logo - img(alt='Outbreak Character Sheet', src='https://raw.githubusercontent.com/clevett/roll20-character-sheets/outbreakv1/Outbreak/src/img/OU_Logo_340pxWx90pxH.png') + img(alt='Outbreak Character Sheet', src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Outbreak/src/img/OU_Logo_340pxWx90pxH.png') .grid.box.dice-box button(data-i18n='Dice Pool' name='roll_Pool' type='roll' value='&{template:ou-small} {{Diff=@{difficulty_dice}}} {{Spd1=@{speed_dice}}} {{Dmg=@{damage_dice}}} {{Deplet=@{depletion_dice}}} {{DieDif=@{difficulty_die}}} {{DieSpd=@{speed_die}}} {{DieDmg=@{damage_die}}} {{DieDep=@{depletion_die}}}') .die - img(alt='difficulty dice' src='https://raw.githubusercontent.com/clevett/roll20-character-sheets/outbreakv1/Outbreak/src/img/HuntersIcon_difficulty_16pxW_x16pxH.jpg' title='Difficult Dice') + img(alt='difficulty dice' src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Outbreak/src/img/HuntersIcon_difficulty_16pxW_x16pxH.jpg' title='Difficult Dice') select(name='attr_difficulty_dice') - let n = 0; while n < 6 @@ -123,7 +123,7 @@ include src/pug/_mixins.pug each val in ['speed', 'damage', 'depletion'] .die - img(alt=`${val} dice` src=`https://raw.githubusercontent.com/clevett/roll20-character-sheets/outbreakv1/Outbreak/src/img/HuntersIcon_${val}_16pxW_x16pxH.jpg`) + img(alt=`${val} dice` src=`https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Outbreak/src/img/HuntersIcon_${val}_16pxW_x16pxH.jpg`) +diceSelect(`${val}`) each val in ['difficulty', 'speed', 'damage', 'depletion'] @@ -190,7 +190,7 @@ include src/pug/_mixins.pug -const name = val.replace(' ', '_').toLowerCase(); .kits h2(data-i18n=`${val}`) #{val} - img(alt='' src=`https://raw.githubusercontent.com/clevett/roll20-character-sheets/outbreakv1/Outbreak/src/img/KitIcons_${val.replace(' ', '')}_30x30.png`) + img(alt='' src=`https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Outbreak/src/img/KitIcons_${val.replace(' ', '')}_30x30.png`) input(name=`attr_${name}` type='number' value='') .grid.green-kits @@ -198,7 +198,7 @@ include src/pug/_mixins.pug -const name = val.replace(/ /g, '_').replace('/', '_').toLowerCase(); .kits h2(data-i18n=`${val}`) #{val} - img(alt='' src=`https://raw.githubusercontent.com/clevett/roll20-character-sheets/outbreakv1/Outbreak/src/img/KitIcons_${val.replace(/ /g, '').replace('/', '')}_30x30.png`) + img(alt='' src=`https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Outbreak/src/img/KitIcons_${val.replace(/ /g, '').replace('/', '')}_30x30.png`) input(name=`attr_${name}` type='number' value='') diff --git a/Outbreak/src/pug/_mixins.pug b/Outbreak/src/pug/_mixins.pug index ac6f5ad7e3..aac1d28fdd 100644 --- a/Outbreak/src/pug/_mixins.pug +++ b/Outbreak/src/pug/_mixins.pug @@ -27,7 +27,7 @@ mixin dieRadios(type) mixin skillList(skill, primaryAttribute, secondaryAttribute) .skill -const name = skill.toLowerCase().replace('/', '_').replace(' ', '_'); - input(name=`attr_${name}_button_base` type='hidden' value=`[[(?{Gear Or Kit| None, 0 | Archery, @{archery_gear}+@{${primaryAttribute}_bonus}|Athletic Gear, @{athletic_gear}+@{${primaryAttribute}_bonus}|Bludgeon, @{bludgeoning}+@{${primaryAttribute}_bonus}|Climbing Gear, @{climbing_gear}+@{${primaryAttribute}_bonus}|Command Apparatus, @{command_app}+@{${primaryAttribute}_bonus}|Firefighting, @{firefighting}+@{${primaryAttribute}_bonus}|First Aid Kit, @{first_aid_kits}+@{${primaryAttribute}_bonus}|Long Gun, @{long_gun}+@{${primaryAttribute}_bonus}|Martial Arts, @{martial_arts}+@{${primaryAttribute}_bonus}|Medical Gear, @{medical_gear}+@{${primaryAttribute}_bonus}|Piercing, @{piercing}+@{${primaryAttribute}_bonus}|Pistol, @{pistol}+@{${primaryAttribute}_bonus}|Recon Gear, @{recon_gear}+@{${primaryAttribute}_bonus}|Slashing, @{slashing}+@{${primaryAttribute}_bonus}|Survival Kit, @{survival_kit}+@{${primaryAttribute}_bonus}|Swimming/Diving, @{swimming_diving}+@{${primaryAttribute}_bonus}|Throwing, @{throwing}+@{${primaryAttribute}_bonus}|Tools, @{tools}+@{${primaryAttribute}_bonus}|Value, @{value}+@{${primaryAttribute}_bonus}|Vehicles, @{vehicles}+@{${primaryAttribute}_bonus}})*?{Multiplier|1|2|3|4|5}]]`) + input(name=`attr_${name}_button_base` type='hidden' value=`[[(?{Gear Or Kit| None, 0 | Archery, @{archery_gear}|Athletic Gear, @{athletic_gear}|Bludgeon, @{bludgeoning}|Climbing Gear, @{climbing_gear}|Command Apparatus, @{command_app}|Firefighting, @{firefighting}|First Aid Kit, @{first_aid_kits}|Long Gun, @{long_gun}|Martial Arts, @{martial_arts}|Medical Gear, @{medical_gear}|Piercing, @{piercing}|Pistol, @{pistol}|Recon Gear, @{recon_gear}|Slashing, @{slashing}|Survival Kit, @{survival_kit}|Swimming/Diving, @{swimming_diving}|Throwing, @{throwing}|Tools, @{tools}|Value, @{value}|Vehicles, @{vehicles}})*?{Multiplier|1|2|3|4|5}]]`) input(name=`attr_${name}_attributes` type='hidden' value=`(@{${primaryAttribute}}+@{${secondaryAttribute}_bonus})`) @@ -44,7 +44,7 @@ mixin skillList(skill, primaryAttribute, secondaryAttribute) mixin expertSkillList(skill, primaryAttribute, secondaryAttribute) .skill -const name = skill.toLowerCase().replace('/', '_').replace(' ', '_'); - input(name=`attr_${name}_button_base` type='hidden' value=`[[(?{Gear Or Kit| None, 0 | Archery, @{archery_gear}+@{${primaryAttribute}_bonus}|Athletic Gear, @{athletic_gear}+@{${primaryAttribute}_bonus}|Bludgeon, @{bludgeoning}+@{${primaryAttribute}_bonus}|Climbing Gear, @{climbing_gear}+@{${primaryAttribute}_bonus}|Command Apparatus, @{command_app}+@{${primaryAttribute}_bonus}|Firefighting, @{firefighting}+@{${primaryAttribute}_bonus}|First Aid Kit, @{first_aid_kits}+@{${primaryAttribute}_bonus}|Long Gun, @{long_gun}+@{${primaryAttribute}_bonus}|Martial Arts, @{martial_arts}+@{${primaryAttribute}_bonus}|Medical Gear, @{medical_gear}+@{${primaryAttribute}_bonus}|Piercing, @{piercing}+@{${primaryAttribute}_bonus}|Pistol, @{pistol}+@{${primaryAttribute}_bonus}|Recon Gear, @{recon_gear}+@{${primaryAttribute}_bonus}|Slashing, @{slashing}+@{${primaryAttribute}_bonus}|Survival Kit, @{survival_kit}+@{${primaryAttribute}_bonus}|Swimming/Diving, @{swimming_diving}+@{${primaryAttribute}_bonus}|Throwing, @{throwing}+@{${primaryAttribute}_bonus}|Tools, @{tools}+@{${primaryAttribute}_bonus}|Value, @{value}+@{${primaryAttribute}_bonus}|Vehicles, @{vehicles}+@{${primaryAttribute}_bonus}})*?{Multiplier|1|2|3|4|5}]]`) + input(name=`attr_${name}_button_base` type='hidden' value=`[[(?{Gear Or Kit| None, 0 | Archery, @{archery_gear}|Athletic Gear, @{athletic_gear}|Bludgeon, @{bludgeoning}|Climbing Gear, @{climbing_gear}|Command Apparatus, @{command_app}|Firefighting, @{firefighting}|First Aid Kit, @{first_aid_kits}|Long Gun, @{long_gun}|Martial Arts, @{martial_arts}|Medical Gear, @{medical_gear}|Piercing, @{piercing}|Pistol, @{pistol}|Recon Gear, @{recon_gear}|Slashing, @{slashing}|Survival Kit, @{survival_kit}|Swimming/Diving, @{swimming_diving}|Throwing, @{throwing}|Tools, @{tools}|Value, @{value}|Vehicles, @{vehicles}})*?{Multiplier|1|2|3|4|5}]]`) input(name=`attr_${name}_attributes` type='hidden' value=`(@{${primaryAttribute}_bonus}+@{${secondaryAttribute}_bonus})`)