diff --git a/Kids on Bikes Official/kob.html b/Kids on Bikes Official/kob.html index fb643976b6..bba0cc8ddc 100644 --- a/Kids on Bikes Official/kob.html +++ b/Kids on Bikes Official/kob.html @@ -1,13 +1,13 @@ -

Kids on Bike Character Sheet

+

Kids on Bike Character Sheet

-
Name - Age - Fear - Motivation - Description - Adversity +
Name + Age + Fear + Motivation + Description + Adversity
@@ -27,7 +27,7 @@
- + - + - + - + - + - + @@ -152,7 +152,7 @@
-

Flaws

+

Flaws

ABSENT MINDED @@ -277,21 +277,20 @@
-

Powers

+

Powers

-

Backpack

+

Backpack

-

Notes

+

Notes

-
-
+
diff --git a/Kids on Bikes Official/kob.pug b/Kids on Bikes Official/kob.pug index 386dd5d87e..6c71008e9e 100644 --- a/Kids on Bikes Official/kob.pug +++ b/Kids on Bikes Official/kob.pug @@ -1,22 +1,24 @@ //- VERSION //- ============================= -input(name='attr_version' type='hidden' value='1.02') +input(name='attr_version' type='hidden' value='1.03') //- MIXINS include src/pug/_mixins.pug +-const imgSRC = 'https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids%20on%20Bikes%20Official/images'; + h1.logo - img(alt='Kids on Bike Character Sheet', src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/KOBLogo.png') + img(alt='Kids on Bike Character Sheet', src=`${imgSRC}/KOBLogo.png`) .grid.kob-row .grid.box.biobox each val in ['Name', 'Age', 'Fear', 'Motivation'] - const attrName = val.toLowerCase(); - img(alt=val src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-'+val+'.png') + img(alt=val src=`${imgSRC}/Label-${val}.png`) input(data-i18n-placeholder=val name='attr_character_'+attrName placeholder=val title='@{character_'+attrName+'}' type='text' value='') - img(src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Descriptions.png', alt='Description') + img(src=`${imgSRC}/Label-Descriptions.png`, alt='Description') textarea(name='attr_character_description' title='@{character_description}') - img(src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Adversity_updated.png' alt='Adversity') + img(src=`${imgSRC}/Label-Adversity_updated.png` alt='Adversity') .sheet-biolabelcol span.sheet-adversitytokens - let index = 1 @@ -27,14 +29,14 @@ h1.logo each val in ['Fight', 'Flight', 'Brains', 'Brawn', 'Charm', 'Grit'] - const attrName = val.toLowerCase(); button(name=val type='roll' value!='&{template:rolls}{{header=^{'+val+'}}} {{dice=[[@{'+attrName+'}!+?{modifier|0}]]}}') - img(alt=val src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-'+val+'.png') + img(alt=val src=`${imgSRC}/Label-${val}.png`) select(name='attr_'+attrName title='@{'+attrName+'}' value='d4') +diceSelect() .grid.kob-row .grid.box.strenghtsbox h2 - img.header(alt='Strengths' src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Strengths-1.png') + img.header(alt='Strengths' src=`${imgSRC}/Label-Strengths-1.png`) - const strengths =[{'attr' : 'cool', 'name' : 'COOL UNDER PRESSURE'}, {'attr' : 'easy_going', 'name' : 'EASY GOING'}, {'attr' : 'gross', 'name' : 'GROSS'}, {'attr' : 'heroic', 'name' : 'HEROIC'}, {'attr' : 'intuitive', 'name' : 'INTUITIVE'}, {'attr' : 'loyal', 'name' : 'LOYAL'}, {'attr' : 'lucky', 'name' : 'LUCKY'}, {'attr' : 'prepared', 'name' : 'PREPARED'}, {'attr' : 'protective', 'name' : 'PROTECTIVE'}, {'attr' : 'quick_healing', 'name' : 'QUICK HEALING'}, {'attr' : 'rebellious', 'name' : 'REBELLIOUS'}, {'attr' : 'tough', 'name' : 'TOUGH'}, {'attr' : 'treasure_hunter', 'name' : 'TREASURE HUNTER'}, {'attr' : 'unassuming', 'name' : 'UNASSUMING'}, {'attr' : 'wealthy', 'name' : 'WEALTHY'}] each s,i in strengths - const attrName = s.attr.split('attr_')[0]; @@ -49,7 +51,7 @@ h1.logo .grid.box.flawsbox h2 - img.header(alt='Flaws' src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Flaws-1.png') + img.header(alt='Flaws' src=`${imgSRC}/Label-Flaws-1.png`) - const flaws = [{'name': "ABSENT MINDED", "attr":"attr_absent_minded"},{"name": "BLUNT","attr":"attr_blunt" } ,{"name":"BOASTFUL", "attr":"attr_boastful"},{"name":"CLUMSY", "attr" : "attr_clumsy"},{"name":"CONCEITED", "attr":"attr_conceited"} , {"name":"COWARDLY", "attr": "attr_cowardly"},{"name": "DECEITFUL", "attr":"attr_deceitful"} , {"name":"DEMANDING", "attr": "attr_demanding"}, {'attr' :'attr_disloyal', 'name': 'DISLOYAL'}, {'attr' :'attr_disobedient', 'name' : 'DISOBEDIENT'}, {'attr' :'attr_dogmatic', 'name' :'DOGMATIC'}, {'attr' :'attr_envious', 'name' : 'ENVIOUS'}, {'attr' :'attr_flippant', 'name' :'FLIPPANT'}, {'attr' :'attr_gloomy', 'name' : 'GLOOMY'}, {'attr' :'attr_greedy', 'name' :'GREEDY'}, {'attr' :'attr_hot_tempered', 'name' :'HOT-TEMPERED'}, {'attr' :'attr_ignorant', 'name' :'IGNORANT'}, {'attr' :'attr_inconsiderate', 'name' :'INCONSIDERATE'}, {'attr' :'attr_insecure', 'name' :'INSECURE'}, {'attr' :'attr_irrational', 'name' :'IRRATIONAL'}, {'attr' :'attr_neurotic', 'name' :'NEUROTIC'}, {'attr' :'attr_obnoxious', 'name' :'OBNOXIOUS'}, {'attr' :'attr_paranoid', 'name' :'PARANOID'}, {'attr' :'attr_patronizing', 'name' :'PATRONIZING'}, {'attr' :'attr_perverse', 'name' :'PERVERSE'}, {'attr' :'attr_petty', 'name' :'PETTY'}, {'attr' :'attr_picky', 'name' :'PICKY'}, {'attr' :'attr_prejudice', 'name' :'PREJUDICE'}, {'attr' :'attr_prim', 'name' :'PRIM'}, {'attr' :'attr_reckless', 'name' :'RECKLESS'},{'attr' :'attr_resentful', 'name' :'RESENTFUL'}, {'attr' :'attr_restless', 'name' :'RESTLESS'}, {'attr' :'attr_rude', 'name' :'RUDE'}, {'attr' :'attr_secretive', 'name' :'SECRETIVE'}, {'attr' :'attr_selfcentered', 'name' :'SELF-CENTERED'}, {'attr' :'attr_selfpitying', 'name' :'SELF-PITYING'}, {'attr' :'attr_slovenly', 'name' :'SLOVENLY'}, {'attr' :'attr_superstitous', 'name' :'SUPERSTITIOUS'}, {'attr' :'attr_vain', 'name' :'VAIN'}, {'attr' :'attr_vindictive', 'name' :'VINDICTIVE'} ] each n in flaws - const attrName = n.attr.split('attr_')[0]; @@ -61,22 +63,21 @@ h1.logo .grid.kob-row .grid.box.powers h2 - img.header(alt='Powers' src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Powers-1.png') + img.header(alt='Powers' src=`${imgSRC}/Label-Powers-1.png`) textarea(data-i18n-placeholder='Powers' name='attr_powers' placeholder='Powers' title='@{powers}') .grid.box.backpack h2 - img.header(alt='Backpack' src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Backpack-1.png') + img.header(alt='Backpack' src=`${imgSRC}/Label-Backpack-1.png`) textarea(data-i18n-placeholder='Backpack' name='attr_backpack' placeholder='Backpack' title='@{backpack}') .grid.kob-row .grid.box.boxnotes h2 - img.header(alt='Notes' src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Kids-on-Bikes/images/Label-Notes-1.png') + img.header(alt='Notes' src=`${imgSRC}/Label-Notes-1.png`) textarea(data-i18n-placeholder='Notes' name='attr_notes' placeholder='Notes' title='@{notes}') //- ROLL TEMPLATE -//include src/pug/_rolltemplate.pug include src/pug/rolltemplate.html \ No newline at end of file