Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a46cfb842 | ||
|
|
0658a6cbc4 | ||
|
|
c2cf927557 | ||
|
|
8817f390e4 | ||
|
|
b993914dcb | ||
|
|
9fa30444aa | ||
|
|
d607abe45d | ||
|
|
6e534d5bf3 | ||
|
|
848a54fa1e | ||
|
|
7740aed299 | ||
|
|
c1adae132b |
12
CHANGELOG.md
12
CHANGELOG.md
@@ -1,6 +1,18 @@
|
||||
# Changelog
|
||||
Date format : day/month/year
|
||||
|
||||
## 1.11.0 - 13/12/2023 - Little fixes
|
||||
- 20Q :
|
||||
- Starting techniques now have a limit of 6 techniques instead of 5 (see Celestial Realms : `Moshi Sun Sentinel School`).
|
||||
- Enable dropping on the 'drop here' label for 20Q (thk to Litasa !34).
|
||||
- Compendiums : Added masteries and abilities from Deathly Turns.
|
||||
|
||||
## 1.10.1 - 22/08/2023 - Litasa's fixes
|
||||
All these changes are thanks to Litasa.
|
||||
- Roll-n-Keep dialog now waits for the DiceSoNice animation to finish before displaying the result when re-rolling or exploding dice (!28).
|
||||
- Adding the ability to have a different name for the custom-compendium (needed to disable the system embedded ones).
|
||||
- Fixes some CSS issues when the font size is not the default (#50, #51 and #52).
|
||||
|
||||
## 1.10.0 - 11/06/2023 - FoundryVTT v11 Compatibility
|
||||
__! Be certain to carefully back up any critical user data before installing this update !__
|
||||
- Updated the System to FoundryVTT v11.
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
# Copyright (c) CC BY-NC-SA 4.0 2020 - 2021 This System is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
|
||||
# Copyright (c) CC BY-NC-SA 4.0 2020 - 2023 This System is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
|
||||
|
||||
By exercising the Licensed Rights (link below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
|
||||
|
||||
https://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||
|
||||
|
||||
# Copyright (c) 2018 - 2021 Fantasy Flight Games. Legend of the Five Rings est TM de Fantasy Flight Games.
|
||||
# Copyright (c) 2018 - 2023 Fantasy Flight Games. Legend of the Five Rings est TM de Fantasy Flight Games.
|
||||
|
||||
All images, texts and contents are the property of their creator / legal owner.
|
||||
|
||||
|
||||
# Copyright (c) 2020 - 2021 Foundry Network
|
||||
# Copyright (c) 2020 - 2023 Foundry Network
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -592,6 +592,18 @@
|
||||
"name": "Born to Survive (WIP)",
|
||||
"description": "",
|
||||
"book_reference": "Décret de la nature"
|
||||
},
|
||||
{
|
||||
"id": "Hunter of the Supernatural",
|
||||
"name": "Hunter of the Supernatural (WIP)",
|
||||
"description": "",
|
||||
"book_reference": "Celestial Realms - Deathly Turns"
|
||||
},
|
||||
{
|
||||
"id": "An Arrow Loosed",
|
||||
"name": "An Arrow Loosed (WIP)",
|
||||
"description": "",
|
||||
"book_reference": "Celestial Realms - Deathly Turns"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -592,6 +592,18 @@
|
||||
"name": "Evolution of the Wilds (WIP)",
|
||||
"description": "",
|
||||
"book_reference": "Décret de la nature"
|
||||
},
|
||||
{
|
||||
"id": "Mazoku's Authority",
|
||||
"name": "Mazoku's Authority (WIP)",
|
||||
"description": "",
|
||||
"book_reference": "Celestial Realms - Deathly Turns"
|
||||
},
|
||||
{
|
||||
"id": "Effortless Aim",
|
||||
"name": "Effortless Aim (WIP)",
|
||||
"description": "",
|
||||
"book_reference": "Celestial Realms - Deathly Turns"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
"CustomTechniques": {
|
||||
"Title": "Use custom techniques",
|
||||
"Hint": "Add 'Specificity' technique type to serve as a catch-all."
|
||||
},
|
||||
"CustomCompendiumName": {
|
||||
"Title": "Custom Compendium Name",
|
||||
"Hint": "For advanced users that want to change the name of the custom compendiums (Used to disables the embedded ones).",
|
||||
"Notification": "Unable set Custom Compendium: '{name}'. Is it activated and registered with Babele?"
|
||||
}
|
||||
},
|
||||
"TYPES": {
|
||||
@@ -475,7 +480,7 @@
|
||||
"honor": "Honor",
|
||||
"access": "Technique types available",
|
||||
"school_ability": "School ability",
|
||||
"starting_techniques": "Starting techniques (2-5)",
|
||||
"starting_techniques": "Starting techniques (2-6)",
|
||||
"outfit": "Starting outfit",
|
||||
"q4": "4. How does your character stand out within their school? (p. 88)",
|
||||
"q4_pow": "4. What gets your character in and out of trouble? (p. 60)"
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
"CustomTechniques": {
|
||||
"Title": "Use custom techniques",
|
||||
"Hint": "Add 'Specificity' technique type to serve as a catch-all."
|
||||
},
|
||||
"CustomCompendiumName": {
|
||||
"Title": "Custom Compendium Name",
|
||||
"Hint": "For advanced users that want to change the name of the custom compendiums (Used to disables the embedded ones).",
|
||||
"Notification": "Unable set Custom Compendium: '{name}'. Is it activated and registered with Babele?"
|
||||
}
|
||||
},
|
||||
"TYPES": {
|
||||
@@ -475,7 +480,7 @@
|
||||
"honor": "Honor",
|
||||
"access": "Tipos de técnicas disponibles",
|
||||
"school_ability": "Capacidad de escuela",
|
||||
"starting_techniques": "Técnicas iniciales (2-5)",
|
||||
"starting_techniques": "Técnicas iniciales (2-6)",
|
||||
"outfit": "Equipo inicial",
|
||||
"q4": "4. ¿De qué manera destaca tu personaje dentro de su escuela? (p. 88)",
|
||||
"q4_pow": "4. What gets your character in and out of trouble? (p. 60)"
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
"CustomTechniques": {
|
||||
"Title": "Utiliser les techniques personnalisées",
|
||||
"Hint": "Ajoute un type de technique 'Particularités' pour servir de fourre-tout."
|
||||
},
|
||||
"CustomCompendiumName": {
|
||||
"Title": "Nom du CustomCompendium",
|
||||
"Hint": "Pour les utilisateurs avancés qui souhaitent modifier le nom du compendium personnalisé (utilisé pour désactiver ceux intégrés).",
|
||||
"Notification": "Impossible de définir le compendium personnalisé : '{name}'. Est-il activé et enregistré auprès de Babele ?"
|
||||
}
|
||||
},
|
||||
"TYPES": {
|
||||
@@ -475,7 +480,7 @@
|
||||
"honor": "Honneur",
|
||||
"access": "Types de techniques accessibles",
|
||||
"school_ability": "Capacité d'école",
|
||||
"starting_techniques": "Techniques de départ (2-5)",
|
||||
"starting_techniques": "Techniques de départ (2-6)",
|
||||
"outfit": "Équipement de départ",
|
||||
"q4": "4. De quelle manière votre personnage se démarque-t-il au sein de son école ? (p. 88)",
|
||||
"q4_pow": "4. Qu'est-ce qui attire des ennuis à votre personnage dans ou l'en sort ? (p. 60)"
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
"CustomTechniques": {
|
||||
"Title": "Usa tecniche custom",
|
||||
"Hint": "Aggiunge il tipo 'Speciale' come termine generale."
|
||||
},
|
||||
"CustomCompendiumName": {
|
||||
"Title": "Custom Compendium Name",
|
||||
"Hint": "For advanced users that want to change the name of the custom compendiums (Used to disables the embedded ones).",
|
||||
"Notification": "Unable set Custom Compendium: '{name}'. Is it activated and registered with Babele?"
|
||||
}
|
||||
},
|
||||
"TYPES": {
|
||||
@@ -475,7 +480,7 @@
|
||||
"honor": "Onore",
|
||||
"access": "Tecniche Disponibili",
|
||||
"school_ability": "Abilità di Scuola",
|
||||
"starting_techniques": "Tecniche di Partenza (2-5)",
|
||||
"starting_techniques": "Tecniche di Partenza (2-6)",
|
||||
"outfit": "Dotazione di Partenza",
|
||||
"q4": "4. Come si distingue il personaggio all’interno della sua scuola? (p. 88)",
|
||||
"q4_pow": "4. Che cosa mette nei guai il personaggio, e che cosa lo tira fuori dai guai? (p. 60)"
|
||||
|
||||
@@ -96,3 +96,5 @@
|
||||
{"_id":"L5RCoreMas000096","name":"Reflexive Strike","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"6","bought_at_rank":0,"ring":"void","skill":"","difficulty":"","technique_type":"mastery_ability","xp_cost":"0","description":"","book_reference":"Writ of the Wild p.99"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/techs/mastery_ability.svg","effects":[]}
|
||||
{"_id":"L5RCoreMas000097","name":"A Master of Study","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"6","bought_at_rank":0,"ring":"void","skill":"","difficulty":"","technique_type":"mastery_ability","xp_cost":"0","description":"","book_reference":"Writ of the Wild p.100"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/techs/mastery_ability.svg","effects":[]}
|
||||
{"_id":"L5RCoreMas000098","name":"Born to Survive","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"6","bought_at_rank":0,"ring":"void","skill":"","difficulty":"","technique_type":"mastery_ability","xp_cost":"0","description":"","book_reference":"Writ of the Wild p.101"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/techs/mastery_ability.svg","effects":[]}
|
||||
{"_id":"L5RCoreMas000099","name":"Hunter of the Supernatural","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"6","bought_at_rank":0,"ring":"void","skill":"","difficulty":"","technique_type":"mastery_ability","xp_cost":"0","description":"","book_reference":"Celestial Realms - Deathly Turns p.24"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/techs/mastery_ability.svg","effects":[]}
|
||||
{"_id":"L5RCoreMas000100","name":"An Arrow Loosed","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"6","bought_at_rank":0,"ring":"void","skill":"","difficulty":"","technique_type":"mastery_ability","xp_cost":"0","description":"","book_reference":"Celestial Realms - Deathly Turns p.25"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/techs/mastery_ability.svg","effects":[]}
|
||||
|
||||
@@ -96,3 +96,5 @@
|
||||
{"_id":"L5RCoreSch000096","name":"Keen Senses","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"1","bought_at_rank":0,"ring":"void","skill":"","difficulty":"","technique_type":"school_ability","xp_cost":"0","description":"","book_reference":"Writ of the Wild p.99"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/techs/school_ability.svg","effects":[]}
|
||||
{"_id":"L5RCoreSch000097","name":"Mind of Calm","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"1","bought_at_rank":0,"ring":"void","skill":"","difficulty":"","technique_type":"school_ability","xp_cost":"0","description":"","book_reference":"Writ of the Wild p.100"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/techs/school_ability.svg","effects":[]}
|
||||
{"_id":"L5RCoreSch000098","name":"Evolution of the Wilds","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"1","bought_at_rank":0,"ring":"void","skill":"","difficulty":"","technique_type":"school_ability","xp_cost":"0","description":"","book_reference":"Writ of the Wild p.101"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/techs/school_ability.svg","effects":[]}
|
||||
{"_id":"L5RCoreSch000099","name":"Mazoku's Authority","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"1","bought_at_rank":0,"ring":"void","skill":"","difficulty":"","technique_type":"school_ability","xp_cost":"0","description":"","book_reference":"Celestial Realms - Deathly Turns p.24"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/techs/school_ability.svg","effects":[]}
|
||||
{"_id":"L5RCoreSch000100","name":"Effortless Aim","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"1","bought_at_rank":0,"ring":"void","skill":"","difficulty":"","technique_type":"school_ability","xp_cost":"0","description":"","book_reference":"Celestial Realms - Deathly Turns p.25"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/techs/school_ability.svg","effects":[]}
|
||||
|
||||
@@ -251,7 +251,7 @@ export class TwentyQuestionsDialog extends FormApplication {
|
||||
if (!["item", "technique", "peculiarity", "bond"].includes(type)) {
|
||||
return;
|
||||
}
|
||||
const stepKey = $(event.target).data("step");
|
||||
const stepKey = $(event.currentTarget).data("step");
|
||||
if (!stepKey) {
|
||||
console.warn("L5R5E | 20Q | Event stepKey is undefined");
|
||||
return;
|
||||
|
||||
@@ -535,7 +535,7 @@ export class RollnKeepDialog extends FormApplication {
|
||||
|
||||
// Show DsN dice for the new roll
|
||||
if (game.dice3d !== undefined) {
|
||||
game.dice3d.showForRoll(
|
||||
await game.dice3d.showForRoll(
|
||||
roll,
|
||||
game.user,
|
||||
true,
|
||||
|
||||
@@ -6,7 +6,7 @@ export default class HooksL5r5e {
|
||||
// Enable embed Babele compendiums only if custom compendium is not found or disabled
|
||||
if (
|
||||
typeof Babele !== "undefined" &&
|
||||
Babele.get().modules.every((module) => module.module !== "l5r5e-custom-compendiums")
|
||||
Babele.get().modules.every((module) => module.module !== game.settings.get(CONFIG.l5r5e.namespace, "custom-compendium-name"))
|
||||
) {
|
||||
Babele.get().setSystemTranslationsDir("babele"); // Since Babele v2.0.7
|
||||
}
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
* Custom system settings register
|
||||
*/
|
||||
export const RegisterSettings = function () {
|
||||
const isBabeleRegistered = (typeof Babele !== "undefined");
|
||||
|
||||
/* ------------------------------------ */
|
||||
/* User settings */
|
||||
/* ------------------------------------ */
|
||||
@@ -36,6 +38,20 @@ export const RegisterSettings = function () {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
});
|
||||
game.settings.register(CONFIG.l5r5e.namespace, "custom-compendium-name", {
|
||||
name: "SETTINGS.CustomCompendiumName.Title",
|
||||
hint: "SETTINGS.CustomCompendiumName.Hint",
|
||||
scope: "world",
|
||||
config: isBabeleRegistered,
|
||||
requiresReload: true,
|
||||
type: String,
|
||||
default: "l5r5e-custom-compendiums",
|
||||
onChange: (name) => {
|
||||
if (!Babele.get().modules.find((module) => module.module === name)) {
|
||||
ui.notifications.warn(game.i18n.format("SETTINGS.CustomCompendiumName.Notification", { name }), { permanent: true });
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/* ------------------------------------ */
|
||||
/* Update */
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -118,7 +118,7 @@
|
||||
|
||||
// Dice Picker
|
||||
.dice-picker-dialog {
|
||||
min-width: 600px;
|
||||
min-width: 35rem;
|
||||
min-height: auto;
|
||||
// Utility
|
||||
* {
|
||||
@@ -225,6 +225,7 @@
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: large;
|
||||
padding: 0;
|
||||
|
||||
&-ring {
|
||||
color: #f0f0e0;
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
/** Sheets **/
|
||||
&.sheet {
|
||||
min-width: 600px;
|
||||
min-width: 37rem;
|
||||
|
||||
label {
|
||||
&:hover {
|
||||
text-shadow: 0 0 2px $red;
|
||||
}
|
||||
}
|
||||
|
||||
.l5r-buttons-bar {
|
||||
display: flex;
|
||||
flex: 0 0 100%;
|
||||
@@ -21,6 +23,7 @@
|
||||
margin: 0 0 0 8px;
|
||||
}
|
||||
}
|
||||
|
||||
&.actor {
|
||||
.sheet-header {
|
||||
h1 {
|
||||
@@ -44,11 +47,13 @@
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-content: flex-start;
|
||||
}
|
||||
|
||||
.sheet-body {
|
||||
flex: 0 0 100%;
|
||||
align-items: flex-start;
|
||||
@@ -84,6 +89,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
section,
|
||||
article {
|
||||
&.tab[data-tab] {
|
||||
@@ -93,6 +99,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sheet-header {
|
||||
flex: 0 0 100%;
|
||||
align-items: flex-start;
|
||||
@@ -575,6 +582,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
article {
|
||||
background: $l5r5e-white-light;
|
||||
padding: 0.5rem;
|
||||
@@ -740,6 +748,7 @@
|
||||
flex: 0 0 calc(50% - 0.5rem);
|
||||
}
|
||||
}
|
||||
|
||||
.xp,
|
||||
.money-wrapper {
|
||||
flex: 100%;
|
||||
@@ -758,6 +767,7 @@
|
||||
line-height: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
table {
|
||||
font-size: 0.85rem;
|
||||
color: $black-light;
|
||||
@@ -824,6 +834,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.inventory {
|
||||
.items-wrapper {
|
||||
h3 {
|
||||
@@ -918,6 +929,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nav {
|
||||
&.sheet-tabs {
|
||||
flex: 100%;
|
||||
|
||||
@@ -32,8 +32,7 @@ button {
|
||||
overflow: initial;
|
||||
height: calc(100% - 1.1rem);
|
||||
top: 0.2rem;
|
||||
width: 320px;
|
||||
min-width: 40px;
|
||||
min-width: 20rem;
|
||||
letter-spacing: 0.1rem;
|
||||
position: relative;
|
||||
margin-right: 0.5rem;
|
||||
@@ -172,6 +171,9 @@ button {
|
||||
}
|
||||
}
|
||||
&.collapsed {
|
||||
min-width: 0;
|
||||
width: 3rem !important;
|
||||
|
||||
#sidebar-tabs {
|
||||
> .item {
|
||||
&.active {
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
"changelog": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/CHANGELOG.md",
|
||||
"license": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/LICENSE.md",
|
||||
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
|
||||
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.10.0/raw/l5r5e.zip?job=build",
|
||||
"version": "1.10.0",
|
||||
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.11.0/raw/l5r5e.zip?job=build",
|
||||
"version": "1.11.0",
|
||||
"compatibility": {
|
||||
"minimum": 11,
|
||||
"verified": "11.301"
|
||||
"verified": "11"
|
||||
},
|
||||
"manifestPlusVersion": "1.2.0",
|
||||
"socket": true,
|
||||
|
||||
@@ -258,7 +258,7 @@
|
||||
{{localize 'l5r5e.twenty_questions.part2.school_ability'}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step3.school_ability stepName='step3.school_ability' itemType='techniques' hideDndAt=1}}
|
||||
{{localize 'l5r5e.twenty_questions.part2.starting_techniques'}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step3.techniques stepName='step3.techniques' itemType='techniques' hideDndAt=5}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step3.techniques stepName='step3.techniques' itemType='techniques' hideDndAt=6}}
|
||||
</td>
|
||||
<td class="fifty">
|
||||
{{localize 'l5r5e.twenty_questions.part2.outfit'}}
|
||||
|
||||
Reference in New Issue
Block a user