10 Commits

Author SHA1 Message Date
fc6bb7a4b1 CSS rework et autres améliorations
All checks were successful
Release Creation / build (release) Successful in 46s
2026-02-12 23:08:51 +01:00
f26130d208 CSS rework et autres améliorations 2026-02-12 23:05:22 +01:00
39da08d4cb CSS rework et autres améliorations 2026-02-12 23:04:37 +01:00
e639b6ae3e Fix rollData = 1
All checks were successful
Release Creation / build (release) Successful in 3m36s
2025-12-01 17:57:19 +01:00
8c247a8981 Echec automatique sur 1
All checks were successful
Release Creation / build (release) Successful in 49s
2025-11-21 21:36:27 +01:00
a09e1a1d95 Les compétences de base ne peuvent être supprimées
All checks were successful
Release Creation / build (release) Successful in 47s
2025-11-02 18:30:20 +01:00
787f88873a Les compétences de base ne peuvent être supprimées 2025-11-02 18:29:46 +01:00
ac481e0dd9 Various minot fixes
All checks were successful
Release Creation / build (release) Successful in 1m18s
2025-10-30 20:24:24 +00:00
375622d900 Add welcome message 2025-10-17 15:31:32 +02:00
3bc055cc1f Add welcome message 2025-10-17 15:28:15 +02:00
77 changed files with 3843 additions and 2503 deletions

54
.gitignore vendored Normal file
View File

@@ -0,0 +1,54 @@
# Dependencies
node_modules/
package-lock.json
# Build outputs
styles/tedeum.css
styles/*.css.map
# IDE & Editor files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
# System files
Thumbs.db
desktop.ini
# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*.log
# Temporary files
*.tmp
*.temp
.cache/
# Environment variables
.env
.env.local
# Optional: Uncomment if you want to ignore pack database files
# These are usually committed for systems, but can be regenerated
# packs/**/*.ldb
# packs/**/LOG
# packs/**/LOG.old
# packs/**/MANIFEST-*
# packs/**/CURRENT
# Compiled source
dist/
build/
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db

View File

@@ -1,25 +1,17 @@
var gulp = require('gulp');
var less = require('gulp-less');
var postcss = require('gulp-postcss');
var autoprefixer = require('autoprefixer');
var cssnext = require('postcss-preset-env');
var precss = require('precss');
gulp.task('css', function () {
var processors = [
autoprefixer,
cssnext,
precss
];
return gulp.src('./postcss/*.css')
.pipe(postcss(processors))
return gulp.src('./less/*.less')
.pipe(less())
.pipe(postcss([autoprefixer]))
.pipe(gulp.dest('./styles'));
});
gulp.task('watch', function () {
gulp.watch('./less/*.less', gulp.series('css'));
});
function watchUpdates() {
gulp.watch('./postcss/*.css', css);
}
gulp.task('default', gulp.series('css'));

2071
less/tedeum.less Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -713,7 +713,7 @@ export class TeDeumActor extends Actor {
async rollDegatsArme(armeId) {
let weapon = this.items.get(armeId)
if (weapon) {
let bDegats = 0
let bDegats = { value: 0 }
if (weapon.system.typeArme == "melee") {
bDegats = this.getBonusDegats()
}
@@ -728,7 +728,7 @@ export class TeDeumActor extends Actor {
rollData.degats = degatsRoll.total
let msg = await TeDeumUtility.createChatWithRollMode(rollData.alias, {
content: await renderTemplate(`systems/fvtt-te-deum/templates/chat/chat-degats-result.hbs`, rollData)
content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-te-deum/templates/chat/chat-degats-result.hbs`, rollData)
})
await msg.setFlag("world", "te-deum-rolldata", rollData)
console.log("Rolldata result", rollData)

View File

@@ -1,6 +1,8 @@
/* -------------------------------------------- */
/* -------------------------------------------- */
const ECRYME_WELCOME_MESSAGE_URL = "https://www.uberwald.me/gitea/public/fvtt-te-deum/raw/branch/main/welcome-message-tedeum.html"
export class TeDeumUtility {
/* -------------------------------------------- */
@@ -169,14 +171,25 @@ export class TeDeumUtility {
/* -------------------------------------------- */
static welcomeMessage() {
if (game.user.isGM) {
// Try to fetch the welcome message from the github repo "welcome-message-ecryme.html"
fetch(ECRYME_WELCOME_MESSAGE_URL)
.then(response => response.text())
.then(html => {
console.log("Fetched welcome message:", html);
ChatMessage.create({
user: game.user.id,
whisper: [game.user.id],
content: `<div id="chat-welcome welcome-message-tedeum"><span class="rdd-roll-part">
<strong>Bienvenu dans Te Deum Pour Un Massacre !</strong>
<div class="chat-welcome">Ce système vous est proposé par Open Sesame Games.<br>
Vous trouverez de l'aide dans @UUID[Compendium.fvtt-te-deum.aides.JournalEntry.uNwJgi4kXBCiZmAH]{Aide pour Te Deum}<br>
ainsi que sur le Discord de Foundry FR : https://discord.gg/pPSDNJk</div>` });
content: html
});
})
.catch(error => {
console.error("Error fetching welcome message:", error);
ChatMessage.create({
user: game.user.id,
whisper: [game.user.id],
content: "<b>Bienvenue dans Ecryme RPG !</b><br>Visitez le site officiel pour plus d'informations."
});
});
}
}
@@ -550,9 +563,11 @@ export class TeDeumUtility {
}
if (rollData.diceSum == 1) {
let critiqueRoll = await new Roll(rollData.carac.negativeDice)
rollData.isSuccess = false
await critiqueRoll.evaluate()
await this.showDiceSoNice(critiqueRoll, game.settings.get("core", "rollMode"))
rollData.critiqueRoll = foundry.utils.duplicate(critiqueRoll)
rollData.critiqueTotal = critiqueRoll.total
if (critiqueRoll.total > rollData.competence.system.score) {
rollData.isEchecCritique = true
}

View File

@@ -6,7 +6,7 @@ export class TeDeumRollDialog extends Dialog {
static async create(actor, rollData) {
let options = { classes: ["tedeum-roll-dialog"], width: 540, height: 'fit-content', 'z-index': 99999 }
let html = await renderTemplate('systems/fvtt-te-deum/templates/dialogs/roll-dialog-generic.hbs', rollData);
let html = await foundry.applications.handlebars.renderTemplate('systems/fvtt-te-deum/templates/dialogs/roll-dialog-generic.hbs', rollData);
return new TeDeumRollDialog(actor, rollData, html, options);
}
@@ -43,7 +43,7 @@ export class TeDeumRollDialog extends Dialog {
/* -------------------------------------------- */
async refreshDialog() {
const content = await renderTemplate("systems/fvtt-te-deum/templates/dialogs/roll-dialog-generic.hbs", this.rollData)
const content = await foundry.applications.handlebars.renderTemplate("systems/fvtt-te-deum/templates/dialogs/roll-dialog-generic.hbs", this.rollData)
this.data.content = content
this.render(true)
}

View File

@@ -91,7 +91,7 @@ export class TeDeumItemSheet extends foundry.appv1.sheets.ItemSheet {
payload: chatData,
});
renderTemplate('systems/fvtt-te-deum/templates/post-item.html', chatData).then(html => {
foundry.applications.handlebars.renderTemplate('systems/fvtt-te-deum/templates/post-item.html', chatData).then(html => {
let chatOptions = TeDeumUtility.chatDataSetup(html);
ChatMessage.create(chatOptions)
});

21
package.json Normal file
View File

@@ -0,0 +1,21 @@
{
"name": "fvtt-te-deum",
"version": "1.0.0",
"description": "Système Te Deum pour FoundryVTT",
"private": true,
"scripts": {
"build:css": "gulp css",
"watch:css": "gulp watch"
},
"devDependencies": {
"gulp": "^4.0.2",
"gulp-less": "^5.0.0",
"less": "^4.2.0",
"autoprefixer": "^10.4.20",
"gulp-postcss": "^9.0.1",
"postcss": "^8.4.49"
},
"keywords": ["foundry-vtt", "te-deum"],
"author": "",
"license": "ISC"
}

View File

@@ -1 +1 @@
MANIFEST-000165
MANIFEST-000214

View File

@@ -1,7 +1,7 @@
2025/09/24-16:42:14.734893 7f7cfb7fe6c0 Recovering log #163
2025/09/24-16:42:14.744867 7f7cfb7fe6c0 Delete type=3 #161
2025/09/24-16:42:14.744926 7f7cfb7fe6c0 Delete type=0 #163
2025/09/24-16:43:46.397731 7f7cf9fff6c0 Level-0 table #168: started
2025/09/24-16:43:46.397776 7f7cf9fff6c0 Level-0 table #168: 0 bytes OK
2025/09/24-16:43:46.462453 7f7cf9fff6c0 Delete type=0 #166
2025/09/24-16:43:46.462659 7f7cf9fff6c0 Manual compaction at level-0 from '!journal!uNwJgi4kXBCiZmAH' @ 72057594037927935 : 1 .. '!journal.pages!uNwJgi4kXBCiZmAH.onhNU0mXhOpdNZJF' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.933804 7f93eb7fe6c0 Recovering log #212
2026/01/04-21:26:37.943801 7f93eb7fe6c0 Delete type=3 #210
2026/01/04-21:26:37.943854 7f93eb7fe6c0 Delete type=0 #212
2026/01/04-21:27:02.505234 7f93e9ffb6c0 Level-0 table #217: started
2026/01/04-21:27:02.505262 7f93e9ffb6c0 Level-0 table #217: 0 bytes OK
2026/01/04-21:27:02.512734 7f93e9ffb6c0 Delete type=0 #215
2026/01/04-21:27:02.512909 7f93e9ffb6c0 Manual compaction at level-0 from '!journal!uNwJgi4kXBCiZmAH' @ 72057594037927935 : 1 .. '!journal.pages!uNwJgi4kXBCiZmAH.onhNU0mXhOpdNZJF' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/09/24-16:34:06.472911 7f7cfbfff6c0 Recovering log #159
2025/09/24-16:34:06.482703 7f7cfbfff6c0 Delete type=3 #157
2025/09/24-16:34:06.482774 7f7cfbfff6c0 Delete type=0 #159
2025/09/24-16:41:30.176475 7f7cf9fff6c0 Level-0 table #164: started
2025/09/24-16:41:30.176525 7f7cf9fff6c0 Level-0 table #164: 0 bytes OK
2025/09/24-16:41:30.183000 7f7cf9fff6c0 Delete type=0 #162
2025/09/24-16:41:30.195641 7f7cf9fff6c0 Manual compaction at level-0 from '!journal!uNwJgi4kXBCiZmAH' @ 72057594037927935 : 1 .. '!journal.pages!uNwJgi4kXBCiZmAH.onhNU0mXhOpdNZJF' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.443928 7f244d1ff6c0 Recovering log #208
2025/12/20-18:12:56.494058 7f244d1ff6c0 Delete type=3 #206
2025/12/20-18:12:56.494134 7f244d1ff6c0 Delete type=0 #208
2025/12/20-18:36:44.261828 7f2436ffd6c0 Level-0 table #213: started
2025/12/20-18:36:44.261865 7f2436ffd6c0 Level-0 table #213: 0 bytes OK
2025/12/20-18:36:44.320648 7f2436ffd6c0 Delete type=0 #211
2025/12/20-18:36:44.320833 7f2436ffd6c0 Manual compaction at level-0 from '!journal!uNwJgi4kXBCiZmAH' @ 72057594037927935 : 1 .. '!journal.pages!uNwJgi4kXBCiZmAH.onhNU0mXhOpdNZJF' @ 0 : 0; will stop at (end)

BIN
packs/aides/MANIFEST-000214 Normal file

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000268
MANIFEST-000317

View File

@@ -1,7 +1,7 @@
2025/09/24-16:42:14.642386 7f7d00dfa6c0 Recovering log #266
2025/09/24-16:42:14.651936 7f7d00dfa6c0 Delete type=3 #264
2025/09/24-16:42:14.652001 7f7d00dfa6c0 Delete type=0 #266
2025/09/24-16:43:45.840704 7f7cf9fff6c0 Level-0 table #271: started
2025/09/24-16:43:45.840737 7f7cf9fff6c0 Level-0 table #271: 0 bytes OK
2025/09/24-16:43:45.898655 7f7cf9fff6c0 Delete type=0 #269
2025/09/24-16:43:45.963394 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.828637 7f93eb7fe6c0 Recovering log #315
2026/01/04-21:26:37.839103 7f93eb7fe6c0 Delete type=3 #313
2026/01/04-21:26:37.839200 7f93eb7fe6c0 Delete type=0 #315
2026/01/04-21:27:02.452079 7f93e9ffb6c0 Level-0 table #320: started
2026/01/04-21:27:02.452098 7f93e9ffb6c0 Level-0 table #320: 0 bytes OK
2026/01/04-21:27:02.458511 7f93e9ffb6c0 Delete type=0 #318
2026/01/04-21:27:02.458741 7f93e9ffb6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/09/24-16:34:06.383778 7f7cfb7fe6c0 Recovering log #262
2025/09/24-16:34:06.393755 7f7cfb7fe6c0 Delete type=3 #260
2025/09/24-16:34:06.393833 7f7cfb7fe6c0 Delete type=0 #262
2025/09/24-16:41:30.118332 7f7cf9fff6c0 Level-0 table #267: started
2025/09/24-16:41:30.118371 7f7cf9fff6c0 Level-0 table #267: 0 bytes OK
2025/09/24-16:41:30.124477 7f7cf9fff6c0 Delete type=0 #265
2025/09/24-16:41:30.124651 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.039187 7f244d1ff6c0 Recovering log #311
2025/12/20-18:12:56.089963 7f244d1ff6c0 Delete type=3 #309
2025/12/20-18:12:56.090033 7f244d1ff6c0 Delete type=0 #311
2025/12/20-18:36:43.701277 7f2436ffd6c0 Level-0 table #316: started
2025/12/20-18:36:43.701303 7f2436ffd6c0 Level-0 table #316: 0 bytes OK
2025/12/20-18:36:43.756264 7f2436ffd6c0 Delete type=0 #314
2025/12/20-18:36:43.812180 7f2436ffd6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)

BIN
packs/armes/MANIFEST-000317 Normal file

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000267
MANIFEST-000317

View File

@@ -1,7 +1,7 @@
2025/09/24-16:42:14.655535 7f7cfbfff6c0 Recovering log #265
2025/09/24-16:42:14.666517 7f7cfbfff6c0 Delete type=3 #263
2025/09/24-16:42:14.666585 7f7cfbfff6c0 Delete type=0 #265
2025/09/24-16:43:45.762646 7f7cf9fff6c0 Level-0 table #270: started
2025/09/24-16:43:45.762671 7f7cf9fff6c0 Level-0 table #270: 0 bytes OK
2025/09/24-16:43:45.840542 7f7cf9fff6c0 Delete type=0 #268
2025/09/24-16:43:45.963381 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.843261 7f93ea7fc6c0 Recovering log #315
2026/01/04-21:26:37.853735 7f93ea7fc6c0 Delete type=3 #313
2026/01/04-21:26:37.853805 7f93ea7fc6c0 Delete type=0 #315
2026/01/04-21:27:02.446245 7f93e9ffb6c0 Level-0 table #320: started
2026/01/04-21:27:02.446262 7f93e9ffb6c0 Level-0 table #320: 0 bytes OK
2026/01/04-21:27:02.452006 7f93e9ffb6c0 Delete type=0 #318
2026/01/04-21:27:02.458726 7f93e9ffb6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/09/24-16:34:06.395848 7f7d00dfa6c0 Recovering log #261
2025/09/24-16:34:06.405550 7f7d00dfa6c0 Delete type=3 #259
2025/09/24-16:34:06.405604 7f7d00dfa6c0 Delete type=0 #261
2025/09/24-16:41:30.111558 7f7cf9fff6c0 Level-0 table #266: started
2025/09/24-16:41:30.111589 7f7cf9fff6c0 Level-0 table #266: 0 bytes OK
2025/09/24-16:41:30.118178 7f7cf9fff6c0 Delete type=0 #264
2025/09/24-16:41:30.124642 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.095054 7f24377fe6c0 Recovering log #311
2025/12/20-18:12:56.148579 7f24377fe6c0 Delete type=3 #309
2025/12/20-18:12:56.148653 7f24377fe6c0 Delete type=0 #311
2025/12/20-18:36:43.637340 7f2436ffd6c0 Level-0 table #316: started
2025/12/20-18:36:43.637367 7f2436ffd6c0 Level-0 table #316: 0 bytes OK
2025/12/20-18:36:43.701178 7f2436ffd6c0 Delete type=0 #314
2025/12/20-18:36:43.812170 7f2436ffd6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000266
MANIFEST-000315

View File

@@ -1,7 +1,7 @@
2025/09/24-16:42:14.629192 7f7cfaffd6c0 Recovering log #264
2025/09/24-16:42:14.638946 7f7cfaffd6c0 Delete type=3 #262
2025/09/24-16:42:14.639014 7f7cfaffd6c0 Delete type=0 #264
2025/09/24-16:43:45.706058 7f7cf9fff6c0 Level-0 table #269: started
2025/09/24-16:43:45.706134 7f7cf9fff6c0 Level-0 table #269: 0 bytes OK
2025/09/24-16:43:45.762523 7f7cf9fff6c0 Delete type=0 #267
2025/09/24-16:43:45.963365 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.813752 7f93eaffd6c0 Recovering log #313
2026/01/04-21:26:37.823461 7f93eaffd6c0 Delete type=3 #311
2026/01/04-21:26:37.823509 7f93eaffd6c0 Delete type=0 #313
2026/01/04-21:27:02.440062 7f93e9ffb6c0 Level-0 table #318: started
2026/01/04-21:27:02.440091 7f93e9ffb6c0 Level-0 table #318: 0 bytes OK
2026/01/04-21:27:02.446167 7f93e9ffb6c0 Delete type=0 #316
2026/01/04-21:27:02.458712 7f93e9ffb6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/09/24-16:34:06.370805 7f7cfaffd6c0 Recovering log #260
2025/09/24-16:34:06.381415 7f7cfaffd6c0 Delete type=3 #258
2025/09/24-16:34:06.381482 7f7cfaffd6c0 Delete type=0 #260
2025/09/24-16:41:30.104756 7f7cf9fff6c0 Level-0 table #265: started
2025/09/24-16:41:30.104801 7f7cf9fff6c0 Level-0 table #265: 0 bytes OK
2025/09/24-16:41:30.111363 7f7cf9fff6c0 Delete type=0 #263
2025/09/24-16:41:30.124633 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)
2025/12/20-18:12:55.979585 7f244c9fe6c0 Recovering log #309
2025/12/20-18:12:56.031769 7f244c9fe6c0 Delete type=3 #307
2025/12/20-18:12:56.031837 7f244c9fe6c0 Delete type=0 #309
2025/12/20-18:36:43.574310 7f2436ffd6c0 Level-0 table #314: started
2025/12/20-18:36:43.574360 7f2436ffd6c0 Level-0 table #314: 0 bytes OK
2025/12/20-18:36:43.637222 7f2436ffd6c0 Delete type=0 #312
2025/12/20-18:36:43.812158 7f2436ffd6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000277
MANIFEST-000327

View File

@@ -1,7 +1,7 @@
2025/09/24-16:42:14.669125 7f7cfb7fe6c0 Recovering log #275
2025/09/24-16:42:14.678629 7f7cfb7fe6c0 Delete type=3 #273
2025/09/24-16:42:14.678694 7f7cfb7fe6c0 Delete type=0 #275
2025/09/24-16:43:45.898794 7f7cf9fff6c0 Level-0 table #280: started
2025/09/24-16:43:45.898823 7f7cf9fff6c0 Level-0 table #280: 0 bytes OK
2025/09/24-16:43:45.963207 7f7cf9fff6c0 Delete type=0 #278
2025/09/24-16:43:45.963407 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.858384 7f93eaffd6c0 Recovering log #325
2026/01/04-21:26:37.868673 7f93eaffd6c0 Delete type=3 #323
2026/01/04-21:26:37.868726 7f93eaffd6c0 Delete type=0 #325
2026/01/04-21:27:02.458878 7f93e9ffb6c0 Level-0 table #330: started
2026/01/04-21:27:02.458920 7f93e9ffb6c0 Level-0 table #330: 0 bytes OK
2026/01/04-21:27:02.465606 7f93e9ffb6c0 Delete type=0 #328
2026/01/04-21:27:02.485393 7f93e9ffb6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/09/24-16:34:06.407386 7f7cfaffd6c0 Recovering log #271
2025/09/24-16:34:06.418079 7f7cfaffd6c0 Delete type=3 #269
2025/09/24-16:34:06.418139 7f7cfaffd6c0 Delete type=0 #271
2025/09/24-16:41:30.124766 7f7cf9fff6c0 Level-0 table #276: started
2025/09/24-16:41:30.124809 7f7cf9fff6c0 Level-0 table #276: 0 bytes OK
2025/09/24-16:41:30.131329 7f7cf9fff6c0 Delete type=0 #274
2025/09/24-16:41:30.151558 7f7cf9fff6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.154781 7f244c9fe6c0 Recovering log #321
2025/12/20-18:12:56.203650 7f244c9fe6c0 Delete type=3 #319
2025/12/20-18:12:56.206209 7f244c9fe6c0 Delete type=0 #321
2025/12/20-18:36:43.812286 7f2436ffd6c0 Level-0 table #326: started
2025/12/20-18:36:43.812329 7f2436ffd6c0 Level-0 table #326: 0 bytes OK
2025/12/20-18:36:43.867818 7f2436ffd6c0 Delete type=0 #324
2025/12/20-18:36:44.048015 7f2436ffd6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000267
MANIFEST-000316

View File

@@ -1,7 +1,7 @@
2025/09/24-16:42:14.682432 7f7cfaffd6c0 Recovering log #265
2025/09/24-16:42:14.692809 7f7cfaffd6c0 Delete type=3 #263
2025/09/24-16:42:14.692870 7f7cfaffd6c0 Delete type=0 #265
2025/09/24-16:43:46.011645 7f7cf9fff6c0 Level-0 table #270: started
2025/09/24-16:43:46.011682 7f7cf9fff6c0 Level-0 table #270: 0 bytes OK
2025/09/24-16:43:46.083954 7f7cf9fff6c0 Delete type=0 #268
2025/09/24-16:43:46.208935 7f7cf9fff6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.873703 7f93ebfff6c0 Recovering log #314
2026/01/04-21:26:37.885324 7f93ebfff6c0 Delete type=3 #312
2026/01/04-21:26:37.885427 7f93ebfff6c0 Delete type=0 #314
2026/01/04-21:27:02.433342 7f93e9ffb6c0 Level-0 table #319: started
2026/01/04-21:27:02.433382 7f93e9ffb6c0 Level-0 table #319: 0 bytes OK
2026/01/04-21:27:02.439918 7f93e9ffb6c0 Delete type=0 #317
2026/01/04-21:27:02.458692 7f93e9ffb6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/09/24-16:34:06.421631 7f7d00dfa6c0 Recovering log #261
2025/09/24-16:34:06.432018 7f7d00dfa6c0 Delete type=3 #259
2025/09/24-16:34:06.432112 7f7d00dfa6c0 Delete type=0 #261
2025/09/24-16:41:30.098303 7f7cf9fff6c0 Level-0 table #266: started
2025/09/24-16:41:30.098366 7f7cf9fff6c0 Level-0 table #266: 0 bytes OK
2025/09/24-16:41:30.104526 7f7cf9fff6c0 Delete type=0 #264
2025/09/24-16:41:30.124617 7f7cf9fff6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.214726 7f2437fff6c0 Recovering log #310
2025/12/20-18:12:56.267981 7f2437fff6c0 Delete type=3 #308
2025/12/20-18:12:56.268051 7f2437fff6c0 Delete type=0 #310
2025/12/20-18:36:43.756462 7f2436ffd6c0 Level-0 table #315: started
2025/12/20-18:36:43.756507 7f2436ffd6c0 Level-0 table #315: 0 bytes OK
2025/12/20-18:36:43.812023 7f2436ffd6c0 Delete type=0 #313
2025/12/20-18:36:43.812190 7f2436ffd6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000267
MANIFEST-000316

View File

@@ -1,7 +1,7 @@
2025/09/24-16:42:14.695212 7f7cfbfff6c0 Recovering log #265
2025/09/24-16:42:14.705156 7f7cfbfff6c0 Delete type=3 #263
2025/09/24-16:42:14.705234 7f7cfbfff6c0 Delete type=0 #265
2025/09/24-16:43:46.084105 7f7cf9fff6c0 Level-0 table #270: started
2025/09/24-16:43:46.084138 7f7cf9fff6c0 Level-0 table #270: 0 bytes OK
2025/09/24-16:43:46.141584 7f7cf9fff6c0 Delete type=0 #268
2025/09/24-16:43:46.208949 7f7cf9fff6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.889654 7f93ea7fc6c0 Recovering log #314
2026/01/04-21:26:37.899518 7f93ea7fc6c0 Delete type=3 #312
2026/01/04-21:26:37.899583 7f93ea7fc6c0 Delete type=0 #314
2026/01/04-21:27:02.472063 7f93e9ffb6c0 Level-0 table #319: started
2026/01/04-21:27:02.472086 7f93e9ffb6c0 Level-0 table #319: 0 bytes OK
2026/01/04-21:27:02.478114 7f93e9ffb6c0 Delete type=0 #317
2026/01/04-21:27:02.485430 7f93e9ffb6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/09/24-16:34:06.434181 7f7cfb7fe6c0 Recovering log #261
2025/09/24-16:34:06.444000 7f7cfb7fe6c0 Delete type=3 #259
2025/09/24-16:34:06.444067 7f7cfb7fe6c0 Delete type=0 #261
2025/09/24-16:41:30.144559 7f7cf9fff6c0 Level-0 table #266: started
2025/09/24-16:41:30.144589 7f7cf9fff6c0 Level-0 table #266: 0 bytes OK
2025/09/24-16:41:30.151446 7f7cf9fff6c0 Delete type=0 #264
2025/09/24-16:41:30.151596 7f7cf9fff6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.274845 7f24377fe6c0 Recovering log #310
2025/12/20-18:12:56.318675 7f24377fe6c0 Delete type=3 #308
2025/12/20-18:12:56.318757 7f24377fe6c0 Delete type=0 #310
2025/12/20-18:36:43.935645 7f2436ffd6c0 Level-0 table #315: started
2025/12/20-18:36:43.935673 7f2436ffd6c0 Level-0 table #315: 0 bytes OK
2025/12/20-18:36:43.994623 7f2436ffd6c0 Delete type=0 #313
2025/12/20-18:36:44.048051 7f2436ffd6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000204
MANIFEST-000253

View File

@@ -1,7 +1,7 @@
2025/09/24-16:42:14.720636 7f7cfaffd6c0 Recovering log #202
2025/09/24-16:42:14.731231 7f7cfaffd6c0 Delete type=3 #200
2025/09/24-16:42:14.731304 7f7cfaffd6c0 Delete type=0 #202
2025/09/24-16:43:46.141700 7f7cf9fff6c0 Level-0 table #207: started
2025/09/24-16:43:46.141727 7f7cf9fff6c0 Level-0 table #207: 0 bytes OK
2025/09/24-16:43:46.208754 7f7cf9fff6c0 Delete type=0 #205
2025/09/24-16:43:46.208965 7f7cf9fff6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.919630 7f93ebfff6c0 Recovering log #251
2026/01/04-21:26:37.930006 7f93ebfff6c0 Delete type=3 #249
2026/01/04-21:26:37.930066 7f93ebfff6c0 Delete type=0 #251
2026/01/04-21:27:02.478265 7f93e9ffb6c0 Level-0 table #256: started
2026/01/04-21:27:02.478296 7f93e9ffb6c0 Level-0 table #256: 0 bytes OK
2026/01/04-21:27:02.485146 7f93e9ffb6c0 Delete type=0 #254
2026/01/04-21:27:02.485444 7f93e9ffb6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/09/24-16:34:06.459217 7f7d00dfa6c0 Recovering log #198
2025/09/24-16:34:06.469315 7f7d00dfa6c0 Delete type=3 #196
2025/09/24-16:34:06.469408 7f7d00dfa6c0 Delete type=0 #198
2025/09/24-16:41:30.137845 7f7cf9fff6c0 Level-0 table #203: started
2025/09/24-16:41:30.137895 7f7cf9fff6c0 Level-0 table #203: 0 bytes OK
2025/09/24-16:41:30.144438 7f7cf9fff6c0 Delete type=0 #201
2025/09/24-16:41:30.151581 7f7cf9fff6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.387036 7f2437fff6c0 Recovering log #247
2025/12/20-18:12:56.440877 7f2437fff6c0 Delete type=3 #245
2025/12/20-18:12:56.440965 7f2437fff6c0 Delete type=0 #247
2025/12/20-18:36:43.994753 7f2436ffd6c0 Level-0 table #252: started
2025/12/20-18:36:43.994783 7f2436ffd6c0 Level-0 table #252: 0 bytes OK
2025/12/20-18:36:44.047877 7f2436ffd6c0 Delete type=0 #250
2025/12/20-18:36:44.048061 7f2436ffd6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000268
MANIFEST-000317

View File

@@ -1,7 +1,7 @@
2025/09/24-16:42:14.708014 7f7d00dfa6c0 Recovering log #266
2025/09/24-16:42:14.717668 7f7d00dfa6c0 Delete type=3 #264
2025/09/24-16:42:14.717743 7f7d00dfa6c0 Delete type=0 #266
2025/09/24-16:43:45.963524 7f7cf9fff6c0 Level-0 table #271: started
2025/09/24-16:43:45.963550 7f7cf9fff6c0 Level-0 table #271: 0 bytes OK
2025/09/24-16:43:46.011489 7f7cf9fff6c0 Delete type=0 #269
2025/09/24-16:43:46.208919 7f7cf9fff6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.904069 7f93eaffd6c0 Recovering log #315
2026/01/04-21:26:37.914574 7f93eaffd6c0 Delete type=3 #313
2026/01/04-21:26:37.914647 7f93eaffd6c0 Delete type=0 #315
2026/01/04-21:27:02.465731 7f93e9ffb6c0 Level-0 table #320: started
2026/01/04-21:27:02.465755 7f93e9ffb6c0 Level-0 table #320: 0 bytes OK
2026/01/04-21:27:02.471938 7f93e9ffb6c0 Delete type=0 #318
2026/01/04-21:27:02.485413 7f93e9ffb6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/09/24-16:34:06.445870 7f7cfaffd6c0 Recovering log #262
2025/09/24-16:34:06.456672 7f7cfaffd6c0 Delete type=3 #260
2025/09/24-16:34:06.456727 7f7cfaffd6c0 Delete type=0 #262
2025/09/24-16:41:30.131456 7f7cf9fff6c0 Level-0 table #267: started
2025/09/24-16:41:30.131488 7f7cf9fff6c0 Level-0 table #267: 0 bytes OK
2025/09/24-16:41:30.137659 7f7cf9fff6c0 Delete type=0 #265
2025/09/24-16:41:30.151571 7f7cf9fff6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.325650 7f244c9fe6c0 Recovering log #311
2025/12/20-18:12:56.379165 7f244c9fe6c0 Delete type=3 #309
2025/12/20-18:12:56.379237 7f244c9fe6c0 Delete type=0 #311
2025/12/20-18:36:43.867925 7f2436ffd6c0 Level-0 table #316: started
2025/12/20-18:36:43.867945 7f2436ffd6c0 Level-0 table #316: 0 bytes OK
2025/12/20-18:36:43.935523 7f2436ffd6c0 Delete type=0 #314
2025/12/20-18:36:44.048037 7f2436ffd6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -148,8 +148,8 @@
],
"title": "Te Deum pour Un Massacre, le Jeu de Rôles (Officiel)",
"url": "https://www.uberwald.me/gitea/public/fvtt-te-deum",
"version": "13.0.1",
"download": "https://www.uberwald.me/gitea/public/fvtt-te-deum/releases/download/13.0.1/fvtt-te-deum-13.0.1.zip",
"version": "13.0.2",
"download": "https://www.uberwald.me/gitea/public/fvtt-te-deum/releases/download/13.0.1/fvtt-te-deum-13.0.2.zip",
"background": "systems/fvtt-te-deum/images/ui/tdeum_welcome_page_01.webp",
"flags": {
"hotReload": {

View File

@@ -238,7 +238,11 @@
</label>
<span>&nbsp;</span>
<a class="item-control item-edit" title="Editer"><i class="fas fa-edit"></i></a>
{{#if comp.system.isBase}}
<span class="item-control"><i class="fa-solid fa-trash-slash"></i></span>
{{else}}
<a class="item-control item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
{{/if}}
</li>
{{/each}}
</ul>

View File

@@ -5,27 +5,33 @@
<h4 class="chat-actor-name">{{alias}}</h4>
</div>
<hr>
{{#if img}}
<div>
<div class="chat-roll-details" style="margin-top: 0.3rem;">
{{#if img}}
<div style="text-align: center; margin-bottom: 0.3rem;">
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
</div>
{{/if}}
</div>
{{/if}}
<div class="flexcol">
</div>
<div class="chat-info-badge" style="margin-bottom: 0.4rem;">
<strong>{{alias}}</strong>
attaque
<strong>{{defenderName}}</strong>
</div>
<div>
<ul>
<li><strong>{{alias}}</strong> attaque <strong>{{defenderName}}</strong></li>
<ul style="margin: 0; padding-left: 0.5rem;">
{{#if arme}}
<li><label class="chat-weapon-name">Dégats {{arme.name}} : {{degats}} ({{degatsFormula}})</label></li>
<li style="margin: 0.2rem 0;"><span class="chat-info-badge">Dégâts
{{arme.name}}
:
{{degats}}
({{degatsFormula}})</span></li>
{{/if}}
{{#if loc}}
<li>Localisation : {{loc.label}}</li>
<li>Touché : {{touche}}</li>
<li style="margin: 0.2rem 0;"><span
class="chat-difficulty-badge"
>Localisation : {{loc.label}}</span></li>
<li style="margin: 0.2rem 0;">Touché : {{touche}}</li>
{{/if}}
{{#if gantelet}}
@@ -40,60 +46,65 @@
{{/if}}
{{#if isReussiteCritique}}
<li><strong class="chat-result-success">Réussite critique : La blessure a été augmentée d'un niveau</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-success">🎯
Réussite critique : La blessure a été augmentée d'un niveau</span></li>
{{/if}}
{{#if blessure}}
<li><strong>{{defenderName}} a subi une blessure!</strong></li>
<li>Gravité : {{blessure.name}}</li>
<li style="margin: 0.3rem 0;"><span class="chat-warning-badge">⚔️
{{defenderName}}
a subi une blessure!</span></li>
<li style="margin: 0.2rem 0;"><strong>Gravité :
{{blessure.name}}</strong></li>
{{#if (eq loc.categorie "tete")}}
{{#if (gt blessure.system.value 0)}}
<li><strong class="chat-result-warning">{{defenderName}} doit réussir un test d'Endurance de difficulté 7 ou être
assommé</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-failure">💥
{{defenderName}}
doit réussir un test d'Endurance de difficulté 7 ou être assommé</span></li>
{{/if}}
{{/if}}
{{#if (eq loc.categorie "bras")}}
{{#if (gt blessure.system.value 2)}}
<li><strong class="chat-result-warning">{{defenderName}} lache l'objet tenu par son bras. Il doit faire un test
d'endurance
pour l'utiliser désormais.</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-failure">💥
{{defenderName}}
lâche l'objet tenu par son bras. Il doit faire un test d'endurance
pour l'utiliser désormais.</span></li>
{{/if}}
{{/if}}
{{#if (eq loc.categorie "jambe")}}
{{#if (gt blessure.system.value 2)}}
<li><strong class="chat-result-warning">{{defenderName}} tombe au sol. Pour se relever et marcher, il doit réussir
un test
d'Endurance à chaque tour.
</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-failure">💥
{{defenderName}}
tombe au sol. Pour se relever et marcher, il doit réussir un test
d'Endurance à chaque tour.</span></li>
{{/if}}
{{/if}}
{{#if (eq loc.categorie "main")}}
{{#if (gt blessure.system.value 1)}}
<li><strong class="chat-result-warning">{{defenderName}} lache l'objet tenu par sa main. Il doit faire un test
d'endurance
pour l'utiliser désormais.</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-failure">💥
{{defenderName}}
lâche l'objet tenu par sa main. Il doit faire un test d'endurance
pour l'utiliser désormais.</span></li>
{{/if}}
{{/if}}
{{#if (eq loc.categorie "pied")}}
{{#if (gt blessure.system.value 1)}}
<li><strong class="chat-result-warning">{{defenderName}} tombe au sol. Pour se relever et marcher, il doit réussir
un test
d'Endurance à chaque tour.
</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-failure">💥
{{defenderName}}
tombe au sol. Pour se relever et marcher, il doit réussir un test
d'Endurance à chaque tour.</span></li>
{{/if}}
{{/if}}
{{else}}
<li>Aucune blessure subie par {{defenderName}}</li>
<li style="margin: 0.3rem 0;"><span class="chat-result-success">✓ Aucune
blessure subie par
{{defenderName}}</span></li>
{{/if}}
</ul>
</div>
</div>

View File

@@ -5,34 +5,40 @@
<h4 class="chat-actor-name">{{alias}}</h4>
</div>
<hr>
{{#if img}}
<div>
<div class="chat-roll-details" style="margin-top: 0.3rem;">
{{#if img}}
<div style="text-align: center; margin-bottom: 0.3rem;">
<img class="chat-icon" src="{{arme.img}}" alt="{{name}}" />
</div>
{{/if}}
</div>
{{/if}}
<div>
<ul>
<li>Dégats de {{arme.name}}: {{formula}} </li>
<ul style="margin: 0; padding-left: 0.5rem;">
<li style="margin: 0.2rem 0;"><span class="chat-info-badge">Dégâts de
{{arme.name}}:
{{formula}}</span></li>
{{#if gantelet}}
<li>Poing avec gantelet: +1 dégat</li>
<li style="margin: 0.2rem 0;"><span class="chat-difficulty-badge">🥊 Poing
avec gantelet: +1 dégât</span></li>
{{/if}}
{{#if isChargeAPied}}
<li>Charge à pied (+Course)</li>
<li style="margin: 0.2rem 0;"><span class="chat-difficulty-badge">🏃
Charge à pied (+Course)</span></li>
{{/if}}
{{#if isChargeACheval}}
<li>Charge à cheval (+Equitation)</li>
<li style="margin: 0.2rem 0;"><span class="chat-difficulty-badge">🐴
Charge à cheval (+Équitation)</span></li>
{{/if}}
<li>Dégats infligés : {{degats}}</li>
<li style="margin: 0.3rem 0;"><span class="chat-warning-badge">⚔️ Dégâts
infligés :
{{degats}}</span></li>
{{#if loc}}
<li>Localisation : {{loc.label}}</li>
<li style="margin: 0.2rem 0;"><span class="chat-difficulty-badge">🎯
Localisation :
{{loc.label}}</span></li>
{{/if}}
{{#if isReussiteCritique}}
<li><strong class="chat-result-success">Réussite critique : La blessure sera augmentée d'un niveau</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-success">🎯
Réussite critique : La blessure sera augmentée d'un niveau</span></li>
{{/if}}
</ul>
</div>
</div>

View File

@@ -5,107 +5,113 @@
<h4 class="chat-actor-name">{{alias}}</h4>
</div>
<hr>
{{#if img}}
<div>
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
<div style="text-align: center; padding: 0.25rem;">
<img class="chat-icon" src="{{img}}" alt="{{name}}" style="border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.15);" />
</div>
{{/if}}
<div class="flexcol">
</div>
<div>
<div class="chat-roll-details">
<ul>
{{#if carac}}
<li>{{carac.name}}: {{carac.qualite}} ({{carac.dice}}) </li>
<li><strong>{{carac.name}}:</strong> {{carac.qualite}} <span class="chat-dice-formula">{{carac.dice}}</span></li>
{{/if}}
{{#if competence}}
<li>{{competence.name}}: {{compScore}} </li>
<li><strong>{{competence.name}}:</strong> {{compScore}}</li>
{{/if}}
{{#if bonusMalus}}
<li>Bonus/Malus: {{bonusMalus}} </li>
<li class="chat-info-badge"><strong>Bonus/Malus:</strong> {{bonusMalus}}</li>
{{/if}}
{{#if santeModifier}}
<li>Santé: {{santeModifier}} niveaux</li>
<li class="chat-warning-badge"><strong>Santé:</strong> {{santeModifier}} niveaux</li>
{{/if}}
{{#if enableProvidence}}
<li>Un niveau de Providence a été utilisé !</li>
<li class="chat-info-badge" style="background: rgba(255, 215, 0, 0.2); border-left-color: goldenrod;">⭐ Un niveau de Providence a été utilisé !</li>
{{/if}}
{{#if hasActions}}
<li data-tooltip="Nombre d'actions restantes, avec MG = Main Gauche">Actions restantes: {{remainingActions}}
(MG:{{remainingActionsMainGauche}})</li>
<li class="chat-info-badge" data-tooltip="Nombre d'actions restantes, avec MG = Main Gauche">
<strong>Actions restantes:</strong> {{remainingActions}} (MG:{{remainingActionsMainGauche}})
</li>
{{/if}}
{{#if arme}}
{{#if isViser}}
<li>Bonus de visée (+1 niveau)</li>
<li class="chat-info-badge">✓ Bonus de visée (+1 niveau)</li>
{{/if}}
{{#if isMouvement}}
<li>Malus de cible petite ou en mouvement (-1 niveau)</li>
<li class="chat-warning-badge">⚠ Malus de cible petite ou en mouvement (-1 niveau)</li>
{{/if}}
{{#if attaqueCiblee}}
<li>Attaque ciblée, -1 niveau</li>
<li class="chat-warning-badge">⚠ Attaque ciblée, -1 niveau</li>
{{/if}}
{{#if allongeMalus}}
<li>Malus d'allonge: {{allongeMalus}} niveau</li>
<li class="chat-warning-badge">⚠ Malus d'allonge: {{allongeMalus}} niveau</li>
{{/if}}
{{/if}}
<li>Dés: {{diceFormula}} </li>
<li><strong>Formule:</strong> <span class="chat-dice-formula">{{diceFormula}}</span></li>
{{#if isTir}}
<li>Portée: {{porteeLabel}} ( {{difficulty}} )</li>
<li><strong>Portée:</strong> {{porteeLabel}} <span class="chat-difficulty-badge">Difficulté: {{difficulty}}</span></li>
{{else}}
<li>Difficulté: {{difficulty}} </li>
<li><strong>Difficulté:</strong> <span class="chat-difficulty-badge">{{difficulty}}</span></li>
{{/if}}
</ul>
</div>
<div class="flexrow">
<ul class="chat-result-column">
<li><strong>Résultat: {{total}}</strong> </li>
<div class="chat-roll-result-section">
<div class="chat-total-result">Résultat: {{total}}</div>
<div style="text-align: center;">
{{#if isSuccess}}
<li><strong class="chat-result-success">Succès !</strong> </li>
<div class="chat-result-success">Succès !</div>
{{#if isReussiteCritique}}
<li data-tooltip="Si le jet n'est pas opposé, cliquez sur le bouton pour gagner 1 XP gagné en {{carac.name}}">
<strong class="chat-result-success">Réussite critique (XP potentiel) !</strong>
</li>
<div class="chat-result-success" data-tooltip="Si le jet n'est pas opposé, cliquez sur le bouton pour gagner 1 XP en {{carac.name}}" style="margin-top: 0.3rem;">
🌟 Réussite critique (XP potentiel) !
</div>
{{/if}}
{{#if arme}}
<li><strong class="">Attaque réussie ! Faites une opposition avec la défense de la cible ou appliquez directement
les dégats.</strong> </li>
<div class="chat-info-badge" style="display: block; margin-top: 0.4rem; padding: 0.3rem; font-size: 0.9em;">
⚔️ <strong>Attaque réussie !</strong> Faites une opposition avec la défense de la cible ou appliquez directement les dégâts.
</div>
{{/if}}
{{else}}
<li><strong class="chat-result-failure">Echec !</strong> </li>
<div class="chat-result-failure">Échec !</div>
{{#if critiqueTotal}}
<div class="chat-negative-dice" style="margin-top: 0.3rem;">
Dé négatif: {{critiqueTotal}}
</div>
{{/if}}
{{#if isEchecCritique}}
<li data-tooltip="Si le jet n'est pas opposé, cliquez sur le bouton pour gagner 1 XP gagné en {{carac.name}}">
<strong class="chat-result-failure">Echec critique (XP potentiel) !</strong>
</li>
<div class="chat-result-failure" data-tooltip="Si le jet n'est pas opposé, cliquez sur le bouton pour gagner 1 XP en {{carac.name}}" style="margin-top: 0.3rem;">
💀 Échec critique (XP potentiel) !
</div>
{{/if}}
{{/if}}
{{#if nbEsquives}}
<li>Rappel : vous devez réussir {{nbEsquives}} tests d'esquive pour arriver au contact (règle d'allonge des armes).
</li>
<div class="chat-warning-badge" style="display: block; margin-top: 0.4rem; padding: 0.3rem;">
⚠️ Rappel : vous devez réussir {{nbEsquives}} tests d'esquive pour arriver au contact (règle d'allonge des armes).
</div>
{{/if}}
{{#if loc}}
<li><strong>Attaque réussie !!</strong> </li>
<li>Localisation: {{loc.label}} </li>
<div class="chat-info-badge" style="display: block; margin-top: 0.4rem; padding: 0.3rem; background: rgba(255, 215, 0, 0.15); border-left-color: goldenrod;">
🎯 <strong>Localisation:</strong> {{loc.label}}
</div>
{{/if}}
{{#if degats}}
<li>Dégats: {{degats}} {{#if isReussiteCritique}}(Augmentez la gravité de la blessure d'un niveau){{/if}}</li>
<div class="chat-warning-badge" style="display: block; margin-top: 0.4rem; padding: 0.3rem; font-size: 0.95em; background: rgba(255, 100, 100, 0.15); border-left-color: #a82020;">
⚔️ <strong>Dégâts:</strong> {{degats}} {{#if isReussiteCritique}}<em>(Augmentez la gravité de la blessure d'un niveau)</em>{{/if}}
</div>
{{/if}}
</div>
</div>
</ul>
<div>
<div class="chat-actions-bar">
{{#if (or isEchecCritique isReussiteCritique)}}
<a class="chat-command-gain-xp">
<img class="chat-command-img" data-tooltip="Cliquez ici pour +1 XP en {{carac.name}} si pas d'opposition"
@@ -121,14 +127,12 @@
{{#if arme}}
{{#if isSuccess}}
<a class="chat-command-appliquer-degats">
<img class="chat-command-img" data-tooltip="Appliquer les dégats directement sans opposition"
<img class="chat-command-img" data-tooltip="Appliquer les dégâts directement sans opposition"
src="systems/fvtt-te-deum/images/icons/appliquer-degats.webp">
</a>
{{/if}}
{{/if}}
</div>
</div>
</div>
</div>

View File

@@ -8,43 +8,69 @@
<div class="flexcol">
<div class="flexrow">
<span class="roll-dialog-label">Caracteristique </span>
<span class="roll-dialog-label">{{carac.name}} : {{carac.qualite}} ({{carac.dice}})</span>
<span class="roll-dialog-label">Caractéristique </span>
<span class="roll-dialog-label">{{carac.name}}
:
{{carac.qualite}}
({{carac.dice}})</span>
</div>
{{#if competence}}
<div class="flexrow">
<span class="roll-dialog-label">Compétence </span>
<span class="roll-dialog-label">{{competence.name}} ({{compScore}})</span>
<span class="roll-dialog-label">🎯 Compétence </span>
<span class="roll-dialog-label">{{competence.name}}
({{compScore}})</span>
</div>
{{/if}}
{{#if santeModifier}}
<div class="flexrow">
<span class="roll-dialog-label">Malus Blessures </span>
<span class="roll-dialog-label">💔 Malus Blessures </span>
<span class="roll-dialog-label">{{santeModifier}} niveaux</span>
</div>
{{/if}}
<div class="flexrow">
<span class="roll-dialog-label">Bonus/Malus : </span>
<select class="" type="text" id="roll-bonus-malus" value="{{bonusMalus}}" data-dtype="Number">
{{selectOptions config.bonusMalus selected=bonusMalus labelAttr="label" valueAttr="value" nameAttr="value"}}
<span class="roll-dialog-label"> Bonus/Malus : </span>
<select
class=""
type="text"
id="roll-bonus-malus"
value="{{bonusMalus}}"
data-dtype="Number"
>
{{selectOptions
config.bonusMalus
selected=bonusMalus
labelAttr="label"
valueAttr="value"
nameAttr="value"
}}
</select>
</div>
{{#if providence.value}}
<div class="flexrow">
<span class="roll-dialog-label">Utiliser la Providence ({{providence.dice}})</span>
<input type="checkbox" id="roll-enable-providence" {{checked enableProvidence}} />
<span class="roll-dialog-label">Utiliser la Providence ({{providence.dice}})</span>
<input
type="checkbox"
id="roll-enable-providence"
{{checked enableProvidence}}
/>
</div>
{{/if}}
{{#if arme}}
{{#if isTir}}
<div class="flexrow">
<span class="roll-dialog-label">Portée : </span>
<select class="" type="text" id="roll-portee-tir" value="{{porteeTir}}" data-dtype="String">
<span class="roll-dialog-label">🏹 Portée : </span>
<select
class=""
type="text"
id="roll-portee-tir"
value="{{porteeTir}}"
data-dtype="String"
>
{{#select porteeTir}}
{{#each config.ARME_PORTEES as |portee key|}}
<option value="{{key}}">{{portee.label}}</option>
@@ -53,23 +79,36 @@
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Viser : </span>
<span class="roll-dialog-label">👁️ Viser : </span>
<input type="checkbox" id="roll-tir-viser" {{checked isViser}} />
</div>
<div class="flexrow">
<span class="roll-dialog-label">Cible petite/en mouvement : </span>
<input type="checkbox" id="roll-tir-mouvement" {{checked isMouvement}} />
<span class="roll-dialog-label">🏃 Cible petite/en mouvement : </span>
<input
type="checkbox"
id="roll-tir-mouvement"
{{checked isMouvement}}
/>
</div>
{{else}}
<div class="flexrow">
<span class="roll-dialog-label">Allonge {{allongeLabel}} : Indiquez l'allonge de votre adversaire
ci-dessous.</span>
<span class="roll-dialog-label">⚔️ Allonge
{{allongeLabel}}
: Indiquez l'allonge de votre adversaire ci-dessous.</span>
</div>
<div class="flexrow">
<span class="roll-dialog-label"
data-tooltip="Modification d'allonge selon votre arme et celle de votre adversaire">Allonge arme adversaire :
<span
class="roll-dialog-label"
data-tooltip="Modification d'allonge selon votre arme et celle de votre adversaire"
>🗡️ Allonge arme adversaire :
</span>
<select class="" type="text" id="roll-allonge" value="{{allongeId}}" data-dtype="String">
<select
class=""
type="text"
id="roll-allonge"
value="{{allongeId}}"
data-dtype="String"
>
{{#select allongeId}}
{{#each allonges as |allonge key|}}
<option value="{{key}}">{{allonge.label}}</option>
@@ -78,21 +117,35 @@
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Charge à pied ?</span>
<input type="checkbox" id="roll-charge-a-pied" {{checked isChargeAPied}} />
<span class="roll-dialog-label">🏃 Charge à pied ?</span>
<input
type="checkbox"
id="roll-charge-a-pied"
{{checked isChargeAPied}}
/>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Charge à cheval ?</span>
<input type="checkbox" id="roll-charge-a-cheval" {{checked isChargeACheval}} />
<span class="roll-dialog-label">🐴 Charge à cheval ?</span>
<input
type="checkbox"
id="roll-charge-a-cheval"
{{checked isChargeACheval}}
/>
</div>
{{/if}}
<div class="flexrow">
<span class="roll-dialog-label">Main gauche ?</span>
<span class="roll-dialog-label">Main gauche ?</span>
<input type="checkbox" id="roll-main-gauche" {{checked isMainGauche}} />
</div>
<div class="flexrow">
<span class="roll-dialog-label">Attaque ciblée (-1 Niveau): </span>
<select class="" type="text" id="roll-attaque-ciblee" value="{{attaqueCiblee}}" data-dtype="String">
<span class="roll-dialog-label">🎯 Attaque ciblée (-1 Niveau): </span>
<select
class=""
type="text"
id="roll-attaque-ciblee"
value="{{attaqueCiblee}}"
data-dtype="String"
>
{{#select attaqueCiblee}}
{{#each config.ATTAQUE_CIBLEES as |attaque key|}}
<option value="{{key}}">{{attaque.label}}</option>
@@ -102,9 +155,20 @@
</div>
{{else}}
<div class="flexrow">
<span class="roll-dialog-label">Difficulté : </span>
<select class="" type="text" id="roll-difficulty" value="{{difficulty}}" data-dtype="String">
{{selectOptions config.difficulte selected=difficulty valueAttr="key" labelAttr="label"}}
<span class="roll-dialog-label">📊 Difficulté : </span>
<select
class=""
type="text"
id="roll-difficulty"
value="{{difficulty}}"
data-dtype="String"
>
{{selectOptions
config.difficulte
selected=difficulty
valueAttr="key"
labelAttr="label"
}}
</select>
</div>
{{/if}}

View File

@@ -38,22 +38,22 @@
</select>
</li>
<h3>Spécificités</h3>
<h3>⚔️ Spécificités</h3>
<li class="flexrow">
<label class="item-name-label-long">Dégâts</label>
<label class="item-name-label-long">💥 Dégâts</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.degats" value="{{system.degats}}" data-dtype="String" />
</li>
<li class="flexrow">
<label class="item-name-label-long">Valeur d'echec critique (ie 1 par défaut)</label>
<label class="item-name-label-long">⚠️ Valeur d'échec critique (ie 1 par défaut)</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.valeurEchecCritique" value="{{system.valeurEchecCritique}}" data-dtype="Numeric" />
</li>
{{#if (eq system.typeArme "melee")}}
<li class="flexrow">
<label class="item-name-label-long">Allonge</label>
<label class="item-name-label-long">🗡️ Allonge</label>
<select name="system.allonge">
{{selectOptions config.armeAllonges selected=system.allonge labelAttr="label"}}
</select>
@@ -62,12 +62,12 @@
{{#if (eq system.typeArme "tir")}}
<li class="flexrow">
<label class="item-name-label-long">Temps de recharge</label>
<label class="item-name-label-long">⏱️ Temps de recharge</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.tempsRecharge" value="{{system.tempsRecharge}}" data-dtype="Number" />
</li>
<li class="flexrow">
<label class="item-name-label-long">Compétence de recharge</label>
<label class="item-name-label-long">🔄 Compétence de recharge</label>
<select name="system.competenceRecharge">
{{selectOptions config.competencesRecharge selected=system.competenceRecharge labelAttr="label"}}
</select>
@@ -90,7 +90,7 @@
{{/each}}
{{#if (eq system.typeArme "tir")}}
<h3>Portées</h3>
<h3>🎯 Portées</h3>
{{#each system.portees as |portee porteeId|}}
<li class="flexrow">
<label class="item-name-label-long">{{getConfigLabel "ARME_PORTEES" porteeId}}</label>
@@ -100,7 +100,7 @@
{{/each}}
{{/if}}
<h3>Degats sur armures</h3>
<h3>🛡️ Degats sur armures</h3>
{{#each system.degatsArmure as |degat degtId|}}
<li class="flexrow">
<label class="item-name-label-long">{{getConfigLabel "degatsArmure" degtId}}</label>
@@ -109,21 +109,21 @@
</li>
{{/each}}
<h3>Autres</h3>
<h3>📝 Autres</h3>
<li class="flexrow">
<label class="item-name-label-long">Equipé?</label>
<label class="item-name-label-long">Equipé?</label>
<input type="checkbox" name="system.equipe" {{checked system.equipe}} />
</li>
<li class="flexrow">
<label class="item-name-label-long">Bonus d'Initiative</label>
<label class="item-name-label-long">Bonus d'Initiative</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.initiativeBonus" value="{{system.initiativeBonus}}" data-dtype="Number" />
</li>
<li class="flexrow">
<label class="item-name-label-long">Prix</label>
<label class="item-name-label-long">💰 Prix</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.prix" value="{{system.prix}}" data-dtype="Number" />
<select name="system.monnaie">

View File

@@ -33,13 +33,13 @@
{{/each}}
<li class="flexrow">
<label class="item-name-label-long">Protection</label>
<label class="item-name-label-long">🛡️ Protection</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.protection" value="{{system.protection}}" data-dtype="Number" />
</li>
<li class="flexrow">
<label class="item-name-label-long">Cout en pièces d'Armure Lourde</label>
<label class="item-name-label-long">⚖️ Cout en pièces d'Armure Lourde</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.coutArmureLourde" value="{{system.coutArmureLourde}}" data-dtype="Number" />
</li>
@@ -57,12 +57,12 @@
</li>
<li class="flexrow">
<label class="item-name-label-long">Equipé?</label>
<label class="item-name-label-long">Equipé?</label>
<input type="checkbox" name="system.equipe" {{checked system.equipe}} />
</li>
<li class="flexrow">
<label class="item-name-label-long">Prix</label>
<label class="item-name-label-long">💰 Prix</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.prix" value="{{system.prix}}" data-dtype="Number" />
<select name="system.monnaie">

View File

@@ -18,13 +18,13 @@
<ul>
<li class="flexrow">
<label class="item-name-label-long">Type de Blessure</label>
<label class="item-name-label-long">🩸 Type de Blessure</label>
<select name="system.typeBlessure">
{{selectOptions config.blessures selected=system.typeBlessure valueAttr="key" nameAttr="key" labelAttr="label"}}
</select>
</li>
<li class="flexrow">
<label class="item-name-label-long">Localisation</label>
<label class="item-name-label-long">🎯 Localisation</label>
<select name="system.localisation">
{{selectOptions config.LOCALISATION selected=system.localisation valueAttr="id" nameAttr="id" labelAttr="label"}}
</select>

View File

@@ -19,19 +19,19 @@
<div class="tab" data-group="primary">
<ul>
<li class="flexrow">
<label class="item-name-label-long">Caractéristique</label>
<label class="item-name-label-long">Caractéristique</label>
<select name="system.caracteristique">
{{selectOptions config.caracteristiques selected=system.caracteristique labelAttr="label" blank=""}}
</select>
</li>
<li class="flexrow">
<label class="item-name-label-long">Compétence de base</label>
<label class="item-name-label-long">🎯 Compétence de base</label>
<input type="checkbox" name="system.isBase" {{checked system.isBase}} />
</li>
<li class="flexrow">
<label class="item-name-label-long">Score</label>
<label class="item-name-label-long">📊 Score</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.score" value="{{system.score}}" data-dtype="Number" {{#if system.isBase}}disabled{{/if}}/>
</li>

View File

@@ -21,7 +21,7 @@
<li class="flexrow">
<label class="item-name-label-long">Prix</label>
<label class="item-name-label-long">💰 Prix</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.prix" value="{{system.prix}}" data-dtype="Number" />
<select name="system.monnaie">

View File

@@ -25,25 +25,25 @@
<div class="tab details" data-group="primary" data-tab="details">
<h4 class="item-name-label-long">Vertus médicinales</h4>
<h4 class="item-name-label-long">🌿 Vertus médicinales</h4>
<textarea name="system.vertus" rows="6" data-dtype="String">
{{{system.vertus}}}
</textarea>
<h4 class="item-name-label-long">Toxicité</h4>
<h4 class="item-name-label-long">☠️ Toxicité</h4>
<textarea name="system.toxicite" rows="6" data-dtype="String">
{{{system.toxicite}}}
</textarea>
<ul>
<li class="flexrow">
<label class="item-name-label-long">Difficulté au test d'Endurance</label>
<label class="item-name-label-long">💪 Difficulté au test d'Endurance</label>
<select class="" type="text" name="system.difficulteEndurance" data-dtype="String">
{{selectOptions config.difficulte selected=system.difficulteEndurance abelAttr="label"}}
</select>
</li>
<li class="flexrow">
<label class="item-name-label-long">Virulence</label>
<label class="item-name-label-long">🔥 Virulence</label>
<select name="system.virulence">
{{selectOptions config.virulencePoison selected=system.virulence labelAttr="label"}}
</select>

View File

@@ -0,0 +1,26 @@
<h3 class="welcome-message-h3">Bonjour à tous !</h3>
<div class="message-chat-center">
Open Sesame Game a mis en place un nouveau Discord pour ceux ou celles qui
souhaiteraient participer plus activement à la communauté des jeux d'Open
Sesame Games, avec un espace dédié à Te Deum ! <br />
Nouveaux joueurs comme vétérans sont les bienvenus, n'hésitez pas à passer
pour papoter, profiter de nos ressources, ou suivre les nouvelles d'OSG plus
directement. Cliquez ici :<br />
<a href="https://discord.gg/dUPhNfJdaD">https://discord.gg/dUPhNfJdaD</a
><br />
</div>
<div class="message-chat-center">
Ce système vous est proposé par Open Sesame Games.<br />
Vous trouverez de l'aide dans
@UUID[Compendium.fvtt-te-deum.aides.JournalEntry.uNwJgi4kXBCiZmAH]{Aide pour
Te Deum}<br />
ainsi que sur le Discord de Foundry FR :
<a href="https://discord.gg/pPSDNJk">https://discord.gg/pPSDNJk</a>
</div>
<div>
Merci pour votre attention et à très bientôt pour la suite ! L'équipe Open
Sesame Games
</div>