Added a ravenous Workaround
This commit is contained in:
parent
4006ae3e83
commit
589e5f7157
|
|
@ -196,9 +196,9 @@ if __name__ == '__main__':
|
|||
# filen=sys.argv[1]
|
||||
# filen="light.txt"
|
||||
import customs as custom_skills
|
||||
filen="cyberpnk.txt"
|
||||
output="systemd10cyberpunk.html"
|
||||
outcss="systemd10cyberpunk.css"
|
||||
filen="ravenous.txt"
|
||||
output="systemd10ravenous.html"
|
||||
outcss="systemd10ravenous.css"
|
||||
def parse(filen):
|
||||
root=Root()
|
||||
active_tab,active_subtab=None,None
|
||||
|
|
|
|||
|
|
@ -0,0 +1,131 @@
|
|||
@ Combat
|
||||
+ Résistances
|
||||
= Résistance Poisons (x)
|
||||
= Résistance Physique (s)
|
||||
- ⇥ Perçant (Choc) (s)
|
||||
- ⇥ Tranchant (Saignement) (s)
|
||||
- ⇥ Contondant (Étourdissement) (s)
|
||||
= Résistance Magique (s)
|
||||
- ⇥ Chaque Élément (s)
|
||||
|
||||
+ C. Secondaires
|
||||
= Torque
|
||||
= Vitesse
|
||||
- ⇥ Vitesse aérienne
|
||||
- ⇥ Saut hauteur
|
||||
- ⇥ Saut longueur
|
||||
= Actions
|
||||
= Jauge
|
||||
= Sang
|
||||
|
||||
+ Martial
|
||||
= Armes d’hast
|
||||
- ⇥ Lance
|
||||
- ⇥ Bâton
|
||||
= Armes tranchantes
|
||||
- ⇥ Épées
|
||||
- ⇥ Dagues
|
||||
- ⇥ Hache
|
||||
= Armes contondantes
|
||||
- ⇥ Marteau
|
||||
- ⇥ Armes improvisées
|
||||
= Armes colossales
|
||||
- ⇥ Rhödarak (marteau titanique)
|
||||
- ⇥ Haroth (épée titanique)
|
||||
- ⇥ Kahml (hache titanique)
|
||||
= Armes à Distance
|
||||
- ⇥ Arc
|
||||
- ⇥ Arbalète
|
||||
- ⇥ Canon
|
||||
|
||||
= Parade (x)
|
||||
= Esquive (x)
|
||||
= Encaissement N fois par tour (s)
|
||||
|
||||
+ Athlétisme
|
||||
= Vigilance
|
||||
= Escalade
|
||||
= Discrétion
|
||||
= Camouflage
|
||||
= Natation
|
||||
= Rodéo
|
||||
= Saisie
|
||||
= Équitation
|
||||
= Course
|
||||
|
||||
@ Generalistes
|
||||
+ Généraliste
|
||||
= Sens commun
|
||||
= Négociation
|
||||
= Traque
|
||||
= Survie
|
||||
- ⇥ Foret
|
||||
- ⇥ Montagnes
|
||||
- ⇥ Mers
|
||||
- ⇥ Désert
|
||||
- ⇥ Neige
|
||||
- ⇥ Marais
|
||||
- ⇥ Volcans
|
||||
- ⇥ Cavernes
|
||||
= Dépeçage
|
||||
- ⇥ Cuisine
|
||||
- ⇥ Essence
|
||||
- ⇥ Alchimie
|
||||
- ⇥ Armurerie
|
||||
- ⇥ Organes volatils
|
||||
= Médecine
|
||||
- ⇥ Premiers secours
|
||||
- ⇥ Chirurgie enjouée
|
||||
|
||||
+ Artisanat
|
||||
= Alchimie
|
||||
- ⇥ Poisons
|
||||
- ⇥ Remèdes
|
||||
- ⇥ Fortifiants
|
||||
= Cuisine
|
||||
- ⇥ Modération (Diminution des toxines)
|
||||
- ⇥ Assaisonnement (Catalysation des effets)
|
||||
- ⇥ Préparation des ingrédients
|
||||
= Pièges
|
||||
- ⇥ Préparation
|
||||
- ⇥ Pose
|
||||
- ⇥ Activation
|
||||
= Forge
|
||||
- ⇥ Armures
|
||||
- ⇥ Armes
|
||||
- ⇥ Gadgets
|
||||
= Brasserie
|
||||
- ⇥ Accompagnement
|
||||
- ⇥ Tonique
|
||||
- ⇥ Agrément
|
||||
= Récolte
|
||||
- ⇥ Minéraux légendaires
|
||||
- ⇥ Plantes légendaires
|
||||
|
||||
+ Connaissances
|
||||
= Fils des Calamités
|
||||
- ⇥ Béhémoth
|
||||
- ⇥ Dragon
|
||||
- ⇥ Guivre
|
||||
- ⇥ Léviathan
|
||||
- ⇥ Abyssal
|
||||
- ⇥ Baloth
|
||||
- ⇥ Célestial
|
||||
- ⇥ Yenui
|
||||
- ⇥ Roc
|
||||
- ⇥ Fenrir
|
||||
|
||||
= Géographie
|
||||
- ⇥ Royaume Tréorst
|
||||
- ⇥ Drekinsteips
|
||||
- ⇥ Noocracie Fangdraël
|
||||
- ⇥ Barronies Steigrund
|
||||
- ⇥ Jüngdorgaunt
|
||||
- ⇥ Eigladstorn
|
||||
= Flore
|
||||
- ⇥ Plantes médicinales
|
||||
- ⇥ Plantes toxiques
|
||||
- ⇥ Plantes légendaires
|
||||
= Minéraux
|
||||
- ⇥ Minéraux magiques
|
||||
- ⇥ Minéraux légendaire
|
||||
|
|
@ -0,0 +1,429 @@
|
|||
div.sheet-tab-content { display: none; }
|
||||
input.sheet-tab1:checked ~ div.sheet-tab1,
|
||||
input.sheet-tab2:checked ~ div.sheet-tab2
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
|
||||
input.sheet-secondary_combat_tab1:checked ~ div.sheet-secondary_combat_tab1,
|
||||
input.sheet-secondary_combat_tab2:checked ~ div.sheet-secondary_combat_tab2,
|
||||
input.sheet-secondary_combat_tab3:checked ~ div.sheet-secondary_combat_tab3,
|
||||
input.sheet-secondary_combat_tab4:checked ~ div.sheet-secondary_combat_tab4
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
input.sheet-secondary_generalistes_tab1:checked ~ div.sheet-secondary_generalistes_tab1,
|
||||
input.sheet-secondary_generalistes_tab2:checked ~ div.sheet-secondary_generalistes_tab2,
|
||||
input.sheet-secondary_generalistes_tab3:checked ~ div.sheet-secondary_generalistes_tab3
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
.sheet-header-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-rows: 1fr;
|
||||
gap: 0px 0px;
|
||||
grid-auto-flow: row;
|
||||
grid-template-areas:
|
||||
"sheet-centered-l sheet-centered-r";
|
||||
}
|
||||
|
||||
.sheet-centered-l { grid-area: sheet-centered-l; }
|
||||
.sheet-centered-r { grid-area: sheet-centered-r; }
|
||||
|
||||
div.sheet-main_tab-content { display: none; }
|
||||
input.sheet-main_tab1:checked ~ div.sheet-main_tab1,
|
||||
input.sheet-main_tab2:checked ~ div.sheet-main_tab2,
|
||||
input.sheet-main_tab3:checked ~ div.sheet-main_tab3,
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sheet-imagecontainer{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sheet-head_hp {
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
left: 50px;
|
||||
}
|
||||
.sheet-body_hp {
|
||||
position: absolute;
|
||||
top: 59px;
|
||||
left: 49px;
|
||||
}
|
||||
.sheet-left_arm_hp {
|
||||
position: absolute;
|
||||
top: 104px;
|
||||
left: 11px;
|
||||
}
|
||||
.sheet-right_arm_hp {
|
||||
position: absolute;
|
||||
top: 104px;
|
||||
left: 88px;
|
||||
}
|
||||
.sheet-left_leg_hp {
|
||||
position: absolute;
|
||||
top: 208px;
|
||||
left: 18px;
|
||||
}
|
||||
.sheet-right_leg_hp {
|
||||
position: absolute;
|
||||
top: 208px;
|
||||
left: 83px;
|
||||
}
|
||||
|
||||
|
||||
input.sheet-tab{
|
||||
-moz-appearance: none;
|
||||
width:150px;
|
||||
height: 20px;
|
||||
top: 5px;
|
||||
left: 6px;
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
content: attr(title);
|
||||
}
|
||||
input.sheet-tab::before{
|
||||
-moz-appearance: none;
|
||||
content: attr(title);
|
||||
border-radius:.5em;
|
||||
border:2px solid black;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
background: black;
|
||||
color:white;
|
||||
width: 150px;
|
||||
height: 20px;
|
||||
font-size: 18px;
|
||||
}
|
||||
input.sheet-tab:checked::before{
|
||||
-moz-appearance: none;
|
||||
background:#CCCCCC;
|
||||
color:black;
|
||||
border-radius:.5em;
|
||||
border:2px solid black;
|
||||
}
|
||||
|
||||
input.sheet-small_tab{
|
||||
-moz-appearance: none;
|
||||
width:120px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
margin:5px;
|
||||
}
|
||||
input.sheet-small_tab::before{
|
||||
-moz-appearance: none;
|
||||
content: attr(title);
|
||||
border-radius:.5em;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
color:white;
|
||||
background:black;
|
||||
border:2px solid black;
|
||||
width: 120px;
|
||||
height:20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
input.sheet-small_tab:checked::before{
|
||||
-moz-appearance: none;
|
||||
border:2px solid black;
|
||||
background:#CCCCCC;
|
||||
color:black;
|
||||
border-radius:.5em;
|
||||
}
|
||||
|
||||
input.sheet-skill_name{
|
||||
-moz-appearance: textfield;
|
||||
width:400px;
|
||||
}
|
||||
|
||||
input.sheet-skill_level{
|
||||
-moz-appearance: textfield;
|
||||
width:2.5em; !important;
|
||||
}
|
||||
|
||||
input.sheet-skill_hidden{
|
||||
visibility: hidden;
|
||||
}
|
||||
div.sheet-tab-content{
|
||||
border-top-color: #000;
|
||||
margin: 2px 0 0 0;
|
||||
}
|
||||
select.sheet-skill_select{
|
||||
width:55px;
|
||||
margin-bottom:-1px;
|
||||
}
|
||||
select.sheet-dice_select{
|
||||
width:85px;
|
||||
margin-bottom:-1px;
|
||||
}
|
||||
.sheet-trait{
|
||||
width: 25px !important;
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
.sheet-body_values{
|
||||
width: 25px !important;
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
.sheet-numberbox {
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-d10init table,
|
||||
.sheet-rolltemplate-d10skillcheck table {
|
||||
border-radius: 6px;
|
||||
width:100%;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding: 2px;
|
||||
border: 1px solid;
|
||||
background-color: #ffffff;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #000;
|
||||
border-image-source: none;
|
||||
}
|
||||
.sheet-rolltemplate-d10init .sheet-roll-title,
|
||||
.sheet-rolltemplate-d10init th,
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-title,
|
||||
.sheet-rolltemplate-d10skillcheck th {
|
||||
color: rgb(42, 42, 42);
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding-left: 5px;
|
||||
font-size: 1.2em;
|
||||
text-align: left;
|
||||
font-family: "Times New Roman", Times, serif;
|
||||
font-variant: small-caps;
|
||||
text-transform: capitalize;
|
||||
border-width: 0px;
|
||||
}
|
||||
.sheet-rolltemplate-d10init .sheet-roll-attr,
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-attr{
|
||||
color: #555555;
|
||||
font-size: 1em;
|
||||
font-style: italic;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding-left: 9px;
|
||||
border-width: 0px;
|
||||
margin-top: -10px;
|
||||
}
|
||||
.sheet-rolltemplate-d10init .sheet-roll-success,
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-success ,
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-fail {
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
border-width: 0px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-crit {
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
border-width: 0px;
|
||||
padding-left: 5px;
|
||||
background-color:#b0d6ad;
|
||||
}
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-fumble {
|
||||
padding-left: 5px;
|
||||
border-width: 0px;
|
||||
background-color:#d6adad;
|
||||
}
|
||||
.sheet-rolltemplate-d10init .sheet-inline,
|
||||
.sheet-rolltemplate-d10init .inlinerollresult,
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-inline,
|
||||
.sheet-rolltemplate-d10skillcheck .inlinerollresult {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
font-weight: bold;
|
||||
padding:0px;
|
||||
font-family: "Times New Roman", Times, serif;
|
||||
}
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-inline.sheet-fullcrit,
|
||||
.sheet-rolltemplate-d10skillcheck .inlinerollresult.fullcrit {
|
||||
color: #3FB315;
|
||||
border: none;
|
||||
}
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-inline.sheet-fullfail,
|
||||
.sheet-rolltemplate-d10skillcheck .inlinerollresult.fullfail {
|
||||
color: #B31515;
|
||||
border: none;
|
||||
}
|
||||
.sheet-rolltemplate-d10skillcheck .inlinerollresult.importantroll {
|
||||
color: #4A57ED;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-d10fight-blob{
|
||||
border-radius: 6px;
|
||||
border: 1px solid #898989;
|
||||
z-index: 1;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight table{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
text-align: left;
|
||||
width:100%;
|
||||
border:none;
|
||||
cellpadding:3px;
|
||||
cellspacing:0px;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-sum{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
border:none;
|
||||
text-align: right;
|
||||
padding-right:10px;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-success,
|
||||
.sheet-rolltemplate-d10fight .sheet-line{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding-left: 3px;
|
||||
border:none;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-critical{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
border:none;
|
||||
padding-left: 3px;
|
||||
border-radius: 4px;
|
||||
background-color:#b0d6ad;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-hit{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding-left: 3px;
|
||||
border-radius: 4px;
|
||||
background-color:#b0d6ad;
|
||||
border:none;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-miss{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding-left: 3px;
|
||||
border:none;
|
||||
border-radius: 4px;
|
||||
background-color:#d6adad;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-name{
|
||||
padding:0px;
|
||||
padding-left: 3px;
|
||||
margin:0px;
|
||||
border:none;
|
||||
border-radius: 4px;
|
||||
border-bottom-left-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
background-color: #999999;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-additional{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
border:none;
|
||||
padding-left:10px;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight-grey{
|
||||
color: #999999;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight-green{
|
||||
color: #009900;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight a,
|
||||
.sheet-rolltemplate-d10fight a[href^="!"],
|
||||
.sheet-rolltemplate-d10fight a[href^="~"]{
|
||||
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;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue