diff --git a/helpers/base.py b/helpers/base.py index 74b2612..887e581 100644 --- a/helpers/base.py +++ b/helpers/base.py @@ -25,6 +25,7 @@ on("change:base-Force change:base-Agilite change:general_skilllevel_Endurance_su // }); // dice_with_tanscendance + """ header="""
@@ -214,6 +215,41 @@ footer=""" + + +
+

{{name}}

+
{{subtags}}
+
+ {{#attack}} +
Attack: {{attack}} sucesses
+ {{#mode}} +
Mode: {{mode}} ({{usedammo}})
+ {{/mode}} + {{/attack}} + {{#damage}} +
+ Damage: {{damage}} +
+
+ Ammunition: {{ammocurrent}}/{{magsize}} | {{ammototal}} +
+ {{/damage}} + {{#damagedone}} +
+ Damage: {{damagedone}} +
+
+ Ammunition: {{ammocurrent}}/{{magsize}} | {{ammototal}} +
+ {{/damagedone}} + {{#special}} +
+ Special: {{special}} +
+ {{/special}} +
+
""" css_footer="""input.sheet-tab{ -moz-appearance: none; @@ -467,4 +503,92 @@ select.sheet-dice_select{ text-align:right; background-color: #999999; !important } + +.sheet-rolltemplate-d10Shooting .sheet-container { + background-color: #ffffff; + border: 1px solid; + padding: 2px; + width: 189px; +} + +.sheet-rolltemplate-d10Shooting .sheet-container h1 { + color: rgb(126, 45, 64); + font-size: 1.2em; + font-variant: small-caps; + line-height: 20px; +} + +.sheet-rolltemplate-d10Shooting div { + padding: 2px; +}; + +.sheet-rolltemplate-d10Shooting span { + color: rgb(126, 45, 64); + font-family: "Times New Roman", Times, serif; + font-size: 1.2em; + font-variant: small-caps; + line-height: 1.6em; + padding-left: 5px; + text-align: left; +} + +.sheet-rolltemplate-d10Shooting .sheet-subheader { + color: #000; + font-size: 1em; + font-style: italic; +} + +.sheet-rolltemplate-d10Shooting .sheet-arrow-right { + border-bottom: 2px solid transparent; + border-left: 180px solid rgb(126, 45, 64); + border-top: 2px solid transparent; +} + +.sheet-rolltemplate-d10Shooting .sheet-tcat { + font-style: italic; +} + +.sheet-rolltemplate-d10Shooting .inlinerollresult { + background-color: #ffffff; + border: none; +} + +.sheet-rolltemplate-d10Shooting .inlinerollresult.fullcrit { + color: #3FB315; + border: none; +} + +.sheet-rolltemplate-d10Shooting .inlinerollresult.fullfail { + color: #B31515; + border: none; +} + +.sheet-rolltemplate-d10Shooting .inlinerollresult.importandivoll { + color: #4A57ED; + border: none; +} + +select.sheet-weapon_type_select{ + line-height: 0px; + margin-bottom:0px; + margin: 0px; +} +label { + display: inline; + margin: 0px; + padding: 0px; +} +div.sheet-row{ + margin: 0px; + padding: 3px; +} +div.sheet-quickborder{ + border: 1px solid #ccc; + border-color: grey; + margin:5px; + padding:5px; +} +div.repeating_ranged-weapon{ + margin:5px; +} """ diff --git a/helpers/cyberpnk.txt b/helpers/cyberpnk.txt index 9e57303..0743590 100644 --- a/helpers/cyberpnk.txt +++ b/helpers/cyberpnk.txt @@ -7,6 +7,7 @@ - ⇥ Projectiles autopropulsés - ⇥ Armement laser - Artillerie +- ⇥ Projectiles balistiques - ⇥ Guidage de missiles - ⇥ Systemes de défences - ⇥ Balistique superlative @@ -123,3 +124,7 @@ + Contacts . Contacts + +@ Arsenal ++ Distance ++ Melée diff --git a/helpers/gen.html b/helpers/gen.html index a35f2f3..b9c8121 100644 --- a/helpers/gen.html +++ b/helpers/gen.html @@ -24,6 +24,7 @@ on("change:base-Force change:base-Agilite change:general_skilllevel_Endurance_su // }); // dice_with_tanscendance +
@@ -163,12 +164,13 @@ on("change:base-Force change:base-Agilite change:general_skilllevel_Endurance_su +
- - - - + + + +

Combat

@@ -291,6 +293,23 @@ on("change:base-Force change:base-Agilite change:general_skilllevel_Endurance_su
+ + + + + + +
@@ -885,9 +904,9 @@ on("change:base-Force change:base-Agilite change:general_skilllevel_Endurance_su
- - - + + +

Techniques

@@ -1583,9 +1602,9 @@ on("change:base-Force change:base-Agilite change:general_skilllevel_Endurance_su
- - - + + +

Sociales

@@ -1975,6 +1994,67 @@ on("change:base-Force change:base-Agilite change:general_skilllevel_Endurance_su
+ +
+ + +
+ + +
+
+
+ + + + + + + + + + +
+
+ + + Dégats + +
+
+ + + + + + + + + + + + + + + +
+
+
+
+ +

Melée

+
+
@@ -2025,3 +2105,38 @@ on("change:base-Force change:base-Agilite change:general_skilllevel_Endurance_su + + +
+

{{name}}

+
{{subtags}}
+
+ {{#attack}} +
Attack: {{attack}} sucesses
+ {{#mode}} +
Mode: {{mode}} ({{usedammo}})
+ {{/mode}} + {{/attack}} + {{#damage}} +
+ Damage: {{damage}} +
+
+ Ammunition: {{ammocurrent}}/{{magsize}} | {{ammototal}} +
+ {{/damage}} + {{#damagedone}} +
+ Damage: {{damagedone}} +
+
+ Ammunition: {{ammocurrent}}/{{magsize}} | {{ammototal}} +
+ {{/damagedone}} + {{#special}} +
+ Special: {{special}} +
+ {{/special}} +
+
diff --git a/helpers/gen3.html b/helpers/gen3.html new file mode 100644 index 0000000..37cd0db --- /dev/null +++ b/helpers/gen3.html @@ -0,0 +1,2139 @@ + + + + + + +
+
+ +
+ +
+
+
+
+

Ressources

+ + + + + + + + + + + + + + + + +

Points de Vie

Points de Fatigue

+
+
+ + + +
+ + + + + + + + +

Points de compétence :

Utilisés + +
Restants
+
+
+
+
+

Caractéristiques

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CaracValeurBonusLancer
Force
Agilité
Perception
Charisme
+
+
+

 

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CaracValeurBonusLancer
Intelligence
Volonté
Psyché
Chance
+
+
+
+ + + + + +
+ + + + +
+ +

Combat

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Physiques

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Implants

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Pilotage

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +
+ + + +
+ +

Techniques

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Connaissances

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Culture Générale

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +
+ + + +
+ +

Sociales

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Clandestines

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Contacts

+ +
+ + + + + +
+
+
+
+ +
+ + +
+ + +
+
+
+ + + + + + + + + + +
+
+ + + + +
+
+ + + + + + + + + + + + + + + +
+
+
+
+ +

Melée

+
+
+ +
+ + + + + + {{#rollWasCrit() result}} + + {{/rollWasCrit() result}} + {{#^rollWasCrit() result}} + {{#rollWasFumble() result}} + {{#rollGreater() result 1}} + + {{/rollGreater() result 1}} + {{#rollBetween() result 0 1}} + + {{/rollBetween() result 0 1}} + {{#rollLess() result 0}} + + {{/rollLess() result 0}} + {{/rollWasFumble() result}} + {{#^rollWasFumble() result}} + {{#rollGreater() result 1}} + + {{/rollGreater() result 1}} + {{#rollBetween() result 0 1}} + + {{/rollBetween() result 0 1}} + {{#rollLess() result 0}} + + {{/rollLess() result 0}} + {{/^rollWasFumble() result}} + {{/^rollWasCrit() result}} + +
{{name}} — {{roll_name}}
Test au d{{dice_name}} seuil {{threshold}}
Critique ! {{result}}x2 degrés de réussiteÉchec critique ! {{result}}/2 degrés de réussiteÉchec critique ! {{result}}/2 degré de réussiteÉchec critique ! {{result}}x2 degrés d'échec{{result}} degrés de réussite{{result}} degré de réussite{{result}} degrés d'échec
+
+ + + + +
{{name}} — {{roll_name}}
1d10+{{value}} = {{result}} + {{#rollWasCrit() result}} + +{{base}} + {{/rollWasCrit() result}} + {{#rollWasFumble() result}} + {{result}}-{{base}} + {{/rollWasFumble() result}} +
+
+ + +
+

{{name}}

+
{{subtags}}
+
+ {{#attack}} +
Attack: {{attack}} sucesses
+
Mode: {{mode}} ({{usedammo}})
+ {{/attack}} + {{#damage}} +
+ Damage: {{damage}} +
+
+ Ammunition: {{ammocurrent}}/{{magsize}} | {{ammototal}} +
+ {{/damage}} + {{#damagedone}} +
+ Damage: {{damagedone}} +
+
+ Ammunition: {{ammocurrent}}/{{magsize}} | {{ammototal}} +
+ {{/damagedone}} + {{#special}} +
+ Special: {{special}} +
+ {{/special}} +
+
diff --git a/helpers/gencss.css b/helpers/gencss.css index a3d3b99..e245bb0 100644 --- a/helpers/gencss.css +++ b/helpers/gencss.css @@ -1,26 +1,33 @@ div.sheet-tab-content { display: none; } input.sheet-tab1:checked ~ div.sheet-tab1, input.sheet-tab2:checked ~ div.sheet-tab2, -input.sheet-tab3:checked ~ div.sheet-tab3 +input.sheet-tab3:checked ~ div.sheet-tab3, +input.sheet-tab4:checked ~ div.sheet-tab4 { display: block; -} +} + input.sheet-secondary_physique_tab1:checked ~ div.sheet-secondary_physique_tab1, input.sheet-secondary_physique_tab2:checked ~ div.sheet-secondary_physique_tab2, input.sheet-secondary_physique_tab3:checked ~ div.sheet-secondary_physique_tab3, input.sheet-secondary_physique_tab4:checked ~ div.sheet-secondary_physique_tab4 { display: block; -} +} input.sheet-secondary_intelectuelles_tab1:checked ~ div.sheet-secondary_intelectuelles_tab1, input.sheet-secondary_intelectuelles_tab2:checked ~ div.sheet-secondary_intelectuelles_tab2, input.sheet-secondary_intelectuelles_tab3:checked ~ div.sheet-secondary_intelectuelles_tab3 { display: block; -} +} input.sheet-secondary_social_tab1:checked ~ div.sheet-secondary_social_tab1, input.sheet-secondary_social_tab2:checked ~ div.sheet-secondary_social_tab2, input.sheet-secondary_social_tab3:checked ~ div.sheet-secondary_social_tab3 +{ + display: block; +} +input.sheet-secondary_arsenal_tab1:checked ~ div.sheet-secondary_arsenal_tab1, +input.sheet-secondary_arsenal_tab2:checked ~ div.sheet-secondary_arsenal_tab2 { display: block; }input.sheet-tab{ @@ -275,3 +282,91 @@ select.sheet-dice_select{ text-align:right; background-color: #999999; !important } + +.sheet-rolltemplate-d10Shooting .sheet-container { + background-color: #ffffff; + border: 1px solid; + padding: 2px; + width: 189px; +} + +.sheet-rolltemplate-d10Shooting .sheet-container h1 { + color: rgb(126, 45, 64); + font-size: 1.2em; + font-variant: small-caps; + line-height: 20px; +} + +.sheet-rolltemplate-d10Shooting div { + padding: 2px; +}; + +.sheet-rolltemplate-d10Shooting span { + color: rgb(126, 45, 64); + font-family: "Times New Roman", Times, serif; + font-size: 1.2em; + font-variant: small-caps; + line-height: 1.6em; + padding-left: 5px; + text-align: left; +} + +.sheet-rolltemplate-d10Shooting .sheet-subheader { + color: #000; + font-size: 1em; + font-style: italic; +} + +.sheet-rolltemplate-d10Shooting .sheet-arrow-right { + border-bottom: 2px solid transparent; + border-left: 180px solid rgb(126, 45, 64); + border-top: 2px solid transparent; +} + +.sheet-rolltemplate-d10Shooting .sheet-tcat { + font-style: italic; +} + +.sheet-rolltemplate-d10Shooting .inlinerollresult { + background-color: #ffffff; + border: none; +} + +.sheet-rolltemplate-d10Shooting .inlinerollresult.fullcrit { + color: #3FB315; + border: none; +} + +.sheet-rolltemplate-d10Shooting .inlinerollresult.fullfail { + color: #B31515; + border: none; +} + +.sheet-rolltemplate-d10Shooting .inlinerollresult.importandivoll { + color: #4A57ED; + border: none; +} + +select.sheet-weapon_type_select{ + line-height: 0px; + margin-bottom:0px; + margin: 0px; +} +label { + display: inline; + margin: 0px; + padding: 0px; +} +div.sheet-row{ + margin: 0px; + padding: 3px; +} +div.sheet-quickborder{ + border: 1px solid #ccc; + border-color: grey; + margin:5px; + padding:5px; +} +div.repeating_ranged-weapon{ + margin:5px; +} diff --git a/helpers/generator.py b/helpers/generator.py index 7b7995b..690406e 100644 --- a/helpers/generator.py +++ b/helpers/generator.py @@ -61,7 +61,7 @@ class Root(Node): for child in self.children: ret+="\ninput.sheet-tab{node.number}:checked ~ div.sheet-tab{node.number},".format(node=child) ret=ret[:-1] - ret+="\n{\n display: block;\n}" + ret+="\n{\n display: block;\n}\n" for child in self.children: ret+=child.css() return ret @@ -95,7 +95,7 @@ class SubTab(Node): super(SubTab,self).__init__(name,nb) def header(self): - return """ \n""".format(self=self) + return """ \n""".format(self=self) def content(self): ret= '
\n'.format(self=self) diff --git a/helpers/old.html b/helpers/old.html new file mode 100644 index 0000000..668be0a --- /dev/null +++ b/helpers/old.html @@ -0,0 +1,2077 @@ + + + + + +
+
+ +
+ +
+
+
+
+

Ressources

+ + + + + + + + + + + + + + + + +

Points de Vie

Points de Fatigue

+
+
+ + + +
+ + + + + + + + +

Points de compétence :

Utilisés + +
Restants
+
+
+
+
+

Caractéristiques

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CaracValeurBonusLancer
Force
Agilité
Perception
Charisme
+
+
+

 

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CaracValeurBonusLancer
Intelligence
Volonté
Psyché
Chance
+
+
+
+ + + + +
+ + + + +
+ +

Combat

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Physiques

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Implants

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Pilotage

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +
+ + + +
+ +

Techniques

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Connaissances

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Culture Générale

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +
+ + + +
+ +

Sociales

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Clandestines

+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+
+
+ +

Contacts

+ +
+ + + + + +
+
+
+
+ +
+ + + + + + {{#rollWasCrit() result}} + + {{/rollWasCrit() result}} + {{#^rollWasCrit() result}} + {{#rollWasFumble() result}} + {{#rollGreater() result 1}} + + {{/rollGreater() result 1}} + {{#rollBetween() result 0 1}} + + {{/rollBetween() result 0 1}} + {{#rollLess() result 0}} + + {{/rollLess() result 0}} + {{/rollWasFumble() result}} + {{#^rollWasFumble() result}} + {{#rollGreater() result 1}} + + {{/rollGreater() result 1}} + {{#rollBetween() result 0 1}} + + {{/rollBetween() result 0 1}} + {{#rollLess() result 0}} + + {{/rollLess() result 0}} + {{/^rollWasFumble() result}} + {{/^rollWasCrit() result}} + +
{{name}} — {{roll_name}}
Test au d{{dice_name}} seuil {{threshold}}
Critique ! {{result}}x2 degrés de réussiteÉchec critique ! {{result}}/2 degrés de réussiteÉchec critique ! {{result}}/2 degré de réussiteÉchec critique ! {{result}}x2 degrés d'échec{{result}} degrés de réussite{{result}} degré de réussite{{result}} degrés d'échec
+
+ + + + +
{{name}} — {{roll_name}}
1d10+{{value}} = {{result}} + {{#rollWasCrit() result}} + +{{base}} + {{/rollWasCrit() result}} + {{#rollWasFumble() result}} + {{result}}-{{base}} + {{/rollWasFumble() result}} +
+
+ + +
+

{{name}}

+
{{subtags}}
+
+ {{#attack}} +
Attack: {{attack}} sucesses
+
Mode: {{mode}} ({{usedammo}})
+ {{/attack}} + {{#damage}} +
+ Damage: {{damage}} +
+
+ Ammunition: {{ammocurrent}}/{{magsize}} | {{ammototal}} +
+ {{/damage}} + {{#damagedone}} +
+ Damage: {{damagedone}} +
+
+ Ammunition: {{ammocurrent}}/{{magsize}} | {{ammototal}} +
+ {{/damagedone}} + {{#special}} +
+ Special: {{special}} +
+ {{/special}} +
+
diff --git a/helpers/weapon.html b/helpers/weapon.html new file mode 100644 index 0000000..8c1e983 --- /dev/null +++ b/helpers/weapon.html @@ -0,0 +1,79 @@ +
+
+
+ + + + + + + + + + +
+
+ + + Dégats + +
+
+ + + + + + + + + + + + + + + +
+
+ + + + +
+
+
+ + + + +
+
+ + + +
+
+ + + + + + + +
+