├── .editorconfig ├── .github └── workflows │ ├── pack_packs.yml │ └── release.yml ├── .gitignore ├── LICENSE ├── README.md ├── assets ├── fonts │ ├── F_OFL.txt │ ├── OFL.txt │ ├── alchemy-i.ttf │ ├── caslon-b.ttf │ ├── caslon-bi.ttf │ ├── caslon-i.ttf │ ├── caslon.ttf │ ├── fraunces-i.ttf │ ├── fraunces.ttf │ ├── litm-dice.otf │ ├── packard-b.ttf │ ├── packard.ttf │ ├── powell-b.ttf │ └── powell.ttf └── media │ ├── LICENSE │ ├── adventure-theme-alt-bg-top.webp │ ├── adventure-theme-bg-bottom.webp │ ├── adventure-theme-border-bottom.webp │ ├── adventure-theme-border-top.webp │ ├── background-frame.webp │ ├── background.webp │ ├── backpack-top-bg.webp │ ├── backpack.webp │ ├── bg-alt.webp │ ├── birb.webp │ ├── bottom-branch.webp │ ├── bottom-frame-branches.webp │ ├── brush.svg │ ├── burn-c.svg │ ├── burn-t.svg │ ├── burn.svg │ ├── button-bg.webp │ ├── button-border.webp │ ├── challenge-bg.webp │ ├── challenge-border.webp │ ├── character-bg.webp │ ├── checkbox-c.svg │ ├── checkbox.svg │ ├── connector.webp │ ├── dice.webp │ ├── effects.webp │ ├── feather.webp │ ├── flowers-top.webp │ ├── greatness-theme-alt-bg-top.webp │ ├── greatness-theme-bg-bottom.webp │ ├── greatness-theme-border-bottom.webp │ ├── greatness-theme-border-top.webp │ ├── green-leaf.webp │ ├── header-bg.webp │ ├── icons │ ├── LICENSE │ ├── backpack.svg │ ├── cracked-skull.svg │ └── unfurled-scroll.svg │ ├── item-divider.webp │ ├── left-div.webp │ ├── limit-bg.webp │ ├── limit-label.webp │ ├── limit-value.webp │ ├── litm_splash.webp │ ├── logo-b.webp │ ├── logo.webp │ ├── marshal-crest.webp │ ├── middle-branches.webp │ ├── necklace.webp │ ├── note.webp │ ├── origin-theme-alt-bg-top.webp │ ├── origin-theme-bg-bottom.webp │ ├── origin-theme-border-bottom.webp │ ├── origin-theme-border-top.webp │ ├── portraits │ ├── apple-picker-a.webp │ ├── apple-picker-b.webp │ ├── apple-picker-c.webp │ ├── concerned-villagers.webp │ ├── corvine-thaumaturge.webp │ ├── poisoned-wurm.webp │ ├── pond-tower.webp │ ├── red-marshal-a.webp │ ├── red-marshal-b.webp │ ├── red-marshal-c.webp │ ├── sorrowbalm.webp │ ├── wakened-sentry.webp │ ├── willow.webp │ ├── wise-one-a.webp │ ├── wise-one-b.webp │ └── wise-one-c.webp │ ├── progress-bg.webp │ ├── promotional-a.webp │ ├── promotional-b.webp │ ├── raven.webp │ ├── right-div.webp │ ├── scenes │ ├── broken-watchtower.webp │ ├── map-of-the-dales.webp │ ├── ravenhome_tavern.webp │ └── roadside-fields.webp │ ├── scroll-background.webp │ ├── scroll-border.webp │ ├── section-bg.webp │ ├── separator.webp │ ├── single-flower.webp │ ├── skull.webp │ ├── story-tag-bg.webp │ ├── tabs-bg.webp │ ├── tabs-collapse.webp │ ├── tag-divider.webp │ ├── theme-bg-top.webp │ ├── tokens │ ├── litm-demo-token-alderman.png │ ├── litm-demo-token-aleonora.png │ ├── litm-demo-token-apple-picker-a.png │ ├── litm-demo-token-apple-picker-b.png │ ├── litm-demo-token-apple-picker-c.png │ ├── litm-demo-token-corvine.png │ ├── litm-demo-token-mackross.png │ ├── litm-demo-token-pond.png │ ├── litm-demo-token-red-marshal-a.png │ ├── litm-demo-token-red-marshal-b.png │ ├── litm-demo-token-red-marshal-c.png │ ├── litm-demo-token-sorrowbalm.png │ ├── litm-demo-token-villagers.png │ ├── litm-demo-token-waken.png │ ├── litm-demo-token-willow.png │ ├── litm-demo-token-wise-one-a.png │ ├── litm-demo-token-wise-one-b.png │ ├── litm-demo-token-wise-one-c.png │ └── litm-demo-token-wurm.png │ ├── top-frame-branches.webp │ └── yellow-leaf.webp ├── biome.json ├── jsconfig.json ├── lang ├── cn.json ├── de.json ├── en.json ├── es.json └── no.json ├── litm.css ├── litm.js ├── packs ├── .gitattributes ├── .gitignore └── tinderbox-demo │ ├── 000518.ldb │ ├── 000524.log │ ├── CURRENT │ ├── LOCK │ ├── LOG │ ├── LOG.old │ └── MANIFEST-000523 ├── scripts ├── actor │ ├── challenge │ │ ├── challenge-data.js │ │ └── challenge-sheet.js │ └── character │ │ ├── character-data.js │ │ └── character-sheet.js ├── apps │ ├── dice.js │ ├── import-character.js │ ├── roll-dialog.js │ ├── roll.js │ └── story-tags.js ├── components │ ├── super-checkbox.js │ └── toggled-input.js ├── data │ └── abstract.js ├── item │ ├── backpack │ │ ├── backpack-data.js │ │ └── backpack-sheet.js │ ├── theme │ │ ├── theme-data.js │ │ └── theme-sheet.js │ └── threat │ │ ├── threat-data.js │ │ └── threat-sheet.js ├── logger.js ├── mixins │ └── sheet-mixin.js ├── system │ ├── config.js │ ├── enrichers.js │ ├── fonts.js │ ├── handlebars.js │ ├── hooks.js │ ├── keybindings.js │ ├── settings.js │ └── sockets.js └── utils.js ├── styles ├── actor │ ├── challenge.css │ └── character.css ├── apps │ ├── loot-dialog.css │ ├── roll-dialog.css │ ├── sidebar-buttons.css │ └── story-tags.css ├── chat │ └── message.css ├── components.css ├── dark.css ├── foundry.css ├── item │ ├── backpack.css │ ├── theme.css │ └── threat.css ├── popout.css └── root.css ├── system.json ├── templates ├── actor │ ├── challenge.html │ └── character.html ├── apps │ ├── loot-dialog.html │ ├── roll-dialog.html │ └── story-tags.html ├── chat │ ├── message-tooltip.html │ ├── message.html │ └── moderation.html ├── item │ ├── backpack-ro.html │ ├── backpack.html │ ├── theme-ro.html │ ├── theme.html │ └── threat.html └── partials │ ├── new-tag.html │ └── tag.html └── version.sh /.editorconfig: -------------------------------------------------------------------------------- 1 | [*] 2 | root = true 3 | indent_size = 2 4 | indent_style = tab 5 | insert_final_newline = true 6 | trim_trailing_whitespace = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /.github/workflows/pack_packs.yml: -------------------------------------------------------------------------------- 1 | name: Publish to Foundry Package Registry 2 | on: 3 | workflow_dispatch: 4 | 5 | 6 | jobs: 7 | publish: 8 | name: Packman 9 | runs-on: ubuntu-latest 10 | steps: 11 | - name: Checkout 12 | uses: actions/checkout@v4 13 | - name: Node 14 | uses: actions/setup-node@v4 15 | with: 16 | node-version: 'lts/*' 17 | cache: 'npm' 18 | - name: Packer 19 | id: packs 20 | uses: aMediocreDad/foundry-db-packer@next 21 | with: 22 | inputdir: packs/tinderbox-demo/_source 23 | packsdir: packs/ 24 | - name: Upload Artifact 25 | uses: actions/upload-artifact@v4 26 | with: 27 | name: packed-packs 28 | path: packs/ -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Publish to Foundry Package Registry 2 | on: 3 | release: 4 | types: 5 | - published 6 | 7 | 8 | jobs: 9 | publish: 10 | name: Publish 11 | runs-on: ubuntu-latest 12 | steps: 13 | - name: Get Version Number 14 | id: tag 15 | run: | 16 | TAG_NAME=${{ github.event.release.tag_name }} 17 | echo "version=${TAG_NAME//v/}" >> "$GITHUB_OUTPUT" 18 | - name: Push to Foundry 19 | id: foundry 20 | uses: fjogeleit/http-request-action@v1 21 | with: 22 | url: 'https://api.foundryvtt.com/_api/packages/release_version/' 23 | customHeaders: '{ "Content-Type": "application/json", "Authorization": "${{ secrets.FOUNDRY_API_KEY }}" }' 24 | data: 25 | '{ 26 | "id": "litm", 27 | "release": { 28 | "version": "${{ steps.tag.outputs.version }}", 29 | "manifest": "https://raw.githubusercontent.com/aMediocreDad/litm/${{ github.event.release.tag_name }}/system.json", 30 | "notes": "https://github.com/aMediocreDad/litm/releases/tag/${{ github.event.release.tag_name }}", 31 | "compatibility": { 32 | "minimum": "12", 33 | "verified": "12", 34 | "maximum": "12" 35 | } 36 | } 37 | }' 38 | - name: Summary 39 | run: | 40 | echo "**Version:** ${{ steps.tag.outputs.version }}" >> $GITHUB_STEP_SUMMARY 41 | echo "**Release Notes:** ${{ github.event.release.html_url }}" >> $GITHUB_STEP_SUMMARY 42 | echo "**Published:** ${{ steps.foundry.outputs.response.status }}" >> $GITHUB_STEP_SUMMARY 43 | echo "**URL:** ${{ steps.foundry.outputs.response.page }}" >> $GITHUB_STEP_SUMMARY -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | fvtt 2 | diff.js 3 | foundry.js 4 | .DS_Store 5 | .vscode/ 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2024 Filip Ambrosius 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | > [!WARNING] 2 | > This system will eventually be removed from Foundry. Please use: https://github.com/taragnor/city-of-mist 3 | 4 |

{{localize effect.description}}
6 |{{localize effect.action}}
7 |{{localize 'Litm.other.cost'}}: 8 | {{localize effect.cost}}
9 |{{{localize outcome.description}}}
13 |28 | {{{localize "Litm.ui.roll-tracked-hint"}}} 29 |
30 | {{/if}} 31 | {{#if (eq outcome.label 'success')}} 32 |33 | {{localize 'Litm.ui.roll-tracked-success'}} 34 |
35 | {{/if}} 36 | {{/if}} 37 | {{#if (and isOwner hasBurnedTags)}} 38 | 39 | {{/if}} 40 | {{#if (and isOwner hasWeaknessTags)}} 41 | 42 | {{/if}} 43 |
4 |
6 |