12.0.27 - Les vêtements d'Astrobazzarh #730
changelog.md
module/actor
packs_src/voyageurs
personnage_l__rudit_Alchimiste_GJWEoGXy5kSd4sT8.ymlpersonnage_le_Baladin_m63oPEPvCrds4akp.ymlpersonnage_le_Combattant_de_Choc_jtJqqegMrF3fuND3.ymlpersonnage_le_Coureur_des_Bois_8Jeas59CdpnnYabL.ymlpersonnage_le_Coureur_des_Mers_7WgNJwO7p5QNraXA.ymlpersonnage_le_Coureur_des_Rues_N5ybrpVwbpL8aPG0.ymlpersonnage_le_Cuisinier_Haut_R_vant_X9d5McdSAT1Ivp39.ymlpersonnage_le_Dilettante_hvNej1XRliayVZu1.ymlpersonnage_le_Haut_R_vant_Dilettante_4bI9HX4oomMEXrOT.ymlpersonnage_le_Haut_R_vant_Erudit_AZBxORb7IYgXaOfb.ymlpersonnage_le_Haut_R_vant_Muscl__OOIjBdFjCKdgJKff.ymlpersonnage_le_Voyageur__tranger_Jas7Wr22jSllfkin.yml
@ -13,6 +13,11 @@
|
|||||||
- ajout de lien entre le sort et la créature
|
- ajout de lien entre le sort et la créature
|
||||||
- correction des liens vers les journaux
|
- correction des liens vers les journaux
|
||||||
- limitation aux compétences listées
|
- limitation aux compétences listées
|
||||||
|
- acteur non lié par défaut
|
||||||
|
- Correction des compendiums
|
||||||
|
- l'import de personnages depuis un compendium respecte les acteurs liés/non-liés
|
||||||
|
- les modèles de voyageurs sont liés par défaut
|
||||||
|
- les modèles de personnages non joueurs sont non-liés par défaut
|
||||||
|
|
||||||
## 12.0.26 - Astrobazzarh le Haut-rêvant
|
## 12.0.26 - Astrobazzarh le Haut-rêvant
|
||||||
- bouton pour le don de haut-rêve en un clic
|
- bouton pour le don de haut-rêve en un clic
|
||||||
|
@ -176,11 +176,19 @@ export class RdDBaseActor extends Actor {
|
|||||||
await super._preCreate(data, options, user);
|
await super._preCreate(data, options, user);
|
||||||
|
|
||||||
// Configure prototype token settings
|
// Configure prototype token settings
|
||||||
const prototypeToken = {};
|
if (this.type === "personnage") {
|
||||||
if (this.type === "personnage") Object.assign(prototypeToken, {
|
this.updateSource({
|
||||||
sight: { enabled: true }, actorLink: true, disposition: CONST.TOKEN_DISPOSITIONS.FRIENDLY
|
sight: { enabled: true },
|
||||||
});
|
actorLink: options.fromCompendium ? data.prototypeToken.actorLink : true,
|
||||||
this.updateSource({ prototypeToken });
|
disposition: CONST.TOKEN_DISPOSITIONS.FRIENDLY
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
const prototypeToken = {
|
||||||
|
sight: { enabled: true },
|
||||||
|
disposition: CONST.TOKEN_DISPOSITIONS.NEUTRAL
|
||||||
|
}
|
||||||
|
this.updateSource({ prototypeToken });
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
@ -3315,7 +3315,7 @@ prototypeToken:
|
|||||||
height: 1
|
height: 1
|
||||||
lockRotation: false
|
lockRotation: false
|
||||||
rotation: 0
|
rotation: 0
|
||||||
actorLink: false
|
actorLink: true
|
||||||
disposition: 0
|
disposition: 0
|
||||||
displayBars: 0
|
displayBars: 0
|
||||||
bar1:
|
bar1:
|
||||||
|
@ -3021,7 +3021,7 @@ prototypeToken:
|
|||||||
height: 1
|
height: 1
|
||||||
lockRotation: false
|
lockRotation: false
|
||||||
rotation: 0
|
rotation: 0
|
||||||
actorLink: false
|
actorLink: true
|
||||||
disposition: 0
|
disposition: 0
|
||||||
displayBars: 0
|
displayBars: 0
|
||||||
bar1:
|
bar1:
|
||||||
|
@ -2954,7 +2954,7 @@ prototypeToken:
|
|||||||
height: 1
|
height: 1
|
||||||
lockRotation: false
|
lockRotation: false
|
||||||
rotation: 0
|
rotation: 0
|
||||||
actorLink: false
|
actorLink: true
|
||||||
disposition: 0
|
disposition: 0
|
||||||
displayBars: 0
|
displayBars: 0
|
||||||
bar1:
|
bar1:
|
||||||
|
@ -3039,7 +3039,7 @@ prototypeToken:
|
|||||||
height: 1
|
height: 1
|
||||||
lockRotation: false
|
lockRotation: false
|
||||||
rotation: 0
|
rotation: 0
|
||||||
actorLink: false
|
actorLink: true
|
||||||
disposition: 0
|
disposition: 0
|
||||||
displayBars: 0
|
displayBars: 0
|
||||||
bar1:
|
bar1:
|
||||||
|
@ -3113,7 +3113,7 @@ prototypeToken:
|
|||||||
height: 1
|
height: 1
|
||||||
lockRotation: false
|
lockRotation: false
|
||||||
rotation: 0
|
rotation: 0
|
||||||
actorLink: false
|
actorLink: true
|
||||||
disposition: 0
|
disposition: 0
|
||||||
displayBars: 0
|
displayBars: 0
|
||||||
bar1:
|
bar1:
|
||||||
|
@ -2975,7 +2975,7 @@ ownership:
|
|||||||
prototypeToken:
|
prototypeToken:
|
||||||
name: le Coureur des Rues
|
name: le Coureur des Rues
|
||||||
displayName: 0
|
displayName: 0
|
||||||
actorLink: false
|
actorLink: true
|
||||||
width: 1
|
width: 1
|
||||||
height: 1
|
height: 1
|
||||||
lockRotation: false
|
lockRotation: false
|
||||||
|
@ -3502,7 +3502,7 @@ ownership:
|
|||||||
prototypeToken:
|
prototypeToken:
|
||||||
name: le Cuisinier Haut-Rêvant
|
name: le Cuisinier Haut-Rêvant
|
||||||
displayName: 0
|
displayName: 0
|
||||||
actorLink: false
|
actorLink: true
|
||||||
width: 1
|
width: 1
|
||||||
height: 1
|
height: 1
|
||||||
lockRotation: false
|
lockRotation: false
|
||||||
|
@ -3262,7 +3262,7 @@ prototypeToken:
|
|||||||
height: 1
|
height: 1
|
||||||
lockRotation: false
|
lockRotation: false
|
||||||
rotation: 0
|
rotation: 0
|
||||||
actorLink: false
|
actorLink: true
|
||||||
disposition: 0
|
disposition: 0
|
||||||
displayBars: 0
|
displayBars: 0
|
||||||
bar1:
|
bar1:
|
||||||
|
@ -3585,7 +3585,7 @@ prototypeToken:
|
|||||||
height: 1
|
height: 1
|
||||||
lockRotation: false
|
lockRotation: false
|
||||||
rotation: 0
|
rotation: 0
|
||||||
actorLink: false
|
actorLink: true
|
||||||
disposition: 0
|
disposition: 0
|
||||||
displayBars: 0
|
displayBars: 0
|
||||||
bar1:
|
bar1:
|
||||||
|
@ -3752,7 +3752,7 @@ prototypeToken:
|
|||||||
height: 1
|
height: 1
|
||||||
lockRotation: false
|
lockRotation: false
|
||||||
rotation: 0
|
rotation: 0
|
||||||
actorLink: false
|
actorLink: true
|
||||||
disposition: 0
|
disposition: 0
|
||||||
displayBars: 0
|
displayBars: 0
|
||||||
bar1:
|
bar1:
|
||||||
|
@ -3661,7 +3661,7 @@ prototypeToken:
|
|||||||
height: 1
|
height: 1
|
||||||
lockRotation: false
|
lockRotation: false
|
||||||
rotation: 0
|
rotation: 0
|
||||||
actorLink: false
|
actorLink: true
|
||||||
disposition: 0
|
disposition: 0
|
||||||
displayBars: 0
|
displayBars: 0
|
||||||
bar1:
|
bar1:
|
||||||
|
@ -3025,7 +3025,7 @@ prototypeToken:
|
|||||||
height: 1
|
height: 1
|
||||||
lockRotation: false
|
lockRotation: false
|
||||||
rotation: 0
|
rotation: 0
|
||||||
actorLink: false
|
actorLink: true
|
||||||
disposition: 0
|
disposition: 0
|
||||||
displayBars: 0
|
displayBars: 0
|
||||||
bar1:
|
bar1:
|
||||||
|
Loading…
Reference in New Issue
Block a user