Add rituals !

This commit is contained in:
LeRatierBretonnien 2025-04-24 23:54:19 +02:00
parent 2b418695c4
commit a43bebc63b
28 changed files with 86 additions and 58 deletions

View File

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

View File

@ -212,7 +212,7 @@
},
"settings": {
"label": "Settings era"
},
},
"diceEvolved": {
"label": "Can increase on failure"
},
@ -395,7 +395,7 @@
"FIELDS": {
"settings": {
"label": "Settings era"
},
},
"value": {
"label": "Value"
},
@ -438,7 +438,7 @@
},
"otherBenefits": {
"label": "Other Benefits"
},
},
"creationDate": {
"label": "Creation Date"
},
@ -457,6 +457,7 @@
"Simple": "Simple",
"Complex": "Complex",
"Elaborate": "Elaborate",
"Difficult": "Difficult",
"FIELDS": {
"ritualType": {
"label": "Type"
@ -529,7 +530,7 @@
"intShort": "INT",
"powShort": "POW",
"conShort": "CON",
"chaShort": "CHA",
"chaShort": "CHA",
"strLong": "Strength",
"dexLong": "Dexterity",
"intLong": "Intelligence",

View File

@ -6,16 +6,16 @@ import * as BOND from "./bond.mjs"
export const SYSTEM_ID = "fvtt-cthulhu-eternal"
export const ASCII = `
`
@ -49,8 +49,8 @@ export const ERA_CSS = {
coldwar: { primaryFont: "Georama", secondaryFont: "Georama", titleFont: "TopSecret", baseFontSize: "1.0rem", titleFontSize: "1.2rem",imgFilter: "brightness(0) saturate(100%) invert(81%) sepia(14%) saturate(2508%) hue-rotate(202deg) brightness(99%) contrast(105%)"},
revolution: { primaryFont: "IMFell", secondaryFont: "IMFell", titleFont: "Dominican", baseFontSize: "1.0rem",titleFontSize: "1.3rem",imgFilter: "brightness(0) saturate(100%) invert(81%) sepia(25%) saturate(386%) hue-rotate(7deg) brightness(101%) contrast(84%)" },
medieval: { primaryFont: "UncialAntiqua", secondaryFont: "UncialAntiqua", titleFont: "Luminari", baseFontSize: "0.9rem",titleFontSize: "1.2rem",imgFilter: "brightness(0) saturate(100%) invert(93%) sepia(46%) saturate(354%) hue-rotate(321deg) brightness(93%) contrast(87%)"},
ww2: { primaryFont: "SairaStencilOne", secondaryFont: "SairaStencilOne", titleFont: "Armalite", baseFontSize: "0.9rem",titleFontSize: "1.2rem",imgFilter: "filter: invert(44%) sepia(8%) saturate(2657%) hue-rotate(40deg) brightness(96%) contrast(75%)"},
ww1: { primaryFont: "CarterOne", secondaryFont: "CarterOne", titleFont: "SigmarOne", baseFontSize: "0.9rem",titleFontSize: "1.1rem",imgFilter: "invert(28%) sepia(27%) saturate(475%) hue-rotate(76deg) brightness(95%) contrast(93%)"},
ww2: { primaryFont: "SairaStencilOne", secondaryFont: "SairaStencilOne", titleFont: "Armalite", baseFontSize: "0.9rem",titleFontSize: "1.2rem",imgFilter: "filter: invert(44%) sepia(8%) saturate(2657%) hue-rotate(40deg) brightness(96%) contrast(75%)"},
ww1: { primaryFont: "CarterOne", secondaryFont: "CarterOne", titleFont: "SigmarOne", baseFontSize: "0.9rem",titleFontSize: "1.1rem",imgFilter: "invert(28%) sepia(27%) saturate(475%) hue-rotate(76deg) brightness(95%) contrast(93%)"},
ageofsail: { primaryFont: "SailRegular", secondaryFont: "SailRegular", titleFont: "P22Operina", baseFontSize: "1.1rem",titleFontSize: "1.2rem",imgFilter: "brightness(0) saturate(100%) invert(43%) sepia(74%) saturate(3154%) hue-rotate(336deg) brightness(95%) contrast(83%)" },
classical: { primaryFont: "ChantelliAntiqua", secondaryFont: "ChantelliAntiqua", titleFont: "TrajanPro", baseFontSize: "0.9rem",titleFontSize: "1.1rem",imgFilter: "brightness(0) saturate(100%) invert(52%) sepia(32%) saturate(7492%) hue-rotate(265deg) brightness(89%) contrast(95%)" },
postapo: { primaryFont: "Teko", secondaryFont: "Teko", titleFont: "Teko", baseFontSize: "1.35rem",titleFontSize: "1.5rem",imgFilter: "brightness(0) saturate(100%) invert(44%) sepia(55%) saturate(2341%) hue-rotate(329deg) brightness(122%) contrast(103%))" }
@ -122,7 +122,7 @@ export const VEHICLE_SPEED = {
"fast": "CTHULHUETERNAL.Label.Fast"
}
export const EQUIPMENT_STATES = {
export const EQUIPMENT_STATES = {
"pristine": "CTHULHUETERNAL.Label.Pristine",
"worn": "CTHULHUETERNAL.Label.Worn",
"junk": "CTHULHUETERNAL.Label.Junk"
@ -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"
}

Binary file not shown.

View File

@ -0,0 +1 @@
MANIFEST-000002

View File

5
packs-system/rituals/LOG Normal file
View File

@ -0,0 +1,5 @@
2025/04/24-23:51:45.159777 7fd07ffff6c0 Delete type=3 #1
2025/04/24-23:53:49.085539 7fd07effd6c0 Level-0 table #5: started
2025/04/24-23:53:49.093043 7fd07effd6c0 Level-0 table #5: 60804 bytes OK
2025/04/24-23:53:49.104293 7fd07effd6c0 Delete type=0 #3
2025/04/24-23:53:49.119460 7fd07effd6c0 Manual compaction at level-0 from '!items!4oyPRBWPBWAChrJP' @ 72057594037927935 : 1 .. '!items!zVFfp3o0G0Zg3Ia4' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

View File

@ -1 +1 @@
MANIFEST-000153
MANIFEST-000166

View File

@ -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/24-23:51:44.995311 7fd07f7fe6c0 Recovering log #163
2025/04/24-23:51:45.086446 7fd07f7fe6c0 Delete type=3 #161
2025/04/24-23:51:45.086502 7fd07f7fe6c0 Delete type=0 #163
2025/04/24-23:53:49.104456 7fd07effd6c0 Level-0 table #169: started
2025/04/24-23:53:49.104482 7fd07effd6c0 Level-0 table #169: 0 bytes OK
2025/04/24-23:53:49.119303 7fd07effd6c0 Delete type=0 #167
2025/04/24-23:53:49.119472 7fd07effd6c0 Manual compaction at level-0 from '!folders!5PrT9QmN1cFPzDFP' @ 72057594037927935 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at (end)

View File

@ -1,15 +1,11 @@
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:05:51.238532 7fd084df96c0 Delete type=3 #1
2025/04/24-23:51:01.552587 7fd07effd6c0 Level-0 table #164: started
2025/04/24-23:51:01.552623 7fd07effd6c0 Level-0 table #164: 0 bytes OK
2025/04/24-23:51:01.558928 7fd07effd6c0 Delete type=0 #162
2025/04/24-23:51:01.559084 7fd07effd6c0 Manual compaction at level-0 from '!folders!5PrT9QmN1cFPzDFP' @ 72057594037927935 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at '!items!zvoUByzWSWZ87fxA' @ 526 : 1
2025/04/24-23:51:01.559089 7fd07effd6c0 Compacting 1@0 + 0@1 files
2025/04/24-23:51:01.565483 7fd07effd6c0 Generated table #165@0: 548 keys, 311006 bytes
2025/04/24-23:51:01.565520 7fd07effd6c0 Compacted 1@0 + 0@1 files => 311006 bytes
2025/04/24-23:51:01.572344 7fd07effd6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2025/04/24-23:51:01.572607 7fd07effd6c0 Delete type=2 #152
2025/04/24-23:51:01.585776 7fd07effd6c0 Manual compaction at level-0 from '!items!zvoUByzWSWZ87fxA' @ 526 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View 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 {

View File

@ -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": {

View File

@ -2,11 +2,11 @@
<div class="header">
<img class="item-img era-icon-color" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
{{formInput fields.name value=source.name}}
</div>
</div>
<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>

View File

@ -2,15 +2,15 @@
<div class="header">
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
{{formInput fields.name value=source.name}}
</div>
</div>
<fieldset>
{{formField systemFields.settings value=system.settings localize=true}}
</fieldset>
</fieldset>
<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

View File

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

View File

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

View File

@ -2,8 +2,8 @@
<div class="header">
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
{{formInput fields.name value=source.name}}
</div>
</div>
<fieldset>
{{formField systemFields.cured value=system.cured localize=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"

View File

@ -2,11 +2,11 @@
<div class="header">
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
{{formInput fields.name value=source.name}}
</div>
</div>
<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>

View File

@ -2,22 +2,23 @@
<div class="header">
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
{{formInput fields.name value=source.name}}
</div>
</div>
<fieldset>
{{formField systemFields.ritualType value=system.ritualType localize=true}}
{{formField systemFields.studyTime value=system.studyTime}}
{{formField systemFields.studySAN value=system.studySAN}}
{{formField systemFields.activationTime value=system.activationTime}}
{{formField systemFields.activationSAN value=system.activationSAN}}
{{formField systemFields.activationWP value=system.activationWP}}
</fieldset>
<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>

View File

@ -2,10 +2,10 @@
<div class="header">
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
{{formInput fields.name value=source.name}}
</div>
</div>
<fieldset>
<div class="form-group">
{{formField systemFields.language value=system.language }}
</div>
@ -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>

View File

@ -28,12 +28,12 @@
{{formField systemFields.resourceLevel value=system.resourceLevel}}
</fieldset>
<fieldset>
<legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend>
{{formInput
systemFields.description
enriched=description
enriched=enrichedDescription
value=system.description
name="system.description"
toggled=true