[data_generation] # This value should be overwriten by a relative path database = "./ravenous_databases/weapons.db" [classes] header = '''\begin{}[ presep = 0pt, postsep = 0pt, ]{ colspec = {Q[h,j,wd=3.5cm] Q[c,h, wd=0.52cm] h{2.5cm} Q[c,h,wd=0.75cm] Q[h,j,wd=8.4cm]}, hspan = minimal, vspan=minimal, {} width = 1\columnwidth, colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px, % row{1 } = {bg=coheaderschools, fg=white}, row{even } = {bg=coevenschools}, cells = {font = \footnotesize\selectfont}, % measure = vbox, } ''' sep = ''' \SetRow{white }&&&&\\''' tier = ''' \SetCell[c=5]{white } {\normalsize \textbf{ Tiers {} }} \\ \hline \SetRow{bg=coheaderschools}Technique & Niv & Type & Coût & Effet\\ \hline''' end = '''\end{longtblr}''' [craft] header_alchemy = '''\begin{landscape}\begin{center} \begin{longtblr}[ entry = none, label = none, ]{ colspec = {|X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]|}, cells = {font = \footnotesize\selectfont}, row{1} = {bg=cobluel, fg=white}, row{even} = {coblueL}, hspan = minimal, vspan=minimal, colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px, } \hline Ingrédient & Partie & Rareté & Effet (Principal) & Effets (Catalysé) & Difficulté & Toxicité \\ \hline''' header_armors = '''\begin{landscape}\begin{center} \begin{longtblr}[ entry = none, label = none, ]{ colspec = {|X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]Q[wd=4cm]|}, cells = {font = \footnotesize\selectfont}, row{1} = {bg=cobluel, fg=white}, row{even} = {coblueL}, hspan = minimal, vspan=minimal, colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px, } \hline Nom & Rareté & Dégâts & + & R.Max & Armor.B & Prot & Int. & Deux M & Une M & Esq. & Parr. & Vitesse & Discrétion & Spécial \\ \hline''' header_forge = ''' Ingrédient & Rareté & Densité & Effet Armes (Principal) & Effet Armures (Principal) & Effets Armes (Catalysé) & Effet Armures (C) & Difficulté & Préparation \\ \hline''' header_weapons = '''\begin{landscape}\begin{center} \begin{longtblr}[ entry = none, label = none, ]{ colspec = {|X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]Q[wd=4cm]|}, cells = {font = \footnotesize\selectfont}, row{1} = {bg=cobluel, fg=white}, row{even} = {coblueL}, hspan = minimal, vspan=minimal, colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px, } \hline Nom & \rotbx{Rareté} & \rotbx{Dégâts} & + & \rotbx{R.Max} & \rotbx{Armr.B} & \rotbx{Protbx} & \rotbx{Int.} & \rotbx{Deux M} & \rotbx{Une M} & \rotbx{Esq.} & \rotbx{Parr.} & \rotbx{Vitesse} & \rotbx{Discr.} & \rotbx{Catégorie} & \rotbx{Modes} & \rotbx{Spécial} \\ \hline''' header_food = '''\begin{landscape}\begin{center} \begin{longtblr}[ entry = none, label = none, ]{ colspec = {|X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]X[-1]|}, cells = {font = \footnotesize\selectfont}, row{1} = {bg=cobluel, fg=white}, row{even} = {coblueL}, hspan = minimal, vspan=minimal, colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px, } \hline Ingrédient & Partie & Rareté & Satiété & Effet (Plat) & Effets (Accompagnement) & Difficulté & Toxicité \\ \hline''' header_mtrap = '''\begin{landscape}\begin{center} \begin{longtblr}[ entry = none, label = none, ]{ colspec = {|X[-1]X[-1]X[-1]X[-1]X[-1]|}, cells = {font = \footnotesize\selectfont}, row{1} = {bg=cobluel, fg=white}, row{even} = {coblueL}, hspan = minimal, vspan=minimal, colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px, } \hline Élément & Prix & Effet & Difficulté & Activation & Solidité \\ \hline''' header_traps = ''' Nom & Type & Prix & Toxicité & Effet \\ \hline''' header_gadgets ='''\begin{center} \begin{longtblr}[ entry = none, label = none, ]{ colspec = {|X[-1]XX[-1]|}, cells = {font = \footnotesize\selectfont}, row{1} = {bg=cobluel, fg=white}, row{even} = {coblueL}, hspan = minimal, vspan=minimal, colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px, } \hline Nom & Effet & Prix\\''' header_potions = '''\begin{center} \begin{longtblr}[ entry = none, label = none, ]{ colspec = {|X[-1]X[-1]X[-1]X[-1]X|}, cells = {font = \footnotesize\selectfont}, row{1} = {bg=cobluel, fg=white}, row{even} = {coblueL}, hspan = minimal, vspan=minimal, colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px, } \hline Nom & Type & Prix & Toxicité & Effet \\ \hline''' end = ''' \hline \end{tblr} }''' end_long = ''' \hline \end{longtblr} \end{center} ''' end_long_side = ''' \hline \end{longtblr} \end{center}\end{landscape}''' end_empty = "" [monster] common_part = ''' {{#with data}} \begin{tblr}{ vspan=even, hspan=minimal, colspec={X[-1] X[-1]}, cell{1}{1}={c=2}{c}, } {{#if image}}\includegraphics[height=5cm]{ {{{~image~}}} } & \\ {{/if}} & \\ Nom & {{{name}}} \\ {{#if denomination}}Dénomination & {{{denomination}}} \\ {{/if}}{{#if calamity}}Calamité & {{{calamity}}} \\ {{/if}}{{#if danger_level}}Niveau de danger (HSE) & {{{danger_level}}} \\ {{/if}}& \\ {{#if habitat}}Habitat & \SetCell{font=\footnotesize} {{{habitat}}} \\ {{/if}}{{#if dysmorphism}}Dysmorphisme & \SetCell{font=\footnotesize} {{{dysmorphism}}} \\ {{/if}}{{#if colors}}Couleurs & \SetCell{font=\footnotesize} {{{colors}}} \\ {{/if}}{{#if default_human_reaction}}Réaction à l'homme & \SetCell{font=\footnotesize} {{{default_human_reaction}}} \\ {{/if}}{{#if variants}}Variantes & \SetCell{font=\footnotesize} {{{variants}}}\\ {{/if}}{{#if size}}Taille & \SetCell{font=\footnotesize} {{{size}}}\\ {{/if}}{{#if traces}}Traces de pas & \SetCell{font=\footnotesize} {{{traces}}}\\ {{/if}}{{#if habits}}Mœurs & \SetCell{font=\footnotesize} {{{habits}}} \\ {{/if}}\end{tblr} \vfill \begin{tblr}{ colspec={X[-1]}, hline{2,4,6}, row{2,4,6}={font=\footnotesize} } {{#if description}}\textbf{Description} \\ {{{description}}} \\ {{/if}} {{#if annotations}}\textbf{Annotations} \\ {{{annotations}}} \\ {{/if}} \textbf{Récompenses} \\ \end{tblr} \begin{tblr}{ colspec={X[1] X[1,c] X[2,c] X[3,j]}, vspan=even, hspan=minimal, row{1-Z}={font=\footnotesize}, rows={m}, } {{/with}}{{#with stats}} \SetCell[c=3]{j} Sang (base, combat, dépeçage) & & & {{{blood_base}}}, {{{blood_battle}}}, {{{blood_carve}}} \\ {{/with}}{{#with rewards}}{{#each rewards}} {{{name}}} & {{{category}}} & {{#if cost}} {{{cost}}} & {{{effect}}} {{else}} \SetCell[c=2]{j} {{{effect}}} & {{/if}} \\ {{/each}}{{/with}} \end{tblr} \vfill \pagebreak ''' master_part = ''' \begin{tblr}{ colspec={X[l,-1] X[-1] X[-1] X[] X[] X[-1] X[-1] X[] X[]}, rowspec={X[t] X[t,c] X[c,2em] X[c,2em] X[c,2em] X[c,2em] X[c,2em] X[c,2em] X[c,2em] X[c,2em] X[c,2em] X[j,5em]}, hspan=minimal, cell{1}{2}={c=4}{c}, cell{1}{6}={c=4}{c}, row{2,12}={font=\footnotesize}, vline{6} = {2-11}{solid}, } & P1 & & & & P2 & \\ & Seuil & Prot & Intégrité & PV & Seuil & Prot & Intégrité & PV\\ \hline {{#with stats as |s|}} {{#each ../body_parts.body_parts}} \SetCell{font=\footnotesize} {{{body_part_name}}} & ${{{threshold_p1}}} $ & ${{{plus s.strength protection_p1}}}[{{{protection_p1}}}]$ & \SetCell{r,f}\tiny ${{{integrity_p1}}} $ & \SetCell{r,f}\tiny ${{{life_points_p1}}} $ & ${{{threshold_p2}}} $ & ${{{plus s.strength protection_p1}}}[{{{protection_p1}}}]$ & \SetCell{r,f}\tiny ${{{integrity_p2}}} $ & \SetCell{r,f}\tiny ${{{life_points_p2}}} $\\ {{/each}} {{/with}} {{#if data.annotations_master}} \hline \SetCell[c=9]{j,h} {\textbf{Notes} \\ {{{data.annotations_master}}}}\\ {{/if}} \hline \end{tblr} \begin{center} \begin{tblr}{ colspec={Q[3.5em] Q[1.6em] Q[1.6em] Q[1.6em] Q[1.6em] Q[1.6em] Q[1.6em] Q[1.6em] Q[1.6em] Q[1.6em] Q[1.6em] Q[1.6em] Q[1.6em]}, rowspec={Q[c,f] Q[c,m] Q[c] Q[c] Q[c] Q[c] Q[c] Q[c] Q[c] Q[c] Q[c]}, row{3-11}={font=\tiny}, } & & & & & & & & & & & & & \\ \SetCell{c} Res & \slash & \pierce & \blunt & \symceleste & \symfire & \symearth & \symwood & \symmagma & \symabyss & \symwater & \symwind & \symice & \symthunder \\ \hline {{#each body_parts.body_parts}} \SetCell{font=\footnotesize} {{{body_part_name}}} & ${{{slash}}} $ & ${{{piercing}}} $ & ${{{blunt}}} $ & ${{{celestial}}} $ & ${{{fire}}} $ & ${{{earth}}} $ & ${{{wood}}} $ & ${{{magma}}} $ & ${{{celeste}}} $ & ${{{water}}} $ & ${{{wind}}} $ & ${{{ice}}} $ & ${{{thunder}}} $ \\ {{/each}} \end{tblr} \end{center} \begin{tblr}{ colspec={c c c c c c c c c c c c c c c c c c c c c {{#if elemental_bonus}}c{{/if}}}, row{2}={font=\footnotesize}, row{3-6}={font=\tiny}, } & \SetCell[c=2]{c} P1 & & \SetCell[c=2]{c} P2 & & & \SetCell[c=7]{c} Stats & & & & & & & & \SetCell[c=4]{c} Mouvement & & & & & Extra & \\ \cline{2-3} \cline{4-5} \cline{7-13} \cline{15-18} \cline{20-21} \rb{Initiative} & \rb{Valeur} & \rb{Actions} & \rb{Valeur} & \rb{Actions} & & \rb{Force} & \rb{Perception} & \rb{Volonté} & \rb{Res Alt} & \rb{Torque} & \rb{Vigilance} & \rb{Fatigue} & & \rb{Marche} & \rb{Trot} & \rb{Course} & \rb{Vol} & & \rb{Bon. Phy} {{#if elemental_bonus}}& \rb{Bon. Élém} {{/if}}\\ {{#each init_full}} {{#if @index}} \SetCell{font=\footnotesize} $t_{{(plus @index 1)}} $ & ${{{p1_value}}} $ & {{{pt1_actions}}} & ${{{p2_value}}} $ & {{{p2_actions}}} \\ {{else}} {{#with ../stats~}} \SetCell{font=\footnotesize} $t_1 $ & ${{{p1_init}}} $ & $4 $A & ${{{p2_init}}} $ & $4 $A & & ${{{strength}}} $ & ${{{perception}}} $ & ${{{willpower}}} $ & ${{{alteration_resistance}}} $ & ${{{torque}}} $ & ${{{awareness}}} $ & ${{{fatigue}}} $ & & ${{{mvt_walk}}} $ & ${{{mvt_trot}}} $ & ${{{mvt_run}}} $ & ${{{mvt_flight}}} $ & & ${{{physical_bonus_dmg}}} $ {{#if elemental_bonus_dmg}} & ${{elemental_bonus_dmg}} $ {{/if}} \\ {{/with}} {{/if}} {{/each}} \end{tblr} \vfill {{#if (len all_attacks.phases)}} \pagebreak {\scriptsize \begin{longtblr}{ colspec={X[0.05] X[2.5,l] X[1,c] X[1,c] X[0.3,c] X[0.3,c] X[0.3,c] X[0.3,c] X[0.3,c] X[2,r] X[4,l] X[0.3,c] X[0.3,c]}, hspan=minimal, colsep=2pt, row{2}={font=\tiny}, rowhead=2, } & & & & & \SetCell[c=2]{c} Coûts & & & \SetCell[c=2]{c} Dégâts & & & \SetCell[c=2]{c} Seuils & \\ \cline{6-7} \cline{9-10} \cline{12-13} {{#each all_attacks.phases as | phase |}} \SetHline{1}{0pt} {{#if @first}} & {\scriptsize\SetCell{white} \textsc{ {{{~@key~}}} }} & {Type} & {Préquis} & \rb{Ciblage} & \rb{Fatigue} & \rb{Action} & \rb{Élément} & \rb{Fatigue} & \SetCell{c} \rb{Normaux} & {Effets} & \rb{Parade} & \rb{Esquive} \\ {{else}} \SetCell[c=13]{white} \textsc{ {{{~@key~}}} } & & & & & & & & & & \\ {{/if}} {{#each phase as | attack_group |}} \hline {{#each attack_group.attacklist}} \SetCell{bg={{{../color}}}} & {{{name}}} & {{{attack_type}}} & {{{prerequisites}}} & {{{targetting}}} & {{{cost_fatigue}}} & {{{cost_action}}} & {{{element}}} & {{{damage_fatigue}}} &{{{damage_regular}}} {{{success}}}& {{#if armor_break}} {{{armor_break}}}\arbreakk{} {{/if}} {{{effects}}} & {{{threshold_parry}}} & {{{threshold_dodge}}} \\ {{/each}} {{#if description_final}}\SetCell{bg={{{color}}}} & \SetCell[c=12]{j} {{{description_final}}} & & & & & & & & & & \\ {{/if}} \hline {{/each}} {{/each}} \end{longtblr} } \vfill {{/if}} {{#with data}} \pagebreak \begin{tblr}{ colspec={X[7] {{#if intent_graph}}|X[3] {{/if~}} }, rowspec={X[c] X[j,h,8cm]}, hline{2}, row{2}={font=\footnotesize}, } Plan de combat {{#if intent_graph}}& Graphique d'intentions{{/if}} \\ {{{battle_plan}}} {{#if intent_graph}}& {{{intent_graph}}}{{/if}} \\ \end{tblr} \vfill \pagebreak {{/with}} ''' color_table=''' ATK: ravred MVT: ravblu DEF: ravgrn PAS: ravgrnL REV: ravgrn CLM: ravgrnD TRA: ravora ASE: ravred STA: ravwhi CMB: ravred FLR: ravred GRB: ravred TBU: ravredD TSH: ravredD TBZ: ravredD CLV: ravred AOE: ravred WID: ravred WIP: ravredD SZO: ravwhi SIT: ravwhi SRG: ravpur HRG: ravpur BAD: ravora BIS: ravredD BYP: ravredD ''' default_color='' [weapons] template=''' \begin{landscape}\begin{center} \begin{longtblr}[ entry = none, label = none, ]{ colspec = {|QQQQQQQQQQQQQQQQQ|}, cells = {font = \footnotesize\selectfont}, row{1} = {bg=cobluel, fg=white}, row{even} = {coblueL}, hspan = minimal, vspan=minimal, colsep = 2mm, abovesep=0px,belowsep=0px, leftsep=3px, rightsep=3px, rowhead = 1, } \hline {Forme} & {Maniement} & {\damagew} & + & {R.Max} & \arbreakw & \protection & \integrite & $\mathbb{T}$2 & $\mathbb{T}$1 & {Modes} & {Esq.} & {Par.} & {Vit.} & {Disc.} & {Spécial} & {Diff.} \\ \hline {{#each this}} {{name}} & {{maniement}} & {{damage_base}} & {{damage_per}} & {{rmax}} & {{arbreak}} & {{protection}} & {{integrity}} & {{torque_two_handed}} & {{torque_one_handed}} & $\mathbf{ {{{~modes~}}} }$ & {{esquive}} & {{parrade}} & {{vitesse}} & {{discretion}} & {{{special}}} & \ddlvl{ {{~difficulty~}} } \\ {{#if needs_break}} \hline \hline {{/if}} {{/each}} \hline \end{longtblr} \end{center} \end{landscape} ''' # Nom & \rotbx{Rareté} & \rotbx{Dégâts} & + & \rotbx{R.Max} & \rotbx{Armr.B} & \rotbx{Protbx} & \rotbx{Int.} & \rotbx{Deux M} & \rotbx{Une M} & \rotbx{Esq.} & \rotbx{Parr.} & \rotbx{Vitesse} & \rotbx{Discr.} & \rotbx{Catégorie} & \rotbx{Modes} & \rotbx{Spécial} \\