Add monster changes

This commit is contained in:
LeRatierBretonnien 2025-01-15 17:13:39 +01:00
parent 78b230084f
commit e34593c650
34 changed files with 96 additions and 79 deletions

View File

@ -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;

View File

@ -166,10 +166,13 @@
"resistIntimidation": {
"label": "Resist intimidation"
},
"painCourage": {
"label": "Pain/Courage"
"perception": {
"label": "Perception"
}
},
"painCourage": {
"label": "Pain/Courage"
},
"app": {
"label": "Appearance"
},

View File

@ -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"
}
})

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000042
MANIFEST-000054

View File

@ -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)

View File

@ -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)

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000042
MANIFEST-000054

View File

@ -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)

View File

@ -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)

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000042
MANIFEST-000054

View File

@ -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)

View File

@ -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)

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000042
MANIFEST-000054

View File

@ -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)

View File

@ -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)

Binary file not shown.

View File

@ -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;

View File

@ -17,11 +17,6 @@
 / 
{{formInput systemFields.hp.fields.max value=system.hp.max disabled=isPlayMode classes="character-hp-value"}}
</div>
<div class="flexrow character-hp">
<span class="name">{{localize "LETHALFANTASY.Label.perception"}}</span>
{{formInput systemFields.perception.fields.value value=system.perception.value disabled=isPlayMode
classes="character-hp"}}
</div>
<div class="flexrow character-hp">
<span class="name">{{localize "LETHALFANTASY.Label.grit"}}</span>
{{formInput systemFields.grit.fields.current value=system.grit.current disabled=isPlayMode

View File

@ -17,11 +17,6 @@
&nbsp;/&nbsp;
{{formInput systemFields.hp.fields.max value=system.hp.max disabled=isPlayMode classes="monster-hp-value"}}
</div>
<div class="flexrow monster-hp">
<span class="name">{{localize "LETHALFANTASY.Label.perception"}}</span>
{{formInput systemFields.perception.fields.value value=system.perception.value disabled=isPlayMode
classes="monster-hp"}}
</div>
</fieldset>
</div>
@ -113,6 +108,13 @@
"LETHALFANTASY.Label.resistIntimidation"}}</a></span>
{{formField systemFields.resists.fields.resistIntimidation.fields.value value=system.resists.resistIntimidation.value
disabled=isPlayMode }}
<span class="name"><a class="rollable" data-roll-type="resist" data-roll-key="perception"><i
class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
"LETHALFANTASY.Label.perception"}}</a></span>
{{formField systemFields.resists.fields.perception.fields.value value=system.resists.perception.value
disabled=isPlayMode }}
</div>
</div>
</fieldset>