From 4a346a43868d8aec91ad6ce683a4c66b16e6b918 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Thu, 19 Dec 2024 19:15:43 +0100 Subject: [PATCH] Minor fixes for education --- modules/data/tedeum-schema-education.js | 2 ++ packs/competences/{000221.log => 000229.log} | 0 packs/competences/CURRENT | 2 +- packs/competences/LOG | 16 ++++++++-------- packs/competences/LOG.old | 16 ++++++++-------- .../{MANIFEST-000219 => MANIFEST-000227} | Bin 178 -> 178 bytes packs/equipment/{000280.log => 000288.log} | 0 packs/equipment/CURRENT | 2 +- packs/equipment/LOG | 14 +++++++------- packs/equipment/LOG.old | 14 +++++++------- packs/equipment/MANIFEST-000278 | Bin 69 -> 0 bytes packs/equipment/MANIFEST-000286 | Bin 0 -> 69 bytes templates/items/item-education-sheet.hbs | 8 +++++++- 13 files changed, 41 insertions(+), 33 deletions(-) rename packs/competences/{000221.log => 000229.log} (100%) rename packs/competences/{MANIFEST-000219 => MANIFEST-000227} (71%) rename packs/equipment/{000280.log => 000288.log} (100%) delete mode 100644 packs/equipment/MANIFEST-000278 create mode 100644 packs/equipment/MANIFEST-000286 diff --git a/modules/data/tedeum-schema-education.js b/modules/data/tedeum-schema-education.js index 14888a5..f8918c2 100644 --- a/modules/data/tedeum-schema-education.js +++ b/modules/data/tedeum-schema-education.js @@ -51,7 +51,9 @@ export class TeDeumEducationSchema extends foundry.abstract.TypeDataModel { }); return questions; }, {})); + schema.cagnotteMultiplier = new fields.NumberField({ ...requiredDouble, initial: 1.0, min: 0 }); + schema.cagnotteDivider = new fields.NumberField({ ...requiredDouble, initial: 1.0, min: 0 }); schema.description = new fields.HTMLField({ required: true, blank: true }); diff --git a/packs/competences/000221.log b/packs/competences/000229.log similarity index 100% rename from packs/competences/000221.log rename to packs/competences/000229.log diff --git a/packs/competences/CURRENT b/packs/competences/CURRENT index 7d68d99..ca06e10 100644 --- a/packs/competences/CURRENT +++ b/packs/competences/CURRENT @@ -1 +1 @@ -MANIFEST-000219 +MANIFEST-000227 diff --git a/packs/competences/LOG b/packs/competences/LOG index 3251009..ff0ac80 100644 --- a/packs/competences/LOG +++ b/packs/competences/LOG @@ -1,8 +1,8 @@ -2024/12/05-22:39:44.005394 7f29121fa6c0 Recovering log #217 -2024/12/05-22:39:44.016531 7f29121fa6c0 Delete type=3 #215 -2024/12/05-22:39:44.016618 7f29121fa6c0 Delete type=0 #217 -2024/12/05-22:46:07.977970 7f2907bff6c0 Level-0 table #222: started -2024/12/05-22:46:07.978044 7f2907bff6c0 Level-0 table #222: 0 bytes OK -2024/12/05-22:46:07.996371 7f2907bff6c0 Delete type=0 #220 -2024/12/05-22:46:08.015732 7f2907bff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!zwC0H39ar5Pl1l92' @ 0 : 0; will stop at (end) -2024/12/05-22:46:08.015771 7f2907bff6c0 Manual compaction at level-1 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!zwC0H39ar5Pl1l92' @ 0 : 0; will stop at (end) +2024/12/19-19:13:41.535801 7fd2597fa6c0 Recovering log #225 +2024/12/19-19:13:41.545771 7fd2597fa6c0 Delete type=3 #223 +2024/12/19-19:13:41.545831 7fd2597fa6c0 Delete type=0 #225 +2024/12/19-19:14:58.099316 7fd258ff96c0 Level-0 table #230: started +2024/12/19-19:14:58.099357 7fd258ff96c0 Level-0 table #230: 0 bytes OK +2024/12/19-19:14:58.106002 7fd258ff96c0 Delete type=0 #228 +2024/12/19-19:14:58.106236 7fd258ff96c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!zwC0H39ar5Pl1l92' @ 0 : 0; will stop at (end) +2024/12/19-19:14:58.106270 7fd258ff96c0 Manual compaction at level-1 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!zwC0H39ar5Pl1l92' @ 0 : 0; will stop at (end) diff --git a/packs/competences/LOG.old b/packs/competences/LOG.old index 07293d6..94a89ba 100644 --- a/packs/competences/LOG.old +++ b/packs/competences/LOG.old @@ -1,8 +1,8 @@ -2024/12/05-16:21:20.555186 7f29109f76c0 Recovering log #213 -2024/12/05-16:21:20.566495 7f29109f76c0 Delete type=3 #211 -2024/12/05-16:21:20.566656 7f29109f76c0 Delete type=0 #213 -2024/12/05-16:23:37.025219 7f2907bff6c0 Level-0 table #218: started -2024/12/05-16:23:37.025290 7f2907bff6c0 Level-0 table #218: 0 bytes OK -2024/12/05-16:23:37.032109 7f2907bff6c0 Delete type=0 #216 -2024/12/05-16:23:37.051280 7f2907bff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!zwC0H39ar5Pl1l92' @ 0 : 0; will stop at (end) -2024/12/05-16:23:37.051328 7f2907bff6c0 Manual compaction at level-1 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!zwC0H39ar5Pl1l92' @ 0 : 0; will stop at (end) +2024/12/19-19:08:49.179638 7fd259ffb6c0 Recovering log #221 +2024/12/19-19:08:49.257853 7fd259ffb6c0 Delete type=3 #219 +2024/12/19-19:08:49.257915 7fd259ffb6c0 Delete type=0 #221 +2024/12/19-19:13:19.337885 7fd258ff96c0 Level-0 table #226: started +2024/12/19-19:13:19.337919 7fd258ff96c0 Level-0 table #226: 0 bytes OK +2024/12/19-19:13:19.343989 7fd258ff96c0 Delete type=0 #224 +2024/12/19-19:13:19.344154 7fd258ff96c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!zwC0H39ar5Pl1l92' @ 0 : 0; will stop at (end) +2024/12/19-19:13:19.355146 7fd258ff96c0 Manual compaction at level-1 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!zwC0H39ar5Pl1l92' @ 0 : 0; will stop at (end) diff --git a/packs/competences/MANIFEST-000219 b/packs/competences/MANIFEST-000227 similarity index 71% rename from packs/competences/MANIFEST-000219 rename to packs/competences/MANIFEST-000227 index 5dc58fd971a4cf6c89ed4780d11a8ddbcc1e5e05..2e902c4ef85df4859c99f64b841794e813fd50a1 100644 GIT binary patch delta 43 tcmdnQxQTH>pNd;a?^JFEMy4l>oD9rQ8Cfo}#=k0w1&KTbi9831001AV3?Kji delta 43 tcmdnQxQTH>pNdV6lqxp^Bhwv5P6p - + {{/if}} {{/each}} @@ -68,6 +68,12 @@ name="system.cagnotteMultiplier" value="{{system.cagnotteMultiplier}}" data-dtype="Number" /> +
  • + + +
  • {{/if}} {{#if hasQuestionnaire}}