Enhance sheets and add skill+effects
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user