diff --git a/README.md b/README.md index 5e0fa02..06031b5 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ or et sang du livre et fournit : - les caractéristiques et statistiques dérivées de Ravenous ; - toutes les compétences générales officielles, les compétences maison et leurs modificateurs ; - les attaques et défenses sous forme de sections répétables et de jets Roll20 ; +- une page de santé détaillée par localisation (PV, protection et armure), ainsi que toutes les résistances physiques et élémentaires ; - les potions, nourritures et effets temporaires en texte libre, publiables dans le chat ; - l'ajout individuel des techniques d'école depuis les TSV du livre, avec @@ -83,3 +84,7 @@ secours Georgia/serif sont utilisées et toute la mise en page reste active. La prévisualisation intégrée de Roll20 ne simule pas complètement les sheet workers ni les sections répétables : validez les imports et les jets dans le bac à sable de feuille ou dans une partie de test. + +Pour utiliser **Défendre** depuis la carte d'une attaque, sélectionnez d'abord +le token du défenseur. La macro utilise alors sa compétence d'Esquive ou de +Parade et son modificateur temporaire, sans ajouter la caractéristique associée. diff --git a/build/build-info.json b/build/build-info.json index fa795c7..23cbe9b 100644 --- a/build/build-info.json +++ b/build/build-info.json @@ -4,5 +4,5 @@ "max_tier_exclusive": 5, "techniques": 232, "skills": 26, - "content_hash": "48d2e2aa2220" + "content_hash": "3803ef310b5b" } diff --git a/build/ravenous.css b/build/ravenous.css index 221bd43..09c30ce 100644 --- a/build/ravenous.css +++ b/build/ravenous.css @@ -4,7 +4,8 @@ .ravenous-sheet * { box-sizing:border-box; } .ravenous-sheet input,.ravenous-sheet select,.ravenous-sheet textarea { width:100%; border:0; border-bottom:1px solid var(--border); border-radius:0; background:rgba(251,249,243,.72); color:var(--ink); font:inherit; padding:4px 6px; box-shadow:none; } .ravenous-sheet input:focus,.ravenous-sheet select:focus,.ravenous-sheet textarea:focus { outline:2px solid rgba(155,128,80,.35); border-color:var(--dark-gold); } -.ravenous-sheet input[type=number] { text-align:center; } +.ravenous-sheet input[type=number] { text-align:center; appearance:textfield; -moz-appearance:textfield; } +.ravenous-sheet input[type=number]::-webkit-inner-spin-button,.ravenous-sheet input[type=number]::-webkit-outer-spin-button { margin:0; appearance:none; -webkit-appearance:none; } .ravenous-sheet input[type=checkbox] { width:auto; } .ravenous-sheet button { font-family:"Cinzel",Georgia,serif; } .hero { display:grid; grid-template-columns:70px 1fr 190px; gap:16px; align-items:center; padding:12px 14px; border:1px solid var(--gold); border-left:5px solid var(--blood); background:rgba(251,249,243,.7); } @@ -19,27 +20,42 @@ .tabs button { flex:1; padding:8px 5px; border:0; color:var(--muted); background:transparent; font-size:11px; } .tabs button:hover { color:var(--blood); background:var(--accent); } .page { display:none; } -.tab-state[value="core"]~.page-core,.tab-state[value="skills"]~.page-skills,.tab-state[value="combat"]~.page-combat,.tab-state[value="consumables"]~.page-consumables,.tab-state[value="classes"]~.page-classes { display:block; } +.tab-state[value="core"]~.page-core,.tab-state[value="skills"]~.page-skills,.tab-state[value="combat"]~.page-combat,.tab-state[value="health"]~.page-health,.tab-state[value="consumables"]~.page-consumables,.tab-state[value="classes"]~.page-classes { display:block; } .section-title { display:flex; align-items:center; gap:8px; margin:12px 0 8px; color:var(--blood); border-bottom:1px solid var(--gold); } .section-title span { color:var(--gold); } .section-title h2,.section-title h3 { margin:0; color:inherit; font:700 18px/1.8 "Cinzel",Georgia,serif; } .section-title.small h3 { font-size:15px; } .stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; } -.stat { display:grid; grid-template-columns:1fr 42px 46px; align-items:end; border:1px solid var(--border); background:rgba(251,249,243,.62); } -.stat label { padding:5px 7px; } -.stat input { font-size:18px; } -.stat>input { height:32px; background:var(--accent); } -.stat output { display:grid; place-items:center; height:32px; color:var(--light); background:var(--blood); font:bold 18px "Cinzel",serif; } +.stat { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; padding-top:5px; border:1px solid var(--border); background:rgba(251,249,243,.62); } +.stat strong { grid-column:1/-1; padding:0 7px 3px; color:var(--blood); font:700 11px "Cinzel",Georgia,serif; text-transform:uppercase; letter-spacing:.04em; } +.stat span { padding:0 4px 3px; color:var(--muted); font-size:8px; text-align:center; text-transform:uppercase; letter-spacing:.05em; } +.stat input { height:32px; margin:0; padding:4px; font-size:18px; line-height:24px; } +.stat input:nth-of-type(2) { background:var(--accent); } +.stat output { display:grid; place-items:center; height:32px; margin:0; color:var(--light); background:var(--blood); font:bold 18px/32px "Cinzel",serif; } .legend { text-align:right; color:var(--muted); font-size:10px; } .dashboard { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:14px; } -.resource { display:grid; grid-template-columns:1fr 12px 50px 48px; align-items:end; padding:5px 8px; background:var(--accent); border-left:3px solid var(--gold); } -.resource input,.resource output { display:inline-block; min-height:27px; font-size:17px; text-align:center; } +.resource { display:grid; grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr) minmax(0,.8fr); grid-template-rows:47px; gap:4px; align-items:end; min-width:0; padding:5px 8px; background:var(--accent); border-left:3px solid var(--gold); } +.resource label { display:grid; grid-template-rows:14px 28px; align-self:end; min-width:0; } +.resource input,.resource output { display:block; height:28px; min-height:28px; margin:0; padding:3px 4px; font-size:17px; line-height:22px; text-align:center; } +.resource>.resource-separator { display:grid; place-items:center; height:28px; margin:0; color:var(--dark-gold); font:700 9px/28px "Cinzel",Georgia,serif; text-transform:uppercase; } +.resource-blood label:last-child { grid-column:3/-1; } .derived-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:1px; margin:12px 0; background:var(--border); border:1px solid var(--border); } .derived-grid label { padding:7px; background:var(--light); text-align:center; } .derived-grid label>input[readonly] { display:block; color:var(--blood); background:transparent; font:700 18px "Cinzel",serif; } .derived-grid label>small { display:inline-block; color:var(--muted); font-size:8px; } .derived-grid label>input[type=number]:not([readonly]) { display:inline-block; width:42px; } .notes { display:block; } +.location-head,.location-row { display:grid; grid-template-columns:minmax(130px,1.5fr) repeat(5,minmax(70px,1fr)); gap:6px; align-items:center; } +.location-head { padding:5px 9px; color:var(--muted); font-size:9px; text-align:center; text-transform:uppercase; } +.location-grid { border:1px solid var(--border); } +.location-row { padding:7px 9px; background:rgba(251,249,243,.72); } +.location-row:nth-child(even) { background:rgba(237,225,200,.52); } +.location-row strong { color:var(--blood); font-family:"Cinzel",Georgia,serif; } +.location-row input[readonly] { color:var(--blood); background:var(--accent); font-weight:bold; } +.custom-location { margin:5px 0; border:1px solid var(--border); } +.resistance-title { margin:10px 0 4px; color:var(--dark-gold); font:700 12px "Cinzel",Georgia,serif; } +.resistance-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; } +.resistance-grid label { display:grid; grid-template-columns:1fr 48px; align-items:center; padding:5px 7px; background:var(--light); border-left:3px solid var(--gold); } .skill-toolbar,.class-picker,.skill-picker { display:flex; justify-content:space-between; align-items:end; gap:15px; padding:8px; background:var(--accent); } .skill-toolbar label { width:220px; } .skill-picker { margin-top:8px; background:var(--light); border:1px solid var(--border); } @@ -47,19 +63,26 @@ .skill-picker button { padding:7px 12px; color:white; border:0; background:var(--blood); } .skill-message { min-width:160px; color:var(--dark-gold); font-style:italic; } .skill-head,.skill-row { display:grid; grid-template-columns:28px minmax(150px,1fr) 140px 55px 55px 55px; gap:5px; align-items:center; padding:4px 6px; } +.skill-row select,.skill-row input,.custom-skill-row select,.custom-skill-row input { height:28px; margin:0; vertical-align:middle; } +.skill-row output,.custom-skill-row output { display:grid; place-items:center; min-height:28px; } .skill-head { color:var(--muted); font-size:9px; text-transform:uppercase; } .skill-category { margin-top:9px; padding:6px 9px; color:var(--blood); border-bottom:1px solid var(--gold); background:var(--accent); font:700 12px "Cinzel",Georgia,serif; } .skill-category span { margin-right:7px; color:var(--gold); } .skill-row:nth-of-type(even) { background:rgba(237,225,200,.52); } -.skill-row button[type=roll],.custom-skill-row button[type=roll],.combat-card button[type=roll] { width:24px; height:24px; border:1px solid var(--dark-gold); border-radius:50%; background:var(--blood); color:white; } -.skill-row button[type=roll]::before,.custom-skill-row button[type=roll]::before,.combat-card button[type=roll]::before { content:"◆"; font-size:9px; } +.skill-roll,.attack-roll,.combat-card button[type=roll] { display:grid; place-items:center; width:24px; min-width:24px; height:24px; margin:0; padding:0; border:1px solid var(--dark-gold); border-radius:50%; background:var(--blood); color:white; font-size:0; line-height:1; box-shadow:none; appearance:none; } +.skill-roll::before,.attack-roll::before,.combat-card button[type=roll]::before { content:"◆"; color:white; font-size:9px; line-height:1; } +.skill-roll:hover,.skill-roll:focus { border-color:var(--blood); background:var(--dark-gold); outline:2px solid rgba(155,128,80,.3); } .skill-name { font-weight:bold; } .skill-row output,.custom-skill-row output { text-align:center; color:var(--blood); font-weight:bold; } .custom-skill-row { display:grid; grid-template-columns:28px minmax(150px,1fr) 140px 55px 55px 55px; gap:5px; align-items:center; margin:5px 0; } .combat-card,.consumable-card,.technique-card { display:flex; flex-wrap:wrap; gap:7px; align-items:end; margin:8px 0; padding:9px; border:1px solid var(--border); border-left:4px solid var(--blood); background:rgba(251,249,243,.74); } .combat-card>.grow,.consumable-card>.grow { flex:1 1 190px; } .combat-card label { width:75px; } +.combat-card .attack-followup { display:none; } .combat-card textarea,.consumable-card textarea { flex-basis:100%; } +.attack-thresholds { display:flex; flex-basis:100%; gap:7px; align-items:end; padding:6px 8px; background:var(--accent); border-left:3px solid var(--gold); } +.attack-thresholds>span { flex:1; color:var(--muted); font-size:9px; text-transform:uppercase; } +.attack-thresholds label { width:75px; } .callout { padding:9px 12px; color:var(--muted); background:var(--accent); border-left:3px solid var(--gold); font-style:italic; } .consumable-card label:not(.active) { width:105px; } .active { display:flex; align-items:center; gap:5px; padding:5px; } @@ -86,7 +109,9 @@ .sheet-rolltemplate-ravenous .sheet-template-result { padding:10px; text-align:center; font-size:20px; } .sheet-rolltemplate-ravenous .sheet-template-skill-result { padding:9px; color:#7a2424; text-align:center; font:bold 16px Georgia,serif; } .sheet-rolltemplate-ravenous .sheet-template-row,.sheet-rolltemplate-ravenous .sheet-template-notes { padding:5px 9px; border-top:1px solid #c9bda4; } +.sheet-rolltemplate-ravenous .sheet-template-actions { display:flex; gap:6px; padding:7px 9px; border-top:1px solid #c9bda4; } +.sheet-rolltemplate-ravenous .sheet-template-actions a { flex:1; padding:5px 7px; color:#fbf9f3; border:1px solid #70582f; border-radius:2px; background:#7a2424; font:bold 11px Georgia,serif; text-align:center; text-decoration:none; } .sheet-rolltemplate-ravenous .sheet-template-row b { color:#7a2424; } .sheet-rolltemplate-ravenous .sheet-template-notes { color:#716957; font-style:italic; } -@media (max-width:760px) { .ravenous-sheet { min-width:0; padding:9px; }.hero { grid-template-columns:60px 1fr; }.motto { display:none; }.stat-grid { grid-template-columns:repeat(2,1fr); }.dashboard { grid-template-columns:repeat(2,1fr); }.derived-grid { grid-template-columns:repeat(3,1fr); }.tabs { flex-wrap:wrap; }.tabs button { flex-basis:33%; }.skill-head { display:none; }.skill-row,.custom-skill-row { grid-template-columns:28px 1fr 70px 45px 45px 45px; }.skill-row select,.custom-skill-row select { max-width:70px; } } +@media (max-width:760px) { .ravenous-sheet { min-width:0; padding:9px; }.hero { grid-template-columns:60px 1fr; }.motto { display:none; }.stat-grid { grid-template-columns:repeat(2,1fr); }.dashboard { grid-template-columns:repeat(2,1fr); }.derived-grid { grid-template-columns:repeat(3,1fr); }.tabs { flex-wrap:wrap; }.tabs button { flex-basis:33%; }.skill-head { display:none; }.skill-row,.custom-skill-row { grid-template-columns:28px 1fr 70px 45px 45px 45px; }.skill-row select,.custom-skill-row select { max-width:70px; }.location-head,.location-row { grid-template-columns:minmax(105px,1.5fr) repeat(5,minmax(54px,1fr)); gap:3px; }.resistance-grid { grid-template-columns:repeat(2,1fr); } } diff --git a/build/ravenous.html b/build/ravenous.html index 589eaf7..586142f 100644 --- a/build/ravenous.html +++ b/build/ravenous.html @@ -17,6 +17,7 @@ + @@ -25,34 +26,32 @@
✧

Caractéristiques

-
1
-
1
-
1
-
1
-
1
-
1
-
2
-
2
+
ForceBaseMod.Total1
+
AgilitéBaseMod.Total1
+
PerceptionBaseMod.Total1
+
IntelligenceBaseMod.Total1
+
VolontéBaseMod.Total1
+
PsyBaseMod.Total1
+
ChanceBaseMod.Total2
+
CharismeBaseMod.Total2

valeur + temporaire = finale. Les valeurs dérivées utilisent la valeur permanente.

-
/
-
/
-
/
-
/
-
-
/
+
sur
+
sur
+
sur
+
sur
+
sur
+
sur
- - - - - - + + + + @@ -60,6 +59,38 @@
+
+
♥

État des localisations

+

Les maxima de PV suivent les valeurs dérivées du chasseur. Chaque localisation conserve séparément ses PV, sa protection et l'état de son armure.

+
LocalisationPVPV max.ProtectionArmureArmure max.
+
+
Tête
+
Torse
+
Bras gauche
+
Bras droit
+
Jambe gauche
+
Jambe droite
+
+
◇

Localisations supplémentaires

+
+
+
+ +
◆

Résistances

+

Physiques

+
+ +
+

Élémentaires simples

+
+ +
+

Élémentaires complexes et autres

+
+ +
+
+
❖

Compétences

@@ -69,7 +100,7 @@
CompétenceCaractéristiqueBaseTemp.Total
◆Martial
- + Parade @@ -77,7 +108,7 @@ 0
- + Esquive @@ -85,7 +116,7 @@ 0
- + Encaissement @@ -93,7 +124,7 @@ 0
- + Initiative @@ -102,7 +133,7 @@
◆Généraliste
- + Sens commun @@ -110,7 +141,7 @@ 0
- + Négociation @@ -118,7 +149,7 @@ 0
- + Traque @@ -126,7 +157,7 @@ 0
- + Survie @@ -134,7 +165,7 @@ 0
- + Dépeçage @@ -142,7 +173,7 @@ 0
- + Médecine @@ -151,7 +182,7 @@
◆Athlétisme
- + Vigilence @@ -159,7 +190,7 @@ 0
- + Escalade @@ -167,7 +198,7 @@ 0
- + Discretion @@ -175,7 +206,7 @@ 0
- + Camouflage @@ -183,7 +214,7 @@ 0
- + Natation @@ -191,7 +222,7 @@ 0
- + Rodéo @@ -199,7 +230,7 @@ 0
- + Saisie @@ -207,7 +238,7 @@ 0
- + Chevauchée @@ -215,7 +246,7 @@ 0
- + Course @@ -223,7 +254,7 @@ 0
- + Dressage @@ -231,7 +262,7 @@ 0
- + Endurence @@ -239,7 +270,7 @@ 0
- + Acrobacie @@ -248,7 +279,7 @@
◆Connaissances
- + Enfants des calamités @@ -256,7 +287,7 @@ 0
- + Géographie @@ -264,7 +295,7 @@ 0
- + Flore @@ -272,7 +303,7 @@ 0
- + Minéraux @@ -282,7 +313,7 @@
◆

Compétences maison

- + @@ -296,14 +327,19 @@
⚔

Attaques

- + + + - + + + +
Seuils défensifs
◇

Défenses

@@ -359,7 +395,7 @@
-
{{title}}
{{#subtitle}}
{{subtitle}}
{{/subtitle}}{{#skillcheck}}
{{computed::outcome}}
Dé {{roll}}
Seuil {{threshold}}
Marge (seuil − dé) {{computed::margin}}
{{/skillcheck}}{{#result}}
{{result}}
{{/result}}{{#pool}}
Réserve {{pool}}
{{/pool}}{{#threshold}}{{^skillcheck}}
Seuil {{threshold}}
{{/skillcheck}}{{/threshold}}{{#damage}}
Dégâts {{damage}}
{{/damage}}{{#cost}}
Coût {{cost}}
{{/cost}}{{#duration}}
Durée {{duration}}
{{/duration}}{{#details}}
{{details}}
{{/details}}
+
{{title}}
{{#subtitle}}
{{subtitle}}
{{/subtitle}}{{#skillcheck}}
{{computed::outcome}}
Dé {{roll}}
Seuil {{threshold}}
Marge (seuil − dé) {{computed::margin}}
{{/skillcheck}}{{#attackcheck}}
{{computed::attack_successes}} réussite(s)
Jet {{attack_roll}}
{{/attackcheck}}{{#defense}}
{{computed::defense_successes}} réussite(s)
Jet {{defense_roll}}
{{/defense}}{{#finalsuccesses}}
Succès restants {{computed::finalsuccesses}}
{{/finalsuccesses}}{{#result}}{{^attackcheck}}
{{result}}
{{/attackcheck}}{{/result}}{{#pool}}
Réserve {{pool}}
{{/pool}}{{#threshold}}{{^skillcheck}}
Seuil {{threshold}}
{{/skillcheck}}{{/threshold}}{{#damagecalc}}
DMG {{computed::damage}}
{{/damagecalc}}{{#damage}}{{^damagecalc}}
DMG {{damage}}
{{/damagecalc}}{{/damage}}{{#breakdamage}}
AB {{breakdamage}}
{{/breakdamage}}{{#thresholds}}
Défenses {{thresholds}}
{{/thresholds}}{{#buttons}}
{{buttons}}
{{/buttons}}{{#cost}}
Coût {{cost}}
{{/cost}}{{#duration}}
Durée {{duration}}
{{/duration}}{{#details}}
{{details}}
{{/details}}