All player builder & Jenkins update
This commit is contained in:
parent
83c37b5607
commit
3a7d81fbc8
|
|
@ -125,32 +125,33 @@ pipeline {
|
|||
def runBuild(String deployDir) {
|
||||
sh "echo \"Deploying to ${deployDir}\""
|
||||
// Create the directories needed for fonts / radar images
|
||||
sh 'mkdir -p ~/.local/share/fonts/'
|
||||
sh 'mkdir -p ./Images/Radar/'
|
||||
sh 'mkdir -p ./Bestiaire/'
|
||||
// sh 'mkdir -p ~/.local/share/fonts/'
|
||||
// sh 'mkdir -p ./Images/Radar/'
|
||||
// sh 'mkdir -p ./Bestiaire/'
|
||||
|
||||
sh 'ravenous-tools tablegen -e all'
|
||||
sh 'ls ravenous_databases'
|
||||
sh 'ravenous-tools monsters export --all'
|
||||
// sh 'ravenous-tools tablegen -e all'
|
||||
// sh 'ls ravenous_databases'
|
||||
// sh 'ravenous-tools monsters export --all'
|
||||
|
||||
|
||||
// Move the font into place (only needs doing once)
|
||||
sh 'mv ./Ressources/lmroman8-regular.ttf ~/.local/share/fonts/'
|
||||
// // Move the font into place (only needs doing once)
|
||||
// sh 'mv ./Ressources/lmroman8-regular.ttf ~/.local/share/fonts/'
|
||||
|
||||
// Load and generate graphs
|
||||
sh 'ravenous-tools graphs load'
|
||||
sh 'ravenous-tools graphs generate'
|
||||
/// Generate craft
|
||||
sh 'ravenous-tools weapons all -e ./Craft/'
|
||||
// // Load and generate graphs
|
||||
// sh 'ravenous-tools graphs load'
|
||||
// sh 'ravenous-tools graphs generate'
|
||||
// /// Generate craft
|
||||
// sh 'ravenous-tools weapons all -e ./Craft/'
|
||||
|
||||
/* Build each of the three TeX documents twice – once for a
|
||||
normal build, once to make sure the glossary / cross‑refs
|
||||
are correctly updated. */
|
||||
['Player_handbook.tex',
|
||||
'Master_handbook.tex',
|
||||
'Ravenous.tex'].each { texFile ->
|
||||
sh "ravenous-tools make -N ${texFile}"
|
||||
sh "ravenous-tools make -t glossaries ${texFile}"
|
||||
sh "ravenous-tools make -N ${texFile}" // second build for correct references
|
||||
}
|
||||
// /* Build each of the three TeX documents twice – once for a
|
||||
// normal build, once to make sure the glossary / cross‑refs
|
||||
// are correctly updated. */
|
||||
// ['Player_handbook.tex',
|
||||
// 'Master_handbook.tex',
|
||||
// 'Ravenous.tex'].each { texFile ->
|
||||
// sh "ravenous-tools make -N ${texFile}"
|
||||
// sh "ravenous-tools make -t glossaries ${texFile}"
|
||||
// sh "ravenous-tools make -N ${texFile}" // second build for correct references
|
||||
// }
|
||||
sh './build.sh full'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -441,7 +441,12 @@
|
|||
name=Réussite partielle,
|
||||
description={Principalement utilisé lors de jets défensifs, une réussite partielle signifie que le jet en question a obtenu au moins une réussite, mais tout de même moins de réussites que celui auquel il s'oppose.}
|
||||
}
|
||||
|
||||
\newglossaryentry{torque}
|
||||
{
|
||||
name=Torque,
|
||||
symbol=\torque,
|
||||
description={Le Torque est la capacité d'imposer sa volonté sur le monde physique. \longreference{sec:torque}{Torque}.}
|
||||
}
|
||||
\newglossaryentry{precision}
|
||||
{
|
||||
name=Précision,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
\documentclass[11pt,a4paper,]{book}
|
||||
\def\alternateText{yes}
|
||||
\input{Misc/Setup.tex}
|
||||
\input{Misc/Setup.tex}
|
||||
|
||||
\begin{document}
|
||||
\pagestyle{plain}
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
\chapter{Introduction}
|
||||
\fluff{
|
||||
Hem. Heu. Rmhmmhm! Ah, euh, oui... hem... bonjour!
|
||||
Je, hem, j'ai été chargé par le Seigneur de Tréorst de faire cette conférence pour vous expliquer à vous — humains — comment nous chassons. \\ \\
|
||||
Je, hem, j'ai été chargé par le Seigneur de Tréorst de faire cette conférence pour vous expliquer à vous - humains - comment nous chassons. \\ \\
|
||||
Je vais faire de mon mieux pour vous expliquer comment les choses se déroulent, comment on procède sur le terrain ; mais je ne vous mentirais pas, c'est difficile à expliquer et certainement à comprendre. Après tout, la chasse est plus un art qu'une science ou qu'un travail. Pour la plupart d'entre nous, chasser est une passion, une pulsion, un instinct impérieux mais aussi... toute notre vie. Nous parlons chasse, rions chasse, buvons chasse et chassons chasse ! \\ \\
|
||||
… \\
|
||||
Hem, bien. Commençons par le commencement. \\ \\
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Tier 1 I
|
||||
Technique Niv Type Coût Effet Support Dégats Survivabilité Mobilité C.C Altérations QoL AB Compléxité
|
||||
Murmures Funestes 1 Passif (Abyssal) 6🩸 Les attaques portées depuis hors de la \gls{zone_combat} gagnent un point de \gls{parmure} \glssym{parmure}. 1 3.5
|
||||
Murmures Funestes 2 Passif (Abyssal), Exclusif 2🩸 Les attaques portées depuis hors de la \gls{zone_combat} gagnent deux points de \gls{parmure} \glssym{parmure} à la place. 1.5
|
||||
Murmures Funestes 1 Passif (Abyssal) 6🩸 Les attaques portées depuis hors de la \gls{zone_combat} gagnent un point de \gls{parmure} \glssymbol{parmure}. 1 3.5
|
||||
Murmures Funestes 2 Passif (Abyssal), Exclusif 2🩸 Les attaques portées depuis hors de la \gls{zone_combat} gagnent deux points de \gls{parmure} \glssymbol{parmure} à la place. 1.5
|
||||
Maître des Poisons 1 Passif (Abyssal) 4🩸 Jusqu'à deux fois par combat utiliser un consommable est une action gratuite, la durée de ces consommables est aussi doublée. 0.5 0.5
|
||||
Maître des Poisons 2 Passif (Abyssal), Exclusif 6🩸 Vous pouvez bénéficier de cet effet une fois par tour. 0.5 0.5
|
||||
Tir Brutal 1 Actif (Abyssal), Exclusif, Final 4🩸 2⚡ Votre prochaine attaque gagne +2d et gagne aussi +2 réussites maximales pour chaque action investie. Vous pouvez investir jusqu'à 3 actions. Perdez immédiatement tous ces bonus si vous sortez du combat. 1
|
||||
|
|
|
|||
|
|
|
@ -0,0 +1,57 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# build_and_rename.sh
|
||||
#
|
||||
# This script reads a tiny “configuration” (defined right inside the
|
||||
# file, but it can be replaced by an external .conf or .txt file).
|
||||
#
|
||||
# For every entry in that configuration it will:
|
||||
# * call `./build.sh player` with the options supplied for that
|
||||
# entry,
|
||||
# * rename/move the produced PDF (`Player_handbook_build.pdf`)
|
||||
# to the name specified by the entry.
|
||||
#
|
||||
# Example usage (from a terminal in the directory containing this
|
||||
# script and build.sh):
|
||||
#
|
||||
# ./build_and_rename.sh
|
||||
#
|
||||
# ------------------------------------------------------------------
|
||||
set -euo pipefail # Fail fast on error, treat unset vars as errors
|
||||
|
||||
#######################
|
||||
## Configuration area ##
|
||||
#######################
|
||||
|
||||
# Each line has: <output_name> [options…]
|
||||
mkdir Handbooks
|
||||
entries=(
|
||||
"Handbooks/Player_handbook_eduald -o origines_stats_handbook_abyssal_1"
|
||||
"Handbooks/Player_handbook_michel -o fra"
|
||||
# Add more lines like above as needed
|
||||
)
|
||||
|
||||
##########################
|
||||
## Main processing loop ##
|
||||
##########################
|
||||
|
||||
for entry in "${entries[@]}"; do
|
||||
# Split the string into the name (first word) and the options (rest)
|
||||
output_name="${entry%% *}" # Everything before first space
|
||||
options="${entry#$output_name }" # Everything after that
|
||||
|
||||
echo "=== Building for '$output_name' with options: $options ==="
|
||||
|
||||
# Run your build script
|
||||
./build.sh player $options
|
||||
|
||||
# The build script is expected to produce Player_handbook_build.pdf.
|
||||
# Move/rename it to the desired output name.
|
||||
mv -f Player_handbook_build.pdf "${output_name}.pdf"
|
||||
|
||||
echo "'$output_name'.pdf ready."
|
||||
done
|
||||
|
||||
echo
|
||||
echo "All entries processed successfully."
|
||||
2
build.sh
2
build.sh
|
|
@ -189,6 +189,7 @@ case "$MODE" in
|
|||
echo ">>> Executing MASTER build (with args: ${MAKE_ARGS[@]})..."
|
||||
|
||||
mkdir -p ./Bestiaire/
|
||||
mkdir -p ./Handbooks/
|
||||
run_podman monsters export --all
|
||||
run_podman graphs load
|
||||
run_podman graphs generate
|
||||
|
|
@ -215,6 +216,7 @@ case "$MODE" in
|
|||
run_podman make -t clean Ravenous_build.tex || exit $?
|
||||
run_podman graphs remove || exit $?
|
||||
rm -f ./Ravenous_build.* ./Player_handbook_build.* Bestiaire/*
|
||||
rm -f ./Handbooks/*
|
||||
|
||||
echo "--- Cleanup Completed Successfully ---"
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 0d07e369f808e7eca4585b3ae9ce498269cf4f9b
|
||||
Subproject commit 6946a1cdfb7096163695b6cd9422dfe680b0ed03
|
||||
Reference in New Issue