diff --git a/css/fvtt-cthulhu-eternal.css b/css/fvtt-cthulhu-eternal.css index 15d91fe..2a81b4c 100644 --- a/css/fvtt-cthulhu-eternal.css +++ b/css/fvtt-cthulhu-eternal.css @@ -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; diff --git a/lang/en.json b/lang/en.json index ec6b4cd..4a213a5 100644 --- a/lang/en.json +++ b/lang/en.json @@ -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", diff --git a/module/config/system.mjs b/module/config/system.mjs index 8c4b2f2..c0e1ef9 100644 --- a/module/config/system.mjs +++ b/module/config/system.mjs @@ -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" } diff --git a/packs-system/skills/000155.log b/packs-system/rituals/000004.log similarity index 100% rename from packs-system/skills/000155.log rename to packs-system/rituals/000004.log diff --git a/packs-system/rituals/000005.ldb b/packs-system/rituals/000005.ldb new file mode 100644 index 0000000..ed331f9 Binary files /dev/null and b/packs-system/rituals/000005.ldb differ diff --git a/packs-system/rituals/CURRENT b/packs-system/rituals/CURRENT new file mode 100644 index 0000000..1a84852 --- /dev/null +++ b/packs-system/rituals/CURRENT @@ -0,0 +1 @@ +MANIFEST-000002 diff --git a/packs-system/rituals/LOCK b/packs-system/rituals/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/packs-system/rituals/LOG b/packs-system/rituals/LOG new file mode 100644 index 0000000..257ab32 --- /dev/null +++ b/packs-system/rituals/LOG @@ -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) diff --git a/packs-system/rituals/MANIFEST-000002 b/packs-system/rituals/MANIFEST-000002 new file mode 100644 index 0000000..d57bd39 Binary files /dev/null and b/packs-system/rituals/MANIFEST-000002 differ diff --git a/packs-system/skills/000152.ldb b/packs-system/skills/000165.ldb similarity index 100% rename from packs-system/skills/000152.ldb rename to packs-system/skills/000165.ldb diff --git a/packs-system/skills/000168.log b/packs-system/skills/000168.log new file mode 100644 index 0000000..e69de29 diff --git a/packs-system/skills/CURRENT b/packs-system/skills/CURRENT index d90d49e..830373b 100644 --- a/packs-system/skills/CURRENT +++ b/packs-system/skills/CURRENT @@ -1 +1 @@ -MANIFEST-000153 +MANIFEST-000166 diff --git a/packs-system/skills/LOG b/packs-system/skills/LOG index 9748cf1..b74ef9b 100644 --- a/packs-system/skills/LOG +++ b/packs-system/skills/LOG @@ -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) diff --git a/packs-system/skills/LOG.old b/packs-system/skills/LOG.old index b722f04..9f87e64 100644 --- a/packs-system/skills/LOG.old +++ b/packs-system/skills/LOG.old @@ -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) diff --git a/packs-system/skills/MANIFEST-000153 b/packs-system/skills/MANIFEST-000153 deleted file mode 100644 index 06480bc..0000000 Binary files a/packs-system/skills/MANIFEST-000153 and /dev/null differ diff --git a/packs-system/skills/MANIFEST-000166 b/packs-system/skills/MANIFEST-000166 new file mode 100644 index 0000000..2f51f35 Binary files /dev/null and b/packs-system/skills/MANIFEST-000166 differ diff --git a/packs-system/skills/lost/000159.log b/packs-system/skills/lost/000159.log new file mode 100644 index 0000000..e69de29 diff --git a/styles/ritual.less b/styles/ritual.less index 8f8c4c0..b729c97 100644 --- a/styles/ritual.less +++ b/styles/ritual.less @@ -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 { diff --git a/system.json b/system.json index e78f55b..2d1a25e 100644 --- a/system.json +++ b/system.json @@ -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": { diff --git a/templates/arcane.hbs b/templates/arcane.hbs index 9ed1504..02e0626 100644 --- a/templates/arcane.hbs +++ b/templates/arcane.hbs @@ -2,11 +2,11 @@