Améliorer le choix du type d'objet à créer #143 #469
@ -13,7 +13,7 @@ export class RdDAudio {
|
|||||||
let audioData = context2file[context];
|
let audioData = context2file[context];
|
||||||
if ( audioData ) {
|
if ( audioData ) {
|
||||||
let audioPath = "systems/foundryvtt-reve-de-dragon/sounds/" + audioData.file;
|
let audioPath = "systems/foundryvtt-reve-de-dragon/sounds/" + audioData.file;
|
||||||
console.log(`wfrp4e | Playing Sound: ${audioPath}`)
|
console.log(`foundryvtt-reve-de-dragon | Playing Sound: ${audioPath}`)
|
||||||
AudioHelper.play({ src: audioPath }, audioData.isGlobal);
|
AudioHelper.play({ src: audioPath }, audioData.isGlobal);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,7 @@ export class RdDHotbar {
|
|||||||
macro = await Macro.create({
|
macro = await Macro.create({
|
||||||
name: journal.data.name,
|
name: journal.data.name,
|
||||||
type: "script",
|
type: "script",
|
||||||
img: "systems/wfrp4e/icons/buildings/scroll.png",
|
img: "systems/foundryvtt-reve-de-dragon/icons/templates/icone_parchement_vierge.png",
|
||||||
command: command
|
command: command
|
||||||
}, { displaySheet: false })
|
}, { displaySheet: false })
|
||||||
game.user.assignHotbarMacro(macro, slot);
|
game.user.assignHotbarMacro(macro, slot);
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user