Skip to content

Commit

Permalink
Resources and modules updated. added in resources for operation weepi…
Browse files Browse the repository at this point in the history
…ng mountain
  • Loading branch information
diabeatz96 committed Aug 20, 2024
1 parent f0f1d69 commit 07f7a02
Show file tree
Hide file tree
Showing 37 changed files with 73 additions and 38 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions module/cain.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ Hooks.once('init', function () {
blasphemy: models.CainBlasphemy,
}

console.log('CAIN | Initializing Cain system');
console.log(CONFIG)
// Active Effects are never copied to the Actor,
// but will still apply to the Actor from within the Item
// if the transfer property on the Active Effect is true.
Expand Down
1 change: 1 addition & 0 deletions module/documents/actor.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export class CainActor extends Actor {
toPlainObject() {
const result = {...this};

console.log(this)
// Simplify system data.
result.system = this.system.toPlainObject();

Expand Down
12 changes: 2 additions & 10 deletions module/sheets/actor-sheet.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,6 @@ _updateAgendaAbility(event) {
}
});

console.log(isChecked);
console.log(newValue);

this.actor.update({ 'system.psycheBurst.value': newValue }).then(() => {
this.render(false); // Re-render the sheet to reflect changes
});
Expand Down Expand Up @@ -337,19 +334,15 @@ _updateAgendaAbility(event) {
totalDice += divineAgonyStat;
this.actor.update({ 'system.divineAgony.value': 0 }); // Set divine agony to zero
}

console.log(`Total dice: ${totalDice}`);


let roll;
if (totalDice > 0) {
roll = new Roll(`${totalDice}d6`);
} else {
roll = new Roll(`2d6`);
}
await roll.evaluate({ async: true });

console.log(roll.dice[0].results);


let rollResult;
if (totalDice > 0) {
rollResult = roll.dice[0].results.reduce((acc, r) => acc + r.result, 0);
Expand Down Expand Up @@ -835,7 +828,6 @@ _updateAgendaAbility(event) {
label: "Roll",
callback: () => {
const modifier = parseInt(document.getElementById('dice-modifier').value) || 0;
console.log(modifier);
this._performSevereAttackRoll(rollFormula, modifier);
}
},
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packs/agenda/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-000026
MANIFEST-000034
11 changes: 8 additions & 3 deletions packs/agenda/LOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024/08/20-10:21:46.682218 ffff8dfbf120 Recovering log #25
2024/08/20-10:21:46.720843 ffff8dfbf120 Delete type=0 #25
2024/08/20-10:21:46.721107 ffff8dfbf120 Delete type=3 #24
2024/08/20-19:14:52.076041 ffff8efdf120 Recovering log #32
2024/08/20-19:14:52.106951 ffff8efdf120 Delete type=3 #30
2024/08/20-19:14:52.107297 ffff8efdf120 Delete type=0 #32
2024/08/20-19:16:03.696604 ffff8d7af120 Level-0 table #37: started
2024/08/20-19:16:03.696808 ffff8d7af120 Level-0 table #37: 0 bytes OK
2024/08/20-19:16:03.704619 ffff8d7af120 Delete type=0 #35
2024/08/20-19:16:03.705261 ffff8d7af120 Manual compaction at level-0 from '!items!1PnBSz1PZVcYKaWa' @ 72057594037927935 : 1 .. '!items!umnOFhEQgDzG2eaF' @ 0 : 0; will stop at (end)
2024/08/20-19:16:03.706118 ffff8d7af120 Manual compaction at level-1 from '!items!1PnBSz1PZVcYKaWa' @ 72057594037927935 : 1 .. '!items!umnOFhEQgDzG2eaF' @ 0 : 0; will stop at (end)
11 changes: 8 additions & 3 deletions packs/agenda/LOG.old
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024/08/18-23:27:21.363475 ffff7dfbf120 Recovering log #20
2024/08/18-23:27:21.396914 ffff7dfbf120 Delete type=0 #20
2024/08/18-23:27:21.397180 ffff7dfbf120 Delete type=3 #17
2024/08/20-19:10:15.540391 ffff8e7cf120 Recovering log #28
2024/08/20-19:10:15.576535 ffff8e7cf120 Delete type=0 #28
2024/08/20-19:10:15.576844 ffff8e7cf120 Delete type=3 #26
2024/08/20-19:14:25.728651 ffff8d7af120 Level-0 table #33: started
2024/08/20-19:14:25.728820 ffff8d7af120 Level-0 table #33: 0 bytes OK
2024/08/20-19:14:25.741424 ffff8d7af120 Delete type=0 #31
2024/08/20-19:14:25.742048 ffff8d7af120 Manual compaction at level-0 from '!items!1PnBSz1PZVcYKaWa' @ 72057594037927935 : 1 .. '!items!umnOFhEQgDzG2eaF' @ 0 : 0; will stop at (end)
2024/08/20-19:14:25.742338 ffff8d7af120 Manual compaction at level-1 from '!items!1PnBSz1PZVcYKaWa' @ 72057594037927935 : 1 .. '!items!umnOFhEQgDzG2eaF' @ 0 : 0; will stop at (end)
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion packs/blasphemy/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-000026
MANIFEST-000034
11 changes: 8 additions & 3 deletions packs/blasphemy/LOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024/08/20-10:21:46.736442 ffff8efdf120 Recovering log #25
2024/08/20-10:21:46.763430 ffff8efdf120 Delete type=0 #25
2024/08/20-10:21:46.763685 ffff8efdf120 Delete type=3 #24
2024/08/20-19:14:52.120884 ffff8dfbf120 Recovering log #32
2024/08/20-19:14:52.148246 ffff8dfbf120 Delete type=3 #30
2024/08/20-19:14:52.148617 ffff8dfbf120 Delete type=0 #32
2024/08/20-19:16:03.678760 ffff8d7af120 Level-0 table #37: started
2024/08/20-19:16:03.678865 ffff8d7af120 Level-0 table #37: 0 bytes OK
2024/08/20-19:16:03.686880 ffff8d7af120 Delete type=0 #35
2024/08/20-19:16:03.705036 ffff8d7af120 Manual compaction at level-0 from '!folders!FWZZgy9tnHSHa9tk' @ 72057594037927935 : 1 .. '!items!yotw9uAVluGmTHO4' @ 0 : 0; will stop at (end)
2024/08/20-19:16:03.705422 ffff8d7af120 Manual compaction at level-1 from '!folders!FWZZgy9tnHSHa9tk' @ 72057594037927935 : 1 .. '!items!yotw9uAVluGmTHO4' @ 0 : 0; will stop at (end)
11 changes: 8 additions & 3 deletions packs/blasphemy/LOG.old
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024/08/18-23:27:21.410404 ffff7efdf120 Recovering log #20
2024/08/18-23:27:21.438249 ffff7efdf120 Delete type=0 #20
2024/08/18-23:27:21.438532 ffff7efdf120 Delete type=3 #17
2024/08/20-19:10:15.590558 ffff8dfbf120 Recovering log #28
2024/08/20-19:10:15.619131 ffff8dfbf120 Delete type=0 #28
2024/08/20-19:10:15.619421 ffff8dfbf120 Delete type=3 #26
2024/08/20-19:14:25.698387 ffff8d7af120 Level-0 table #33: started
2024/08/20-19:14:25.698551 ffff8d7af120 Level-0 table #33: 0 bytes OK
2024/08/20-19:14:25.706895 ffff8d7af120 Delete type=0 #31
2024/08/20-19:14:25.741768 ffff8d7af120 Manual compaction at level-0 from '!folders!FWZZgy9tnHSHa9tk' @ 72057594037927935 : 1 .. '!items!yotw9uAVluGmTHO4' @ 0 : 0; will stop at (end)
2024/08/20-19:14:25.742121 ffff8d7af120 Manual compaction at level-1 from '!folders!FWZZgy9tnHSHa9tk' @ 72057594037927935 : 1 .. '!items!yotw9uAVluGmTHO4' @ 0 : 0; will stop at (end)
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion packs/items/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-000027
MANIFEST-000035
11 changes: 8 additions & 3 deletions packs/items/LOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024/08/20-10:21:46.637523 ffff8f7ef120 Recovering log #26
2024/08/20-10:21:46.666459 ffff8f7ef120 Delete type=0 #26
2024/08/20-10:21:46.666754 ffff8f7ef120 Delete type=3 #25
2024/08/20-19:14:52.033355 ffff8e7cf120 Recovering log #33
2024/08/20-19:14:52.061889 ffff8e7cf120 Delete type=0 #33
2024/08/20-19:14:52.062160 ffff8e7cf120 Delete type=3 #31
2024/08/20-19:16:03.670375 ffff8d7af120 Level-0 table #38: started
2024/08/20-19:16:03.670602 ffff8d7af120 Level-0 table #38: 0 bytes OK
2024/08/20-19:16:03.678554 ffff8d7af120 Delete type=0 #36
2024/08/20-19:16:03.704934 ffff8d7af120 Manual compaction at level-0 from '!folders!DYa1yCl9CNfOahIN' @ 72057594037927935 : 1 .. '!items!zUOSvdFDFvXZqROE' @ 0 : 0; will stop at (end)
2024/08/20-19:16:03.705341 ffff8d7af120 Manual compaction at level-1 from '!folders!DYa1yCl9CNfOahIN' @ 72057594037927935 : 1 .. '!items!zUOSvdFDFvXZqROE' @ 0 : 0; will stop at (end)
11 changes: 8 additions & 3 deletions packs/items/LOG.old
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024/08/18-23:27:21.324433 ffff7e7cf120 Recovering log #21
2024/08/18-23:27:21.348922 ffff7e7cf120 Delete type=0 #21
2024/08/18-23:27:21.349219 ffff7e7cf120 Delete type=3 #18
2024/08/20-19:10:15.470210 ffff8efdf120 Recovering log #29
2024/08/20-19:10:15.526133 ffff8efdf120 Delete type=3 #27
2024/08/20-19:10:15.526503 ffff8efdf120 Delete type=0 #29
2024/08/20-19:14:25.718835 ffff8d7af120 Level-0 table #34: started
2024/08/20-19:14:25.719097 ffff8d7af120 Level-0 table #34: 0 bytes OK
2024/08/20-19:14:25.728366 ffff8d7af120 Delete type=0 #32
2024/08/20-19:14:25.741955 ffff8d7af120 Manual compaction at level-0 from '!folders!DYa1yCl9CNfOahIN' @ 72057594037927935 : 1 .. '!items!zUOSvdFDFvXZqROE' @ 0 : 0; will stop at (end)
2024/08/20-19:14:25.742253 ffff8d7af120 Manual compaction at level-1 from '!folders!DYa1yCl9CNfOahIN' @ 72057594037927935 : 1 .. '!items!zUOSvdFDFvXZqROE' @ 0 : 0; will stop at (end)
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion packs/tables/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-000026
MANIFEST-000034
11 changes: 8 additions & 3 deletions packs/tables/LOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024/08/20-10:21:46.780296 ffff8e7cf120 Recovering log #25
2024/08/20-10:21:46.812086 ffff8e7cf120 Delete type=0 #25
2024/08/20-10:21:46.812352 ffff8e7cf120 Delete type=3 #24
2024/08/20-19:14:52.163469 ffff8f7ef120 Recovering log #32
2024/08/20-19:14:52.200648 ffff8f7ef120 Delete type=3 #30
2024/08/20-19:14:52.201020 ffff8f7ef120 Delete type=0 #32
2024/08/20-19:16:03.687170 ffff8d7af120 Level-0 table #37: started
2024/08/20-19:16:03.687340 ffff8d7af120 Level-0 table #37: 0 bytes OK
2024/08/20-19:16:03.696279 ffff8d7af120 Delete type=0 #35
2024/08/20-19:16:03.705170 ffff8d7af120 Manual compaction at level-0 from '!tables!XY3o3oqawjUe6Wba' @ 72057594037927935 : 1 .. '!tables.results!z9VPZiT6MhJzjO6v.vwR7xQw1HrRWhrQn' @ 0 : 0; will stop at (end)
2024/08/20-19:16:03.706001 ffff8d7af120 Manual compaction at level-1 from '!tables!XY3o3oqawjUe6Wba' @ 72057594037927935 : 1 .. '!tables.results!z9VPZiT6MhJzjO6v.vwR7xQw1HrRWhrQn' @ 0 : 0; will stop at (end)
11 changes: 8 additions & 3 deletions packs/tables/LOG.old
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024/08/18-23:27:21.451497 ffff7f7ef120 Recovering log #20
2024/08/18-23:27:21.478466 ffff7f7ef120 Delete type=0 #20
2024/08/18-23:27:21.478698 ffff7f7ef120 Delete type=3 #17
2024/08/20-19:10:15.635074 ffff8f7ef120 Recovering log #28
2024/08/20-19:10:15.670448 ffff8f7ef120 Delete type=0 #28
2024/08/20-19:10:15.670713 ffff8f7ef120 Delete type=3 #26
2024/08/20-19:14:25.742822 ffff8d7af120 Level-0 table #33: started
2024/08/20-19:14:25.743052 ffff8d7af120 Level-0 table #33: 0 bytes OK
2024/08/20-19:14:25.755277 ffff8d7af120 Delete type=0 #31
2024/08/20-19:14:25.793809 ffff8d7af120 Manual compaction at level-0 from '!tables!XY3o3oqawjUe6Wba' @ 72057594037927935 : 1 .. '!tables.results!z9VPZiT6MhJzjO6v.vwR7xQw1HrRWhrQn' @ 0 : 0; will stop at (end)
2024/08/20-19:14:25.794074 ffff8d7af120 Manual compaction at level-1 from '!tables!XY3o3oqawjUe6Wba' @ 72057594037927935 : 1 .. '!tables.results!z9VPZiT6MhJzjO6v.vwR7xQw1HrRWhrQn' @ 0 : 0; will stop at (end)
Binary file not shown.

0 comments on commit 07f7a02

Please sign in to comment.