ravenous_typst/player_handbook.typ

57 lines
1.9 KiB
Plaintext

// Player-facing handbook. The preset is supplied by the build command so the
// same chapter-selection machinery remains available to every entry point.
#import "/setup/setup.typ": (
build-config, config_main, disable-warnings, player-chapter-enabled, theme,
)
#import "/chapters/origines.typ": render-origins
#show: config_main
#let chapter-enabled = player-chapter-enabled
#if not build-config.warnings { disable-warnings() }
// A dedicated cover keeps this artifact distinct from the complete rulebook.
#if chapter-enabled("title") {
page(numbering: none)[
#align(center + horizon)[
#text(size: 42pt, weight: "bold", fill: theme.blood)[RAVENOUS]
#v(0.7em)
#text(size: 18pt, tracking: 0.08em, fill: theme.gold)[LIVRE DU JOUEUR]
#v(2em)
#text(size: 11pt, style: "italic")[Par Le Dandaedre]
]
]
pagebreak()
outline(title: "Table des matières")
pagebreak()
}
#if chapter-enabled("player-foreword") {
include "chapters/player_foreword.typ"
}
#if chapter-enabled("pre-hunt") {
include "chapters/player_prehunt.typ"
}
#if chapter-enabled("presentation") {
include "chapters/introduction/presentation.typ"
}
#if chapter-enabled("hunters-and-calamities") {
include "chapters/hunters_and_calamities.typ"
}
#if chapter-enabled("origins") {
render-origins(
show-lore: chapter-enabled("origin-lore"),
show-artwork: chapter-enabled("origin-artwork"),
)
}
#if chapter-enabled("schools") { include "chapters/schools/schools.typ" }
#if chapter-enabled("crafting") { include "chapters/artisanat.typ" }
#if chapter-enabled("races") { include "chapters/races.typ" }
#if chapter-enabled("rules") { include "chapters/rules/rules.typ" }
#if chapter-enabled("creation") { include "chapters/creation.typ" }
#if chapter-enabled("character_sheet") { include "chapters/character_sheet.typ" }
#if chapter-enabled("faq") { include "chapters/faq.typ" }
#if chapter-enabled("experience-gains") { include "chapters/experience_gains.typ" }