ajout webp et couleurs
This commit is contained in:
parent
e98d99638e
commit
145ef7a0ba
BIN
icons/tmr/gift.webp
Normal file
BIN
icons/tmr/gift.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
BIN
icons/tmr/pelerin.webp
Normal file
BIN
icons/tmr/pelerin.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
BIN
icons/tmr/scroll.webp
Normal file
BIN
icons/tmr/scroll.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
BIN
icons/tmr/treasure-chest.webp
Normal file
BIN
icons/tmr/treasure-chest.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
BIN
icons/tmr/wave.webp
Normal file
BIN
icons/tmr/wave.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
@ -15,7 +15,7 @@ export class Conquete extends Draconique {
|
|||||||
async onActorCreateOwned(actor, item) { await this._creerConquete(actor, item); }
|
async onActorCreateOwned(actor, item) { await this._creerConquete(actor, item); }
|
||||||
|
|
||||||
code() { return 'conquete' }
|
code() { return 'conquete' }
|
||||||
tooltip(linkData) { return `La ${this.tmrLabel(linkData)} doit être conquise` }
|
tooltip(linkData) { return `${this.tmrLabel(linkData)}: doit être conquis` }
|
||||||
img() { return 'icons/svg/combat.svg' }
|
img() { return 'icons/svg/combat.svg' }
|
||||||
|
|
||||||
createSprite(pixiTMR) {
|
createSprite(pixiTMR) {
|
||||||
|
@ -23,10 +23,10 @@ export class Debordement extends Draconique {
|
|||||||
|
|
||||||
createSprite(pixiTMR) {
|
createSprite(pixiTMR) {
|
||||||
return pixiTMR.sprite(this.code(), {
|
return pixiTMR.sprite(this.code(), {
|
||||||
color: tmrColors.casehumide,
|
|
||||||
zIndex: tmrTokenZIndex.casehumide,
|
zIndex: tmrTokenZIndex.casehumide,
|
||||||
taille: tmrConstants.twoThird,
|
alpha: 0.6,
|
||||||
decallage: tmrConstants.bottom
|
taille: tmrConstants.full,
|
||||||
|
decallage: tmrConstants.center
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,9 +29,8 @@ export class Periple extends Draconique {
|
|||||||
return pixiTMR.sprite(this.code(), {
|
return pixiTMR.sprite(this.code(), {
|
||||||
zIndex: tmrTokenZIndex.conquete,
|
zIndex: tmrTokenZIndex.conquete,
|
||||||
alpha: 1,
|
alpha: 1,
|
||||||
color: tmrColors.souffle,
|
taille: tmrConstants.full,
|
||||||
taille: tmrConstants.twoThird,
|
decallage: tmrConstants.center
|
||||||
decallage: tmrConstants.right
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
getDifficulte(tmr) {
|
getDifficulte(tmr) {
|
||||||
|
@ -26,10 +26,9 @@ export class PontImpraticable extends Draconique {
|
|||||||
return pixiTMR.sprite(this.code(),
|
return pixiTMR.sprite(this.code(),
|
||||||
{
|
{
|
||||||
zIndex: tmrTokenZIndex.casehumide,
|
zIndex: tmrTokenZIndex.casehumide,
|
||||||
color: tmrColors.casehumide,
|
alpha: 0.6,
|
||||||
alpha: 0.5,
|
taille: tmrConstants.full,
|
||||||
taille: tmrConstants.twoThird,
|
decallage: tmrConstants.center
|
||||||
decallage: tmrConstants.bottom
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,8 +22,7 @@ export class PresentCites extends Draconique {
|
|||||||
return pixiTMR.sprite(this.code(),
|
return pixiTMR.sprite(this.code(),
|
||||||
{
|
{
|
||||||
zIndex: tmrTokenZIndex.tetes,
|
zIndex: tmrTokenZIndex.tetes,
|
||||||
color: 0xFEFEFE,
|
alpha: 0.9,
|
||||||
alpha: 0.8,
|
|
||||||
taille: tmrConstants.third,
|
taille: tmrConstants.third,
|
||||||
decallage: tmrConstants.topRight
|
decallage: tmrConstants.topRight
|
||||||
});
|
});
|
||||||
|
@ -23,7 +23,7 @@ export class ReserveExtensible extends Draconique {
|
|||||||
createSprite(pixiTMR) {
|
createSprite(pixiTMR) {
|
||||||
return pixiTMR.sprite(this.code(), {
|
return pixiTMR.sprite(this.code(), {
|
||||||
zIndex: tmrTokenZIndex.tetes,
|
zIndex: tmrTokenZIndex.tetes,
|
||||||
alpha: 0.9,
|
alpha: 0.7,
|
||||||
decallage: tmrConstants.left
|
decallage: tmrConstants.left
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ export class UrgenceDraconique extends Draconique {
|
|||||||
|
|
||||||
code() { return 'urgence' }
|
code() { return 'urgence' }
|
||||||
tooltip(linkData) { return `Urgence draconique!` }
|
tooltip(linkData) { return `Urgence draconique!` }
|
||||||
img() { return 'systems/foundryvtt-reve-de-dragon/icons/tmr/gift.webp' }
|
img() { return 'systems/foundryvtt-reve-de-dragon/icons/tmr/pelerin.webp' }
|
||||||
|
|
||||||
createSprite(pixiTMR) {
|
createSprite(pixiTMR) {
|
||||||
return pixiTMR.sprite(this.code(),
|
return pixiTMR.sprite(this.code(),
|
||||||
|
Loading…
Reference in New Issue
Block a user