Enhance sheets and add skill+effects

This commit is contained in:
2026-05-22 20:14:28 +02:00
parent 78fa804dc5
commit e3f9dedcf6
18 changed files with 459 additions and 35 deletions
+9 -1
View File
@@ -42,7 +42,9 @@ Hooks.once("init", async function () {
background: models.AwEBackground,
kit: models.AwEKit,
weapon: models.AwEWeapon,
equipment: models.AwEEquipment
equipment: models.AwEEquipment,
skill: models.AwESkill,
effect: models.AwEEffect
}
// Register actor sheets
@@ -80,6 +82,12 @@ Hooks.once("init", async function () {
foundry.documents.collections.Items.registerSheet("fvtt-adventures-with-emmy", applications.AwEEquipmentSheet, {
types: ["equipment"], makeDefault: true
})
foundry.documents.collections.Items.registerSheet("fvtt-adventures-with-emmy", applications.AwESkillSheet, {
types: ["skill"], makeDefault: true
})
foundry.documents.collections.Items.registerSheet("fvtt-adventures-with-emmy", applications.AwEEffectSheet, {
types: ["effect"], makeDefault: true
})
CONFIG.ChatMessage.documentClass = documents.AwEChatMessage
CONFIG.Dice.rolls.push(documents.AwERoll)