Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
b21c5ac9bb | |||
a43bebc63b | |||
2b418695c4 | |||
5dbb168891 |
15
README.md
15
README.md
@ -1,6 +1,15 @@
|
||||
|
||||
<h2><em>Cthulhu Eternal RPG</em> for Foundry Virtual TableTop</h2>
|
||||
# Cthulhu Eternal RPG for FoundryVTT
|
||||
|
||||
<div align="center">
|
||||
Cthulhu Eternal : https://cthulhueternal.com/
|
||||
|
||||
</div>
|
||||
The system contains :
|
||||
|
||||
- Protagonist, Creature and Vehicle sheet
|
||||
- Arcane, Archetype, Armor, Bond, Gear, Injury, Mental Disorder, Motivation, Ritual, Skill, Tome, Weapon items
|
||||
- Support for all available eras
|
||||
- Pre-filled compendium for each era
|
||||
- Specific look&fell for each era
|
||||
- And much more !
|
||||
|
||||
Discord Contact : LeRatierBretonnien (at Official Foundry Discord of French Foundry Discord)
|
||||
|
@ -1,3 +1,8 @@
|
||||
# 12.0.12
|
||||
|
||||
- Add missing skills for WW1, WW2, future and post-apocalyptic
|
||||
- Fix packaging
|
||||
|
||||
# 12.0.11
|
||||
|
||||
- Initial release
|
@ -2680,6 +2680,14 @@ i.fvtt-cthulhu-eternal {
|
||||
margin-top: 8px;
|
||||
background-color: var(--color-light-1);
|
||||
}
|
||||
.fvtt-cthulhu-eternal .ritual-content fieldset .editor-content {
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.fvtt-cthulhu-eternal .ritual-content fieldset .editor-container {
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.fvtt-cthulhu-eternal .ritual-content .header {
|
||||
background-color: var(--color-light-1);
|
||||
display: flex;
|
||||
|
@ -457,6 +457,7 @@
|
||||
"Simple": "Simple",
|
||||
"Complex": "Complex",
|
||||
"Elaborate": "Elaborate",
|
||||
"Difficult": "Difficult",
|
||||
"FIELDS": {
|
||||
"ritualType": {
|
||||
"label": "Type"
|
||||
|
@ -240,6 +240,7 @@ export const MULTIPLIER_CHOICES = {
|
||||
|
||||
export const RITUAL_TYPES = {
|
||||
"simple": "CTHULHUETERNAL.Ritual.Simple",
|
||||
"difficult": "CTHULHUETERNAL.Ritual.Difficult",
|
||||
"complex": "CTHULHUETERNAL.Ritual.Complex",
|
||||
"elaborate": "CTHULHUETERNAL.Ritual.Elaborate"
|
||||
}
|
||||
|
@ -147,6 +147,24 @@ export default class CthulhuEternalRoll extends Roll {
|
||||
options.isNudge = false
|
||||
break
|
||||
case "damage":
|
||||
let isLethal = false
|
||||
options.isNudge = false
|
||||
if (options.rollItem.system.lethality > 0) {
|
||||
let lethalityRoll = new Roll("1d100")
|
||||
await lethalityRoll.evaluate()
|
||||
isLethal = (lethalityRoll.total <= options.rollItem.system.lethality)
|
||||
let flavor = `${options.rollItem.name} - <strong>Lethality Roll</strong> : ${lethalityRoll.total} <= ${options.rollItem.system.lethality} => ${isLethal}`
|
||||
if ( isLethal) {
|
||||
flavor += `<br>The target is lethally wounded => HP = 0`
|
||||
} else {
|
||||
let wounds = Math.floor(lethalityRoll.total/10) + (lethalityRoll.total % 10)
|
||||
flavor += `<br>The target is not lethally wounded => HP loss = ${wounds}`
|
||||
}
|
||||
await lethalityRoll.toMessage({
|
||||
flavor:flavor
|
||||
});
|
||||
return
|
||||
}
|
||||
let formula = options.rollItem.system.damage
|
||||
if ( options.rollItem.system.weaponType === "melee" || options.rollItem.system.weaponType === "unarmed") {
|
||||
formula += ` + ${options.rollItem.damageBonus}`
|
||||
@ -156,16 +174,6 @@ export default class CthulhuEternalRoll extends Roll {
|
||||
await damageRoll.toMessage({
|
||||
flavor: `${options.rollItem.name} - Damage Roll`
|
||||
});
|
||||
let isLethal = false
|
||||
options.isNudge = false
|
||||
if (options.rollItem.system.lethality > 0) {
|
||||
let lethalityRoll = new Roll("1d100")
|
||||
await lethalityRoll.evaluate()
|
||||
isLethal = (lethalityRoll.total <= options.rollItem.system.lethality)
|
||||
await lethalityRoll.toMessage({
|
||||
flavor: `${options.rollItem.name} - Lethality Roll : ${lethalityRoll.total} <= ${options.rollItem.system.lethality} => ${isLethal}`
|
||||
});
|
||||
}
|
||||
return
|
||||
case "weapon":
|
||||
let era = game.settings.get("fvtt-cthulhu-eternal", "settings-era")
|
||||
|
BIN
packs-system/rituals/000005.ldb
Normal file
BIN
packs-system/rituals/000005.ldb
Normal file
Binary file not shown.
1
packs-system/rituals/CURRENT
Normal file
1
packs-system/rituals/CURRENT
Normal file
@ -0,0 +1 @@
|
||||
MANIFEST-000010
|
0
packs-system/rituals/LOCK
Normal file
0
packs-system/rituals/LOCK
Normal file
8
packs-system/rituals/LOG
Normal file
8
packs-system/rituals/LOG
Normal file
@ -0,0 +1,8 @@
|
||||
2025/04/25-00:23:55.566074 7fd0855fa6c0 Recovering log #8
|
||||
2025/04/25-00:23:55.627155 7fd0855fa6c0 Delete type=3 #6
|
||||
2025/04/25-00:23:55.627214 7fd0855fa6c0 Delete type=0 #8
|
||||
2025/04/25-00:24:39.296644 7fd07effd6c0 Level-0 table #13: started
|
||||
2025/04/25-00:24:39.296707 7fd07effd6c0 Level-0 table #13: 0 bytes OK
|
||||
2025/04/25-00:24:39.302890 7fd07effd6c0 Delete type=0 #11
|
||||
2025/04/25-00:24:39.309638 7fd07effd6c0 Manual compaction at level-0 from '!items!4oyPRBWPBWAChrJP' @ 72057594037927935 : 1 .. '!items!zVFfp3o0G0Zg3Ia4' @ 0 : 0; will stop at (end)
|
||||
2025/04/25-00:24:39.309671 7fd07effd6c0 Manual compaction at level-1 from '!items!4oyPRBWPBWAChrJP' @ 72057594037927935 : 1 .. '!items!zVFfp3o0G0Zg3Ia4' @ 0 : 0; will stop at (end)
|
8
packs-system/rituals/LOG.old
Normal file
8
packs-system/rituals/LOG.old
Normal file
@ -0,0 +1,8 @@
|
||||
2025/04/24-23:56:15.236151 7fd0855fa6c0 Recovering log #4
|
||||
2025/04/24-23:56:15.247158 7fd0855fa6c0 Delete type=0 #4
|
||||
2025/04/24-23:56:15.247228 7fd0855fa6c0 Delete type=3 #2
|
||||
2025/04/25-00:23:51.709456 7fd07effd6c0 Level-0 table #9: started
|
||||
2025/04/25-00:23:51.709498 7fd07effd6c0 Level-0 table #9: 0 bytes OK
|
||||
2025/04/25-00:23:51.747489 7fd07effd6c0 Delete type=0 #7
|
||||
2025/04/25-00:23:51.747677 7fd07effd6c0 Manual compaction at level-0 from '!items!4oyPRBWPBWAChrJP' @ 72057594037927935 : 1 .. '!items!zVFfp3o0G0Zg3Ia4' @ 0 : 0; will stop at (end)
|
||||
2025/04/25-00:23:51.809910 7fd07effd6c0 Manual compaction at level-1 from '!items!4oyPRBWPBWAChrJP' @ 72057594037927935 : 1 .. '!items!zVFfp3o0G0Zg3Ia4' @ 0 : 0; will stop at (end)
|
BIN
packs-system/rituals/MANIFEST-000010
Normal file
BIN
packs-system/rituals/MANIFEST-000010
Normal file
Binary file not shown.
0
packs-system/skills/000176.log
Normal file
0
packs-system/skills/000176.log
Normal file
@ -1 +1 @@
|
||||
MANIFEST-000153
|
||||
MANIFEST-000174
|
||||
|
@ -1,8 +1,7 @@
|
||||
2025/03/31-14:17:56.392165 7f9cf57fa6c0 Recovering log #150
|
||||
2025/03/31-14:17:56.402772 7f9cf57fa6c0 Delete type=3 #148
|
||||
2025/03/31-14:17:56.402849 7f9cf57fa6c0 Delete type=0 #150
|
||||
2025/03/31-14:18:14.649211 7f9cf4ff96c0 Level-0 table #156: started
|
||||
2025/03/31-14:18:14.649284 7f9cf4ff96c0 Level-0 table #156: 0 bytes OK
|
||||
2025/03/31-14:18:14.657130 7f9cf4ff96c0 Delete type=0 #154
|
||||
2025/03/31-14:18:14.671046 7f9cf4ff96c0 Manual compaction at level-0 from '!folders!5PrT9QmN1cFPzDFP' @ 72057594037927935 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at (end)
|
||||
2025/03/31-14:18:14.671088 7f9cf4ff96c0 Manual compaction at level-1 from '!folders!5PrT9QmN1cFPzDFP' @ 72057594037927935 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at (end)
|
||||
2025/04/25-00:23:55.465639 7fd07f7fe6c0 Recovering log #172
|
||||
2025/04/25-00:23:55.561118 7fd07f7fe6c0 Delete type=3 #170
|
||||
2025/04/25-00:23:55.561198 7fd07f7fe6c0 Delete type=0 #172
|
||||
2025/04/25-00:24:39.302991 7fd07effd6c0 Level-0 table #177: started
|
||||
2025/04/25-00:24:39.303023 7fd07effd6c0 Level-0 table #177: 0 bytes OK
|
||||
2025/04/25-00:24:39.309509 7fd07effd6c0 Delete type=0 #175
|
||||
2025/04/25-00:24:39.309652 7fd07effd6c0 Manual compaction at level-0 from '!folders!5PrT9QmN1cFPzDFP' @ 72057594037927935 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,15 +1,7 @@
|
||||
2025/03/31-13:30:08.704004 7f9cf57fa6c0 Recovering log #146
|
||||
2025/03/31-13:30:08.713893 7f9cf57fa6c0 Delete type=3 #144
|
||||
2025/03/31-13:30:08.713965 7f9cf57fa6c0 Delete type=0 #146
|
||||
2025/03/31-14:17:51.825999 7f9cf4ff96c0 Level-0 table #151: started
|
||||
2025/03/31-14:17:51.831210 7f9cf4ff96c0 Level-0 table #151: 139466 bytes OK
|
||||
2025/03/31-14:17:51.837284 7f9cf4ff96c0 Delete type=0 #149
|
||||
2025/03/31-14:17:51.843769 7f9cf4ff96c0 Manual compaction at level-0 from '!folders!5PrT9QmN1cFPzDFP' @ 72057594037927935 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at (end)
|
||||
2025/03/31-14:17:51.843820 7f9cf4ff96c0 Manual compaction at level-1 from '!folders!5PrT9QmN1cFPzDFP' @ 72057594037927935 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at '!items!zvoUByzWSWZ87fxA' @ 526 : 1
|
||||
2025/03/31-14:17:51.843828 7f9cf4ff96c0 Compacting 1@1 + 1@2 files
|
||||
2025/03/31-14:17:51.850707 7f9cf4ff96c0 Generated table #152@1: 548 keys, 311006 bytes
|
||||
2025/03/31-14:17:51.850737 7f9cf4ff96c0 Compacted 1@1 + 1@2 files => 311006 bytes
|
||||
2025/03/31-14:17:51.856748 7f9cf4ff96c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
||||
2025/03/31-14:17:51.856867 7f9cf4ff96c0 Delete type=2 #5
|
||||
2025/03/31-14:17:51.856985 7f9cf4ff96c0 Delete type=2 #151
|
||||
2025/03/31-14:17:51.888059 7f9cf4ff96c0 Manual compaction at level-1 from '!items!zvoUByzWSWZ87fxA' @ 526 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at (end)
|
||||
2025/04/24-23:56:15.221751 7fd07f7fe6c0 Recovering log #168
|
||||
2025/04/24-23:56:15.231420 7fd07f7fe6c0 Delete type=0 #168
|
||||
2025/04/24-23:56:15.231515 7fd07f7fe6c0 Delete type=3 #166
|
||||
2025/04/25-00:23:51.673765 7fd07effd6c0 Level-0 table #173: started
|
||||
2025/04/25-00:23:51.673830 7fd07effd6c0 Level-0 table #173: 0 bytes OK
|
||||
2025/04/25-00:23:51.709271 7fd07effd6c0 Delete type=0 #171
|
||||
2025/04/25-00:23:51.747663 7fd07effd6c0 Manual compaction at level-0 from '!folders!5PrT9QmN1cFPzDFP' @ 72057594037927935 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs-system/skills/MANIFEST-000174
Normal file
BIN
packs-system/skills/MANIFEST-000174
Normal file
Binary file not shown.
0
packs-system/skills/lost/000159.log
Normal file
0
packs-system/skills/lost/000159.log
Normal file
@ -5,6 +5,14 @@
|
||||
fieldset {
|
||||
margin-top: 8px;
|
||||
background-color: var(--color-light-1);
|
||||
.editor-content {
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.editor-container {
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
|
@ -61,6 +61,14 @@
|
||||
"system": "fvtt-cthulhu-eternal",
|
||||
"path": "packs-system/skills",
|
||||
"type": "Item"
|
||||
},
|
||||
{
|
||||
"name": "rituals",
|
||||
"banner": "",
|
||||
"label": "Rituals",
|
||||
"system": "fvtt-cthulhu-eternal",
|
||||
"path": "packs-system/rituals",
|
||||
"type": "Item"
|
||||
}
|
||||
],
|
||||
"grid": {
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=description value=system.description name="system.description" toggled=true}}
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
</section>
|
@ -10,7 +10,7 @@
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=description value=system.description name="system.description" toggled=true}}
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
</section>h
|
||||
|
@ -15,7 +15,7 @@
|
||||
<legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend>
|
||||
{{formInput
|
||||
systemFields.description
|
||||
enriched=description
|
||||
enriched=enrichedDescription
|
||||
value=system.description
|
||||
name="system.description"
|
||||
toggled="false"
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=description value=system.description name="system.description"
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description"
|
||||
toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
<legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend>
|
||||
{{formInput
|
||||
systemFields.description
|
||||
enriched=description
|
||||
enriched=enrichedDescription
|
||||
value=system.description
|
||||
name="system.description"
|
||||
toggled="false"
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=description value=system.description name="system.description" toggled=true}}
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
</section>
|
@ -17,7 +17,8 @@
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=description value=system.description name="system.description" toggled=true}}
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
||||
|
||||
</fieldset>
|
||||
|
||||
</section>
|
@ -36,7 +36,7 @@
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=description value=system.description name="system.description" toggled=true}}
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
</section>
|
@ -33,7 +33,7 @@
|
||||
<legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend>
|
||||
{{formInput
|
||||
systemFields.description
|
||||
enriched=description
|
||||
enriched=enrichedDescription
|
||||
value=system.description
|
||||
name="system.description"
|
||||
toggled=true
|
||||
|
Reference in New Issue
Block a user