Compare commits

..

3 Commits

61 changed files with 336 additions and 205 deletions

View File

@@ -43,10 +43,13 @@ export class WastelandActorSheet extends ActorSheet {
armes: duplicate(this.actor.getWeapons()),
protections: duplicate(this.actor.getArmors()),
pouvoirs:duplicate(this.actor.getPouvoirs()),
tours:duplicate(this.actor.getTours()),
charmes:duplicate(this.actor.getCharmes()),
origine: duplicate(this.actor.getOrigine() || {}),
heritage: duplicate(this.actor.getHeritage() || {}),
metier: duplicate(this.actor.getMetier() || {}),
combat: this.actor.getCombatValues(),
config: duplicate(game.system.wasteland.config),
equipements: duplicate(this.actor.getEquipments()),
monnaies: duplicate(this.actor.getMonnaies()),
description: await TextEditor.enrichHTML(this.object.system.biodata.description, {async: true}),

View File

@@ -106,6 +106,16 @@ export class WastelandActor extends Actor {
WastelandUtility.sortArrayObjectsByName(items)
return items
}
getCharmes() {
let items = this.items.filter(item => item.type=="charme" && item.system?.charmetype == "charme") || []
WastelandUtility.sortArrayObjectsByName(items)
return items
}
getTours() {
let items = this.items.filter(item => item.type=="charme" && item.system?.charmetype == "tour") || []
WastelandUtility.sortArrayObjectsByName(items)
return items
}
getPouvoirs() {
return this.getItemSorted(["pouvoir"])
}

View File

@@ -0,0 +1,15 @@
export const WASTELAND_CONFIG = {
cheminpouvoir : {
"force": "Chemin des Forces",
"forge": "Chemin des Forges",
"echo": "Chemin des Échos",
"reflet": "Chemin des Reflets",
"ame": "Chemin des Âmes",
"mort": "Chemin des Morts"
},
charmetype: {
tour: "Tour",
charme: "Charme",
}
}

View File

@@ -59,19 +59,16 @@ export class WastelandItemSheet extends ItemSheet {
editable: this.isEditable,
cssClass: this.isEditable ? "editable" : "locked",
attributs: WastelandUtility.getAttributs(),
config: duplicate(game.system.wasteland.config),
data: itemData.system,
system: itemData.system,
limited: this.object.limited,
options: this.options,
owner: this.document.isOwner,
description: await TextEditor.enrichHTML(this.object.system.description, {async: true}),
mr: (this.object.type == 'specialisation'),
isGM: game.user.isGM
}
if ( objectData.type == "don") {
formData.sacrifice = await TextEditor.enrichHTML(this.object.system.sacrifice, {async: true})
}
//this.options.editable = !(this.object.origin == "embeddedItem");
console.log("ITEM DATA", formData, this);
return formData;
}

View File

@@ -15,6 +15,7 @@ import { WastelandActorSheet } from "./wasteland-actor-sheet.js";
import { WastelandUtility } from "./wasteland-utility.js";
import { WastelandCombat } from "./wasteland-combat.js";
import { WastelandItem } from "./wasteland-item.js";
import { WASTELAND_CONFIG } from "./wasteland-config.js";
/* -------------------------------------------- */
/* Foundry VTT Initialization */
@@ -27,7 +28,7 @@ Hooks.once("init", async function () {
/* -------------------------------------------- */
// preload handlebars templates
WastelandUtility.preloadHandlebarsTemplates();
/* -------------------------------------------- */
// Set an initiative formula for the system
CONFIG.Combat.initiative = {
@@ -45,7 +46,9 @@ Hooks.once("init", async function () {
CONFIG.Combat.documentClass = WastelandCombat
CONFIG.Actor.documentClass = WastelandActor
CONFIG.Item.documentClass = WastelandItem
game.system.wasteland = { }
game.system.wasteland = {
config: WASTELAND_CONFIG
}
/* -------------------------------------------- */
// Register sheet application classes

View File

@@ -1 +1 @@
MANIFEST-000002
MANIFEST-000026

View File

@@ -1,5 +1,8 @@
2023/11/28-20:39:47.162893 7fef57fff6c0 Delete type=3 #1
2023/11/28-20:44:56.323628 7fef56ffd6c0 Level-0 table #5: started
2023/11/28-20:44:56.327500 7fef56ffd6c0 Level-0 table #5: 7368 bytes OK
2023/11/28-20:44:56.334760 7fef56ffd6c0 Delete type=0 #3
2023/11/28-20:44:56.341959 7fef56ffd6c0 Manual compaction at level-0 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)
2023/11/28-22:25:39.804205 7fef577fe6c0 Recovering log #24
2023/11/28-22:25:39.814540 7fef577fe6c0 Delete type=3 #22
2023/11/28-22:25:39.814668 7fef577fe6c0 Delete type=0 #24
2023/11/28-22:26:01.957988 7fef56ffd6c0 Level-0 table #29: started
2023/11/28-22:26:01.958049 7fef56ffd6c0 Level-0 table #29: 0 bytes OK
2023/11/28-22:26:01.993914 7fef56ffd6c0 Delete type=0 #27
2023/11/28-22:26:01.994099 7fef56ffd6c0 Manual compaction at level-0 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)
2023/11/28-22:26:01.994115 7fef56ffd6c0 Manual compaction at level-1 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)

8
packs/armes/LOG.old Normal file
View File

@@ -0,0 +1,8 @@
2023/11/28-22:14:53.966749 7ff1ed3ff6c0 Recovering log #20
2023/11/28-22:14:53.976936 7ff1ed3ff6c0 Delete type=3 #18
2023/11/28-22:14:53.977013 7ff1ed3ff6c0 Delete type=0 #20
2023/11/28-22:25:36.167685 7fef56ffd6c0 Level-0 table #25: started
2023/11/28-22:25:36.167712 7fef56ffd6c0 Level-0 table #25: 0 bytes OK
2023/11/28-22:25:36.174198 7fef56ffd6c0 Delete type=0 #23
2023/11/28-22:25:36.174324 7fef56ffd6c0 Manual compaction at level-0 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)
2023/11/28-22:25:36.174347 7fef56ffd6c0 Manual compaction at level-1 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/armes/MANIFEST-000026 Normal file

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000062
MANIFEST-000086

View File

@@ -1,8 +1,8 @@
2023/11/28-20:39:47.179721 7fef577fe6c0 Recovering log #60
2023/11/28-20:39:47.190040 7fef577fe6c0 Delete type=3 #58
2023/11/28-20:39:47.190196 7fef577fe6c0 Delete type=0 #60
2023/11/28-20:44:56.342152 7fef56ffd6c0 Level-0 table #65: started
2023/11/28-20:44:56.342234 7fef56ffd6c0 Level-0 table #65: 0 bytes OK
2023/11/28-20:44:56.348651 7fef56ffd6c0 Delete type=0 #63
2023/11/28-20:44:56.373930 7fef56ffd6c0 Manual compaction at level-0 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)
2023/11/28-20:44:56.374009 7fef56ffd6c0 Manual compaction at level-1 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)
2023/11/28-22:25:39.829581 7fef57fff6c0 Recovering log #84
2023/11/28-22:25:39.840009 7fef57fff6c0 Delete type=3 #82
2023/11/28-22:25:39.840073 7fef57fff6c0 Delete type=0 #84
2023/11/28-22:26:01.994226 7fef56ffd6c0 Level-0 table #89: started
2023/11/28-22:26:01.994256 7fef56ffd6c0 Level-0 table #89: 0 bytes OK
2023/11/28-22:26:02.031072 7fef56ffd6c0 Delete type=0 #87
2023/11/28-22:26:02.153695 7fef56ffd6c0 Manual compaction at level-0 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)
2023/11/28-22:26:02.153755 7fef56ffd6c0 Manual compaction at level-1 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2023/11/28-07:15:12.876497 7fef577fe6c0 Recovering log #56
2023/11/28-07:15:12.887664 7fef577fe6c0 Delete type=3 #54
2023/11/28-07:15:12.887762 7fef577fe6c0 Delete type=0 #56
2023/11/28-20:39:25.894820 7fef56ffd6c0 Level-0 table #61: started
2023/11/28-20:39:25.894893 7fef56ffd6c0 Level-0 table #61: 0 bytes OK
2023/11/28-20:39:25.901450 7fef56ffd6c0 Delete type=0 #59
2023/11/28-20:39:25.908694 7fef56ffd6c0 Manual compaction at level-0 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)
2023/11/28-20:39:25.908762 7fef56ffd6c0 Manual compaction at level-1 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)
2023/11/28-22:14:53.990204 7fef577fe6c0 Recovering log #80
2023/11/28-22:14:54.000869 7fef577fe6c0 Delete type=3 #78
2023/11/28-22:14:54.001047 7fef577fe6c0 Delete type=0 #80
2023/11/28-22:25:36.194226 7fef56ffd6c0 Level-0 table #85: started
2023/11/28-22:25:36.194293 7fef56ffd6c0 Level-0 table #85: 0 bytes OK
2023/11/28-22:25:36.200734 7fef56ffd6c0 Delete type=0 #83
2023/11/28-22:25:36.200935 7fef56ffd6c0 Manual compaction at level-0 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)
2023/11/28-22:25:36.200959 7fef56ffd6c0 Manual compaction at level-1 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000026
MANIFEST-000050

View File

@@ -1,8 +1,8 @@
2023/11/28-20:39:47.117834 7fef577fe6c0 Recovering log #24
2023/11/28-20:39:47.129810 7fef577fe6c0 Delete type=3 #22
2023/11/28-20:39:47.129988 7fef577fe6c0 Delete type=0 #24
2023/11/28-20:44:56.316585 7fef56ffd6c0 Level-0 table #29: started
2023/11/28-20:44:56.316623 7fef56ffd6c0 Level-0 table #29: 0 bytes OK
2023/11/28-20:44:56.323468 7fef56ffd6c0 Delete type=0 #27
2023/11/28-20:44:56.334960 7fef56ffd6c0 Manual compaction at level-0 from '!items!276PAK1VR5LK4rbE' @ 72057594037927935 : 1 .. '!items!nYYX7rtSMGFO4xVY' @ 0 : 0; will stop at (end)
2023/11/28-20:44:56.341983 7fef56ffd6c0 Manual compaction at level-1 from '!items!276PAK1VR5LK4rbE' @ 72057594037927935 : 1 .. '!items!nYYX7rtSMGFO4xVY' @ 0 : 0; will stop at (end)
2023/11/28-22:25:39.779436 7fef57fff6c0 Recovering log #48
2023/11/28-22:25:39.789921 7fef57fff6c0 Delete type=3 #46
2023/11/28-22:25:39.789983 7fef57fff6c0 Delete type=0 #48
2023/11/28-22:26:01.878136 7fef56ffd6c0 Level-0 table #53: started
2023/11/28-22:26:01.878192 7fef56ffd6c0 Level-0 table #53: 0 bytes OK
2023/11/28-22:26:01.914960 7fef56ffd6c0 Delete type=0 #51
2023/11/28-22:26:01.957954 7fef56ffd6c0 Manual compaction at level-0 from '!items!276PAK1VR5LK4rbE' @ 72057594037927935 : 1 .. '!items!nYYX7rtSMGFO4xVY' @ 0 : 0; will stop at (end)
2023/11/28-22:26:01.994087 7fef56ffd6c0 Manual compaction at level-1 from '!items!276PAK1VR5LK4rbE' @ 72057594037927935 : 1 .. '!items!nYYX7rtSMGFO4xVY' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2023/11/28-07:15:12.817776 7fef577fe6c0 Recovering log #20
2023/11/28-07:15:12.829998 7fef577fe6c0 Delete type=3 #18
2023/11/28-07:15:12.830086 7fef577fe6c0 Delete type=0 #20
2023/11/28-20:39:25.873380 7fef56ffd6c0 Level-0 table #25: started
2023/11/28-20:39:25.873446 7fef56ffd6c0 Level-0 table #25: 0 bytes OK
2023/11/28-20:39:25.879728 7fef56ffd6c0 Delete type=0 #23
2023/11/28-20:39:25.887095 7fef56ffd6c0 Manual compaction at level-0 from '!items!276PAK1VR5LK4rbE' @ 72057594037927935 : 1 .. '!items!nYYX7rtSMGFO4xVY' @ 0 : 0; will stop at (end)
2023/11/28-20:39:25.887190 7fef56ffd6c0 Manual compaction at level-1 from '!items!276PAK1VR5LK4rbE' @ 72057594037927935 : 1 .. '!items!nYYX7rtSMGFO4xVY' @ 0 : 0; will stop at (end)
2023/11/28-22:14:53.939948 7fef577fe6c0 Recovering log #44
2023/11/28-22:14:53.949765 7fef577fe6c0 Delete type=3 #42
2023/11/28-22:14:53.949833 7fef577fe6c0 Delete type=0 #44
2023/11/28-22:25:36.155114 7fef56ffd6c0 Level-0 table #49: started
2023/11/28-22:25:36.155139 7fef56ffd6c0 Level-0 table #49: 0 bytes OK
2023/11/28-22:25:36.161385 7fef56ffd6c0 Delete type=0 #47
2023/11/28-22:25:36.174294 7fef56ffd6c0 Manual compaction at level-0 from '!items!276PAK1VR5LK4rbE' @ 72057594037927935 : 1 .. '!items!nYYX7rtSMGFO4xVY' @ 0 : 0; will stop at (end)
2023/11/28-22:25:36.174332 7fef56ffd6c0 Manual compaction at level-1 from '!items!276PAK1VR5LK4rbE' @ 72057594037927935 : 1 .. '!items!nYYX7rtSMGFO4xVY' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000026
MANIFEST-000050

View File

@@ -1,8 +1,8 @@
2023/11/28-20:39:47.133116 7ff1ed3ff6c0 Recovering log #24
2023/11/28-20:39:47.143337 7ff1ed3ff6c0 Delete type=3 #22
2023/11/28-20:39:47.143433 7ff1ed3ff6c0 Delete type=0 #24
2023/11/28-20:44:56.334976 7fef56ffd6c0 Level-0 table #29: started
2023/11/28-20:44:56.335022 7fef56ffd6c0 Level-0 table #29: 0 bytes OK
2023/11/28-20:44:56.341700 7fef56ffd6c0 Delete type=0 #27
2023/11/28-20:44:56.342021 7fef56ffd6c0 Manual compaction at level-0 from '!items!1zbNJIOmrsThaKFU' @ 72057594037927935 : 1 .. '!items!y0G0VMyygxIj4Y7F' @ 0 : 0; will stop at (end)
2023/11/28-20:44:56.342090 7fef56ffd6c0 Manual compaction at level-1 from '!items!1zbNJIOmrsThaKFU' @ 72057594037927935 : 1 .. '!items!y0G0VMyygxIj4Y7F' @ 0 : 0; will stop at (end)
2023/11/28-22:25:39.791819 7ff1ecbfe6c0 Recovering log #48
2023/11/28-22:25:39.801806 7ff1ecbfe6c0 Delete type=3 #46
2023/11/28-22:25:39.801862 7ff1ecbfe6c0 Delete type=0 #48
2023/11/28-22:26:01.915107 7fef56ffd6c0 Level-0 table #53: started
2023/11/28-22:26:01.915141 7fef56ffd6c0 Level-0 table #53: 0 bytes OK
2023/11/28-22:26:01.957280 7fef56ffd6c0 Delete type=0 #51
2023/11/28-22:26:01.994058 7fef56ffd6c0 Manual compaction at level-0 from '!items!1zbNJIOmrsThaKFU' @ 72057594037927935 : 1 .. '!items!y0G0VMyygxIj4Y7F' @ 0 : 0; will stop at (end)
2023/11/28-22:26:01.994107 7fef56ffd6c0 Manual compaction at level-1 from '!items!1zbNJIOmrsThaKFU' @ 72057594037927935 : 1 .. '!items!y0G0VMyygxIj4Y7F' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2023/11/28-07:15:12.833006 7ff1ecbfe6c0 Recovering log #20
2023/11/28-07:15:12.843816 7ff1ecbfe6c0 Delete type=3 #18
2023/11/28-07:15:12.843901 7ff1ecbfe6c0 Delete type=0 #20
2023/11/28-20:39:25.858607 7fef56ffd6c0 Level-0 table #25: started
2023/11/28-20:39:25.858705 7fef56ffd6c0 Level-0 table #25: 0 bytes OK
2023/11/28-20:39:25.865393 7fef56ffd6c0 Delete type=0 #23
2023/11/28-20:39:25.887034 7fef56ffd6c0 Manual compaction at level-0 from '!items!1zbNJIOmrsThaKFU' @ 72057594037927935 : 1 .. '!items!y0G0VMyygxIj4Y7F' @ 0 : 0; will stop at (end)
2023/11/28-20:39:25.887138 7fef56ffd6c0 Manual compaction at level-1 from '!items!1zbNJIOmrsThaKFU' @ 72057594037927935 : 1 .. '!items!y0G0VMyygxIj4Y7F' @ 0 : 0; will stop at (end)
2023/11/28-22:14:53.953114 7ff1ecbfe6c0 Recovering log #44
2023/11/28-22:14:53.963864 7ff1ecbfe6c0 Delete type=3 #42
2023/11/28-22:14:53.963919 7ff1ecbfe6c0 Delete type=0 #44
2023/11/28-22:25:36.161493 7fef56ffd6c0 Level-0 table #49: started
2023/11/28-22:25:36.161519 7fef56ffd6c0 Level-0 table #49: 0 bytes OK
2023/11/28-22:25:36.167584 7fef56ffd6c0 Delete type=0 #47
2023/11/28-22:25:36.174305 7fef56ffd6c0 Manual compaction at level-0 from '!items!1zbNJIOmrsThaKFU' @ 72057594037927935 : 1 .. '!items!y0G0VMyygxIj4Y7F' @ 0 : 0; will stop at (end)
2023/11/28-22:25:36.174339 7fef56ffd6c0 Manual compaction at level-1 from '!items!1zbNJIOmrsThaKFU' @ 72057594037927935 : 1 .. '!items!y0G0VMyygxIj4Y7F' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000027
MANIFEST-000051

View File

@@ -1,8 +1,8 @@
2023/11/28-20:39:47.103624 7ff1ecbfe6c0 Recovering log #25
2023/11/28-20:39:47.114639 7ff1ecbfe6c0 Delete type=3 #23
2023/11/28-20:39:47.114725 7ff1ecbfe6c0 Delete type=0 #25
2023/11/28-20:44:56.309731 7fef56ffd6c0 Level-0 table #30: started
2023/11/28-20:44:56.309794 7fef56ffd6c0 Level-0 table #30: 0 bytes OK
2023/11/28-20:44:56.316448 7fef56ffd6c0 Delete type=0 #28
2023/11/28-20:44:56.334941 7fef56ffd6c0 Manual compaction at level-0 from '!items!0xdQs67JPsVrUyvp' @ 72057594037927935 : 1 .. '!items!xox7R7Uuuz0eGL0p' @ 0 : 0; will stop at (end)
2023/11/28-20:44:56.341930 7fef56ffd6c0 Manual compaction at level-1 from '!items!0xdQs67JPsVrUyvp' @ 72057594037927935 : 1 .. '!items!xox7R7Uuuz0eGL0p' @ 0 : 0; will stop at (end)
2023/11/28-22:25:39.766917 7ff1ed3ff6c0 Recovering log #49
2023/11/28-22:25:39.776639 7ff1ed3ff6c0 Delete type=3 #47
2023/11/28-22:25:39.776769 7ff1ed3ff6c0 Delete type=0 #49
2023/11/28-22:26:01.835351 7fef56ffd6c0 Level-0 table #54: started
2023/11/28-22:26:01.835379 7fef56ffd6c0 Level-0 table #54: 0 bytes OK
2023/11/28-22:26:01.877912 7fef56ffd6c0 Delete type=0 #52
2023/11/28-22:26:01.957422 7fef56ffd6c0 Manual compaction at level-0 from '!items!0xdQs67JPsVrUyvp' @ 72057594037927935 : 1 .. '!items!xox7R7Uuuz0eGL0p' @ 0 : 0; will stop at (end)
2023/11/28-22:26:01.994075 7fef56ffd6c0 Manual compaction at level-1 from '!items!0xdQs67JPsVrUyvp' @ 72057594037927935 : 1 .. '!items!xox7R7Uuuz0eGL0p' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2023/11/28-07:15:12.803710 7fef57fff6c0 Recovering log #21
2023/11/28-07:15:12.814219 7fef57fff6c0 Delete type=3 #19
2023/11/28-07:15:12.814329 7fef57fff6c0 Delete type=0 #21
2023/11/28-20:39:25.879873 7fef56ffd6c0 Level-0 table #26: started
2023/11/28-20:39:25.879919 7fef56ffd6c0 Level-0 table #26: 0 bytes OK
2023/11/28-20:39:25.886813 7fef56ffd6c0 Delete type=0 #24
2023/11/28-20:39:25.887116 7fef56ffd6c0 Manual compaction at level-0 from '!items!0xdQs67JPsVrUyvp' @ 72057594037927935 : 1 .. '!items!xox7R7Uuuz0eGL0p' @ 0 : 0; will stop at (end)
2023/11/28-20:39:25.887217 7fef56ffd6c0 Manual compaction at level-1 from '!items!0xdQs67JPsVrUyvp' @ 72057594037927935 : 1 .. '!items!xox7R7Uuuz0eGL0p' @ 0 : 0; will stop at (end)
2023/11/28-22:14:53.927159 7fef57fff6c0 Recovering log #45
2023/11/28-22:14:53.938168 7fef57fff6c0 Delete type=3 #43
2023/11/28-22:14:53.938269 7fef57fff6c0 Delete type=0 #45
2023/11/28-22:25:36.148472 7fef56ffd6c0 Level-0 table #50: started
2023/11/28-22:25:36.148556 7fef56ffd6c0 Level-0 table #50: 0 bytes OK
2023/11/28-22:25:36.154989 7fef56ffd6c0 Delete type=0 #48
2023/11/28-22:25:36.167674 7fef56ffd6c0 Manual compaction at level-0 from '!items!0xdQs67JPsVrUyvp' @ 72057594037927935 : 1 .. '!items!xox7R7Uuuz0eGL0p' @ 0 : 0; will stop at (end)
2023/11/28-22:25:36.174315 7fef56ffd6c0 Manual compaction at level-1 from '!items!0xdQs67JPsVrUyvp' @ 72057594037927935 : 1 .. '!items!xox7R7Uuuz0eGL0p' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000062
MANIFEST-000087

View File

@@ -1,15 +1,8 @@
2023/11/28-20:39:47.165564 7ff1ecbfe6c0 Recovering log #60
2023/11/28-20:39:47.176753 7ff1ecbfe6c0 Delete type=3 #58
2023/11/28-20:39:47.176846 7ff1ecbfe6c0 Delete type=0 #60
2023/11/28-20:44:56.348925 7fef56ffd6c0 Level-0 table #65: started
2023/11/28-20:44:56.353149 7fef56ffd6c0 Level-0 table #65: 1064 bytes OK
2023/11/28-20:44:56.359589 7fef56ffd6c0 Delete type=0 #63
2023/11/28-20:44:56.373949 7fef56ffd6c0 Manual compaction at level-0 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)
2023/11/28-20:44:56.374034 7fef56ffd6c0 Manual compaction at level-1 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at '!items!veoS6Gtzj6Dq087V' @ 12 : 1
2023/11/28-20:44:56.374047 7fef56ffd6c0 Compacting 1@1 + 1@2 files
2023/11/28-20:44:56.377692 7fef56ffd6c0 Generated table #66@1: 5 keys, 1014 bytes
2023/11/28-20:44:56.377727 7fef56ffd6c0 Compacted 1@1 + 1@2 files => 1014 bytes
2023/11/28-20:44:56.383811 7fef56ffd6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2023/11/28-20:44:56.383927 7fef56ffd6c0 Delete type=2 #5
2023/11/28-20:44:56.384094 7fef56ffd6c0 Delete type=2 #65
2023/11/28-20:44:56.384246 7fef56ffd6c0 Manual compaction at level-1 from '!items!veoS6Gtzj6Dq087V' @ 12 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)
2023/11/28-22:25:39.816638 7ff1ed3ff6c0 Recovering log #85
2023/11/28-22:25:39.826939 7ff1ed3ff6c0 Delete type=3 #83
2023/11/28-22:25:39.826992 7ff1ed3ff6c0 Delete type=0 #85
2023/11/28-22:26:02.073308 7fef56ffd6c0 Level-0 table #90: started
2023/11/28-22:26:02.073355 7fef56ffd6c0 Level-0 table #90: 0 bytes OK
2023/11/28-22:26:02.110214 7fef56ffd6c0 Delete type=0 #88
2023/11/28-22:26:02.153733 7fef56ffd6c0 Manual compaction at level-0 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)
2023/11/28-22:26:02.153763 7fef56ffd6c0 Manual compaction at level-1 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2023/11/28-07:15:12.861772 7fef57fff6c0 Recovering log #56
2023/11/28-07:15:12.873703 7fef57fff6c0 Delete type=3 #54
2023/11/28-07:15:12.873814 7fef57fff6c0 Delete type=0 #56
2023/11/28-20:39:25.887361 7fef56ffd6c0 Level-0 table #61: started
2023/11/28-20:39:25.887451 7fef56ffd6c0 Level-0 table #61: 0 bytes OK
2023/11/28-20:39:25.894653 7fef56ffd6c0 Delete type=0 #59
2023/11/28-20:39:25.908676 7fef56ffd6c0 Manual compaction at level-0 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)
2023/11/28-20:39:25.908736 7fef56ffd6c0 Manual compaction at level-1 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)
2023/11/28-22:14:53.978702 7fef57fff6c0 Recovering log #81
2023/11/28-22:14:53.988721 7fef57fff6c0 Delete type=3 #79
2023/11/28-22:14:53.988779 7fef57fff6c0 Delete type=0 #81
2023/11/28-22:25:36.187160 7fef56ffd6c0 Level-0 table #86: started
2023/11/28-22:25:36.187189 7fef56ffd6c0 Level-0 table #86: 0 bytes OK
2023/11/28-22:25:36.193995 7fef56ffd6c0 Delete type=0 #84
2023/11/28-22:25:36.200924 7fef56ffd6c0 Manual compaction at level-0 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)
2023/11/28-22:25:36.200951 7fef56ffd6c0 Manual compaction at level-1 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000002
MANIFEST-000026

View File

@@ -1,5 +1,7 @@
2023/11/28-20:39:47.224216 7fef57fff6c0 Delete type=3 #1
2023/11/28-20:44:56.366715 7fef56ffd6c0 Level-0 table #5: started
2023/11/28-20:44:56.366755 7fef56ffd6c0 Level-0 table #5: 0 bytes OK
2023/11/28-20:44:56.373788 7fef56ffd6c0 Delete type=0 #3
2023/11/28-20:44:56.373982 7fef56ffd6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
2023/11/28-22:25:39.853649 7fef577fe6c0 Recovering log #24
2023/11/28-22:25:39.863741 7fef577fe6c0 Delete type=3 #22
2023/11/28-22:25:39.863801 7fef577fe6c0 Delete type=0 #24
2023/11/28-22:26:02.031207 7fef56ffd6c0 Level-0 table #29: started
2023/11/28-22:26:02.031240 7fef56ffd6c0 Level-0 table #29: 0 bytes OK
2023/11/28-22:26:02.073160 7fef56ffd6c0 Delete type=0 #27
2023/11/28-22:26:02.153714 7fef56ffd6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

7
packs/scenes/LOG.old Normal file
View File

@@ -0,0 +1,7 @@
2023/11/28-22:14:54.017371 7ff1ed3ff6c0 Recovering log #20
2023/11/28-22:14:54.027883 7ff1ed3ff6c0 Delete type=3 #18
2023/11/28-22:14:54.027943 7ff1ed3ff6c0 Delete type=0 #20
2023/11/28-22:25:36.180820 7fef56ffd6c0 Level-0 table #25: started
2023/11/28-22:25:36.180877 7fef56ffd6c0 Level-0 table #25: 0 bytes OK
2023/11/28-22:25:36.187032 7fef56ffd6c0 Delete type=0 #23
2023/11/28-22:25:36.200911 7fef56ffd6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000063
MANIFEST-000087

View File

@@ -1,8 +1,8 @@
2023/11/28-20:39:47.090489 7fef57fff6c0 Recovering log #61
2023/11/28-20:39:47.100928 7fef57fff6c0 Delete type=3 #59
2023/11/28-20:39:47.101096 7fef57fff6c0 Delete type=0 #61
2023/11/28-20:44:56.291389 7fef56ffd6c0 Level-0 table #66: started
2023/11/28-20:44:56.291482 7fef56ffd6c0 Level-0 table #66: 0 bytes OK
2023/11/28-20:44:56.297940 7fef56ffd6c0 Delete type=0 #64
2023/11/28-20:44:56.298150 7fef56ffd6c0 Manual compaction at level-0 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)
2023/11/28-20:44:56.309697 7fef56ffd6c0 Manual compaction at level-1 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)
2023/11/28-22:25:39.755108 7fef577fe6c0 Recovering log #85
2023/11/28-22:25:39.764999 7fef577fe6c0 Delete type=3 #83
2023/11/28-22:25:39.765054 7fef577fe6c0 Delete type=0 #85
2023/11/28-22:26:01.737555 7fef56ffd6c0 Level-0 table #90: started
2023/11/28-22:26:01.737598 7fef56ffd6c0 Level-0 table #90: 0 bytes OK
2023/11/28-22:26:01.779655 7fef56ffd6c0 Delete type=0 #88
2023/11/28-22:26:01.780041 7fef56ffd6c0 Manual compaction at level-0 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)
2023/11/28-22:26:01.835335 7fef56ffd6c0 Manual compaction at level-1 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2023/11/28-07:15:12.787992 7ff1ed3ff6c0 Recovering log #57
2023/11/28-07:15:12.800390 7ff1ed3ff6c0 Delete type=3 #55
2023/11/28-07:15:12.800514 7ff1ed3ff6c0 Delete type=0 #57
2023/11/28-20:39:25.840415 7fef56ffd6c0 Level-0 table #62: started
2023/11/28-20:39:25.840473 7fef56ffd6c0 Level-0 table #62: 0 bytes OK
2023/11/28-20:39:25.846688 7fef56ffd6c0 Delete type=0 #60
2023/11/28-20:39:25.847079 7fef56ffd6c0 Manual compaction at level-0 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)
2023/11/28-20:39:25.858334 7fef56ffd6c0 Manual compaction at level-1 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)
2023/11/28-22:14:53.914347 7ff1ed3ff6c0 Recovering log #81
2023/11/28-22:14:53.924342 7ff1ed3ff6c0 Delete type=3 #79
2023/11/28-22:14:53.924395 7ff1ed3ff6c0 Delete type=0 #81
2023/11/28-22:25:36.119696 7fef56ffd6c0 Level-0 table #86: started
2023/11/28-22:25:36.119755 7fef56ffd6c0 Level-0 table #86: 0 bytes OK
2023/11/28-22:25:36.127384 7fef56ffd6c0 Delete type=0 #84
2023/11/28-22:25:36.137845 7fef56ffd6c0 Manual compaction at level-0 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)
2023/11/28-22:25:36.148441 7fef56ffd6c0 Manual compaction at level-1 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000062
MANIFEST-000086

View File

@@ -1,8 +1,8 @@
2023/11/28-20:39:47.193415 7ff1ed3ff6c0 Recovering log #60
2023/11/28-20:39:47.204489 7ff1ed3ff6c0 Delete type=3 #58
2023/11/28-20:39:47.204605 7ff1ed3ff6c0 Delete type=0 #60
2023/11/28-20:44:56.359833 7fef56ffd6c0 Level-0 table #65: started
2023/11/28-20:44:56.359919 7fef56ffd6c0 Level-0 table #65: 0 bytes OK
2023/11/28-20:44:56.366347 7fef56ffd6c0 Delete type=0 #63
2023/11/28-20:44:56.373966 7fef56ffd6c0 Manual compaction at level-0 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)
2023/11/28-20:44:56.384195 7fef56ffd6c0 Manual compaction at level-1 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)
2023/11/28-22:25:39.841825 7ff1ecbfe6c0 Recovering log #84
2023/11/28-22:25:39.851624 7ff1ecbfe6c0 Delete type=3 #82
2023/11/28-22:25:39.851681 7ff1ecbfe6c0 Delete type=0 #84
2023/11/28-22:26:02.110352 7fef56ffd6c0 Level-0 table #89: started
2023/11/28-22:26:02.110380 7fef56ffd6c0 Level-0 table #89: 0 bytes OK
2023/11/28-22:26:02.153538 7fef56ffd6c0 Delete type=0 #87
2023/11/28-22:26:02.153745 7fef56ffd6c0 Manual compaction at level-0 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)
2023/11/28-22:26:02.153771 7fef56ffd6c0 Manual compaction at level-1 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2023/11/28-07:15:12.890829 7ff1ecbfe6c0 Recovering log #56
2023/11/28-07:15:12.901194 7ff1ecbfe6c0 Delete type=3 #54
2023/11/28-07:15:12.901301 7ff1ecbfe6c0 Delete type=0 #56
2023/11/28-20:39:25.901607 7fef56ffd6c0 Level-0 table #61: started
2023/11/28-20:39:25.901653 7fef56ffd6c0 Level-0 table #61: 0 bytes OK
2023/11/28-20:39:25.908535 7fef56ffd6c0 Delete type=0 #59
2023/11/28-20:39:25.908709 7fef56ffd6c0 Manual compaction at level-0 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)
2023/11/28-20:39:25.908749 7fef56ffd6c0 Manual compaction at level-1 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)
2023/11/28-22:14:54.003336 7ff1ecbfe6c0 Recovering log #80
2023/11/28-22:14:54.014281 7ff1ecbfe6c0 Delete type=3 #78
2023/11/28-22:14:54.014518 7ff1ecbfe6c0 Delete type=0 #80
2023/11/28-22:25:36.174449 7fef56ffd6c0 Level-0 table #85: started
2023/11/28-22:25:36.174476 7fef56ffd6c0 Level-0 table #85: 0 bytes OK
2023/11/28-22:25:36.180710 7fef56ffd6c0 Delete type=0 #83
2023/11/28-22:25:36.200896 7fef56ffd6c0 Manual compaction at level-0 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)
2023/11/28-22:25:36.200943 7fef56ffd6c0 Manual compaction at level-1 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)

View File

@@ -302,7 +302,15 @@ table {border: 1px solid #7a7971;}
font-size: 0.8rem;
}
.editor-container {
height: 100%;
min-height: 100%;
font-size: 0.8rem;
}
.editor {
min-height: 400px;
height: 100%;
border: 2;
padding: 0 3px;
}

View File

@@ -1,7 +1,7 @@
{
"id": "fvtt-wasteland",
"description": "Wasteland RPG for FoundryVTT",
"version": "11.0.4",
"version": "11.0.7",
"authors": [
{
"name": "Uberwald/LeRatierBretonnien",
@@ -23,7 +23,7 @@
"gridUnits": "m",
"license": "LICENSE.txt",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-wasteland/raw/branch/main/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-wasteland/archive/fvtt-wasteland-v11.0.4.zip",
"download": "https://www.uberwald.me/gitea/public/fvtt-wasteland/archive/fvtt-wasteland-v11.0.7.zip",
"packs": [
{
"type": "Item",

View File

@@ -125,12 +125,26 @@
"peuple"
],
"pouvoir": {
"chemin": "force",
"seuil": 0,
"coutpsyche": 0,
"complexite": 0,
"cible": "",
"duree": "",
"effetsimple": "",
"effetetendu": "",
"templates": [
"base"
]
},
"charme": {
"charmetype": "tour",
"resultats": [
{"value":-1, "description": ""},
{"value":-1, "description": ""},
{"value":-1, "description": ""},
{"value":-1, "description": ""},
{"value":-1, "description": ""},
{"value":-1, "description": ""}
],
"templates": [
"base"
]
@@ -235,46 +249,12 @@
"base"
]
},
"pacte": {
"allegeance": "",
"templates": [
"base"
]
},
"traitchaotique": {
"templates": [
"base"
]
},
"monnaie": {
"quantite": 0,
"unite": "",
"templates": [
"base"
]
},
"don": {
"allegeance": "",
"prerequis": "",
"sacrifice": "",
"templates": [
"base"
]
},
"tendance": {
"allegeance": "",
"templates": [
"base"
]
},
"rune": {
"formule": "",
"seuil": 0,
"prononcee": "",
"tracee": "",
"templates": [
"base"
]
}
}
}

View File

@@ -239,6 +239,62 @@
</ul>
</div>
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Charmes</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Allégeance</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
</div>
</li>
{{#each charmes as |charme key|}}
<li class="item flexrow " data-item-id="{{charme._id}}" data-item-type="don">
<img class="item-name-img" src="{{charme.img}}" />
<span class="item-name-label competence-name">{{charme.name}}</span>
<span class="item-field-label-short">{{charme.system.allegeance}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Tours</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Allégeance</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
</div>
</li>
{{#each tours as |tour key|}}
<li class="item flexrow " data-item-id="{{tour._id}}" data-item-type="don">
<img class="item-name-img" src="{{tour.img}}" />
<span class="item-name-label competence-name">{{tour.name}}</span>
<span class="item-field-label-short">{{tour.system.allegeance}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">

View File

@@ -0,0 +1,38 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" alt="Portrait" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<span class="flexrow">
<label class="generic-label">Type : </label>
<select class="status-small-label color-class-common" type="text" name="system.charmetype" value="{{system.charmetype}}" data-dtype="string" >
{{#select system.charmetype}}
{{#each config.charmetype as |label key|}}
<option value="{{key}}">{{label}}</option>
{{/each}}
{{/select}}
</select>
</span>
{{#each system.resultats as |resultat key|}}
<span class="flexrow">
<label class="generic-label item-field-label-medium">Valeur : </label>
<input type="text" class="padd-right input-numeric-short status-small-label color-class-common" name="system.resultats.{{key}}.value" value="{{resultat.value}}" data-dtype="Number" />
<label class="generic-label item-field-label-medium">Description : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.resultats.{{key}}.description" value="{{resultat.description}}" data-dtype="String" />
</span>
{{/each}}
{{> systems/fvtt-wasteland/templates/partial-item-description.html}}
</div>
</section>
</form>

View File

@@ -1,6 +1,6 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<img class="item-sheet-img" alt="Portrait" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
@@ -8,32 +8,38 @@
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<span class="flexrow">
<label class="generic-label">Allégeance : </label>
<select class="status-small-label color-class-common" type="text" name="system.allegeance" value="{{data.allegeance}}" data-dtype="string" >
{{#select data.allegeance}}
<option value="tous">Tous</option>
<option value="chaos">Chaos</option>
<option value="loi">Loi</option>
<option value="betes">Seigneurs des Bêtes</option>
<option value="elementaires">Seigneurs Elementaires</option>
<label class="generic-label">Chemin : </label>
<select class="status-small-label color-class-common" type="text" name="system.chemin" value="{{system.chemin}}" data-dtype="string" >
{{#select system.chemin}}
{{#each config.cheminpouvoir as |label key|}}
<option value="{{key}}">{{label}}</option>
{{/each}}
{{/select}}
</select>
</span>
<span class="flexrow">
<label class="generic-label">Prérequis : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.prerequis" value="{{data.prerequis}}" data-dtype="String" />
<label class="generic-label">Coût (Psyche) : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.coutpsyche" value="{{system.coutpsyche}}" data-dtype="Number" />
</span>
<span>
<h3>Sacrifices</h3>
<span class="flexrow">
<label class="generic-label">Seuil : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.seuil" value="{{system.seuil}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Cible : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.cible" value="{{system.cible}}" data-dtype="String" />
</span>
<span class="flexrow">
<label class="generic-label">Durée : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.duree" value="{{system.duree}}" data-dtype="String" />
</span>
<div class="small-editor item-text-long-line">
{{editor sacrifice target="system.sacrifice" button=true owner=owner editable=editable}}
</div>
{{> systems/fvtt-wasteland/templates/partial-item-description.html}}

View File

@@ -1,6 +1,8 @@
<span>
<h3>Description</h3>
</span>
<div class="item-text-long-line">
<span>
<h3>Description</h3>
</span>
<div class="editor-container">
<div class="editor item-text-long-line">
{{editor description target="system.description" button=true owner=owner editable=editable}}
</div>
</div>