Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
435744172f
|
|||
|
c916c5ea2d
|
|||
|
80b203a079
|
|||
|
d5489da5f7
|
|||
|
5394ef2046
|
|||
|
585c94718e
|
@@ -15,11 +15,9 @@ This module requires the Chat Commander module to be installed and enabled. You
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. Open FoundryVTT and go to the "Add-on Modules" tab in the "Configuration and Setup" menu.
|
1. In the "Manifest URL" field, paste the following URL: `https://github.com/anthonyscorrea/asc-session-title-suggestions/releases/latest/download/module.json`.
|
||||||
2. Click on "Install Module".
|
2. Click "Install" and wait for the installation to complete.
|
||||||
3. In the "Manifest URL" field, paste the following URL: `[your-module-manifest-url]`.
|
3. Enable the module in your game settings.
|
||||||
4. Click "Install" and wait for the installation to complete.
|
|
||||||
5. Enable the module in your game settings.
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|||||||
2
scripts/zip-for-release.sh
Executable file
2
scripts/zip-for-release.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
git archive --format zip --output dist/module.zip master:src
|
||||||
|
cp src/module.json dist/
|
||||||
@@ -7,10 +7,9 @@
|
|||||||
"name": "lmxsdl"
|
"name": "lmxsdl"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": "0.2",
|
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "10",
|
"minimum": "11",
|
||||||
"verified": "11"
|
"verified": ["11","12"]
|
||||||
},
|
},
|
||||||
"languages": [
|
"languages": [
|
||||||
{
|
{
|
||||||
@@ -19,8 +18,9 @@
|
|||||||
"path": "lang/en.json"
|
"path": "lang/en.json"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"download": "https://gitea.ascorrea.com/asc/asc-session-title-suggestions/releases/download/0.2/module.zip",
|
"download": "https://github.com/anthonyscorrea/asc-session-title-suggestions/releases/download/0.3.1/module.zip",
|
||||||
"manifest": "https://gitea.ascorrea.com/asc/asc-session-title-suggestions/releases/download/latest/module.json",
|
"manifest": "https://github.com/anthonyscorrea/asc-session-title-suggestions/releases/latest/download/module.json",
|
||||||
|
"version": "0.3.2",
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"scripts/main.js"
|
"scripts/main.js"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -115,6 +115,8 @@ Hooks.on("init", function() {
|
|||||||
},
|
},
|
||||||
hint: game.i18n.localize("SESSION_TITLE_SUGGESTIONS.SETTING_ROLE_HINT")
|
hint: game.i18n.localize("SESSION_TITLE_SUGGESTIONS.SETTING_ROLE_HINT")
|
||||||
});
|
});
|
||||||
|
import ('https://cdn.jsdelivr.net/npm/title-case@4.3.1/dist/index.min.js')
|
||||||
|
.then((module)=>{console.log('asc','loading...');Handlebars.registerHelper("titlecase", module.titleCase)})
|
||||||
});
|
});
|
||||||
|
|
||||||
Hooks.on("ready", function() {
|
Hooks.on("ready", function() {
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<ul>{{~#each messages ~}}
|
<ul>{{~#each messages ~}}
|
||||||
<li><a class="fa-regular fa-clipboard clipboard" style="padding-left:.5em;padding-right:.5em;" data-clipboard-text="{{this.flags.session_title_suggestion}}"></a><i>"{{this.flags.session_title_suggestion}}"</i> - {{this.user.name}}</li>
|
<li><a class="fa-regular fa-clipboard clipboard" style="padding-left:.5em;padding-right:.5em;" data-clipboard-text="{{titlecase this.flags.session_title_suggestion}}"></a><i>"{{titlecase this.flags.session_title_suggestion}}"</i> - {{this.user.name}}</li>
|
||||||
{{~/each~}}</ul>
|
{{~/each~}}</ul>
|
||||||
Reference in New Issue
Block a user