Skip to content

Commit

Permalink
fix: Do not overwrite protraits (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
aMediocreDad authored Mar 5, 2024
1 parent d530bc7 commit 76b5111
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
Binary file added assets/media/promotional-a.webp
Binary file not shown.
Binary file added assets/media/promotional-b.webp
Binary file not shown.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packs/tinderbox-demo/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-000031
MANIFEST-000045
21 changes: 7 additions & 14 deletions packs/tinderbox-demo/LOG
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
2024/03/05-07:47:48.667894 171aff000 Recovering log #30
2024/03/05-07:47:48.668358 171aff000 Delete type=3 #29
2024/03/05-07:47:48.668411 171aff000 Delete type=0 #30
2024/03/05-08:04:06.745161 171b8b000 Level-0 table #34: started
2024/03/05-08:04:06.745941 171b8b000 Level-0 table #34: 59584 bytes OK
2024/03/05-08:04:06.746020 171b8b000 Delete type=0 #32
2024/03/05-08:04:06.746091 171b8b000 Manual compaction at level-0 from '!adventures!6Gp864ZlopbT97Zy' @ 72057594037927935 : 1 .. '!adventures!6Gp864ZlopbT97Zy' @ 0 : 0; will stop at '!adventures!6Gp864ZlopbT97Zy' @ 8 : 1
2024/03/05-08:04:06.746098 171b8b000 Compacting 1@0 + 1@1 files
2024/03/05-08:04:06.746987 171b8b000 Generated table #35@0: 1 keys, 59584 bytes
2024/03/05-08:04:06.747002 171b8b000 Compacted 1@0 + 1@1 files => 59584 bytes
2024/03/05-08:04:06.747077 171b8b000 compacted to: files[ 0 1 0 0 0 0 0 ]
2024/03/05-08:04:06.747135 171b8b000 Delete type=2 #28
2024/03/05-08:04:06.747241 171b8b000 Delete type=2 #34
2024/03/05-08:04:06.747312 171b8b000 Manual compaction at level-0 from '!adventures!6Gp864ZlopbT97Zy' @ 8 : 1 .. '!adventures!6Gp864ZlopbT97Zy' @ 0 : 0; will stop at (end)
2024/03/05-08:46:42.128520 16f3c7000 Recovering log #42
2024/03/05-08:46:42.129076 16f3c7000 Delete type=3 #40
2024/03/05-08:46:42.129139 16f3c7000 Delete type=0 #42
2024/03/05-08:48:53.698328 16fc5f000 Level-0 table #48: started
2024/03/05-08:48:53.698351 16fc5f000 Level-0 table #48: 0 bytes OK
2024/03/05-08:48:53.698440 16fc5f000 Delete type=0 #46
2024/03/05-08:48:53.698999 16fc5f000 Manual compaction at level-0 from '!adventures!6Gp864ZlopbT97Zy' @ 72057594037927935 : 1 .. '!adventures!6Gp864ZlopbT97Zy' @ 0 : 0; will stop at (end)
14 changes: 11 additions & 3 deletions packs/tinderbox-demo/LOG.old
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
2024/03/04-22:57:52.045705 17369b000 Recovering log #26
2024/03/04-22:57:52.046139 17369b000 Delete type=3 #24
2024/03/04-22:57:52.046188 17369b000 Delete type=0 #26
2024/03/05-08:43:52.020372 172af7000 Delete type=3 #1
2024/03/05-08:45:45.048684 173b9b000 Level-0 table #43: started
2024/03/05-08:45:45.048840 173b9b000 Level-0 table #43: 0 bytes OK
2024/03/05-08:45:45.049086 173b9b000 Delete type=0 #41
2024/03/05-08:45:45.050067 173b9b000 Manual compaction at level-0 from '!adventures!6Gp864ZlopbT97Zy' @ 72057594037927935 : 1 .. '!adventures!6Gp864ZlopbT97Zy' @ 0 : 0; will stop at '!adventures!6Gp864ZlopbT97Zy' @ 8 : 1
2024/03/05-08:45:45.050074 173b9b000 Compacting 1@0 + 0@1 files
2024/03/05-08:45:45.051067 173b9b000 Generated table #44@0: 1 keys, 59584 bytes
2024/03/05-08:45:45.051079 173b9b000 Compacted 1@0 + 0@1 files => 59584 bytes
2024/03/05-08:45:45.051141 173b9b000 compacted to: files[ 0 1 0 0 0 0 0 ]
2024/03/05-08:45:45.051188 173b9b000 Delete type=2 #35
2024/03/05-08:45:45.051428 173b9b000 Manual compaction at level-0 from '!adventures!6Gp864ZlopbT97Zy' @ 8 : 1 .. '!adventures!6Gp864ZlopbT97Zy' @ 0 : 0; will stop at (end)
Binary file removed packs/tinderbox-demo/MANIFEST-000031
Binary file not shown.
Binary file added packs/tinderbox-demo/MANIFEST-000045
Binary file not shown.
Empty file.
3 changes: 1 addition & 2 deletions scripts/system/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,7 @@ export class LitmHooks {
sight: { enabled: true },
actorLink: true,
disposition: CONST.TOKEN_DISPOSITIONS.FRIENDLY,
texture: { src: "/icons/svg/target.svg" },
};
const img = "icons/svg/target.svg";
actor.updateSource({ prototypeToken, img });
});

Expand Down Expand Up @@ -390,6 +388,7 @@ export class LitmHooks {
})
);
await Scene.updateDocuments(updates);
game.journal.getName("Tinderbox Demo Rules").sheet.render(true);
});
}
}

0 comments on commit 76b5111

Please sign in to comment.