diff --git a/packs/macros/000309.log b/packs/macros/000312.log similarity index 100% rename from packs/macros/000309.log rename to packs/macros/000312.log diff --git a/packs/macros/CURRENT b/packs/macros/CURRENT index 43585a4..cd37fac 100644 --- a/packs/macros/CURRENT +++ b/packs/macros/CURRENT @@ -1 +1 @@ -MANIFEST-000308 +MANIFEST-000311 diff --git a/packs/macros/LOG b/packs/macros/LOG index d3838a7..b8445c3 100644 --- a/packs/macros/LOG +++ b/packs/macros/LOG @@ -1,3 +1 @@ -2023/09/16-18:06:55.855 59d8 Recovering log #306 -2023/09/16-18:06:55.859 59d8 Delete type=0 #306 -2023/09/16-18:06:55.859 59d8 Delete type=3 #304 +2023/10/26-14:00:02.437 3b48 Delete type=3 #1 diff --git a/packs/macros/LOG.old b/packs/macros/LOG.old index 71824e4..25ce675 100644 --- a/packs/macros/LOG.old +++ b/packs/macros/LOG.old @@ -1,8 +1,5 @@ -2023/08/01-22:27:59.219 1ad8 Recovering log #303 -2023/08/01-22:27:59.223 1ad8 Delete type=0 #303 -2023/08/01-22:27:59.223 1ad8 Delete type=3 #302 -2023/08/02-01:57:41.091 9610 Level-0 table #307: started -2023/08/02-01:57:41.091 9610 Level-0 table #307: 0 bytes OK -2023/08/02-01:57:41.092 9610 Delete type=0 #305 -2023/08/02-01:57:41.092 9610 Manual compaction at level-0 from '!macros!0xkDU2f2dzJFeVj3' @ 72057594037927935 : 1 .. '!macros!Fqe8bYO5u9Izswqm' @ 0 : 0; will stop at (end) -2023/08/02-01:57:41.092 9610 Manual compaction at level-1 from '!macros!0xkDU2f2dzJFeVj3' @ 72057594037927935 : 1 .. '!macros!Fqe8bYO5u9Izswqm' @ 0 : 0; will stop at (end) +2023/10/26-14:00:02.405 3b48 Log #309: 0 ops saved to Table #310 OK +2023/10/26-14:00:02.407 3b48 Archiving C:\Users\tspla\AppData\Local\FoundryVTT\Data\modules\splatter\packs\macros/000309.log: OK +2023/10/26-14:00:02.410 3b48 Table #5: 4 entries OK +2023/10/26-14:00:02.413 3b48 Archiving C:\Users\tspla\AppData\Local\FoundryVTT\Data\modules\splatter\packs\macros/MANIFEST-000308: OK +2023/10/26-14:00:02.421 3b48 **** Repaired leveldb C:\Users\tspla\AppData\Local\FoundryVTT\Data\modules\splatter\packs\macros; recovered 1 files; 1377 bytes. Some data may have been lost. **** diff --git a/packs/macros/MANIFEST-000311 b/packs/macros/MANIFEST-000311 new file mode 100644 index 0000000..19579ce Binary files /dev/null and b/packs/macros/MANIFEST-000311 differ diff --git a/packs/macros/lost/000309.log b/packs/macros/lost/000309.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/macros/MANIFEST-000308 b/packs/macros/lost/MANIFEST-000308 similarity index 100% rename from packs/macros/MANIFEST-000308 rename to packs/macros/lost/MANIFEST-000308 diff --git a/scripts/BloodSplatter.js b/scripts/BloodSplatter.js index 052267f..7948c67 100644 --- a/scripts/BloodSplatter.js +++ b/scripts/BloodSplatter.js @@ -433,6 +433,11 @@ class BloodSplatterContainerManager{ container.elevation = elevation; container.sort = this.sort; this.containers.push(container); + Object.defineProperty(container, "visible", { + get: () => { + return CONFIG?.Levels?.currentToken?.losHeight >= elevation ?? true; + } + }) return container; }