Compare commits

...

5 Commits

10 changed files with 78 additions and 20 deletions

View File

@@ -1,6 +1,13 @@
# Changelog # Changelog
Date format : day/month/year Date format : day/month/year
## 1.8.1 - 09/06/2022 - Small bugfixes
- Added a restriction on symbols, they are now lower-case only, ex : (air) work, (Air) will not (#36).
- Added some 20q questions in GM monitor global tooltip (q14, q15, q20) for quick access.
- Fixed css for body>background-size from auto to cover, for blank scene (Thx to Sasmira).
- Fixed css for header buttons in maximized state for "OneJournal" module.
- Updated System manifest property "manifestPlusVersion" to 1.2.0, and added screenshots in media section.
## 1.8.0 - 29/04/2022 - QoL & Compendiums Update ## 1.8.0 - 29/04/2022 - QoL & Compendiums Update
- Added 179 Japanese villages name table. - Added 179 Japanese villages name table.
- Added Rōnin icon and tag symbol `(ronin)` (Thanks to TesserWract). - Added Rōnin icon and tag symbol `(ronin)` (Thanks to TesserWract).

View File

@@ -359,6 +359,8 @@ export class GmMonitor extends FormApplication {
actorData: data, actorData: data,
advantages: adv, advantages: adv,
disadvantages: dis, disadvantages: dis,
suffix: data.template === "pow" ? "_pow" : "",
actor_type: actor.data.type,
}); });
} }

View File

@@ -293,7 +293,7 @@ export class HelpersL5r5e {
CONFIG.l5r5e.symbols.forEach((cfg, tag) => { CONFIG.l5r5e.symbols.forEach((cfg, tag) => {
if (toSymbol) { if (toSymbol) {
text = text.replace( text = text.replace(
new RegExp(HelpersL5r5e.escapeRegExp(tag), "gi"), new RegExp(HelpersL5r5e.escapeRegExp(tag), "g"),
`<i class="${cfg.class}" title="${game.i18n.localize(cfg.label)}"></i>` `<i class="${cfg.class}" title="${game.i18n.localize(cfg.label)}"></i>`
); );
} else { } else {

View File

@@ -1,6 +1,7 @@
/* Global */ /* Global */
@import "../scss/colors"; @import "../scss/colors";
@import "../scss/global"; @import "../scss/global";
@import "../scss/compatibility-modules";
@import "../scss/fonts"; @import "../scss/fonts";
@import "../scss/cursors"; @import "../scss/cursors";
@import "../scss/dices"; @import "../scss/dices";
@@ -15,5 +16,5 @@
@import "../scss/rings"; @import "../scss/rings";
@import "../scss/skills"; @import "../scss/skills";
@import "../scss/items"; @import "../scss/items";
@import "../scss/twentyquestions"; @import "../scss/twenty-questions";
} }

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,19 @@
/** Modules Compatibility fixes **/
// Fix for "search anywhere" draggable icon
.window-draggable-handle {
z-index: 20 !important;
}
// Fix forien-quest
#forien-quest-log .window-content,
#forien-quest-log-form .window-content,
.window-app.forien-quest-preview .window-content {
overflow: initial;
}
// Fix OneJournal header buttons in maximized state
#OneJournalShell:first-child > .window-header,
#OneJournalShell.maximized > .window-header {
z-index: 20;
}

View File

@@ -6,7 +6,7 @@ body {
} }
&:not(.background) { &:not(.background) {
background: url("../assets/imgs/bg-table.webp") no-repeat; background: url("../assets/imgs/bg-table.webp") no-repeat;
background-size: auto; background-size: cover;
} }
} }
@@ -363,15 +363,3 @@ a.compendium-link {
color: #0096ff; color: #0096ff;
} }
} }
// Fix for "search anywhere" draggable icon
.window-draggable-handle {
z-index: 20 !important;
}
// Fix forien-quest
#forien-quest-log .window-content,
#forien-quest-log-form .window-content,
.window-app.forien-quest-preview .window-content {
overflow: initial;
}

View File

@@ -6,17 +6,18 @@
"readme": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/README.md", "readme": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/README.md",
"changelog": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/CHANGELOG.md", "changelog": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/CHANGELOG.md",
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json", "manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.8.0/raw/l5r5e.zip?job=build", "download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.8.1/raw/l5r5e.zip?job=build",
"version": "1.8.0", "version": "1.8.1",
"minimumCoreVersion": "9", "minimumCoreVersion": "9",
"compatibleCoreVersion": "9", "compatibleCoreVersion": "9",
"manifestPlusVersion": "1.0.0", "manifestPlusVersion": "1.2.0",
"socket": true, "socket": true,
"author": "Team L5R", "author": "Team L5R",
"authors": [ "authors": [
{ {
"name": "Vlyan", "name": "Vlyan",
"discord": "Vlyan#6771" "discord": "Vlyan#6771",
"ko-fi": "vlyan"
}, },
{ {
"name": "Mandar", "name": "Mandar",
@@ -265,5 +266,37 @@
"name": "Spanish (Spain)", "name": "Spanish (Spain)",
"path": "lang/es-es.json" "path": "lang/es-es.json"
} }
],
"media": [
{
"type": "screenshot",
"url": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/screenshoots/login.jpg?raw=true",
"caption": "Login screen"
},
{
"type": "screenshot",
"url": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/screenshoots/roll.jpg?raw=true",
"caption": "DicePicker and Roll and Keep"
},
{
"type": "screenshot",
"url": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/screenshoots/school.jpg?raw=true",
"caption": "Experience and School"
},
{
"type": "screenshot",
"url": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/screenshoots/sheet_pc.jpg?raw=true",
"caption": "PC sheet"
},
{
"type": "screenshot",
"url": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/screenshoots/sheet_npc_army.jpg?raw=true",
"caption": "NPC and Army sheets"
},
{
"type": "screenshot",
"url": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/screenshoots/compendiums.jpg?raw=true",
"caption": "Compendiums"
}
] ]
} }

View File

@@ -17,5 +17,13 @@
<li><b>{{localize 'l5r5e.social.glory'}}</b> : <span class="{{#ifCond actorData.social.glory '>' 64}}goodvalue{{/ifCond}}{{#ifCond actorData.social.glory '<' 20}}badvalue{{/ifCond}}">{{actorData.social.glory}}</span></li> <li><b>{{localize 'l5r5e.social.glory'}}</b> : <span class="{{#ifCond actorData.social.glory '>' 64}}goodvalue{{/ifCond}}{{#ifCond actorData.social.glory '<' 20}}badvalue{{/ifCond}}">{{actorData.social.glory}}</span></li>
<li><b>{{localize 'l5r5e.social.status'}}</b> : {{actorData.social.status}}</li> <li><b>{{localize 'l5r5e.social.status'}}</b> : {{actorData.social.status}}</li>
</ul> </ul>
{{#ifCond actor_type "==" "character"}}
{{!-- 20Q --}}
<ul>
<li><b>{{localize (localize 'l5r5e.twenty_questions.part5.q14{suffix}' suffix=suffix)}}</b> : {{actorData.twenty_questions.step14.first_sight}}</li>
<li><b>{{localize (localize 'l5r5e.twenty_questions.part5.q15{suffix}' suffix=suffix)}}</b> : {{actorData.twenty_questions.step15.stress}}</li>
<li><b>{{localize (localize 'l5r5e.twenty_questions.part7.q20{suffix}' suffix=suffix)}}</b> : {{actorData.twenty_questions.step20.death}}</li>
</ul>
{{/ifCond}}
<p>{{{enrichHTML actorData.description}}}</p> <p>{{{enrichHTML actorData.description}}}</p>
</section> </section>