Sorts en réserve éditables

This commit is contained in:
Vincent Vandemeulebrouck
2022-09-17 16:07:38 +02:00
parent ee42902b5c
commit 56ea9dd2e4
19 changed files with 266 additions and 130 deletions

View File

@ -1,5 +1,4 @@
import { Grammar } from "../grammar.js";
import { Misc } from "../misc.js";
import { RdDDice } from "../rdd-dice.js";
import { TMRUtility } from "../tmr-utility.js";
import { tmrConstants, tmrColors, tmrTokenZIndex } from "../tmr-constants.js";

View File

@ -12,8 +12,8 @@ export class SortReserve extends Draconique {
manualMessage() { return false }
async onActorCreateOwned(actor, item) { }
code() { return 'sort' }
tooltip(sort) { return `${sort.name}, r${sort.data.ptreve_reel}` }
code() { return 'sortreserve' }
tooltip(sort) { return `${sort.name}, r${sort.system.ptreve}` }
img() { return 'systems/foundryvtt-reve-de-dragon/icons/tmr/scroll.webp' }
createSprite(pixiTMR) {