Ajout acteur de type vehicule/maison

This commit is contained in:
2021-01-10 22:12:07 +01:00
parent 6493d00aab
commit e54de9f080
9 changed files with 285 additions and 203 deletions

View File

@ -12,7 +12,7 @@ import { RdDActor } from "./actor.js";
import { RdDItemSheet } from "./item-sheet.js";
import { RdDActorSheet } from "./actor-sheet.js";
import { RdDActorCreatureSheet } from "./actor-creature-sheet.js";
//import { RdDActorHumanoideSheet } from "./actor-humanoide-sheet.js";
import { RdDActorVehiculeSheet } from "./actor-vehicule-sheet.js";
import { RdDActorEntiteSheet } from "./actor-entite-sheet.js";
import { RdDUtility } from "./rdd-utility.js";
import { TMRUtility } from "./tmr-utility.js";
@ -207,10 +207,10 @@ Hooks.once("init", async function() {
types: ["creature"],
makeDefault: true
});
/*Actors.registerSheet("foundryvtt-reve-de-dragon", RdDActorHumanoideSheet, {
types: ["humanoide"],
Actors.registerSheet("foundryvtt-reve-de-dragon", RdDActorVehiculeSheet, {
types: ["vehicule"],
makeDefault: true
});*/
});
Actors.registerSheet("foundryvtt-reve-de-dragon", RdDActorEntiteSheet, {
types: ["entite"],
makeDefault: true