M Bearbones.js +2 -2
@@ 4,13 4,13 @@ import BearSheet from './modules/bear_sh
Hooks.once("init", function() {
console.log('Bearbones | look ma no brains')
- game.bearbones2 = {
+ game.bearbones = {
}
CONFIG.Actor.documentClass = BearActor;
Actors.unregisterSheet("core", ActorSheet);
- Actors.registerSheet("bearbones2", BearSheet, {
+ Actors.registerSheet("bearbones", BearSheet, {
// types: ["pc", "enemy", "vehicle"],
makeDefault: true,
// label: "Bearbones.CharacterSheet"
M modules/bear_actor.js +11 -11
@@ 15,22 15,22 @@ export default class BearActor extends A
brightSight: 0,
disposition: 1,
displayName: CONST.TOKEN_DISPLAY_MODES.ALWAYS,
- displayBars: CONST.TOKEN_DISPLAY_MODES.OWNER,
- bar1: {attribute: "combat.health"},
- img: "systems/bearbones2/icons/npc.png",
+ displayBars: CONST.TOKEN_DISPLAY_MODES.NONE,
+ bar1: {attribute: "health.health"},
+ img: "systems/bearbones/icons/npc.png",
});
- this.data.update({img: "systems/bearbones2/icons/npc.png"})
+ this.data.update({img: "systems/bearbones/icons/npc.png"})
} else if (this.type === "enemy") {
this.data.token.update({
vision: false,
actorLink: true,
disposition: -1,
- displayName: CONST.TOKEN_DISPLAY_MODES.OWNER,
- displayBars: CONST.TOKEN_DISPLAY_MODES.ALWAYS,
- bar1: {attribute: "combat.health"},
- img: "systems/bearbones2/icons/npc_angery.png",
+ displayName: CONST.TOKEN_DISPLAY_MODES.HOVER,
+ displayBars: CONST.TOKEN_DISPLAY_MODES.HOVER,
+ bar1: {attribute: "health.health"},
+ img: "systems/bearbones/icons/npc_angery.png",
});
- this.data.update({img: "systems/bearbones2/icons/npc_angery.png"})
+ this.data.update({img: "systems/bearbones/icons/npc_angery.png"})
} else if (this.type === "object") {
this.data.token.update({
vision: false,
@@ 38,9 38,9 @@ export default class BearActor extends A
disposition: 0,
displayName: CONST.TOKEN_DISPLAY_MODES.HOVER,
displayBars: CONST.TOKEN_DISPLAY_MODES.NONE,
- img: "systems/bearbones2/icons/npc_spear.png",
+ img: "systems/bearbones/icons/npc_spear.png",
});
- this.data.update({img: "systems/bearbones2/icons/npc_spear.png"})
+ this.data.update({img: "systems/bearbones/icons/npc_spear.png"})
}
}
M modules/bear_sheet.js +3 -3
@@ 2,8 2,8 @@
export default class BearSheet extends ActorSheet {
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
- classes: ["bearbones2", "sheet", "actor"],
- template: `systems/bearbones2/templates/sheets/bear-sheet.html`,
+ classes: ["bearbones", "sheet", "actor"],
+ template: `systems/bearbones/templates/sheets/bear-sheet.html`,
width: 720,
height: 680
});
@@ 11,7 11,7 @@ export default class BearSheet extends A
getData() {
const data = super.getData();
data.isGM = game.user.isGM;
- console.log(data);
+ // console.log(data);
return data;
}
}
No newline at end of file
M system.json +2 -2
@@ 1,6 1,6 @@
{
- "name": "bearbones2",
- "title": "Bearbones is Bearbones 2",
+ "name": "bearbones",
+ "title": "Bearbones is Bearbones",
"description": "My Dog ate my Character Sheet",
"packs": [],
"languages": [],