From 86fc41accdd29c0187e0877de530a787159b7126 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnier Date: Sun, 9 Aug 2026 21:04:00 +0200 Subject: [PATCH] feat(welcome): message de bienvenue avec les mentions du jeu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le message de premier lancement (registerTours, désormais appelé au hook ready — il ne l'était jamais) inclut les crédits : VERMINE 2047, un jeu de Julien Blondel — © 2023 Studio Agate — TOTEM System — © 2023 Julien Blondel, et le système Foundry développé par LeRatierBretonnier (https://www.uberwald.me) sur un travail original de RWanoux. Style .vermine-credits ajouté. --- lang/en.json | 2 +- lang/fr.json | 2 +- less/base.less | 10 ++++++++++ module/system/hooks.mjs | 2 ++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/lang/en.json b/lang/en.json index d4921bc..d4d43cd 100644 --- a/lang/en.json +++ b/lang/en.json @@ -69,7 +69,7 @@ "roll_dice": "Roll the dice" }, "TOURS": { - "ChatMessage": "

Welcome to Vermine!

If you're using this system for the first time, our shaman will guide you to your initiation rite

", + "ChatMessage": "

Welcome to Vermine 2047!

If you're using this system for the first time, our shaman will guide you to your initiation rite


Vermine 2047 — a game by Julien Blondel
© 2023 Studio Agate — TOTEM System — © 2023 Julien Blondel — All rights reserved.
Foundry VTT system developed by LeRatierBretonnier, based on an original work by RWanoux.

", "Welcome": { "Title": "Welcome to Vermine", "Description": "Overview of the Vermine system", diff --git a/lang/fr.json b/lang/fr.json index 33d033e..0ed91c3 100644 --- a/lang/fr.json +++ b/lang/fr.json @@ -69,7 +69,7 @@ "roll_dice": "Jeter les dés" }, "TOURS": { - "ChatMessage": "

Bienvenue dans Vermine!

Si vous utilisez ce système pour la première fois, notre shaman va vous guider vers votre rite d'initiation

", + "ChatMessage": "

Bienvenue dans Vermine 2047 !

Si vous utilisez ce système pour la première fois, notre shaman va vous guider vers votre rite d'initiation


Vermine 2047 — un jeu de Julien Blondel
© 2023 Studio Agate — TOTEM System — © 2023 Julien Blondel — Tous droits réservés.
Système Foundry VTT développé par LeRatierBretonnier, sur un travail original de RWanoux.

", "Welcome": { "Title": "Bienvenue dans Vermine", "Description": "Aperçu du système Vermine", diff --git a/less/base.less b/less/base.less index f2b0606..c06c667 100644 --- a/less/base.less +++ b/less/base.less @@ -636,6 +636,16 @@ ol.chat-log { } } + // ── Mentions de bienvenue / crédits ────────────────────────────── + .vermine-credits { + font-size: @font-size-12; + opacity: 0.8; + line-height: 1.4; + margin: 4px 0 0; + + a { color: inherit; } + } + // ── Dice results ──────────────────────────────────────────────── ul.roll-results { list-style: none; diff --git a/module/system/hooks.mjs b/module/system/hooks.mjs index e4c6b16..c3cbc58 100644 --- a/module/system/hooks.mjs +++ b/module/system/hooks.mjs @@ -70,6 +70,8 @@ export const registerHooks = function () { // Relays player rerolls to the GM client (Foundry v14 ChatMessage // updates are GM-only). VermineUtils.registerRerollSocket(); + // Message de bienvenue + tour d'initiation (premier lancement). + await registerTours(); }); // changement de la pause