Skip to content

Commit

Permalink
SFRPG support
Browse files Browse the repository at this point in the history
  • Loading branch information
Kekilla0 committed Sep 12, 2020
1 parent 49c2dc8 commit 08dc56e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"title" : "Item Macro",
"description" : "A module that allows macros to be stored in items and executed in various places.",
"author" : "Kekilla#7036",
"version" : "v1.1.3",
"version" : "v1.2.0",
"minimumCoreVersion" : "0.6.0",
"compatibleCoreVersion": "0.6.5",
"compatibleCoreVersion": "0.6.6",
"esmodules" : ["scripts/main.js"],
"styles" : ["styles/macro-config.css","styles/button-config.css"],
"systems" : ["dnd5e"],
"systems" : ["dnd5e", "sfrpg"],
"languages" : [
{
"lang" : "en",
Expand All @@ -18,5 +18,5 @@
],
"url" : "https://github.com/Kekilla0/Item-Macro",
"manifest" : "https://github.com/Kekilla0/Item-Macro/raw/master/module.json",
"download" : "https://github.com/Kekilla0/Item-Macro/archive/v1.1.3.zip"
"download" : "https://github.com/Kekilla0/Item-Macro/archive/v1.2.0.zip"
}
4 changes: 2 additions & 2 deletions scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ let knownSheets = {
DNDBeyondCharacterSheet5e: ".item .item-name .item-image",
Tidy5eSheet: ".item .item-image",
Tidy5eNPC: ".item .item-image",
MonsterBlock5e: ".item .item-name"
MonsterBlock5e: ".item .item-name",
ActorSheetSFRPGCharacter : ".item .item-image",

// Sky5eSheet: ".item .item-image",
};
Expand Down Expand Up @@ -89,7 +90,6 @@ Hooks.on('setup', () =>{
}
});


Hooks.on('renderItemSheet', (app, html, data) => {
itemacro.renderItemSheet(app,html,data);
});
Expand Down

0 comments on commit 08dc56e

Please sign in to comment.