Compare commits

...

3 Commits

Author SHA1 Message Date
uberwald 681eb42831 COrrection sur tokenizer
Release Creation / build (release) Successful in 1m4s
2026-06-03 20:44:43 +02:00
uberwald 93f07adcee Ajout démons
Release Creation / build (release) Successful in 1m38s
2026-05-03 16:14:42 +02:00
uberwald eac8d93670 Ajout démons 2026-05-03 16:14:28 +02:00
62 changed files with 52 additions and 18 deletions
+25
View File
@@ -54,6 +54,31 @@ jobs:
rm -rf packs/creatures-elementaires/creatures-elementaires
./node_modules/.bin/fvtt package pack -n creatures-elementaires --inputDirectory ./packs/src/creatures-elementaires --outputDirectory ./packs/creatures-elementaires
- name: Build automatons compendium pack
run: |
rm -rf packs/automatons/automatons
./node_modules/.bin/fvtt package pack -n automatons --inputDirectory ./packs/src/automatons --outputDirectory ./packs/automatons
- name: Build capacites-automaton compendium pack
run: |
rm -rf packs/capacites-automaton/capacites-automaton
./node_modules/.bin/fvtt package pack -n capacites-automaton --inputDirectory ./packs/src/capacites-automaton --outputDirectory ./packs/capacites-automaton
- name: Build traits-demoniaques compendium pack
run: |
rm -rf packs/traits-demoniaques/traits-demoniaques
./node_modules/.bin/fvtt package pack -n traits-demoniaques --inputDirectory ./packs/src/traits-demoniaques --outputDirectory ./packs/traits-demoniaques
- name: Build faiblesses-demoniaques compendium pack
run: |
rm -rf packs/faiblesses-demoniaques/faiblesses-demoniaques
./node_modules/.bin/fvtt package pack -n faiblesses-demoniaques --inputDirectory ./packs/src/faiblesses-demoniaques --outputDirectory ./packs/faiblesses-demoniaques
- name: Build demons-types compendium pack
run: |
rm -rf packs/demons-types/demons-types
./node_modules/.bin/fvtt package pack -n demons-types --inputDirectory ./packs/src/demons --outputDirectory ./packs/demons-types
# Create a zip file with all files required by the module to add to the release
- run: |
apt update -y
+1
View File
@@ -1,3 +1,4 @@
.history/
node_modules
.github/
regles/
+6 -4
View File
@@ -320,19 +320,22 @@
font-size: 0.6rem;
}
.editor {
.application.sheet .editor,
.window-app.sheet .editor {
border: 2;
height: 300px;
padding: 0 3px;
}
.medium-editor {
.application.sheet .medium-editor,
.window-app.sheet .medium-editor {
border: 2;
height: 240px;
padding: 0 3px;
}
.small-editor {
.application.sheet .small-editor,
.window-app.sheet .small-editor {
border: 2;
height: 120px;
padding: 0 3px;
@@ -849,7 +852,6 @@
/* ======================================== */
/* Sidebar CSS */
#sidebar {
font-size: 1rem;
background-position: 100%;
color: rgba(220, 220, 220, 0.75);
}
@@ -220,14 +220,15 @@ export default class MournbladeActorSheet extends HandlebarsApplicationMixin(fou
* Handle editing the actor image
* @param {Event} event - The triggering event
*/
static async #onEditImage(event) {
static async #onEditImage(event, target) {
event.preventDefault()
const sheet = this
const attr = target.dataset.edit || "img"
const current = foundry.utils.getProperty(this.document, attr) ?? this.document.img
const filePicker = new FilePicker({
type: "image",
current: sheet.document.img,
current,
callback: (path) => {
sheet.document.update({ img: path })
this.document.update({ [attr]: path })
},
})
filePicker.browse()
@@ -121,13 +121,15 @@ export default class MournbladeItemSheet extends HandlebarsApplicationMixin(foun
* Handle editing the item image
* @param {Event} event - The triggering event
*/
static async #onEditImage(event) {
static async #onEditImage(event, target) {
event.preventDefault()
const attr = target.dataset.edit || "img"
const current = foundry.utils.getProperty(this.document, attr) ?? this.document.img
const filePicker = new FilePicker({
type: "image",
current: this.document.img,
current,
callback: (path) => {
this.document.update({ img: path })
this.document.update({ [attr]: path })
},
})
filePicker.browse()
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View File
Binary file not shown.
View File
Binary file not shown.
View File
Binary file not shown.
View File
Binary file not shown.
View File
Binary file not shown.
View File
Binary file not shown.
+6 -4
View File
@@ -266,17 +266,20 @@ table {
font-style: italic;
font-size: 0.6rem;
}
.editor {
.application.sheet .editor,
.window-app.sheet .editor {
border: 2;
height: 300px;
padding: 0 3px;
}
.medium-editor {
.application.sheet .medium-editor,
.window-app.sheet .medium-editor {
border: 2;
height: 240px;
padding: 0 3px;
}
.small-editor {
.application.sheet .small-editor,
.window-app.sheet .small-editor {
border: 2;
height: 120px;
padding: 0 3px;
@@ -703,7 +706,6 @@ li {
/* ======================================== */
/* Sidebar CSS */
#sidebar {
font-size: 1rem;
background-position: 100%;
color: rgba(220, 220, 220, 0.75);
}
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -4,7 +4,7 @@
<header class="sheet-header">
<div class="header-fields background-sheet-header">
<div class="flexrow">
<img class="profile-img" src="{{actor.img}}" data-action="editImage" title="{{actor.name}}" />
<img class="profile-img" src="{{actor.img}}" data-action="editImage" data-edit="img" title="{{actor.name}}" />
<div class="flexcol header-main-content">
<div style="display: flex; align-items: center; gap: 0.3rem; width: 100%;">
<h1 class="charname" style="flex: 1; margin: 0; min-width: 0;"><input name="name" type="text" value="{{actor.name}}" placeholder="Name" {{#if isPlayMode}}disabled{{/if}} /></h1>
+1 -1
View File
@@ -4,7 +4,7 @@
<header class="sheet-header">
<div class="header-fields background-sheet-header-creature">
<div class="flexrow">
<img class="profile-img" src="{{actor.img}}" data-action="editImage" title="{{actor.name}}" />
<img class="profile-img" src="{{actor.img}}" data-action="editImage" data-edit="img" title="{{actor.name}}" />
<div class="flexcol header-main-content">
<div style="display: flex; align-items: center; gap: 0.3rem; width: 100%;">
<h1 class="charname" style="flex: 1; margin: 0; min-width: 0;"><input name="name" type="text" value="{{actor.name}}" placeholder="Name" {{#if isPlayMode}}disabled{{/if}} /></h1>
+1
View File
@@ -4,6 +4,7 @@
class="item-sheet-img"
src="{{item.img}}"
data-action="editImage"
data-edit="img"
title="{{item.name}}"
/>
<div class="header-fields">