diff --git a/css/fvtt-lethal-fantasy.css b/css/fvtt-lethal-fantasy.css index ad3e429..2413461 100644 --- a/css/fvtt-lethal-fantasy.css +++ b/css/fvtt-lethal-fantasy.css @@ -766,10 +766,14 @@ i.lethalfantasy { text-shadow: 0 0 8px var(--color-shadow-primary); cursor: pointer; } +.lethalfantasy .monster-main .monster-resists .monster-resist input { + min-width: 2.2rem; + max-width: 2.5rem; +} .lethalfantasy .monster-main .monster-resists .monster-resist .name { flex: 1; - min-width: 3rem; - margin-left: 0.5rem; + min-width: 3.2rem; + margin-left: 4px; } .lethalfantasy .monster-main .monster-resists .monster-resist .form-group { flex: 1; diff --git a/lang/en.json b/lang/en.json index 7cefb3b..609cc78 100644 --- a/lang/en.json +++ b/lang/en.json @@ -166,10 +166,13 @@ "resistIntimidation": { "label": "Resist intimidation" }, - "painCourage": { - "label": "Pain/Courage" + "perception": { + "label": "Perception" } }, + "painCourage": { + "label": "Pain/Courage" + }, "app": { "label": "Appearance" }, diff --git a/module/config/monster.mjs b/module/config/monster.mjs index 84c7ccd..1e06bbb 100644 --- a/module/config/monster.mjs +++ b/module/config/monster.mjs @@ -12,15 +12,19 @@ export const MONSTER_CHARACTERISTICS = Object.freeze({ export const MONSTER_RESIST = Object.freeze({ resistTorture: { id: "resistTorture", - label: "LETHALFANTASY.Character.resistTorture.label" + label: "LETHALFANTASY.Monster.resistTorture.label" }, resistPerformance: { id: "resistPerformance", - label: "LETHALFANTASY.Character.resistPerformance.label" + label: "LETHALFANTASY.Monster.resistPerformance.label" }, resistIntimidation: { id: "resistIntimidation", - label: "LETHALFANTASY.Character.resistIntimidation.label" + label: "LETHALFANTASY.Monster.resistIntimidation.label" + }, + perception: { + id: "perception", + label: "LETHALFANTASY.Monster.perception.label" } }) diff --git a/packs-system/lf-equipment/000053.ldb b/packs-system/lf-equipment/000053.ldb new file mode 100644 index 0000000..0ef0064 Binary files /dev/null and b/packs-system/lf-equipment/000053.ldb differ diff --git a/packs-system/lf-equipment/000044.log b/packs-system/lf-equipment/000056.log similarity index 100% rename from packs-system/lf-equipment/000044.log rename to packs-system/lf-equipment/000056.log diff --git a/packs-system/lf-equipment/CURRENT b/packs-system/lf-equipment/CURRENT index 8e0a062..17608f2 100644 --- a/packs-system/lf-equipment/CURRENT +++ b/packs-system/lf-equipment/CURRENT @@ -1 +1 @@ -MANIFEST-000042 +MANIFEST-000054 diff --git a/packs-system/lf-equipment/LOG b/packs-system/lf-equipment/LOG index 45b7b2e..8417c5f 100644 --- a/packs-system/lf-equipment/LOG +++ b/packs-system/lf-equipment/LOG @@ -1,7 +1,8 @@ -2025/01/15-16:06:49.025850 7ffb057fa6c0 Recovering log #40 -2025/01/15-16:06:49.035595 7ffb057fa6c0 Delete type=3 #38 -2025/01/15-16:06:49.035662 7ffb057fa6c0 Delete type=0 #40 -2025/01/15-16:50:12.369505 7ff867fff6c0 Level-0 table #45: started -2025/01/15-16:50:12.369534 7ff867fff6c0 Level-0 table #45: 0 bytes OK -2025/01/15-16:50:12.376346 7ff867fff6c0 Delete type=0 #43 -2025/01/15-16:50:12.376580 7ff867fff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) +2025/01/15-17:03:43.719769 7ffb05ffb6c0 Recovering log #52 +2025/01/15-17:03:43.729657 7ffb05ffb6c0 Delete type=3 #50 +2025/01/15-17:03:43.729729 7ffb05ffb6c0 Delete type=0 #52 +2025/01/15-17:13:30.945519 7ff867fff6c0 Level-0 table #57: started +2025/01/15-17:13:30.945543 7ff867fff6c0 Level-0 table #57: 0 bytes OK +2025/01/15-17:13:30.982929 7ff867fff6c0 Delete type=0 #55 +2025/01/15-17:13:31.063470 7ff867fff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end) +2025/01/15-17:13:31.063497 7ff867fff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-equipment/LOG.old b/packs-system/lf-equipment/LOG.old index e5aa69e..12da452 100644 --- a/packs-system/lf-equipment/LOG.old +++ b/packs-system/lf-equipment/LOG.old @@ -1,7 +1,7 @@ -2025/01/15-11:51:12.467493 7f4744ffa6c0 Recovering log #36 -2025/01/15-11:51:12.477732 7f4744ffa6c0 Delete type=3 #34 -2025/01/15-11:51:12.477823 7f4744ffa6c0 Delete type=0 #36 -2025/01/15-12:14:13.075366 7f473e7fc6c0 Level-0 table #41: started -2025/01/15-12:14:13.075395 7f473e7fc6c0 Level-0 table #41: 0 bytes OK -2025/01/15-12:14:13.081973 7f473e7fc6c0 Delete type=0 #39 -2025/01/15-12:14:13.095216 7f473e7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) +2025/01/15-16:54:53.448674 7ffb057fa6c0 Recovering log #48 +2025/01/15-16:54:53.459274 7ffb057fa6c0 Delete type=3 #46 +2025/01/15-16:54:53.459345 7ffb057fa6c0 Delete type=0 #48 +2025/01/15-16:55:56.518322 7ff867fff6c0 Level-0 table #53: started +2025/01/15-16:55:56.537208 7ff867fff6c0 Level-0 table #53: 28711 bytes OK +2025/01/15-16:55:56.571804 7ff867fff6c0 Delete type=0 #51 +2025/01/15-16:55:56.731643 7ff867fff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-equipment/MANIFEST-000042 b/packs-system/lf-equipment/MANIFEST-000042 deleted file mode 100644 index b5dbe9b..0000000 Binary files a/packs-system/lf-equipment/MANIFEST-000042 and /dev/null differ diff --git a/packs-system/lf-equipment/MANIFEST-000054 b/packs-system/lf-equipment/MANIFEST-000054 new file mode 100644 index 0000000..d19e986 Binary files /dev/null and b/packs-system/lf-equipment/MANIFEST-000054 differ diff --git a/packs-system/lf-gifts/000053.ldb b/packs-system/lf-gifts/000053.ldb new file mode 100644 index 0000000..8807f7f Binary files /dev/null and b/packs-system/lf-gifts/000053.ldb differ diff --git a/packs-system/lf-gifts/000044.log b/packs-system/lf-gifts/000056.log similarity index 100% rename from packs-system/lf-gifts/000044.log rename to packs-system/lf-gifts/000056.log diff --git a/packs-system/lf-gifts/CURRENT b/packs-system/lf-gifts/CURRENT index 8e0a062..17608f2 100644 --- a/packs-system/lf-gifts/CURRENT +++ b/packs-system/lf-gifts/CURRENT @@ -1 +1 @@ -MANIFEST-000042 +MANIFEST-000054 diff --git a/packs-system/lf-gifts/LOG b/packs-system/lf-gifts/LOG index 92aad39..230480a 100644 --- a/packs-system/lf-gifts/LOG +++ b/packs-system/lf-gifts/LOG @@ -1,7 +1,8 @@ -2025/01/15-16:06:49.037952 7ffb05ffb6c0 Recovering log #40 -2025/01/15-16:06:49.048830 7ffb05ffb6c0 Delete type=3 #38 -2025/01/15-16:06:49.048881 7ffb05ffb6c0 Delete type=0 #40 -2025/01/15-16:50:12.356619 7ff867fff6c0 Level-0 table #45: started -2025/01/15-16:50:12.356653 7ff867fff6c0 Level-0 table #45: 0 bytes OK -2025/01/15-16:50:12.363313 7ff867fff6c0 Delete type=0 #43 -2025/01/15-16:50:12.376561 7ff867fff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) +2025/01/15-17:03:43.732673 7ffb057fa6c0 Recovering log #52 +2025/01/15-17:03:43.743050 7ffb057fa6c0 Delete type=3 #50 +2025/01/15-17:03:43.743102 7ffb057fa6c0 Delete type=0 #52 +2025/01/15-17:13:30.983070 7ff867fff6c0 Level-0 table #57: started +2025/01/15-17:13:30.983104 7ff867fff6c0 Level-0 table #57: 0 bytes OK +2025/01/15-17:13:31.026101 7ff867fff6c0 Delete type=0 #55 +2025/01/15-17:13:31.063480 7ff867fff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/01/15-17:13:31.063519 7ff867fff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-gifts/LOG.old b/packs-system/lf-gifts/LOG.old index b22a9d5..8147195 100644 --- a/packs-system/lf-gifts/LOG.old +++ b/packs-system/lf-gifts/LOG.old @@ -1,7 +1,7 @@ -2025/01/15-11:51:12.479884 7f473ffff6c0 Recovering log #36 -2025/01/15-11:51:12.490107 7f473ffff6c0 Delete type=3 #34 -2025/01/15-11:51:12.490160 7f473ffff6c0 Delete type=0 #36 -2025/01/15-12:14:13.068889 7f473e7fc6c0 Level-0 table #41: started -2025/01/15-12:14:13.068947 7f473e7fc6c0 Level-0 table #41: 0 bytes OK -2025/01/15-12:14:13.075233 7f473e7fc6c0 Delete type=0 #39 -2025/01/15-12:14:13.095205 7f473e7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) +2025/01/15-16:54:53.461720 7ffb067fc6c0 Recovering log #48 +2025/01/15-16:54:53.471141 7ffb067fc6c0 Delete type=3 #46 +2025/01/15-16:54:53.471198 7ffb067fc6c0 Delete type=0 #48 +2025/01/15-16:55:56.616536 7ff867fff6c0 Level-0 table #53: started +2025/01/15-16:55:56.634525 7ff867fff6c0 Level-0 table #53: 15152 bytes OK +2025/01/15-16:55:56.671555 7ff867fff6c0 Delete type=0 #51 +2025/01/15-16:55:56.731669 7ff867fff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-gifts/MANIFEST-000042 b/packs-system/lf-gifts/MANIFEST-000042 deleted file mode 100644 index b5dbe9b..0000000 Binary files a/packs-system/lf-gifts/MANIFEST-000042 and /dev/null differ diff --git a/packs-system/lf-gifts/MANIFEST-000054 b/packs-system/lf-gifts/MANIFEST-000054 new file mode 100644 index 0000000..913a6ff Binary files /dev/null and b/packs-system/lf-gifts/MANIFEST-000054 differ diff --git a/packs-system/lf-skills/000049.ldb b/packs-system/lf-skills/000049.ldb new file mode 100644 index 0000000..30c3de0 Binary files /dev/null and b/packs-system/lf-skills/000049.ldb differ diff --git a/packs-system/lf-skills/000044.log b/packs-system/lf-skills/000056.log similarity index 100% rename from packs-system/lf-skills/000044.log rename to packs-system/lf-skills/000056.log diff --git a/packs-system/lf-skills/CURRENT b/packs-system/lf-skills/CURRENT index 8e0a062..17608f2 100644 --- a/packs-system/lf-skills/CURRENT +++ b/packs-system/lf-skills/CURRENT @@ -1 +1 @@ -MANIFEST-000042 +MANIFEST-000054 diff --git a/packs-system/lf-skills/LOG b/packs-system/lf-skills/LOG index c83ad10..d5d0dc5 100644 --- a/packs-system/lf-skills/LOG +++ b/packs-system/lf-skills/LOG @@ -1,7 +1,8 @@ -2025/01/15-16:06:49.014114 7ffb04ff96c0 Recovering log #40 -2025/01/15-16:06:49.023672 7ffb04ff96c0 Delete type=3 #38 -2025/01/15-16:06:49.023731 7ffb04ff96c0 Delete type=0 #40 -2025/01/15-16:50:12.363422 7ff867fff6c0 Level-0 table #45: started -2025/01/15-16:50:12.363452 7ff867fff6c0 Level-0 table #45: 0 bytes OK -2025/01/15-16:50:12.369381 7ff867fff6c0 Delete type=0 #43 -2025/01/15-16:50:12.376571 7ff867fff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) +2025/01/15-17:03:43.706874 7ffb04ff96c0 Recovering log #52 +2025/01/15-17:03:43.716786 7ffb04ff96c0 Delete type=3 #50 +2025/01/15-17:03:43.716860 7ffb04ff96c0 Delete type=0 #52 +2025/01/15-17:13:30.905655 7ff867fff6c0 Level-0 table #57: started +2025/01/15-17:13:30.905694 7ff867fff6c0 Level-0 table #57: 0 bytes OK +2025/01/15-17:13:30.945404 7ff867fff6c0 Delete type=0 #55 +2025/01/15-17:13:31.063454 7ff867fff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) +2025/01/15-17:13:31.063503 7ff867fff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-skills/LOG.old b/packs-system/lf-skills/LOG.old index c0c4c35..d53177e 100644 --- a/packs-system/lf-skills/LOG.old +++ b/packs-system/lf-skills/LOG.old @@ -1,7 +1,8 @@ -2025/01/15-11:51:12.456025 7f473effd6c0 Recovering log #36 -2025/01/15-11:51:12.465565 7f473effd6c0 Delete type=3 #34 -2025/01/15-11:51:12.465623 7f473effd6c0 Delete type=0 #36 -2025/01/15-12:14:13.082075 7f473e7fc6c0 Level-0 table #41: started -2025/01/15-12:14:13.082096 7f473e7fc6c0 Level-0 table #41: 0 bytes OK -2025/01/15-12:14:13.089104 7f473e7fc6c0 Delete type=0 #39 -2025/01/15-12:14:13.095226 7f473e7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) +2025/01/15-16:54:53.435891 7ffb05ffb6c0 Recovering log #48 +2025/01/15-16:54:53.445636 7ffb05ffb6c0 Delete type=3 #46 +2025/01/15-16:54:53.445687 7ffb05ffb6c0 Delete type=0 #48 +2025/01/15-16:55:56.571979 7ff867fff6c0 Level-0 table #53: started +2025/01/15-16:55:56.572010 7ff867fff6c0 Level-0 table #53: 0 bytes OK +2025/01/15-16:55:56.616420 7ff867fff6c0 Delete type=0 #51 +2025/01/15-16:55:56.731658 7ff867fff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) +2025/01/15-16:55:56.731692 7ff867fff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-skills/MANIFEST-000042 b/packs-system/lf-skills/MANIFEST-000042 deleted file mode 100644 index b5dbe9b..0000000 Binary files a/packs-system/lf-skills/MANIFEST-000042 and /dev/null differ diff --git a/packs-system/lf-skills/MANIFEST-000054 b/packs-system/lf-skills/MANIFEST-000054 new file mode 100644 index 0000000..e2fde64 Binary files /dev/null and b/packs-system/lf-skills/MANIFEST-000054 differ diff --git a/packs-system/lf-vulnerabilities/000053.ldb b/packs-system/lf-vulnerabilities/000053.ldb new file mode 100644 index 0000000..dd09040 Binary files /dev/null and b/packs-system/lf-vulnerabilities/000053.ldb differ diff --git a/packs-system/lf-vulnerabilities/000044.log b/packs-system/lf-vulnerabilities/000056.log similarity index 100% rename from packs-system/lf-vulnerabilities/000044.log rename to packs-system/lf-vulnerabilities/000056.log diff --git a/packs-system/lf-vulnerabilities/CURRENT b/packs-system/lf-vulnerabilities/CURRENT index 8e0a062..17608f2 100644 --- a/packs-system/lf-vulnerabilities/CURRENT +++ b/packs-system/lf-vulnerabilities/CURRENT @@ -1 +1 @@ -MANIFEST-000042 +MANIFEST-000054 diff --git a/packs-system/lf-vulnerabilities/LOG b/packs-system/lf-vulnerabilities/LOG index 2918e15..8296ad8 100644 --- a/packs-system/lf-vulnerabilities/LOG +++ b/packs-system/lf-vulnerabilities/LOG @@ -1,7 +1,8 @@ -2025/01/15-16:06:49.050940 7ffb067fc6c0 Recovering log #40 -2025/01/15-16:06:49.060422 7ffb067fc6c0 Delete type=3 #38 -2025/01/15-16:06:49.060485 7ffb067fc6c0 Delete type=0 #40 -2025/01/15-16:50:12.349758 7ff867fff6c0 Level-0 table #45: started -2025/01/15-16:50:12.349830 7ff867fff6c0 Level-0 table #45: 0 bytes OK -2025/01/15-16:50:12.356435 7ff867fff6c0 Delete type=0 #43 -2025/01/15-16:50:12.376548 7ff867fff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) +2025/01/15-17:03:43.745320 7ffb067fc6c0 Recovering log #52 +2025/01/15-17:03:43.754748 7ffb067fc6c0 Delete type=3 #50 +2025/01/15-17:03:43.754838 7ffb067fc6c0 Delete type=0 #52 +2025/01/15-17:13:31.026257 7ff867fff6c0 Level-0 table #57: started +2025/01/15-17:13:31.026286 7ff867fff6c0 Level-0 table #57: 0 bytes OK +2025/01/15-17:13:31.063313 7ff867fff6c0 Delete type=0 #55 +2025/01/15-17:13:31.063490 7ff867fff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) +2025/01/15-17:13:31.063511 7ff867fff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-vulnerabilities/LOG.old b/packs-system/lf-vulnerabilities/LOG.old index bc3784c..3b1b9f7 100644 --- a/packs-system/lf-vulnerabilities/LOG.old +++ b/packs-system/lf-vulnerabilities/LOG.old @@ -1,7 +1,7 @@ -2025/01/15-11:51:12.492006 7f473f7fe6c0 Recovering log #36 -2025/01/15-11:51:12.501404 7f473f7fe6c0 Delete type=3 #34 -2025/01/15-11:51:12.501471 7f473f7fe6c0 Delete type=0 #36 -2025/01/15-12:14:13.089202 7f473e7fc6c0 Level-0 table #41: started -2025/01/15-12:14:13.089224 7f473e7fc6c0 Level-0 table #41: 0 bytes OK -2025/01/15-12:14:13.095112 7f473e7fc6c0 Delete type=0 #39 -2025/01/15-12:14:13.095235 7f473e7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) +2025/01/15-16:54:53.473037 7ffb04ff96c0 Recovering log #48 +2025/01/15-16:54:53.482869 7ffb04ff96c0 Delete type=3 #46 +2025/01/15-16:54:53.482939 7ffb04ff96c0 Delete type=0 #48 +2025/01/15-16:55:56.671688 7ff867fff6c0 Level-0 table #53: started +2025/01/15-16:55:56.695395 7ff867fff6c0 Level-0 table #53: 20606 bytes OK +2025/01/15-16:55:56.731487 7ff867fff6c0 Delete type=0 #51 +2025/01/15-16:55:56.731680 7ff867fff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-vulnerabilities/MANIFEST-000042 b/packs-system/lf-vulnerabilities/MANIFEST-000042 deleted file mode 100644 index b5dbe9b..0000000 Binary files a/packs-system/lf-vulnerabilities/MANIFEST-000042 and /dev/null differ diff --git a/packs-system/lf-vulnerabilities/MANIFEST-000054 b/packs-system/lf-vulnerabilities/MANIFEST-000054 new file mode 100644 index 0000000..d15f895 Binary files /dev/null and b/packs-system/lf-vulnerabilities/MANIFEST-000054 differ diff --git a/styles/monster.less b/styles/monster.less index 00e41dd..dcae669 100644 --- a/styles/monster.less +++ b/styles/monster.less @@ -120,10 +120,14 @@ text-shadow: 0 0 8px var(--color-shadow-primary); cursor: pointer; } + input { + min-width: 2.2rem; + max-width: 2.5rem; + } .name { flex: 1; - min-width: 3rem; - margin-left: 0.5rem; + min-width: 3.2rem; + margin-left: 4px; } .form-group { flex: 1; diff --git a/templates/character-main.hbs b/templates/character-main.hbs index b2d94cf..a258a1f 100644 --- a/templates/character-main.hbs +++ b/templates/character-main.hbs @@ -17,11 +17,6 @@ / {{formInput systemFields.hp.fields.max value=system.hp.max disabled=isPlayMode classes="character-hp-value"}} -