7 Commits
13.0.1 ... main

Author SHA1 Message Date
5ba88a1ae5 Full SAN management 2025-06-15 23:02:36 +02:00
9e4d76298c Manage selective fire 2025-06-15 00:30:24 +02:00
e0400793ff Fix CI/CD
All checks were successful
Release Creation / build (release) Successful in 52s
2025-06-12 23:12:49 +02:00
1210358c33 Fix CI/CD 2025-06-12 23:12:09 +02:00
c08a8c38e9 Enhance progression rolls, damage rolls and other fixes
Some checks failed
Release Creation / build (release) Failing after 56s
2025-06-12 20:53:54 +02:00
17be9df64b Add FR translation 2025-06-11 11:35:39 +02:00
ecb7fc2757 Update for pure v13 release
Some checks failed
Release Creation / build (release) Failing after 48s
2025-05-20 22:25:35 +02:00
54 changed files with 2657 additions and 364 deletions

View File

@ -52,12 +52,12 @@ jobs:
api_key: '${{secrets.ALLOW_PUSH_RELEASE}}' api_key: '${{secrets.ALLOW_PUSH_RELEASE}}'
- name: Publish to Foundry server - name: Publish to Foundry server
uses: djlechuck/foundryvtt-publish-package-action@v1 uses: https://github.com/djlechuck/foundryvtt-publish-package-action@v1
with: with:
token: ${{ secrets.FOUNDRYVTT_RELEASE_TOKEN }} token: ${{ secrets.FOUNDRYVTT_RELEASE_TOKEN }}
id: 'fvtt-cthulhu-eternal' id: 'fvtt-cthulhu-eternal'
version: ${{github.event.release.tag_name}} version: ${{github.event.release.tag_name}}
manifest: 'https://www.uberwald.me/gitea/public/fvtt-cthulhu-eternal/releases/download/latest/system.json' manifest: 'https://www.uberwald.me/gitea/public/fvtt-cthulhu-eternal/releases/download/latest/system.json'
notes: 'https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/fvtt-cthulhu-eternal.zip' notes: 'https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/fvtt-cthulhu-eternal.zip'
compatibility-minimum: '12' compatibility-minimum: '13'
compatibility-verified: '12' compatibility-verified: '13'

View File

@ -0,0 +1,446 @@
{
"label": "Compétences",
"mapping": {
"description": "system.description"
},
"folders": {
"Skills Post-Apo": "Post-Apo",
"Skills Jazz Age": "Jazz Age",
"Skills Modern": "Moderne",
"Skills WW2": "Seconde Guerre Mondiale",
"Skills WW1": "Première Guerre Mondiale",
"Skills Medieval": "Médiéval",
"Skills Revolutions": "Age des",
"Skills Victorian": "Victorien",
"Skills Age of Sail": "Age de la voile",
"Skills Coldwar": "Guerre froide",
"Skills Classical": "Classique",
"Skills Future": "Futur"
},
"entries": {
"Pilot (Type)": {
"name": "Pilotage (Type)",
"description": "<pPiloter, naviguer et diriger des véhicules nautiques ou aériens. Utilisez cette compétence pour assurer la sécurité d'un navire en cas de danger, par exemple lors d'une tempête ou d'une poursuite dangereuse. Chaque type de véhicule requiert une compétence distincte : Avion, Drone, Hélicoptère, Dirigeable, Petite embarcation, Navire, etc.</p>"
},
"Anthropology": {
"name": "Anthropologie",
"description": "<p>L'étude des cultures humaines vivantes. Elle permet de comprendre la morale, les croyances religieuses, les coutumes et les mœurs, et d'identifier (mais pas de traduire) des langues obscures. Alors que l'Histoire s'intéresse au passé lointain et que l'Archéologie étudie les artefacts physiques, l'Anthropologie s'intéresse aux comportements des cultures vivantes et à la manière dont elles se rattachent les unes aux autres et au passé.</p>"
},
"Appraise": {
"name": "Evaluation",
"description": "<p>La capacité à déterminer rapidement la valeur réelle (intrinsèque) d'un objet. Il s'agit d'une compétence importante pour s'assurer que les échanges et le troc vous sont favorables. Elle est également utile pour savoir quels objets ou ressources les autres seraient prêts à échanger pour les obtenir.</p>"
},
"Search": {
"name": "Recherche",
"description": "<p>Trouver des objets dissimulés. La fouille d'une habitation abandonnée peut ne pas nécessiter la compétence Fouille, mais seulement du temps et des efforts, ou une INT suffisamment élevée. Utilisez la compétence Fouille pour trouver un objet qui a été caché avec la compétence Furtivité ou qui est si bien caché ou camouflé qu'il nécessite l'intervention d'un expert. Le Modérateur de Jeu peut faire le jet de Fouille, de sorte que vous ne sachiez pas si votre Protagoniste a réussi ou échoué.</p>"
},
"PostApocalypse Lore (Type)": {
"name": "PostApocalypse Lore (Type)",
"description": "<p>When the Apocalypse came, thousands of years of human culture and society was swept away in an instant. Civilizations shattered; religions were snuffed out. What replaced them was a patchwork of different local cultures, organizations, and belief systems created by the few who survived.</p><p>This skill represents knowledge of one such culture, organization, or belief system. It doesnt cover the indepth customs and regulations of such groups that is the province of the Law skill.</p><p>A Survivor may have knowledge of several different facets of the PostApocalypse world each is represented by a separate PostApocalypse Lore skill. Types might be:</p><ul><li><p>regionbased (e.g., “Desert of Blasted Pillars”),</p></li><li><p>supernaturalcreaturebased (e.g., “Sentient Shadows”),</p></li><li><p>organizationbased (e.g., “New Beginnings Community Network”), or</p></li><li><p>newreligionbased (e.g., “Church of Melqart”).</p></li></ul>"
},
"Reassure": {
"name": "Reassure",
"description": "<p>Use this skill to understand the mental illness afflicting a person, help an afflicted person along the journey back to sanity, or talk someone down when the mental illness threatens to take hold.</p><p>You can also use this skill to assist in social interactions with someone, to calm them from an agitated state in order to extract information from them.</p><p>You cannot use Reassure on yourself.</p><p>Using Reassure to aid someone who suffered exposure to Unnatural forces might cost the reassuring Survivor SAN; see THREATS TO SAN in the SRD.</p>"
},
"Repair/Devise": {
"name": "Repair/Devise",
"description": "<p>With many settlements isolated by a day or more journey from each other, self-reliance is key. The ability to repair broken equipment or create impromptu fixes for unexpected break-downs is vital.</p><p>Repair/Devise is not a craft skilled. Its designed to make some work just long enough to get the job done (hopefully). Many other Cthulhu Eternal settings use Craft (Jury-Rig). Repair/Devise takes the place of that in this setting.</p>"
},
"Trivium": {
"name": "Trivium",
"description": "<p>Trivium is the “lesser” of the two liberal arts. It comprises rhetoric, grammar, and logic. It can be useful for player characters trying to make sense of all the information theyve been given.</p>"
},
"Law (Type)": {
"name": "Droit (Au choix)",
"description": "<p>Utilisez cette compétence pour comprendre et manipuler les structures de pouvoir qui existent au sein de la société, afin d'influencer des résultats juridiques ou de tirer votre Protagoniste d'un mauvais pas.</p><p>Chaque société a son propre système juridique - la compréhension de chacun d'entre eux est une compétence distincte. Parce que toutes les sociétés sont basées sur un comportement humain commun, vous pouvez tenter d'utiliser votre compétence Droit à la *moitié* de sa valeur pour naviguer dans les méandres d'un ordre social entièrement nouveau et inconnu.</p>"
},
"Alertness": {
"name": "Vigilance",
"description": "<p>La Vigilance permet de détecter le danger. Vous pouvez l'utiliser pour entendre l'armement d'un revolver, pour comprendre ce qui est murmuré de l'autre côté d'une paroi, pour repérer un objet caché sous une veste ou pour surprendre quelqu'un qui tente d'échapper aux regards en utilisant la discrétion.</p>"
},
"Swim": {
"name": "Natation",
"description": "<p>La plupart des Protagonistes savent nager correctement dans des eaux calmes. Utilisez la compétence Natation en cas de danger : parcourir une longue distance dans des eaux agitées, empêcher un ami de se noyer ou rejoindre un bateau avant que la chose à tentacules qui se trouve en dessous ne vous attrape.</p>"
},
"Ranged Weapons": {
"name": "Ranged Weapons",
"description": "<p>The ability to accurately hit targets with ranged non-firearm weapons such as Bows, Crossbows, and Slings.</p><p>This skill isnt used for thrown weapons like Spears those make use of the Athletics skill instead.</p>"
},
"Unnatural": {
"name": "Inconcevable",
"description": "<p>La connaissance des secrets fondamentaux de l'univers, qui bouleversent l'esprit. Les choses qui se glissent dans les coins sombres du monde et du cosmos. Utilisez cette compétence pour vous souvenir, reconnaître ou rechercher des faits sur les choses que les humains considèrent comme surnaturel. Cela va bien au-delà de l'Occultismeisme, car la compétence Inconcevable représente des choses réelles. Utilisez-la pour passer au crible les parties les plus sombres des mythes et du folklore et reconnaître en leur sein ce qui est vrai.</p>"
},
"Stealth": {
"name": "Discrétion",
"description": "<p>Dissimuler sa présence ou ses activités. Utilisez-la pour cacher une arme, camoufler une position, dissimuler une amulette Occultisme, faire les poches, vous déplacer silencieusement, suivre sans être vu ou vous fondre dans la foule. Un Protagoniste qui tente un jet de Furtivité ne peut être détecté que par une compétence opposée de Vigilance ou de Fouille (voir TESTS OPPOSES).</p>"
},
"Ride": {
"name": "Equitation",
"description": "<p>Manipuler, dresser et monter un animal - cheval, âne, chameau, etc. Utilisez cette compétence pour assurer la sécurité d'un animal en cas de danger et pour assurer la sécurité, le calme et la santé des animaux de monte.</p>"
},
"Heavy Machinery": {
"name": "Engins Lourds",
"description": "<p>Conduite de tracteurs, de grues, de batteuses, de trains à vapeur ou de tout autre grosse machine.</p>"
},
"Melee Weapons": {
"name": "Armes de mêlée",
"description": "<p>Utilisation létale d'armes de mêlée au combat. Utiliser cette compétence pour blesser ou tuer un adversaire à l'aide d'un couteau, d'une hache, d'un gourdin ou d'une autre arme de corps à corps.</p>"
},
"Disguise": {
"name": "Déguisement",
"description": "<p>Modifiez l'apparence, la voix, la posture, le langage corporel et les manières de votre Protagoniste pour éviter d'être reconnu sans attirer l'attention.</p>"
},
"Technology Use": {
"name": "Technology Use",
"description": "<p>Nobody needs to make a skill roll to use devices and technologies that are in common use in the era and setting of the game. However, making effective use of highly-specialized or technical apparatus is a different question. In the hands on the untrained, such devices are at best useless, and at worst dangerous. Technology Use is an umbrella skill allowing your Protagonist to successfully use all manner of common technical devices, as well as interface with the limited intelligent systems used to control them.</p><p>Note that the detailed design or adaptation of AI-based technology is covered by the Artificial Intelligence skill instead, and technologies specifically designed to defeat electronic security is covered by the Hacking skill.</p>"
},
"Drive": {
"name": "Conduite",
"description": "<p>Piloter tout véhicule ou moyen de transport terrestre en toute sécurité. Sauf avis contraire du Modérateur de Jeu, chaque Protagoniste peut conduire en toute sécurité dans des conditions de circulation normales. Utilisez cette compétence pour assurer la conduite d'un véhicule lors d'une poursuite tendue ou sur un terrain dangereux.</p>"
},
"Administration": {
"name": "Administration",
"description": "<p>Une connaissance du fonctionnement des bureaucraties et des types de formulaires, papiers, journaux, etc. qu'elles génèrent invariablement. Utilisez-le pour passer au crible des dossiers financiers détaillés ou des comptes rendus de réunions de clubs afin de trouver le point particulier qui ne semble pas correspondre au schéma habituel.</p><p>Utilisez cette compétence pour vous rechercher rapidement dans des dossiers administratifs afin de trouver ce qui est important. Notez que cette compétence concerne principalement l'interprétation des informations dont vous disposez ; si vous devez activement rechercher des livres, des dossiers, etc. cela relèverait de la compétence Étude.</p>"
},
"Unarmed Combat": {
"name": "Combat à mains nues",
"description": "<p>L'autodéfense. Un combat entre adversaires non entraînés implique souvent plus de bousculades et de cris que de véritable violence. Utilisez Combat à mains nues pour blesser ou tuer un adversaire avec pour seule arme vos mains (ou les pieds, les coudes, les dents et la tête) de votre Protagoniste.</p>"
},
"Carouse": {
"name": "Carouse",
"description": "<p>People have a variety of ways of reveling and relaxing when the work-day is through. This skill combines a knowledge of such social distractions and indulgences, and a practiced skill in partaking and perhaps excelling in their practice.</p><p>Use it to know the particular forms of entertainments that certain classes of society are likely to crave, and the people and places who are able to satisfy them whether legally or otherwise.</p><p>When participating in a leisure activity, this skill can be called upon when endurance or skillful practice of the revelry would achieve an advantage. One such use might be retaining ones faculties even when imbibing excessive intoxicating drinks. Another might be winning at games of chance commonly used for wagering (in this case, the skill is likely to b part of an OPPOSED TEST against other players Carouse, with sly attempts at cheating covered by the Stealth skill).</p>"
},
"Insight": {
"name": "Psychologie",
"description": "<p>La Psychologie permet d'obtenir des informations sur une personne - en particulier des informations que le sujet préférerait dissimuler - par l'observation, la conversation ou l'examen de modèles de comportement et de relations. Utilisez Psychologie pour reconnaître les signes de malhonnêteté à partir d'indices verbaux et du langage corporel, jauger l'attitude et les intentions, cultiver des sources d'information sur un sujet, déterminez ce qu'il faudrait faire pour obtenir la coopération d'un sujet, ou reconnaître les indices de ce qu'un sujet veut dissimuler.</p><p>La Psychologie permet de déceler les signes d'une maladie mentale, mais la Psychanalyse serait nécessaire pour aider à diagnostiquer une maladie spécifique. Un sujet qui tente délibérément de tromper votre Protagoniste peut tenter un test opposé en comparant sa Persuasion à la Psychologie de votre Protagoniste (voir TESTS OPPOSES).</p>"
},
"Craft (Type)": {
"name": "Artisanat (Au choix)",
"description": "<p>Fabrication et réparation d'outils et de produits sophistiqués. Un travail que la plupart des gens pourraient réaliser ne nécessite pas la compétence Artisanat, mais seulement un test d'INT ou de DEX. Utilisez la compétence Artisanat pour les travaux spécialisés nécessitant une formation : Artisanat (Mécanique) pour remettre en état un appareil cassé - ou pour le saboter au delà du réparable ; Artisanat (Serrurerie) pour ouvrir une serrure sans clé, et ainsi de suite.</p><p>Une spécialisation courante est **Artisanat (Bricolage)** qui représente une capacité à créer des assemblages d'équipements pour remplir une fonction lorsque l'outil approprié pour le travail n'est pas disponible.</p><p>Le Modérateur de Jeu décide si une tâche nécessite de l'artisanat. Chaque type d'artisanat est une compétence distincte : Forge, Charpente, Ferme, Mac Gyver, Serrurerie, Mécanique, etc.</p>"
},
"Archeology": {
"name": "Archéologie",
"description": "<p>L'étude des vestiges physiques des cultures humaines. Elle permet d'analyser une structure en ruine afin d'obtenir des informations utiles sur son fonctionnement il y a longtemps ou sur les circonstances de sa destruction. Alors que l'Anthropologie s'intéresse aux cultures vivantes et que l'Histoire est une vaste étude du passé, l'Archéologie traite de la signification des artefacts laissés sur place.</p>"
},
"History": {
"name": "Histoire",
"description": "<p>Découvrir des faits et des théories sur le passé de l'humanité. Utilisez cette compétence pour vous rappeler ou trouver un fait essentiel dans un passé lointain, reconnaître une référence obscure ou passer au peigne fin des documents que personne, sans votre formation approfondie, ne pourrait trouver. Alors que l'Anthropologie s'intéresse aux cultures vivantes et que l'Archéologie étudie la signification des vestiges anciens, l'histoire est une vaste étude de l'humanité.</p>"
},
"Dodge": {
"name": "Esquive",
"description": "<p>Éviter le danger grâce à l'instinct et aux réflexes. Utilisez l'esquive pour éviter une attaque. Contre les armes à feu et les explosifs, l'esquive n'est utile que pour se mettre à couvert (voir ESQUIVER LES ATTAQUES À DISTANCE).</p>"
},
"Sailing (Type)": {
"name": "Sailing (Type)",
"description": "<p>Piloting, navigating, and captaining waterborne vehicles. Use it to keep a boat or ship safe in a crisis, such as through a storm or in a dangerous pursuit. Each vessel type is a separate skill: Small Boat, Ship, Canoe, etc.</p>"
},
"Military Training (Type)": {
"name": "Entrainement militaire (Au choix)",
"description": "<p>De nombreuses personnes consacrent une partie de leur carrière au service militaire d'une couronne ou d'un empire, que ce soit au sein d'une armée de terre ou d'une marine, ou même sur des bateaux dans les eaux côtières. Un grand nombre de personnes sont également employées dans la gigantesque bureaucratie qui assure l'approvisionnement et le fonctionnement de l'armée. Cette compétence représente l'entraînement et l'expérience de première main obtenus en passant du temps dans l'un de ces services militaires. Elle permet d'appliquer des tactiques ou des stratégies militaires à une situation donnée, de se souvenir de détails spécifiques concernant une unité ou un corps militaire particulier, ou de se familiariser avec l'équipement militaire courant.</p>"
},
"Religion (Type)": {
"name": "Religion (Type)",
"description": "<p>A detailed knowledge of one of the several common belief systems that are known to exist, each providing its own account of the divine and explanations for the ways of the observed natural world.</p><p>Use it to know the differences between the beliefs of varying denominations of the particular religion, or to be able to recite passages from common religious texts. It doesnt include knowledge of obscure or fringe beliefs associated with the religion; details of such hidden wisdom are covered by the relevant Occult skill instead.</p>"
},
"Charm": {
"name": "Charme",
"description": "<p>Changer le point de vue de quelqu'un d'autre ou le convaincre de faire quelque chose pour vous par la ruse, l'astuce, l'amabilité ou d'autres techniques subtiles. Il ne s'agit pas de la menacer (ce qui est couvert par la compétence Intimidation ) ou d'utiliser la logique pour les convaincre (c'est la compétence Persuasion), mais de toutes les autres méthodes douces. Avec le Charme, vous pouvez entrer en contact avec un individu à un niveau plus personnel - peut-être même le séduire - et de tels changements peuvent devenir des attitudes ou des croyances de longue date. Si la victime du charme a un point de vue totalement antagoniste, un test opposé sera probablement nécessaire pour gérer la différence de points de vue.</p>"
},
"Regional Lore (Type)": {
"name": "Connaissance régionale (Au choix)",
"description": "<p>La plupart des personnes cultivées connaissent un peu tous les lieux, mais si vous avez vécu longtemps dans une région spécifique (ou si vous l'avez étudiée), vous en apprenez beaucoup plus. Cette compétence représente une compréhension approfondie des personnes, des lieux et des pratiques courantes propres à une région particulière. Utilisez-la pour vous souvenir des contes populaires racontés par les villageois, des mots locaux uniques, ou des ruines inhabituelles et autres curiosités géographiques trouvés dans la région. Elle peut également renseigner sur les superstitions et les rites bizarres propres à la région.</p>"
},
"Augury": {
"name": "Augury",
"description": "<p>This skill measures knowledge of one or more of the “sciences” used to predict the future, whether it be through watching the flight patterns of birds, reading entrails, or watching the movements of the planets amongst the stars.</p><p>Usually these techniques require multiple observation over several days before yielding some prediction and it is often relatively vague. It is the Game Moderators decision as to whether the prediction is accurate or not, but in either case many (superstitious) people around the Protagonist will firmly believe that the foretold future will come to pass. They might even generously interpret the real events in a way that makes the prediction at least partially correct. For accurate and specific visions of the future, some form of ritual magic must be involved (which is well beyond the remit of this skill).</p>"
},
"Herb Lore": {
"name": "Herb Lore",
"description": "<p>Herb Lore is an understanding of herbs, the proper method to collect them, where to find them, when to find them, and what can be done with them.</p><p>The Alchemy skill is used to turn herbs into poultices, salves, and other useful products including medical preparations.</p>"
},
"Research": {
"name": "Etude",
"description": "<p>Capacité à trouver des informations spécifiques dans des archives ou enfouies dans des dossiers, des registres ou des livres de comptes. Utilisez cette compétence pour naviguer dans le système de catalogue d'une bibliothèque, pour extraire des détails enfouis dans des registres de comptes ou pour localiser toute information pertinente enfouie.</p>"
},
"Athletics": {
"name": "Athlétisme",
"description": "<p>Votre Protagoniste s'entraîne pour tirer le meilleur parti de sa force et de son agilité. La Force et la Dextérité couvrent la puissance physique brute et l'habileté manuelle ; la compétence Athlétisme représente une longue pratique de la course, du saut, de l'escalade et du lancer.</p><p>Utiliser l'Athlétisme pour : </p><ul><li><p>Rattraper quelqu'un à la course (voir TESTS OPPOSÉS). </p></li><li><p>Sauter au dessus dun vide intimidant.</p></li><li><p>Grimper en situation d'urgence.</p></li><li><p>Se receptionner sans dommages après une chute de trois mètres maximum.</p></li><li><p>Atteindre une cible en lançant un couteau ou lancer une grenade exactement sur la cible.</p></li><li><p>Attraper quelque chose qui arrive sans prévenir, comme intercepter une grenade.</p></li></ul>"
},
"Quadrivium": {
"name": "Quadrivium",
"description": "<p>The Quadrivium represents part, along with the Trivium, of a medieval scholars areas of study. The quadrivium encompasses the disciplines of the liberal arts: music, astronomy, arithmetic and geometry.</p>"
},
"Social Etiquette": {
"name": "Etiquette",
"description": "<p>Les bonnes manières ne coûtent rien, dit-on, et à cette époque, elles sont une composante essentielle de la société « civilisée ». Une simple faute de goût lors dun dîner peut faire de vous la risée de lassemblée, ou vous faire exclure dun club prestigieux.</p><p>Utilisez cette compétence pour savoir quelles règles détiquette sappliquent dans une situation donnée, et pour être capable de les suivre instinctivement lorsque cest nécessaire. En complement, cette compétence peut également servir à repérer les moments où quelquun dautre enfreint lune de ces nombreuses règles sociales.</p>"
},
"Surgery": {
"name": "Chirurgie",
"description": "<p>Traitement d'une blessure ou d'une anomalie physique par des moyens invasifs. Par comparaison, les premiers soins permettent de maintenir un patient en vie jusqu'à ce qu'une intervention chirurgicale soit possible, tandis que la médecine assure un rétablissement à long terme. (Voir GUÉRISON)</p>"
},
"Natural World": {
"name": "Naturalisme",
"description": "<p>La compréhension commune du monde naturel telle qu'elle est pratiquée par les agriculteurs, les pêcheurs et d'autres personnes qui gagnent leur vie en fonction de l'évolution des conditions météorologiques, des marées, etc. Elle couvre également la compréhension générale des habitudes naturelles des animaux, ainsi que les différentes utilisations d'espèces végétales spécifiques. Utilisez cette compétence pour déterminer si le comportement observé des forces ou des créatures naturelles est conforme ou non aux modèles \"normaux\" ou courants.</p>"
},
"Persuade": {
"name": "Persuasion",
"description": "<p>Changer la décision ou le désir profond d'une autre personne. Utilisez Persuasion pour obtenir ce que veut votre Protagoniste lorsque le sujet est si têtu, que ce que veut votre Protagoniste est si précieux, ou que la tromperie est si flagrante que le Charisme ne suffit pas.</p><p>Grâce à la Persuasion, votre Protagoniste peut convaincre un témoin que ce qu'il a vu est inoffensif et n'est pas contre nature, convaincre un chef de groupe de vous aider à dissimuler une épidémie afin d'éviter une panique générale, ou tirer des informations utiles d'un sujet récalcitrant. Cette compétence permet également à votre Protagoniste de résister à la persuasion et à l'interrogatoire lors de jets de Persuasion opposés (voir TESTS OPPOSÉS).</p>"
},
"Pilot": {
"name": "Pilotage (Au choix)",
"description": "<p>Piloter, naviguer et diriger des véhicules nautiques ou aériens. Utilisez cette compétence pour assurer la sécurité d'un navire en cas de danger, par exemple lors d'une tempête ou d'une poursuite dangereuse. Chaque type de véhicule requiert une compétence distincte : Avion, Drone, Hélicoptère, Dirigeable, Petite embarcation, Navire, etc.</p>"
},
"Occult": {
"name": "Occultisme",
"description": "<p>L'étude du surnaturel tel qu'il est véhiculé par les traditions humaines, y compris des thèmes comme la magie, le folklore et les sociétés secrètes. Utilisez Occultismeisme pour examiner et déduire l'objectif d'un rituel, ou pour identifier des traditions Occultismees, des groupes, des grimoires, des outils, des symboles ou des légendes. Occultismeisme ne peut jamais indiquer à un Protagoniste ce qui est véritablement surnaturel et ce qui n'est que superstition ou mythologie. C'est le domaine de la compétence Inconcevable.</p>"
},
"Scavenge": {
"name": "Scavenge",
"description": "<p>The world is full of useful items, although most people dont know where to go looking for the good stuff. Use this skill to find and salvage helpful pieces of equipment or locate valuable resources like food and water. Anyone can find items in places where they are likely to be found (e.g., food in a larder); use this skill to find things in places where nobody else would think to look.</p><p>Depending on the game setting and the scarcity of the item being sought, the difficulty of Scavenge tests and the quality of the items unearthed by successful rolls may vary. See SCROUNGING in the SRD. </p><p>Note that efforts to rummage for information rather than items is handled by social or knowledge skills instead.</p>"
},
"First Aid": {
"name": "Premiers secours",
"description": "<p>Le traitement initial et la stabilisation des blessures. Utilisez cette compétence pour aider un personnage à récupérer les points de vie perdus. En comparaison, la chirurgie soigne une blessure grave et la médecine assure un rétablissement à long terme. (Voir GUÉRISON ).</p>"
},
"Psychoanalyze": {
"name": "Psychanalyse",
"description": "<p>Le diagnostic et le traitement des maladies mentales. Elle permet d'identifier un trouble mental, d'aider un patient à se rétablir, de calmer quelqu'un lorsqu'un trouble commence à prendre le dessus et de traiter la maladie mentale à long terme. Vous ne pouvez pas utiliser la psychanalyse sur vous-même. Utiliser la Psychanalyse pour aider quelqu'un qui a été exposé aux forces du Mythe de Cthulhu peut coûter de la SAN au thérapeute ; voir MENACES SUR LA SAN.</p>"
},
"Pharmacy": {
"name": "Pharmacy",
"description": "<p>Knowledge of drugs and herbal remedies, from their ingredients and creation, to their effects, uses, and misuses. Use it to identify and produce medicines and antidotes — as well as poisons.</p><p>Identifying a drug or medicinal herb requires at least 20% skill. Preparing a particularly powerful treatment safely, such as one with psychoactive effects, requires at least 40% skill or a successful roll. Misusing Pharmacy is a quick way to kill a patient (see POISON AND DISEASE in the SRD).</p>"
},
"Theology": {
"name": "Theology",
"description": "<p>Religion is an important part of life in the Victorian era, and this skill represents a knowledge of the common religious practices observed by the mainstream population. Use it to know the differences between the beliefs of varying denominations of Christians, or to be able to recite passages from common religious texts. This skill isnt particular to any one belief system but focusses on those that are widely-observed if you want to know about fringe beliefs, use the Occult skill instead.</p>"
},
"Survival (Type)": {
"name": "Survie (Au choix)",
"description": "<p>Connaissance du monde naturel. Cette compétence permet de planifier une expédition, de prévoir le temps, de reconnaître les particularités de la faune et de la flore, d'utiliser l'environnement pour recueillir d'autres informations ou de trouver de la nourriture, de l'eau et un abri. Chaque type de survie possède sa propre compétence. Les types les plus courants sont Désert, Jungle, Toundra et Ville.</p>"
},
"Ciphers": {
"name": "Ciphers",
"description": "<p>The knowledge of methods whereby the meaning of a message (verbal, written, or other) can be hidden from prying eyes. Use it to encode a message you want to safely send, or to decode a message written by someone else.</p><p>Note that when working with written messages, your effective rating in this skill is capped by your Literacy skill tests will usually be against the lower of the two.</p>"
},
"Forensics": {
"name": "Forensics",
"description": "<p>Gathering detailed information and evidence based on an assessment of human remains. Use it to hypothesize about the cause of a fire, trace the trajectory that a bullet followed, or determine whether a pool of blood is consistent with a major or minor injury.</p>"
},
"Organizational Lore (Type)": {
"name": "Organizational Lore (Type)",
"description": "<p>The world is full of large and complicated organizations, whether they be corporations, sprawling military-industrial groups, or byzantine government agencies. Most people know just the surface details about these entities usually what they want the world to know. But you have spent enough time close to one of these organizations (perhaps even inside it) that you know much more. This skill represents your deep understanding of the power structures, common practices, and key individuals that drive one organization. Use it to recall details of organizational culture, hierarchies, or locations important to the organization. The skill can also be used to determine quirks of the organization that might be exploited to your benefit, as well as offering guidance about who within the ranks might be enticed, coerced, or bribed into helping in some way.</p>"
},
"Navigate": {
"name": "Orientation",
"description": "<p>Trouver rapidement son chemin à l'aide de plan, de cartes et de tableaux, de votre sens de l'orientation, d'une boussole ou de la navigation à l'estime.</p>"
},
"Foreign Language (Type)": {
"name": "Langue étrangère (Type)",
"description": "<p>Maîtrise d'une autre langue. Chaque langue étrangère est une compétence distincte. Une compétence à 20 % permet des conversations hachées ; à 50 %, votre Protagoniste parle et lit comme un natif. Plus la compétence est élevée, plus les informations comprises par votre Protagoniste sont complexes et moins cela prend de temps. Il n'est pas nécessaire d'effectuer un jet de langue étrangère à moins que le Modérateur de Jeu n'indique que la situation est exceptionnellement difficile.</p>"
},
"Rhetoric": {
"name": "Rhetoric",
"description": "<p>The ability to give a captivating and rousing speech in public, capturing a well-structured argument and delivering it verbally in a compelling fashion. Whether or not the content is truthful or not is irrelevant, a well-spoken oration is more</p><p>likely to win the hearts and minds of listeners which, in some cases, is critical to influencing an outcome. In many cases (e.g., two litigants squaring off against one another in court) Rhetoric can be opposed by someone elses Rhetoric skill. In other cases, it can be opposed by an audiences Insight skill (representing their ability to spot the logical flaws or unconvincing body language used while the oration is being delivered).</p>"
},
"Beguile": {
"name": "Beguile",
"description": "<p>In the feudal world, oftentimes the best way to convince someone to do what you want them to do, is by appealing to their sense of power or self-importance. This delicate art combines guile, cunning, “buttering-up”, or other such subtle techniques to curry favor and obtain leverage.</p><p>Beguiling is not about open threats, teasing, or aggressive bluster that is covered by the Harangue/Taunt skill. Nor is it about using cold logic to convince them (thats Persuade). Rather, this skill is about using wile and cunning, coupled with a detailed understanding of the authority and power wielded by the person, to gain advantage.</p><p>If the target of the skill starts from an antagonistic viewpoint, some form of OPPOSED TEST will probably be needed to overcome their negative impression.</p>"
},
"Firearms": {
"name": "Armes à feu",
"description": "<p>Tir sûr et précis avec des armes à feu courantes en combat. Utilisez cette compétence pour atteindre une cible malgré l'adrénaline, la panique et les chocs qui interfèrent avec la coordination main-œil.</p>"
},
"Demolitions": {
"name": "Demolitions",
"description": "<p>Safe handling of explosives in a crisis. Use it to disarm a bomb, set a charge to destroy a target remotely, create homemade explosives from supplies at the hardware store, or analyze a blast to determine exactly what caused it. Failure when handling a bomb means your Survivor needs more time. If its a crisis that requires a roll, a fumble means an accidental explosion.</p>"
},
"Harangue": {
"name": "Intimidation",
"description": "<p>L'art d'intimider quelqu'un pour qu'il soit d'accord avec votre point de vue ou qu'il accepte de faire quelque chose que vous voulez qu'il fasse. Cette technique n'est pas une tentative subtile de faire appel à sa bonne nature (ce qui est couvert par la compétence Charme) ou à sa raison logique (c'est la compétence Persuasion) - au lieu de cela, il s'agit de fanfaronnades, de cris et de menaces. Mais ces techniques sont parfois plus efficaces que d'autres, même si les personnes qui les subissent n'apprécieront probablement pas autant l'interaction.</p>"
},
"Xenoarcheology": {
"name": "Xenoarcheology",
"description": "<p>The study of physical remains of cultures of intelligent species. Use it to analyze a ruined structure to determine useful information about its purpose long ago or the circumstances of its destruction. Where Xenology is about living cultures and History is a broad study of the past, Archeology discerns meaning from the artifacts left behind.</p>"
},
"Natural Philosophy": {
"name": "Natural Philosophy",
"description": "<p>The study of the natural world, covering disciplines that will later come to be called Physics, Biology, Geology, Botany and Zoology. It does not include the study of medicinal substances (that is covered by Apothecary), astronomical motion (thats Mathematics), or the study of chemicals (thats Alchemy). However most other fields of knowledge which pertain to Nature are within the remit of Natural Philosophy.</p>"
},
"Medicine": {
"name": "Médecine",
"description": "<p>L'étude et le traitement des blessures et des maladies. Cette compétence permet de diagnostiquer la cause d'une blessure, d'une maladie ou d'un empoisonnement, d'identifier des anomalies telles que des toxines ou des maladies, d'identifier la cause et l'heure approximative d'un décès, d'identifier le dernier repas d'une personne décédée ou de prescrire des soins de longue durée appropriés. En comparaison, les premiers soins permettent de maintenir un patient en vie jusqu'à ce qu'une intervention chirurgicale soit possible, et la chirurgie permet de soigner une blessure grave. (Voir GUÉRISON).</p>"
},
"Siege Weapons": {
"name": "Siege Weapons",
"description": "<p>A large part of medieval warfare are sieges. Towns, castles, monasteries, cities, even islands can be besieged.</p><p>This skill provides knowledge on how to use, maintain, and defend against the various siege weapons on the battlefield.</p><p>It isnt just a skill for warrior classes, peasants are often press-ganged into serving on siege weapon crews.</p>"
},
"Art (Type)": {
"name": "Art (Au choix)",
"description": "<p>Expertise dans la création ou l'exécution d'une œuvre qui suscite des émotions et des opinions. Cette compétence englobe également la connaissance des techniques et des tendances dans votre domaine, ainsi que la capacité à distinguer une œuvre réelle d'un créateur particulier d'une œuvre falsifiée. N'importe qui peut dessiner une esquisse ; la compétence Art reflète la connaissance, la pratique et le talent. Chaque type d'Art est une compétence distincte : Comédie, Danse, Contrefaçon, Musique, Poésie, Sculpture, Chant, Conte, etc.</p>"
},
"Foreign Court/Kingdom (Type)": {
"name": "Foreign Court/Kingdom (Type)",
"description": "<p>The feudal world is a vast and sprawling place, and while many people know some very basic details of each far-flung power a place name or two and where it is detailed knowledge is limited to those who have spent substantial time living, serving, or studying there.</p><p>This skill represents such deep understanding of the people, places, and common practices that are unique to one colonial outpost. Use it to recall details of the local climate, local peoples, history, and local government arrangement. It can also cover quirky beliefs or discoveries that have come to be common knowledge among residents.</p>"
},
"Empire Lore (Type)": {
"name": "Empire Lore (Type)",
"description": "<p>The Victorian Era world is made up of a patchwork of massive globe-spanning Empires. First among these is the British Empire, but all the other European powers and even upstarts like the United States have their own colonial territories scattered all across the map. This skill represents a detailed knowledge of the inner workings, places, and key figures associated with one such Empire. Use it to recall details about far-flung regions, the titles of important officials,</p><p>or obscure details about how the Empire is governed.</p>"
},
"Streetwise (Type)": {
"name": "Connaissance de la rue (Au choix)",
"description": "<p>Dans les villes et les cités, il existe une « société » parallèle, composée des classes criminelles, des pauvres, et de tous ceux dont les puissants préfèrent nier lexistence. En réalité, ce sous-prolétariat (largement invisible) est constitué de nombreuses sous-cultures et groupes distincts.</p><p>Cette compétence représente une connaissance approfondie de lun de ces milieux. Elle inclut des informations détaillées sur les contacts qui fait quoi, et où se rendre pour obtenir toutes sortes de biens ou services illicites propres à ce groupe. Certains de ces réseaux peuvent être géographiquement localisés (par exemple, « les docks »), tandis que dautres représentent des catégories plus larges de personnes ou dactivités (comme les contrebandiers et les trafiquants dalcool).</p>"
},
"Science (Type)": {
"name": "Science (Au choix)",
"description": "<p>L'étude approfondie des processus du monde. Cette compétence représente bien plus que l'enseignement scientifique ordinaire ; n'importe qui peut tenter un test dINT pour se souvenir de l'enseignement (rudimentaire) qu'il a reçu. La compétence Science est utilisée pour comprendre ou retrouver un principe clé sur la façon dont l'univers fonctionne - ou du moins, sur la façon dont il est censé fonctionner. Chaque science est une compétence distincte : Astronomie, Biologie, Botanique, Chimie, Ingénierie, Génétique, Géologie, Mathématiques, Météorologie, Physique, Planétologie, Zoologie, etc.</p>"
},
"Militaria (Type)": {
"name": "Militaria (Type)",
"description": "<p>Many people spend a part of their careers in some form of military service to a crown or empire whether as part of an army or navy, or even on boats in coastal waters. A great many people are also employed in the giant bureaucracy that keeps the military supplied and functioning. This skill represents first-hand training and experience obtained through time spent in one such military service. Use it to apply military tactics or strategies to a situation, to recall specific details about a particular military unit or corps, or to know your way around common military-issue equipment.</p>"
},
"Cosmology": {
"name": "Cosmology",
"description": "<p>The common understanding of the natural forces, ecology and laws which shape all aspects of the dynamics of a planet, star, or other astronomical object. It covers everything from the basic understanding of how objects orbit one another, how life-giving resources like atmosphere and water come into existence, or are sustained, through to the changing patterns of activity on planets or celestial bodies. It also covers the broad understanding of weather patterns and natural forms of life that are known to exist, common habitats, and which may constitute a threat. Use this skill to determine whether observed behavior of natural forces affecting a celestial body is consistent with “normal” or common patterns, or not.</p><p>If the technology level of the game covers techniques for terraforming planets, this skill confers a detailed understanding of the mechanisms, requirements, and time-frames involved with such methods.</p>"
},
"Literacy": {
"name": "Literacy",
"description": "<p>The ability to read and write your own native language and any other language you have learned. In this era not everyone is taught to be literate, despite it being important (perhaps even necessary) to performing certain jobs. If you want your Protagonist to be able to interpret or create documents, he or she will need to have at least a basic rating in this skill. As a shorthand, anyone with a Literacy skill below 10 is considered functionally illiterate; a skill rating between 11 and 40 represents semi-literacy; a rating above 40 denotes a fully literate individual.</p><p>The skill does not need to be purchased separately for each of the languages known; it is assumed that the basics of reading and writing common alphabets does not need to be re-learned. Note that in many cases where a document written in a foreign language needs to be comprehended, this will likely involve skill tests of BOTH Literacy and therequisite Foreign Language skill. It is the GMs discretion as to whether tests should involve a single die roll compared to both skills, or separate rolls against each.</p>"
},
"Espionage Training (Type)": {
"name": "Espionage Training (Type)",
"description": "<p>Knowledge and practice in the arts of “tradecraft”, the secretive techniques employed by intelligence anciencies to carry out their shadowy business. Each specialization covers the unique methods relating to one aspect of spying, whether technical snooping on communications, developing networks of contacts, or discreetly deploying purpose-built gadgets to silently assassinate opposition spies. Use this skill to perform special “spy stuff” related to your specialty, or use it to recall detailed knowledge about the common techniques that various espionage groups employ in that area.</p>"
},
"Track": {
"name": "Pistage",
"description": "<p>Permet de localiser les traces d'une créature ou d'une personne spécifique et de les suivre. Un test doit être effectué pour localiser les traces, puis un autre toutes les dix minutes pendant la traque. Des pénalités ou des bonus peuvent s'appliquer en fonction du temps écoulé depuis que les traces ont été faites, de la nature du sol, des conditions météorologiques depuis que les traces ont été faites, etc.</p>"
},
"Animal Handling": {
"name": "Animal Handling",
"description": "<p>Animals are part and parcel of medieval life. Everyone has a basic understanding of caring for and trying to control animals. Animal handling can be used to calm a spooked horse, quiet a barking dog, or even train a squirrel to perform tricks.</p><p>Animal handling cant be by a rider to control a mount. Thats the Ride skill.</p>"
},
"Hacking": {
"name": "Hacking",
"description": "<p>Access to places physically or virtually is tightly controlled in high-tech societies, with a range of electronic measures designed to allow authorized individuals and deny everyone else. But no system is perfect, and for those who know their weaknesses the security protecting doors, data repositories, and communication systems is more a temporary complication than a barrier.</p><p>This skill represents practical knowledge of techniques for hacking well-known electronic security systems or controls, as well as the real-world skills needed to successfully employ that book-learning in practice. It also represents abilities to use (or even create) special anti-security devices or “active content” (viruses, worms, etc.).</p>"
},
"Apothecary": {
"name": "Apothecary",
"description": "<p>Knowledge of medicinal preparations, which in this era are a combination of herbs, roots, other naturally-occurring folk remedies, and preparations manufactured through chemical separation and compounding. Use this skill to identify a common medicinal preparation, know what preparation is likely to improve a particular complaint, and safely administer a preparation.</p><p>Identifying a pharmaceutical preparation or medicinal herb requires at least 20% skill. Preparing a particularly powerful treatment safely, such as one with psychoactive effects, requires at least 40% skill or a successful roll. Misusing this skill is a quick way to kill a patient (see POISON AND DISEASE in the SRD).</p>"
},
"Mysticism (Type)": {
"name": "Mysticism (Type)",
"description": "<p>The study of the supernatural as understood by human traditions, including things like magic, initiation into mystery cults, and secret societies. Use Mysticism to examine and deduce the intent of a ritual, or to identify occult traditions, groups, scrolls, tools, symbols, or legends. Mysticism can never tell a Protagonist whats genuinely unnatural and whats just superstition or mythology. Thats the province of the Unnatural skill.</p><p>Mysticism is the more academic counterpart to Folklore. Successful Folklore and Mysticism rolls could provide the same information, viewed through different filters.</p>"
},
"Firearms / Beam Weapons": {
"name": "Firearms / Beam Weapons",
"description": "<p>Safe and accurate shooting with common firearms (projectile or laser/plasma beam) in combat. Use it to hit a target despite the adrenaline, panic, and shock of violence interfering with hand-eye coordination.</p>"
},
"Military Science": {
"name": "Military Science",
"description": "<p>Knowledge of military culture, techniques, and regulations. Use it to identify threats in a battlefield, find accurate ranges, recognize weaknesses in a fortification, deduce the training level of a soldier or unit, reconstruct the events of a battle, or deploy forces advantageously in combat.</p>"
},
"Ordnance": {
"name": "Ordnance",
"description": "<p>Knowledge and practical abilities relating to the use of heavy weapons, typically reserved for open warfare. Use it to recall the common types of armaments used on a particular type of ship, the procedures for maintaining a field gun, or the tactics of a particular nations heavy combatants. It also represents the ability to coordinate a team charged with preparing, aiming, and firing such a weapon. Successful use of the skill is needed for such a firing to be safe and land its projective in the correct location.</p><p>This skill also encompasses the use of explosives for non-military purposes such as mining and demolition.</p>"
},
"Alchemy": {
"name": "Alchemy",
"description": "<p>Alchemy is pseudo-chemistry wrapped in mysticism designed to prolong life, find a universal cure for disease, turn lead into gold, or any fantastical goal. It draws heavily on ancient sources, wraps them in religious trappings, and bottles it. Alchemy as a skill is by no means limited to those educated in the classics. Many wise women and cunning men know as much about alchemy as a Palatinate scholar who claims to have studied with the Arabs.</p>"
},
"Use Gadgets": {
"name": "Gadgets",
"description": "<pNul besoin de faire un jet de compétence pour utiliser les appareils et technologies couramment employés à lépoque et dans le cadre du jeu. En revanche, lusage efficace dun équipement technique ou spécialisé est une toute autre affaire.</p><p>Entre des mains inexpérimentées, de tels dispositifs sont au mieux inutiles… et au pire, dangereux. \"Gadgets\" est une compétence générique qui permet à votre protagoniste dutiliser avec succès toute une gamme dappareils techniques répandus, mais exigeant une certaine expertise.</p>"
},
"Astronomy": {
"name": "Astronomy",
"description": "<p>Knowledge of the movements of the celestial bodies. Use it to know the lunar cycles, or when Venus will be brightest in the sky and therefore closest to the Earth.</p><p>In the Classical Era the scientific knowledge of Astronomy and the predictive art of Astrology are heavily intertwined.</p><p>This skill might afford a limited ability to cast someones horoscope, but detailed prognostications and interpretations are the remit of the Augury skill.</p>"
},
"Mathematics": {
"name": "Mathematics",
"description": "<p>This skill encompasses the knowledge of mathematics, limited to simple theorems such as those described by Euclid, basic algebra and rudimentary trigonometry. It also covers simple cosmography and the motions of the heavenly bodies.</p>"
},
"Folklore": {
"name": "Folklore",
"description": "<p>Folklore is the knowledge of the customs and lore of the common people of region. It is used to deduce the proper way to enter a house, whether to walk around the field widdershins prior to planting winter wheat, or in what order to propitiate the saints. Its also useful when trying to understand the myths and legends of region, such as what creature is said to live in the lake or why the eastern face of the mountain has no trees.</p><p>At the Game Masters discretion, separate folklore skills for different regions may be used or the Game Master can apply a penalty the farther a protagonist travels from their home.</p>"
},
"Homeland": {
"name": "Homeland",
"description": "<p>Homeland represents a protagonists general knowledge about their homeland. Whos in charge, basic geography, known power struggles, which lord owns a certain village, etc.</p><p>History, Folklore, and other more specific skills should be used to gain in-depth knowledge.</p>"
},
"Mechanical Knack": {
"name": "Mechanical Knack",
"description": "<p>The tradesmans ability to fix or build devices which operate according to some mechanical principle. This includes domestic appliances, industrial machines, and vehicles. This includes large-scale mechanical apparatus. Fixes that require specialized training or apparatus are likely to fall under specific Craft skills (e.g., Locksmith), however this skill might still provide some basic assistance with those tasks.</p>"
},
"Bootlick": {
"name": "Bootlick",
"description": "<p>In the hierarchical and bureaucratic colonial world, oftentimes the best way to convince someone to do what you want them to do, is by appealing to their sense of power or self-importance. The delicate art of bootlicking combines guile, cunning, “buttering-up”, or other such subtle techniques to curry favor and obtain leverage.</p><p>Bootlicking is not about open threats, teasing, or aggressive bluster that is covered by the Harangue/Taunt skill. Nor is it about using cold logic to convince them (thats Persuade). Rather, this skill is about using wile and cunning, coupled with a detailed understanding of the authority and power wielded by the person, to gain advantage.</p><p>If the target of the skill starts from an antagonistic viewpoint, some form of OPPOSED TEST will probably be needed to overcome their negative impression.</p>"
},
"Planet / Station Lore (Type)": {
"name": "Planet / Station Lore (Type)",
"description": "<p>Most educated people know a little bit about every place, but if youve spent a long time living in (or studying) on a specific planet, asteroid, or space station you learn so much more. This skill represents a deep understanding of the people, places, and common practices that are unique to one particular locale. Use it to recall urban legends that locals tell, unique local words, or identify unusual artifacts found in the region. It can also cover quirky superstitions and rites that are particular to the place.</p>"
},
"Drive (Type)": {
"name": "Conduite (Au choix)",
"description": "<p>Piloter tout véhicule ou moyen de transport terrestre en toute sécurité. Sauf avis contraire du Modérateur de Jeu, chaque Protagoniste peut conduire en toute sécurité dans des conditions de circulation normales. Utilisez cette compétence pour assurer la conduite d'un véhicule lors d'une poursuite tendue ou sur un terrain dangereux.</p>"
},
"Procuratio": {
"name": "Procuratio",
"description": "<p>A knowledge of how bureaucracies work and what kinds of forms, paperwork, journals, etc. it invariably generates. Use it to sift through detailed charters or pipe rolls to find that one quirky point that just doesnt seem to fit the usual pattern.</p><p>Use this skill to rapidly navigate your way adeptly through written records to find whats important. It can also be useful in determining forgeries. Forged charters are a common scheme that can catch someone just skinning documents off guard.</p><p>Note that this skill is primarily about interpreting information you have; if you need to actively go out and track down books, records, etc. that would be covered by either the Search skill, some combination of social skills, or perhaps Carouse (depending on the mode of searching).</p>"
},
"Poisons": {
"name": "Poisons",
"description": "<p>The use of toxic preparations is common practice in the Classical world whether it be to silence a political rival, commit a murder, or rid a woman of an unwanted pregnancy. In most cases the use of poisons is appealing because it is much harder to trace, and may even appear to be the results of natural causes. Not all poisonings are intended to kill.</p><p>This skill includes the knowledge to prepare poisons from commonly available ingredients, the ability to detect the tell-tale signs that something bears the taint of a known poison, and the knowledge of the distinctive signs that poisons leave on their victims (often on their corpses).</p><p>Note that most ingredients for Classical Era poisons are plants which grow naturally. This skill doesnt help with knowing where to find such plants in the wild (that would be Forage/Hunt) or whether other types of similar plants could be substituted if they are unavailable (that would be Herb Lore).</p>"
},
"Forage/Hunt": {
"name": "Forage/Hunt",
"description": "<p>Forage/Hunt is used to find edible food in the wilderness. The appropriate tools are required, such a bow, spear, or other weapon to hunt animals. It also covers dressing the prey and preparing it for storage.</p><p>A successful roll provides enough food for a group of four to eat for a week.</p>"
},
"Sea Lore (Type)": {
"name": "Sea Lore (Type)",
"description": "<p>The worlds oceans are vast and sprawling, and while everyone knows some very basic details of different regions a port name or two and where each is located detailed knowledge is limited to those who have spent substantial time living, serving, or studying in the colony.</p><p>This skill represents such deep understanding of the people, places, and common practices that are unique to either a region of ocean, a nations shipping fleets, a group of islands/settlements, or a set of common maritime traditions or superstitions. Use it to recall details of the local climate, safe routes, names of famous ships and their captains, and which ports ask few questions about the origins of wealth. It can also cover quirky beliefs or discoveries that have come to be common knowledge among seafarers.</p>"
},
"Artillery": {
"name": "Artillery",
"description": "<p>Safe and accurate use of mortars, missiles, howitzers, tank cannons, and other heavy gunnery. Use it to destroy troop or a hard target in battle.</p>"
},
"Reassure (Copy)": {
"name": "Reassure (Copy)",
"description": "<p>Use this skill to understand the mental illness afflicting a person, help an afflicted person along the journey back to sanity, or talk someone down when the mental illness threatens to take hold.</p><p>You can also use this skill to assist in social interactions with someone, to calm them from an agitated state in order to extract information from them.</p><p>You cannot use Reassure on yourself.</p><p>Using Reassure to aid someone who suffered exposure to Unnatural forces might cost the reassuring Survivor SAN; see THREATS TO SAN.</p>"
},
"Physician": {
"name": "Physician",
"description": "<p>The treatment of an injury or abnormality, either by invasive means or the application of special medical salves and preparations. By comparison, First Aid keeps a patient alive until treatment is possible, and Herb Lore allows for the collection of herbs which, with some guidance from the Physician, might help with long term recovery. (See HEALING in the SRD).</p><p>Note that the Physician skill does not include the craft of brewing deliberately harmful toxins (see the Poisons skill, below), although it may assist with the identification of a death caused by such poisons.</p>"
},
"Colonial Lore (Type)": {
"name": "Colonial Lore (Type)",
"description": "<p>The colonial world is a vast and sprawling place, and while everyone knows some very basic details of each different colony a place name or two and where it is detailed knowledge is limited to those who have spent substantial time living, serving, or studying in the colony.</p><p>This skill represents such deep understanding of the people, places, and common practices that are unique to one colonial outpost. Use it to recall details of the local climate, indigenous peoples, colonial history, and local government arrangement. It can also cover quirky beliefs or discoveries that have come to be common knowledge among colonists.</p>"
},
"Antiquary": {
"name": "Antiquary",
"description": "<p>The study of things from the ancient past, whether they be artifacts, ruined structures, or faded inscriptions. Use it to analyze remnants from the ancient world to determine useful information about their purpose, the civilization that created, or the circumstances of its destruction. Where the History skill is a broad study of past events for which there is sound written accounts or documentation, Antiquary instead focuses on remnants from those ancient epochs about which only sketchy information or supposition exists.</p>"
},
"Heavy Weapons": {
"name": "Heavy Weapons",
"description": "<p>Safe and accurate operation of heavy but portable direct-fire ordnance such as tripod- or vehicle-mounted machine guns or rocket launchers. Use Heavy Weapons to suppress enemies or destroy a vehicle in combat. For even heavier weapons, see Artillery.</p>"
},
"Indigenous Lore (Type)": {
"name": "Indigenous Lore (Type)",
"description": "<p>Wherever European colonies have been established, there have been pre-existing settlements of indigenous peoples. This skill represents a knowledge of one cultural group of such peoples who have a connection to the territory claimed by your Protagonists colony. It represents a deep understanding of the people, places, and practices that are unique to that group. Use it to recall religious beliefs or folklore common to the group, local place names and languages, or unusual ruins and earthworks found in the region settled by the group.</p><p>The skill does not cover an ability to speak indigenous languages those must be purchased separately as Foreign Language skill specializations.</p>"
},
"Occult (Type)": {
"name": "Occultisme (Au choix)",
"description": "<p>L'étude du surnaturel tel qu'il est véhiculé par les traditions humaines, y compris des thèmes comme la magie, le folklore et les sociétés secrètes. Utilisez Occultisme pour examiner et déduire l'objectif d'un rituel, ou pour identifier des traditions Occultismees, des groupes, des grimoires, des outils, des symboles ou des légendes. Occultisme ne peut jamais indiquer à un Protagoniste ce qui est véritablement surnaturel et ce qui n'est que superstition ou mythologie. C'est le domaine de la compétence Inconcevable.</p>"
},
"Zero-G Maneuvering": {
"name": "Zero-G Maneuvering",
"description": "<p>The ability to gracefully move in low or zero gravity environments, and not float around as an uncoordinated tangle of flailing limbs. In a crisis situation or during a space-based pursuit this coordination can be the difference between escaping an enemy, crashing into the superstructure during a spacewalk, or embarrassingly stumbling into an asteroid crater.</p>"
},
"Artificial Intelligence": {
"name": "Artificial Intelligence",
"description": "<p>Most high-tech devices employ a degree of artificial intelligence, even if the average user has no real understanding of how these apparently “smart” gadgets perform their reasoning. This skill represents the deeper knowledge required to:</p><ul><li><p>Build an AI-powered device or system, either from first principles or using pre-written tools.</p></li><li><p>Tell whether a fragment of text, image, video, or sound was generated by an AI.</p></li><li><p>Manipulate the functioning of an AI device or system to cause it to act in a particular way.</p></li><li><p>Confound an AI with logical or ethical conundrums to cause it to freeze or halt or malfunction.</p></li><li><p>Bypass any security or guardrails placed by the makers or the AI to prohibit certain forms of use.</p></li></ul>"
},
"Chirurgury": {
"name": "Chirurgury",
"description": "<p>The treatment of an injury or abnormality, by invasive means. By comparison, First Aid keeps a patient alive until surgery is possible, and Herb Lore allows for medicinal preparations to be administered which might help with long term recovery. (See HEALING in the SRD)</p>"
}
}
}

View File

@ -170,10 +170,85 @@ i.fvtt-cthulhu-eternal {
background-position: 0%; background-position: 0%;
background-size: 100% 100%; background-size: 100% 100%;
} }
.chat-san-request ul,
.chat-lethal-damage ul {
list-style-type: none;
padding: 0;
margin: 0;
justify-content: center;
align-items: center;
}
.chat-san-request ul .result-lethal,
.chat-lethal-damage ul .result-lethal {
color: var(--color-critical-failure);
font-family: var(--font-title);
}
.chat-san-request ul .san-loose-buttons,
.chat-lethal-damage ul .san-loose-buttons {
display: flex;
justify-content: center;
align-items: center;
margin: 10px 0;
}
.chat-san-request ul .san-loose-buttons button,
.chat-lethal-damage ul .san-loose-buttons button {
margin: 0 2px;
font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1.1);
border: none;
padding: 2px 2px;
cursor: pointer;
transition: background-color 0.3s;
min-width: 3rem;
max-width: 3rem;
}
.chat-san-request ul .result-non-lethal,
.chat-lethal-damage ul .result-non-lethal {
color: var(--color-failure);
font-family: var(--font-title);
}
.chat-san-request ul li,
.chat-lethal-damage ul li {
margin: 0 10px;
font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1.02);
}
.fvtt-cthulhu-eternal .protagonist-sheet-common label { .fvtt-cthulhu-eternal .protagonist-sheet-common label {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
} }
.fvtt-cthulhu-eternal .protagonist-sheet-common .hp-unconscious {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
color: #b4710c;
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .hp-dead {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
color: #b40000;
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .protagonist-luck {
display: flex;
min-width: 8rem;
max-width: 8rem;
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .protagonist-luck .rollable:hover,
.fvtt-cthulhu-eternal .protagonist-sheet-common .protagonist-luck .rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
font-size: 0.9rem;
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .damage-bonus {
display: flex;
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .damage-bonus label {
max-width: 5rem;
min-width: 5rem;
}
.fvtt-cthulhu-eternal .protagonist-sheet-common .damage-bonus input {
max-width: 2rem;
min-width: 2rem;
}
.fvtt-cthulhu-eternal .vehicle-sheet-common label { .fvtt-cthulhu-eternal .vehicle-sheet-common label {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
@ -190,27 +265,25 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .item-sheet-common .align-top { .fvtt-cthulhu-eternal .item-sheet-common input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .item-sheet-common .shift-right { .fvtt-cthulhu-eternal .item-sheet-common .shift-right {
margin-left: 2rem; margin-left: 2rem;
} }
.fvtt-cthulhu-eternal .protagonist-content { .fvtt-cthulhu-eternal .protagonist-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
overflow: scroll; overflow: scroll;
} }
.fvtt-cthulhu-eternal .protagonist-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
}
.fvtt-cthulhu-eternal .protagonist-content input:disabled, .fvtt-cthulhu-eternal .protagonist-content input:disabled,
.fvtt-cthulhu-eternal .protagonist-content select:disabled { .fvtt-cthulhu-eternal .protagonist-content select:disabled {
background-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.2);
@ -235,6 +308,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .protagonist-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .protagonist-content .form-fields input, .fvtt-cthulhu-eternal .protagonist-content .form-fields input,
.fvtt-cthulhu-eternal .protagonist-content .form-fields select { .fvtt-cthulhu-eternal .protagonist-content .form-fields select {
text-align: center; text-align: center;
@ -246,7 +326,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .protagonist-content legend { .fvtt-cthulhu-eternal .protagonist-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -254,6 +334,38 @@ i.fvtt-cthulhu-eternal {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
} }
.fvtt-cthulhu-eternal .protagonist-content .hp-unconscious {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
color: #b4710c;
}
.fvtt-cthulhu-eternal .protagonist-content .hp-dead {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
color: #b40000;
}
.fvtt-cthulhu-eternal .protagonist-content .protagonist-luck {
display: flex;
min-width: 8rem;
max-width: 8rem;
}
.fvtt-cthulhu-eternal .protagonist-content .protagonist-luck .rollable:hover,
.fvtt-cthulhu-eternal .protagonist-content .protagonist-luck .rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
font-size: 0.9rem;
}
.fvtt-cthulhu-eternal .protagonist-content .damage-bonus {
display: flex;
}
.fvtt-cthulhu-eternal .protagonist-content .damage-bonus label {
max-width: 5rem;
min-width: 5rem;
}
.fvtt-cthulhu-eternal .protagonist-content .damage-bonus input {
max-width: 2rem;
min-width: 2rem;
}
.fvtt-cthulhu-eternal .sheet-tabs { .fvtt-cthulhu-eternal .sheet-tabs {
background-color: var(--color-light-1); background-color: var(--color-light-1);
} }
@ -291,9 +403,6 @@ i.fvtt-cthulhu-eternal {
width: 2rem; width: 2rem;
margin-left: 4px; margin-left: 4px;
} }
.fvtt-cthulhu-eternal .protagonist-main .protagonist-pc .protagonist-left .protagonist-hp .damage-bonus {
font-size: calc(var(--font-size-standard) * 0.8);
}
.fvtt-cthulhu-eternal .protagonist-main .protagonist-pc .protagonist-left .protagonist-hp .hp-separator { .fvtt-cthulhu-eternal .protagonist-main .protagonist-pc .protagonist-left .protagonist-hp .hp-separator {
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.2);
display: flex; display: flex;
@ -362,11 +471,20 @@ i.fvtt-cthulhu-eternal {
margin-left: 4px; margin-left: 4px;
} }
.fvtt-cthulhu-eternal .protagonist-main .protagonist-pc .protagonist-right .san .label-field { .fvtt-cthulhu-eternal .protagonist-main .protagonist-pc .protagonist-right .san .label-field {
font-size: 0.9rem; display: flex;
font-size: 1.05rem;
max-width: 6rem; max-width: 6rem;
min-width: 6rem; min-width: 6rem;
flex-grow: 1; flex-grow: 1;
} }
.fvtt-cthulhu-eternal .protagonist-main .protagonist-pc .protagonist-right .san .san-helplessness,
.fvtt-cthulhu-eternal .protagonist-main .protagonist-pc .protagonist-right .san .san-violence {
display: flex;
flex-grow: 1;
}
.fvtt-cthulhu-eternal .protagonist-main .protagonist-pc .protagonist-right .san .label-san-type {
margin-right: 0.5rem;
}
.fvtt-cthulhu-eternal .protagonist-main .protagonist-pc .protagonist-right .san .label-bp { .fvtt-cthulhu-eternal .protagonist-main .protagonist-pc .protagonist-right .san .label-bp {
flex-grow: 1; flex-grow: 1;
max-width: 3rem; max-width: 3rem;
@ -538,6 +656,11 @@ i.fvtt-cthulhu-eternal {
min-width: 1.2rem; min-width: 1.2rem;
max-width: 1.2rem; max-width: 1.2rem;
} }
.fvtt-cthulhu-eternal .tab.protagonist-skills .main-div .skills .skill .skill-failed-progress {
text-decoration: dashed underline;
text-underline-offset: 4px;
text-decoration-color: #465a48;
}
.fvtt-cthulhu-eternal .tab.protagonist-skills .main-div .skills .skill .name { .fvtt-cthulhu-eternal .tab.protagonist-skills .main-div .skills .skill .name {
min-width: 10rem; min-width: 10rem;
max-width: 10rem; max-width: 10rem;
@ -852,13 +975,17 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .vehicle-content { .fvtt-cthulhu-eternal .vehicle-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
overflow: scroll; overflow: scroll;
} }
.fvtt-cthulhu-eternal .vehicle-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
}
.fvtt-cthulhu-eternal .vehicle-content input:disabled, .fvtt-cthulhu-eternal .vehicle-content input:disabled,
.fvtt-cthulhu-eternal .vehicle-content select:disabled { .fvtt-cthulhu-eternal .vehicle-content select:disabled {
background-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.2);
@ -883,6 +1010,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .vehicle-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .vehicle-content .form-fields input, .fvtt-cthulhu-eternal .vehicle-content .form-fields input,
.fvtt-cthulhu-eternal .vehicle-content .form-fields select { .fvtt-cthulhu-eternal .vehicle-content .form-fields select {
text-align: center; text-align: center;
@ -894,7 +1028,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .vehicle-content legend { .fvtt-cthulhu-eternal .vehicle-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -1099,13 +1233,17 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .creature-content { .fvtt-cthulhu-eternal .creature-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
overflow: scroll; overflow: scroll;
} }
.fvtt-cthulhu-eternal .creature-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
}
.fvtt-cthulhu-eternal .creature-content input:disabled, .fvtt-cthulhu-eternal .creature-content input:disabled,
.fvtt-cthulhu-eternal .creature-content select:disabled { .fvtt-cthulhu-eternal .creature-content select:disabled {
background-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.2);
@ -1130,6 +1268,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .creature-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .creature-content .form-fields input, .fvtt-cthulhu-eternal .creature-content .form-fields input,
.fvtt-cthulhu-eternal .creature-content .form-fields select { .fvtt-cthulhu-eternal .creature-content .form-fields select {
text-align: center; text-align: center;
@ -1141,7 +1286,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .creature-content legend { .fvtt-cthulhu-eternal .creature-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -1747,11 +1892,15 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .skill-content { .fvtt-cthulhu-eternal .skill-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .skill-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
} }
.fvtt-cthulhu-eternal .skill-content input:disabled, .fvtt-cthulhu-eternal .skill-content input:disabled,
.fvtt-cthulhu-eternal .skill-content select:disabled { .fvtt-cthulhu-eternal .skill-content select:disabled {
@ -1777,6 +1926,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .skill-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .skill-content .form-fields input, .fvtt-cthulhu-eternal .skill-content .form-fields input,
.fvtt-cthulhu-eternal .skill-content .form-fields select { .fvtt-cthulhu-eternal .skill-content .form-fields select {
text-align: center; text-align: center;
@ -1788,7 +1944,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .skill-content legend { .fvtt-cthulhu-eternal .skill-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -1800,14 +1956,8 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .skill-content .align-top { .fvtt-cthulhu-eternal .skill-content input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .skill-content .shift-right { .fvtt-cthulhu-eternal .skill-content .shift-right {
margin-left: 2rem; margin-left: 2rem;
@ -1837,11 +1987,15 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .injury-content { .fvtt-cthulhu-eternal .injury-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .injury-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
} }
.fvtt-cthulhu-eternal .injury-content input:disabled, .fvtt-cthulhu-eternal .injury-content input:disabled,
.fvtt-cthulhu-eternal .injury-content select:disabled { .fvtt-cthulhu-eternal .injury-content select:disabled {
@ -1867,6 +2021,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .injury-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .injury-content .form-fields input, .fvtt-cthulhu-eternal .injury-content .form-fields input,
.fvtt-cthulhu-eternal .injury-content .form-fields select { .fvtt-cthulhu-eternal .injury-content .form-fields select {
text-align: center; text-align: center;
@ -1878,7 +2039,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .injury-content legend { .fvtt-cthulhu-eternal .injury-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -1890,14 +2051,8 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .injury-content .align-top { .fvtt-cthulhu-eternal .injury-content input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .injury-content .shift-right { .fvtt-cthulhu-eternal .injury-content .shift-right {
margin-left: 2rem; margin-left: 2rem;
@ -1927,11 +2082,15 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .weapon-content { .fvtt-cthulhu-eternal .weapon-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .weapon-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
} }
.fvtt-cthulhu-eternal .weapon-content input:disabled, .fvtt-cthulhu-eternal .weapon-content input:disabled,
.fvtt-cthulhu-eternal .weapon-content select:disabled { .fvtt-cthulhu-eternal .weapon-content select:disabled {
@ -1957,6 +2116,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .weapon-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .weapon-content .form-fields input, .fvtt-cthulhu-eternal .weapon-content .form-fields input,
.fvtt-cthulhu-eternal .weapon-content .form-fields select { .fvtt-cthulhu-eternal .weapon-content .form-fields select {
text-align: center; text-align: center;
@ -1968,7 +2134,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .weapon-content legend { .fvtt-cthulhu-eternal .weapon-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -1980,14 +2146,8 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .weapon-content .align-top { .fvtt-cthulhu-eternal .weapon-content input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .weapon-content .shift-right { .fvtt-cthulhu-eternal .weapon-content .shift-right {
margin-left: 2rem; margin-left: 2rem;
@ -2009,11 +2169,15 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .armor-content { .fvtt-cthulhu-eternal .armor-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .armor-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
} }
.fvtt-cthulhu-eternal .armor-content input:disabled, .fvtt-cthulhu-eternal .armor-content input:disabled,
.fvtt-cthulhu-eternal .armor-content select:disabled { .fvtt-cthulhu-eternal .armor-content select:disabled {
@ -2039,6 +2203,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .armor-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .armor-content .form-fields input, .fvtt-cthulhu-eternal .armor-content .form-fields input,
.fvtt-cthulhu-eternal .armor-content .form-fields select { .fvtt-cthulhu-eternal .armor-content .form-fields select {
text-align: center; text-align: center;
@ -2050,7 +2221,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .armor-content legend { .fvtt-cthulhu-eternal .armor-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -2062,14 +2233,8 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .armor-content .align-top { .fvtt-cthulhu-eternal .armor-content input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .armor-content .shift-right { .fvtt-cthulhu-eternal .armor-content .shift-right {
margin-left: 2rem; margin-left: 2rem;
@ -2091,11 +2256,15 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .motivation-content { .fvtt-cthulhu-eternal .motivation-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .motivation-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
} }
.fvtt-cthulhu-eternal .motivation-content input:disabled, .fvtt-cthulhu-eternal .motivation-content input:disabled,
.fvtt-cthulhu-eternal .motivation-content select:disabled { .fvtt-cthulhu-eternal .motivation-content select:disabled {
@ -2121,6 +2290,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .motivation-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .motivation-content .form-fields input, .fvtt-cthulhu-eternal .motivation-content .form-fields input,
.fvtt-cthulhu-eternal .motivation-content .form-fields select { .fvtt-cthulhu-eternal .motivation-content .form-fields select {
text-align: center; text-align: center;
@ -2132,7 +2308,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .motivation-content legend { .fvtt-cthulhu-eternal .motivation-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -2144,14 +2320,8 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .motivation-content .align-top { .fvtt-cthulhu-eternal .motivation-content input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .motivation-content .shift-right { .fvtt-cthulhu-eternal .motivation-content .shift-right {
margin-left: 2rem; margin-left: 2rem;
@ -2173,11 +2343,15 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .mentaldisorder-content { .fvtt-cthulhu-eternal .mentaldisorder-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .mentaldisorder-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
} }
.fvtt-cthulhu-eternal .mentaldisorder-content input:disabled, .fvtt-cthulhu-eternal .mentaldisorder-content input:disabled,
.fvtt-cthulhu-eternal .mentaldisorder-content select:disabled { .fvtt-cthulhu-eternal .mentaldisorder-content select:disabled {
@ -2203,6 +2377,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .mentaldisorder-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .mentaldisorder-content .form-fields input, .fvtt-cthulhu-eternal .mentaldisorder-content .form-fields input,
.fvtt-cthulhu-eternal .mentaldisorder-content .form-fields select { .fvtt-cthulhu-eternal .mentaldisorder-content .form-fields select {
text-align: center; text-align: center;
@ -2214,7 +2395,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .mentaldisorder-content legend { .fvtt-cthulhu-eternal .mentaldisorder-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -2226,14 +2407,8 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .mentaldisorder-content .align-top { .fvtt-cthulhu-eternal .mentaldisorder-content input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .mentaldisorder-content .shift-right { .fvtt-cthulhu-eternal .mentaldisorder-content .shift-right {
margin-left: 2rem; margin-left: 2rem;
@ -2255,11 +2430,15 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .bond-content { .fvtt-cthulhu-eternal .bond-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .bond-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
} }
.fvtt-cthulhu-eternal .bond-content input:disabled, .fvtt-cthulhu-eternal .bond-content input:disabled,
.fvtt-cthulhu-eternal .bond-content select:disabled { .fvtt-cthulhu-eternal .bond-content select:disabled {
@ -2285,6 +2464,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .bond-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .bond-content .form-fields input, .fvtt-cthulhu-eternal .bond-content .form-fields input,
.fvtt-cthulhu-eternal .bond-content .form-fields select { .fvtt-cthulhu-eternal .bond-content .form-fields select {
text-align: center; text-align: center;
@ -2296,7 +2482,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .bond-content legend { .fvtt-cthulhu-eternal .bond-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -2308,14 +2494,8 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .bond-content .align-top { .fvtt-cthulhu-eternal .bond-content input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .bond-content .shift-right { .fvtt-cthulhu-eternal .bond-content .shift-right {
margin-left: 2rem; margin-left: 2rem;
@ -2353,11 +2533,15 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .gear-content { .fvtt-cthulhu-eternal .gear-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .gear-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
} }
.fvtt-cthulhu-eternal .gear-content input:disabled, .fvtt-cthulhu-eternal .gear-content input:disabled,
.fvtt-cthulhu-eternal .gear-content select:disabled { .fvtt-cthulhu-eternal .gear-content select:disabled {
@ -2383,6 +2567,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .gear-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .gear-content .form-fields input, .fvtt-cthulhu-eternal .gear-content .form-fields input,
.fvtt-cthulhu-eternal .gear-content .form-fields select { .fvtt-cthulhu-eternal .gear-content .form-fields select {
text-align: center; text-align: center;
@ -2394,7 +2585,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .gear-content legend { .fvtt-cthulhu-eternal .gear-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -2406,14 +2597,8 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .gear-content .align-top { .fvtt-cthulhu-eternal .gear-content input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .gear-content .shift-right { .fvtt-cthulhu-eternal .gear-content .shift-right {
margin-left: 2rem; margin-left: 2rem;
@ -2435,11 +2620,15 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .arcane-content { .fvtt-cthulhu-eternal .arcane-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .arcane-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
} }
.fvtt-cthulhu-eternal .arcane-content input:disabled, .fvtt-cthulhu-eternal .arcane-content input:disabled,
.fvtt-cthulhu-eternal .arcane-content select:disabled { .fvtt-cthulhu-eternal .arcane-content select:disabled {
@ -2465,6 +2654,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .arcane-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .arcane-content .form-fields input, .fvtt-cthulhu-eternal .arcane-content .form-fields input,
.fvtt-cthulhu-eternal .arcane-content .form-fields select { .fvtt-cthulhu-eternal .arcane-content .form-fields select {
text-align: center; text-align: center;
@ -2476,7 +2672,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .arcane-content legend { .fvtt-cthulhu-eternal .arcane-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -2488,14 +2684,8 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .arcane-content .align-top { .fvtt-cthulhu-eternal .arcane-content input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .arcane-content .shift-right { .fvtt-cthulhu-eternal .arcane-content .shift-right {
margin-left: 2rem; margin-left: 2rem;
@ -2517,11 +2707,15 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .archetype-content { .fvtt-cthulhu-eternal .archetype-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .archetype-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
} }
.fvtt-cthulhu-eternal .archetype-content input:disabled, .fvtt-cthulhu-eternal .archetype-content input:disabled,
.fvtt-cthulhu-eternal .archetype-content select:disabled { .fvtt-cthulhu-eternal .archetype-content select:disabled {
@ -2547,6 +2741,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .archetype-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .archetype-content .form-fields input, .fvtt-cthulhu-eternal .archetype-content .form-fields input,
.fvtt-cthulhu-eternal .archetype-content .form-fields select { .fvtt-cthulhu-eternal .archetype-content .form-fields select {
text-align: center; text-align: center;
@ -2558,7 +2759,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .archetype-content legend { .fvtt-cthulhu-eternal .archetype-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -2570,14 +2771,8 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .archetype-content .align-top { .fvtt-cthulhu-eternal .archetype-content input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .archetype-content .shift-right { .fvtt-cthulhu-eternal .archetype-content .shift-right {
margin-left: 2rem; margin-left: 2rem;
@ -2599,11 +2794,15 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .ritual-content { .fvtt-cthulhu-eternal .ritual-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .ritual-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
} }
.fvtt-cthulhu-eternal .ritual-content input:disabled, .fvtt-cthulhu-eternal .ritual-content input:disabled,
.fvtt-cthulhu-eternal .ritual-content select:disabled { .fvtt-cthulhu-eternal .ritual-content select:disabled {
@ -2629,6 +2828,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .ritual-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .ritual-content .form-fields input, .fvtt-cthulhu-eternal .ritual-content .form-fields input,
.fvtt-cthulhu-eternal .ritual-content .form-fields select { .fvtt-cthulhu-eternal .ritual-content .form-fields select {
text-align: center; text-align: center;
@ -2640,7 +2846,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .ritual-content legend { .fvtt-cthulhu-eternal .ritual-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -2652,14 +2858,8 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .ritual-content .align-top { .fvtt-cthulhu-eternal .ritual-content input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .ritual-content .shift-right { .fvtt-cthulhu-eternal .ritual-content .shift-right {
margin-left: 2rem; margin-left: 2rem;
@ -2689,11 +2889,15 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .tome-content { .fvtt-cthulhu-eternal .tome-content {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
}
.fvtt-cthulhu-eternal .tome-content .sheet-tabs a {
color: rgba(32, 31, 31, 0.8);
} }
.fvtt-cthulhu-eternal .tome-content input:disabled, .fvtt-cthulhu-eternal .tome-content input:disabled,
.fvtt-cthulhu-eternal .tome-content select:disabled { .fvtt-cthulhu-eternal .tome-content select:disabled {
@ -2719,6 +2923,13 @@ i.fvtt-cthulhu-eternal {
margin-bottom: 4px; margin-bottom: 4px;
border-radius: 4px; border-radius: 4px;
} }
.fvtt-cthulhu-eternal .tome-content .form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.fvtt-cthulhu-eternal .tome-content .form-fields input, .fvtt-cthulhu-eternal .tome-content .form-fields input,
.fvtt-cthulhu-eternal .tome-content .form-fields select { .fvtt-cthulhu-eternal .tome-content .form-fields select {
text-align: center; text-align: center;
@ -2730,7 +2941,7 @@ i.fvtt-cthulhu-eternal {
} }
.fvtt-cthulhu-eternal .tome-content legend { .fvtt-cthulhu-eternal .tome-content legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -2742,14 +2953,8 @@ i.fvtt-cthulhu-eternal {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.fvtt-cthulhu-eternal .tome-content .align-top { .fvtt-cthulhu-eternal .tome-content input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.fvtt-cthulhu-eternal .tome-content .shift-right { .fvtt-cthulhu-eternal .tome-content .shift-right {
margin-left: 2rem; margin-left: 2rem;
@ -2859,7 +3064,17 @@ i.fvtt-cthulhu-eternal {
} }
.dice-roll .intro-chat .intro-right ul .nudge-roll { .dice-roll .intro-chat .intro-right ul .nudge-roll {
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1);
margin-left: 4rem; margin-left: 2rem;
display: none;
}
.dice-roll .intro-chat .intro-right ul .healing-roll {
font-size: calc(var(--font-size-standard) * 1);
margin-left: 2rem;
display: none;
}
.dice-roll .intro-chat .intro-right ul .roll-damage {
font-size: calc(var(--font-size-standard) * 1);
margin-left: 2rem;
display: none; display: none;
} }
.dice-roll .intro-chat .intro-right ul .result-success { .dice-roll .intro-chat .intro-right ul .result-success {

View File

@ -113,11 +113,26 @@ function preLocalizeConfig() {
Hooks.once("ready", function () { Hooks.once("ready", function () {
console.info("CTHULHU ETERNAL | Ready") console.info("CTHULHU ETERNAL | Ready")
if (typeof Babele !== 'undefined') {
console.info("CTHULHU ETERNAL | Babele detected, setting up translations")
Babele.get().setSystemTranslationsDir("compendiums");
}
if (game.user.isGM) { if (game.user.isGM) {
ClassCounter.registerUsageCount("fvtt-cthulhu-eternal", {}) ClassCounter.registerUsageCount("fvtt-cthulhu-eternal", {})
} }
preLocalizeConfig() preLocalizeConfig()
if (game.user.isGM && game.i18n.lang === 'fr' && typeof Babele === 'undefined') {
ChatMessage.create({
user: game.user.id,
whisper: [game.user.id],
content: `<div ><span class="">
<strong>ATTENTION ! Français détecté, mais le module Babele n'est pas installé !<br>Installez Babele pour bénéficier de la traduction des compendiums`
})
}
}) })
Hooks.on("renderChatMessageHTML", (message, html, data) => { Hooks.on("renderChatMessageHTML", (message, html, data) => {
@ -126,15 +141,28 @@ Hooks.on("renderChatMessageHTML", (message, html, data) => {
$(html).find(".nudge-roll").each((i, btn) => { $(html).find(".nudge-roll").each((i, btn) => {
btn.style.display = "inline" btn.style.display = "inline"
}) })
$(html).find(".damage-roll").each((i, btn) => {
btn.style.display = "inline"
})
$(html).find(".healing-roll").each((i, btn) => {
btn.style.display = "inline"
})
$(html).find(".nudge-roll").click((event) => { $(html).find(".nudge-roll").click((event) => {
CthulhuEternalUtils.nudgeRoll(message) CthulhuEternalUtils.nudgeRoll(message)
}) })
} $(html).find(".damage-roll").click((event) => {
CthulhuEternalUtils.damageRoll(message)
}) })
$(html).find(".healing-roll").click((event) => {
// Dice-so-nice Ready CthulhuEternalUtils.healingRoll(message)
Hooks.once("diceSoNiceReady", (dice3d) => { })
//configureDiceSoNice(dice3d) $(html).find(".san-loose").click((event) => {
CthulhuEternalUtils.applySANLoss(message, event)
})
$(html).find(".san-type").click((event) => {
CthulhuEternalUtils.applySANType(message, event)
})
}
}) })
/** /**

View File

@ -57,6 +57,12 @@
"label": "Storage" "label": "Storage"
} }
}, },
"hp": {
"label": "HP",
"stunned": {
"label": "Stun."
}
},
"biodata": { "biodata": {
"feature": { "feature": {
"label": "Feature" "label": "Feature"
@ -207,6 +213,12 @@
"RangedWeapons": "Ranged Weapons", "RangedWeapons": "Ranged Weapons",
"FirearmsBeams": "Firearms / Beam Weapons", "FirearmsBeams": "Firearms / Beam Weapons",
"FIELDS": { "FIELDS": {
"isHealing": {
"label": "Healing skill"
},
"healingFormula": {
"label": "Healing PV roll"
},
"isAdversary": { "isAdversary": {
"label": "Adversary" "label": "Adversary"
}, },
@ -278,6 +290,15 @@
"directSkillValue": { "directSkillValue": {
"label": "Direct skill value" "label": "Direct skill value"
}, },
"ammo": {
"label": "Ammo",
"value": {
"label": "Ammo value"
},
"max": {
"label": "Max ammo"
}
},
"state": { "state": {
"label": "State" "label": "State"
}, },
@ -495,6 +516,36 @@
} }
}, },
"Label": { "Label": {
"sanLoss5": "You suffered a SAN loss of 5+ ({value}) : you suffer a temporary insanity (Flee, Submit, Struggle or understanding the Unnatural).",
"sanViolenceReset": "The violence SAN loss count has been reset.",
"sanHelplessnessReset": "The helplessness SAN loss count has been reset.",
"sanLoss": "You suffer a SAN loss",
"selectSANType": "Select the type of SAN loss with the buttons below.",
"Violence" : "Violence",
"Helplessness": "Helplessness",
"Unnatural": "Unnatural",
"sanLossViolence": "You suffered a SAN loss due to violence : violence progress path has evolved.",
"sanLossHelplessness": "You suffered a SAN loss due to helplessness : helplessness progress path has evolved.",
"adaptedToViolence": "You are now : Adapted to Violence.",
"adaptedToViolenceShort": "Adapted to Violence",
"adaptedToHelplessness": "You are now : Adapted to Helplessness.",
"adaptedToHelplessnessShort": "Adapted to Helplessness",
"SANTest": "You just rolled a SAN test : please select the SAN loss with the buttons below.",
"breakingPointReached": "Your SAN has reached your Breaking Point : you suffer a disorder (to be discussed with the GM). Reset the BP to its new value.",
"rollNudge": "Roll Nudge",
"rollDamage": "Roll Damage",
"rollHealing": "Roll Healing",
"result": "Result",
"damageMessage": "Damage to apply",
"lethalityRoll": "Lethality Roll",
"lethalityWounded": "The target is lethally wounded (HP = 0)",
"lethalityNotWounded": "The target is not lethally wounded, apply damage",
"damageRoll": "Damage Roll",
"vehicle":"Vehicle",
"Weapon": "Weapon",
"ZeroWP": "Zero WP : Automatic failure (ie 0%)",
"LowWP": "Low WP",
"Exhausted": "Exhausted",
"creature": "Creature", "creature": "Creature",
"Rituals": "Rituals", "Rituals": "Rituals",
"Tomes": "Tomes", "Tomes": "Tomes",
@ -606,7 +657,28 @@
"newArchetype": "New Archetype", "newArchetype": "New Archetype",
"newSkill": "New Skill", "newSkill": "New Skill",
"newTome": "New Tome", "newTome": "New Tome",
"newRitual": "New Ritual" "newRitual": "New Ritual",
"titleResource": "Resource Roll",
"titleStandard": "Standard Roll",
"wpCostLabel": "Willpower points cost",
"noActorFound": "No actor found",
"skillFailed": "Skill roll failed : the skill has been ticked for progression",
"rollProgress": "Roll Progress",
"skillProgress": "Skill Progress",
"unconscious": "Unconscious",
"dying": "Dying",
"stunnedWarning": "The Protagonist is stunned. He cannot act until he recovers by successfully rolling a CONx5 check.",
"deadWarning": "The Protagonist is dead. He cannot act until he is revived by a successful First Aid roll.",
"unconsciousWarning": "The Protagonist is unconscious. He cannot act until he has at least 3 HP.",
"Luck": "Luck",
"titleLuck": "Luck Roll",
"healingRoll": "Healing Roll succes, the target gains",
"healingRollFailure": "Healing roll failed ! The target looses",
"killRadius": "Kill Radius",
"killRadiusInfo": "All targets within the kill radius suffer the damage",
"ammoUsed": "Ammo used",
"lethalityLethal": "Lethal !!",
"lethalityNotLethal": "Non-Lethal"
}, },
"ChatMessage": { "ChatMessage": {
"exhausted": "Your protagonist is exhausted. He loses [[/r 1d6]] Willpower Points." "exhausted": "Your protagonist is exhausted. He loses [[/r 1d6]] Willpower Points."
@ -626,7 +698,8 @@
}, },
"Tooltip": { "Tooltip": {
"sanBP": ">5 SAN lost in one roll, temporary insanity. If SAN less reaches BP = a Disorder unconscious Breaking and AND reset BP.", "sanBP": ">5 SAN lost in one roll, temporary insanity. If SAN less reaches BP = a Disorder unconscious Breaking and AND reset BP.",
"setBP": "Set the current Breaking Point based on the current SAN value" "setBP": "Set the current Breaking Point based on the current SAN value",
"addBond": "Add a new Bond"
}, },
"Chat": { "Chat": {
}, },
@ -634,7 +707,12 @@
"NoWeaponSkill": "No weapon skill found for this weapon. Check Weapon definition or available skills/era", "NoWeaponSkill": "No weapon skill found for this weapon. Check Weapon definition or available skills/era",
"NoWeaponType": "No weapon type found for this weapon subtype. Check Weapon definition or available skills/era", "NoWeaponType": "No weapon type found for this weapon subtype. Check Weapon definition or available skills/era",
"skillAlreadyExists": "Skill already exists", "skillAlreadyExists": "Skill already exists",
"WrongEra": "The era of the item does not match the ear of the system" "WrongEra": "The era of the item does not match the ear of the system",
"NoSelectiveFireChoices": "Not enough ammo fo Selective Fire choices for this weapon.",
"NoAmmo": "No more ammo for this weapon. ",
"noRollDataFound": "No roll data found",
"noActorFound": "No actor found for this item.",
"noSanLossFound": "No SAN loss value found."
} }
} }
} }

720
lang/fr.json Normal file
View File

@ -0,0 +1,720 @@
{
"TYPES": {
"Actor": {
"protagonist": "Protagoniste",
"vehicle": "Véhicule",
"creature": "Créature"
},
"Item": {
"skill": "Compétence",
"weapon": "Arme",
"armor": "Armure",
"injury": "Blessure",
"gear": "Matériel",
"motivation": "Motivation",
"mentaldisorder": "Trouble mental",
"bond": "Attache" ,
"arcane": "Arcane",
"archetype": "Archétype",
"ritual": "Rituel",
"tome": "Ouvrage"
}
},
"CTHULHUETERNAL": {
"Settings": {
"era": "Sélectionnez l'époque de votre jeu",
"eraHint": "L'époque détermine les compétences, les armes et les équipements disponibles pour votre protagoniste.",
"Common": "Commun",
"Classical": "Classique",
"Medieval": "Médiéval",
"Revolution": "Révolution",
"Modern": "Moderne",
"Future": "Futur",
"Jazz": "Jazz",
"WW1": "Première Guerre Mondiale",
"WW2": "Seconde Guerre Mondiale",
"ColdWar": "Guerre Froide",
"Victorian": "Victorienne",
"AgeOfSail": "Âge de la voile",
"PostApo": "Post-Apocalyptique"
},
"Protagonist": {
"FIELDS": {
"damageBonus": {
"label": "Bonus D."
},
"hp": {
"label": "HP",
"stunned": {
"label": "Etourdi"
}
},
"resources": {
"permanentRating": {
"label": "Degré Permanent"
},
"hand": {
"label": "A portée de main"
},
"stowed": {
"label": "Rangé"
},
"storage": {
"label": "Stocké"
}
},
"biodata": {
"feature": {
"label": "Feature"
},
"adaptedToViolence": {
"label": "Habitué à la violence"
},
"adaptedToHelplessness": {
"label": "Habitué à l'impuissance"
},
"harshness": {
"label": "Enfance"
},
"age": {
"label": "Age"
},
"gender": {
"label": "Genre"
},
"hair": {
"label": "Cheveux"
},
"eyes": {
"label": "Yeux"
},
"height": {
"label": "Taille"
},
"home": {
"label": "Maison"
},
"birthplace": {
"label": "Lieu de naissance"
},
"label": "Biodata"
},
"characteristics:": {
"str": {
"label": "Force"
},
"dex": {
"label": "Dextérité"
},
"int": {
"label": "Intelligence"
},
"pow": {
"label": "Pouvoir"
},
"con": {
"label": "Constitution"
},
"char": {
"label": "Charisme"
}
}
}
},
"Creature": {
"FIELDS": {
"damageBonus": {
"label": "Bonus D."
},
"resources": {
"permanentRating": {
"label": "Valeur permanente"
},
"hand": {
"label": "A portée de main"
},
"stowed": {
"label": "Rangé"
},
"storage": {
"label": "Stocké"
}
},
"biodata": {
"feature": {
"label": "Feature"
},
"adaptedToViolence": {
"label": "Habitué à la violence"
},
"adaptedToHelplessness": {
"label": "Habitué à l'impuissance"
},
"harshness": {
"label": "Dureté"
},
"age": {
"label": "Age"
},
"gender": {
"label": "Genre"
},
"hair": {
"label": "Cheveux"
},
"eyes": {
"label": "Yeux"
},
"height": {
"label": "Taille"
},
"home": {
"label": "Maison"
},
"birthplace": {
"label": "Lieu de naissance"
},
"label": "Biodata"
},
"characteristics:": {
"str": {
"label": "Force"
},
"dex": {
"label": "Dextérité"
},
"int": {
"label": "Intelligence"
},
"pow": {
"label": "Pouvoir"
},
"con": {
"label": "Constitution"
},
"char": {
"label": "Charisme"
}
}
}
},
"Insanity": {
"None": "Aucune",
"Flee": "Fuir",
"Submit": "Se Soumettre",
"Struggle": "Lutter"
},
"Skill": {
"Unnatural": "Inconcevable",
"Melee": "Armes de mêlée",
"Firearms": "Armes à feu",
"Athletics": "Athlétisme",
"UnarmedCombat": "Combat à mains nues",
"RangedWeapons": "Armes de tir",
"FirearmsBeams": "Armes à feu / à rayons",
"FIELDS": {
"isHealing": {
"label": "Compétence de soin"
},
"healingFormula": {
"label": "PV soignés"
},
"isAdversary": {
"label": "Adversaire"
},
"settings": {
"label": "Epoque"
},
"diceEvolved": {
"label": "Peut progresser sur un échec"
},
"bonus" :{
"label": "Bonus"
},
"base": {
"label": "Base"
},
"rollFailed": {
"label": "Jet échoué"
},
"description": {
"label": "Description"
}
}
},
"Gear": {
"FIELDS": {
"resourceLevel": {
"label": "Niveau de ressource"
},
"state": {
"label": "Etat"
},
"settings": {
"label": "Epoque"
}
}
},
"Injury": {
"FIELDS": {
"description": {
"label": "Description"
}
}
},
"Weapon": {
"WeaponType": {
"melee": "Mêlée",
"rangedprimitive": "A distance - Primitive",
"rangedthrown": "A distance - Lancer",
"rangedfirearm": "A distance - Arme à feu",
"unarmed": "Non armé"
},
"WeaponSubtype": {
"basicfirearm": "Arme à feu de base",
"pistol": "Pistolet",
"shotgun": "Shotgun",
"submachinegun": "Mitrailleuse",
"riflecarabine": "Fusil/Carabine"
},
"SelectiveFire": {
"shortburst": "Rafale courte",
"longburst": "Rafale longue",
"shortspray": "Barrage court",
"longspray": "Barrage long"
},
"FIELDS": {
"ammo": {
"label": "Munitions",
"value": {
"label": "Munitions (actuelles)"
},
"max": {
"label": "Munitions (max)"
}
},
"hasDirectSkill": {
"label": "Compétence intégrée"
},
"directSkillValue": {
"label": "Valeur de la compétence intégrée"
},
"state": {
"label": "Etat"
},
"settings": {
"label": "Epoque"
},
"weaponType": {
"label": "Type"
},
"weaponSubtype": {
"label": "Sous-type d'arme à feu"
},
"hasSelectiveFire": {
"label": "Tir sélectif ?"
},
"applyDamageBonus": {
"label": "Ajouer le bonus de dégâts ?"
},
"damage": {
"label": "Dégats"
},
"description": {
"label": "Description"
},
"baseRange": {
"label": "Portée de base"
},
"rangeUnit": {
"label": "Untité de portée"
},
"killRadius": {
"label": "Rayon de destruction"
},
"lethality": {
"label": "Lethalité"
},
"resourceLevel": {
"label": "Niveau de ressource"
},
"armorPiercing": {
"label": "Pénétration d'armure"
}
}
},
"Armor": {
"FIELDS": {
"settings": {
"label": "Epoque"
},
"protection": {
"label": "Protection"
},
"resourceLevel": {
"label": "Niveau de ressource"
}
}
},
"Motivation": {
"FIELDS": {
"description": {
"label": "Description"
}
}
},
"Vehicle": {
"FIELDS": {
"description": {
"label": "Description"
},
"notes": {
"label": "Notes"
},
"surfaceSpeed": {
"label": "Vitesse de surface"
},
"airSpeed": {
"label": "Vitesse aérienne"
},
"armor": {
"label": "Armure"
},
"settings": {
"label": "Epoque"
},
"crew": {
"label": "Équipage"
},
"state": {
"label": "Etat"
}
}
},
"MentalDisorder": {
"FIELDS": {
"description": {
"label": "Description"
},
"cured": {
"label": "Soigné"
}
}
},
"Bond": {
"FIELDS": {
"bondType": {
"label": "Type"
},
"description": {
"label": "Description"
},
"value": {
"label": "Valeur"
}
}
},
"Arcane": {
"FIELDS": {
"value": {
"label": "Valeur"
},
"description": {
"label": "Description"
}
}
},
"Archetype": {
"FIELDS": {
"settings": {
"label": "Epoque"
},
"value": {
"label": "Valeur"
},
"description": {
"label": "Description"
}
}
},
"BondType": {
"individual": "Individu",
"community": "Groupe"
},
"Harshness": {
"normal": "Ordinaire",
"harsh": "Difficile",
"veryHarsh": "Très difficile"
},
"Tome": {
"FIELDS": {
"language": {
"label": "Language"
},
"settings": {
"label": "Epoque"
},
"studyTime": {
"label": "Temps d'étude"
},
"sanLoss": {
"label": "Perte de SAN"
},
"unnaturalSkill": {
"label": "Compétence Inconcevable"
},
"rituals": {
"label": "Rituels"
},
"minimumEra": {
"label": "Epoque minimum"
},
"otherBenefits": {
"label": "Autres avantages"
},
"creationDate": {
"label": "Date de création"
},
"description": {
"label": "Description"
}
},
"Label": {
"tomeDetails": "Détails de l'ouvrage"
},
"Button": {
"addRitual": "Ajouter un Rituel"
}
},
"Ritual": {
"Simple": "Simple",
"Complex": "Complexe",
"Elaborate": "Elaboré",
"Difficult": "Difficile",
"FIELDS": {
"ritualType": {
"label": "Type"
},
"studyTime": {
"label": "Temps d'étude"
},
"studySAN": {
"label": "Perte de SAN à l'étude"
},
"activationTime": {
"label": "Durée d'activation"
},
"activationSAN": {
"label": "Perte de SAN à l'activation"
},
"activationWP": {
"label": "Perte de PVO à l'activation"
},
"description": {
"label": "Description"
}
}
},
"Label": {
"sanLoss5": "Perte de SAN de 5+ ({value}) : vous souffrez d'une folie temporaire (Fuite, Soumission, Lutte ou compréhension de l'Inconcevable).",
"sanViolenceReset": "Le décompte des pertes de SAN de violence a été réinitialisé.",
"sanHelplessnessReset": "Le décompte des pertes de SAN d'impuissance a été réinitialisé.",
"sanLoss": "Perte de SAN",
"noSanLoss": "Aucune perte de SAN",
"sanLossInfo": "Sélectionnez la perte de SAN à l'aide des boutons ci-dessous.",
"selectSANType": "Sélectionnez le type de perte de SAN à l'aide des boutons ci-dessous.",
"sanLossViolence": "Vous avez subi une perte de SAN due à la violence : le chemin de progression de la violence a évolué.",
"sanLossHelplessness": "Vous avez subi une perte de SAN due à l'impuissance : le chemin de progression de l'impuissance a évolué.",
"adaptedToViolence": "Vous êtes maintenant : Habitué à la violence",
"adaptedToViolenceShort": "Habitué à la violence",
"adaptedToHelplessness": "Vous êtes maintenant : Habitué à l'impuissance",
"adaptedToHelplessnessShort": "Habitué à l'impuissance",
"SANTest": "Vous venez de faire un jet de SAN : selectionnez la perte de SAN à l'aide des boutons ci-dessous.",
"breakingPointReached": "Vous avez atteint votre Point de Rupture (PR) : vous souffrez d'un trouble mental. Vous devez re-initialiser votre PR à l'aide du bouton disponible dans la section SAN de la fiche de PJ.",
"Violence" : "Violence",
"Helplessness": "Impuissance",
"Unnatural": "Inconcevable",
"rollNudge": "Modifier le jet",
"rollDamage": "Jet de dégâts",
"rollHealing": "Jet de soin",
"result": "Resultat",
"damageMessage": "Dégâts à appliquer",
"lethalityRoll": "Jet de Létalité",
"lethalityWounded": "La cible est mortellement blessée (PV = 0)",
"lethalityNotWounded": "La cible n'est PAS mortellement blessée, encaissement des dégâts",
"damageRoll": "Jet de dégâts",
"vehicle":"Véhicule",
"Weapon": "Arme",
"ZeroWP": "PVO à 0 : Echec automatique (ie 0%)",
"LowWP": "PVO faibles",
"Exhausted": "Epuisé",
"creature": "Créature",
"Rituals": "Rituels",
"Tomes": "Ouvrages",
"otherBenefits": "Autres avantages",
"Unarmed": "Désarmé",
"Cured": "Soigné",
"Uncured": "Non soigné",
"nudgedRoll": "Modifier le jeu",
"selectNewValue": "Sélectionner une nouvelle valeur",
"wpCost": "Cout en PVO",
"Hand": "A portée de main",
"Stowed": "Rangé",
"Storage": "Stocké",
"resourceRating": "Niveau de ressource",
"Resources": "Ressources",
"multiplier": "Multiplicateur",
"setBP": "Positionner le PR",
"Vehicle": "Véhicule",
"Speed": "Vitesse",
"Slow": "Lent",
"Fast": "Rapide",
"Average": "Moyen",
"None": "Aucun",
"Pristine": "Neuf",
"Worn": "Usé",
"Junk": "Défectueux",
"resources": "Ressources",
"resourceChecks": "Jet de ressources",
"sanBPShort": "PR",
"tempInsanity": "Folie Temporaire",
"distinguishingFeatures": "Eléments distinctifs",
"titleSkill": "Jet de compétence",
"titleWeapon": "Jet d'arme",
"titleCharacteristic": "Jet de caractéristique",
"titleSAN": "Jet de SAN",
"biodata": "Biodata",
"skill": "Compétence",
"modifier": "Modificateur",
"rollView": "Vue du jet",
"protagonist": "Protagoniste",
"characteristics": "Caractéristiques",
"description": "Description",
"strShort": "FOR",
"dexShort": "DEX",
"intShort": "INT",
"powShort": "POU",
"conShort": "CON",
"chaShort": "CHA",
"strLong": "Force",
"dexLong": "Dextérité",
"intLong": "Intelligence",
"powLong": "Pouvoir",
"conLong": "Constitution",
"chaLong": "Charisme",
"total": "Total",
"skills": "Compétences",
"gear": "Matériel",
"damage": "Dégâts",
"resource": "Ressource",
"armor": "Armure",
"malus": "Malus",
"experience": "Expérience",
"maximum": "Maximum",
"equipment": "Equipement",
"biography": "Biographie",
"notes": "Notes",
"weapons": "Armes",
"HP": "PV",
"SAN": "SAN",
"current": "Actuel",
"max": "Max",
"recovery": "Récup.",
"violence" : "Violence",
"helplessness": "Impuissance",
"breakingPoint": "Point de rupture",
"willpower": "Volonté",
"totalScore": "Score total",
"exhausted": "Epuisé",
"skillRoll": "Jet de compétence",
"charRoll": "Jet de caractéristique",
"finalScore": "Score final",
"failure": "Echec",
"success": "Succès",
"criticalSuccess": "Succès critique",
"criticalFailure": "Echec critique",
"Characteristic": "Caractéristique",
"characteristic": "Caractéristique",
"targetScore": "Score cible",
"gears": "Matériels",
"armors": "Armures",
"motivations": "Motivations",
"mentalDisorders": "Troubles mentaux",
"bonds": "Attaches",
"arcane": "Arcane",
"archetypes": "Archétypes",
"bondType": "Type d'attache",
"injuries": "Blessures",
"damageShort": "Dg",
"status": "Status",
"mentaldisorders": "Troubles mentaux",
"newBond": "Nouvelle Attache",
"newMotivation": "Nouvelle Motivation",
"newMentalDisorder": "Nouveau Trouble mental",
"newWeapon": "Nouvelle Arme",
"newArmor": "Nouvelle Armure",
"newInjury": "Nouvelle Blessure",
"newGear": "Nouvel Equipement",
"newArcane": "Nouvel Arcane",
"newArchetype": "Nouvel Archétype",
"newSkill": "Nouvelle Compétence",
"newTome": "Nouvel Ouvrage",
"newRitual": "Nouveau Rituel",
"titleResource": "Jet de Ressource",
"titleStandard": "Jet standard",
"wpCostLabel": "Coût en PVO",
"noActorFound": "Aucun protagoniste trouvé",
"skillFailed": "Jet de compétence échoué : la compétence a été marquée comme pouvant progresser.",
"rollProgress": "Jet de progression",
"skillProgress": "Progression de compétence",
"unconscious": "Inconscient",
"dying": "Mourant",
"stunnedWarning": "Votre protagoniste est étourdi. Il ne peut pas agir tant qu'il n'a pas réussi un test de CON x 5.",
"deadWarning": "Votre protagoniste est mourrant. Il mourra s'il n'est pas soigné dans les {con} minutes",
"unconsciousWarning": "Votre protagoniste est inconscient. Il ne peut pas agir tant qu'il n'a pas atteint 3 PV.",
"Luck": "Chance",
"titleLuck": "Jet de Chance",
"healingRoll": "Jet de soin, PV soignés",
"healingRollFailure": "Jet de soin échoué critique, PV perdus",
"killRadius": "Rayon de mortlalité",
"killRadiusInfo": "Si la cible est dans le rayon de mortalité, elle subit les dommages.",
"ammoUsed": "Munitions utilisées",
"lethalityLethal": "Létal !!",
"lethalityNotLethal": "Non létal"
},
"ChatMessage": {
"exhausted": "Votre protagoniste est épuisé. Il perd [[/r 1d6]] Points de Volonté."
},
"Edit": "Editer",
"Delete": "Supprimer",
"ToggleSheet": "Baculer la fiche",
"Warning": { },
"Dialog": {
},
"Roll": {
"skill": "Compétence",
"roll": "Jet",
"applyNudge": "Lancer",
"cancel": "Annuler",
"nudgeRoll": "Modifier le jet"
},
"Tooltip": {
"sanBP": "Perte de 5+ SAN en 1 jet : folie temporaire. SI la SAN atteint le PR : trouble mental, perte de conscience et reset du PR.",
"setBP": "Positionner le Point de Rupture à la valeur courant de la SAN",
"addBond": "Ajouter une Attache"
},
"Chat": {
},
"Notifications": {
"NoWeaponSkill": "Aucune compétence associée n'a été trouvé pour cette arme. Vérifier la définition de l'arme ainsi que l'époque configurée.",
"NoWeaponType": "Aucun type d'arme trouvé pour ce sous-type. Vérifier la définition de l'arme ainsi que l'époque configurée.",
"skillAlreadyExists": "La compétence existe déja",
"WrongEra": "L'époque de l'item ne correspond pas à celle du jeu en cours.",
"NoSelectiveFireChoices": "Aucune option de tir sélectif n'est disponible pour cette arme : pas assez de munitions.",
"NoAmmo": "Aucune munition disponible pour cette arme.",
"noRollDataFound": "Aucune donnée de jet trouvée.",
"noActorFound": "Aucun protagoniste trouvé.",
"noSanLossFound": "Aucune valeur de perte de SAN trouvée."
}
}
}

View File

@ -78,6 +78,7 @@ export default class CthulhuEternalProtagonistSheet extends CthulhuEternalActorS
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
context.enrichedNotes = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.notes, { async: true }) context.enrichedNotes = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.notes, { async: true })
context.isGM = game.user.isGM
context.tooltipsCharacteristic = { context.tooltipsCharacteristic = {
str: game.i18n.localize("CTHULHUETERNAL.Characteristic.Str"), str: game.i18n.localize("CTHULHUETERNAL.Characteristic.Str"),
@ -199,7 +200,7 @@ export default class CthulhuEternalProtagonistSheet extends CthulhuEternalActorS
* corresponding value from the document's system and performs the roll. * corresponding value from the document's system and performs the roll.
*/ */
async _onRoll(event, target) { async _onRoll(event, target) {
const rollType = $(event.currentTarget).data("roll-type") let rollType = $(event.currentTarget).data("roll-type")
let item let item
let li let li
// Debug : console.log(">>>>", event, target, rollType) // Debug : console.log(">>>>", event, target, rollType)
@ -231,6 +232,12 @@ export default class CthulhuEternalProtagonistSheet extends CthulhuEternalActorS
item.name = game.i18n.localize("CTHULHUETERNAL.Label.SAN") item.name = game.i18n.localize("CTHULHUETERNAL.Label.SAN")
item.targetScore = item.value item.targetScore = item.value
break; break;
case "luck":
item = foundry.utils.duplicate(this.actor.system.characteristics.int)
item.name = game.i18n.localize("CTHULHUETERNAL.Label.Luck")
item.value = 10
item.targetScore = 50
break;
default: default:
throw new Error(`Unknown roll type ${rollType}`) throw new Error(`Unknown roll type ${rollType}`)
} }

View File

@ -10,6 +10,10 @@ export default class CthulhuEternalSkillSheet extends CthulhuEternalItemSheet {
window: { window: {
contentClasses: ["skill-content"], contentClasses: ["skill-content"],
}, },
actions: {
rollProgress: CthulhuEternalSkillSheet.#onRollProgress,
},
} }
/** @override */ /** @override */
@ -22,7 +26,28 @@ export default class CthulhuEternalSkillSheet extends CthulhuEternalItemSheet {
/** @override */ /** @override */
async _prepareContext() { async _prepareContext() {
const context = await super._prepareContext() const context = await super._prepareContext()
context.isGM = game.user.isGM
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
return context return context
} }
static async #onRollProgress(event, target) {
console.log("Rolling progress for skill", this, event, target)
if (this.actor) {
const roll = await new Roll("1d4").evaluate()
if (roll) {
// Create a chat message with the roll result
const chatData = {
user: game.user.id,
speaker: ChatMessage.getSpeaker({ actor: this.actor }),
content: `<div class="progress-roll">${game.i18n.localize("CTHULHUETERNAL.Label.skillProgress")} - ${this.document.name} +${roll.total}</div>`,
type: CONST.CHAT_MESSAGE_TYPES.ROLL,
roll: roll,
};
await ChatMessage.create(chatData);
this.document.update( {"system.bonus" : this.document.system.bonus + roll.total, "system.rollFailed": false} )
}
}
}
} }

View File

@ -18,4 +18,13 @@ export default class CthulhuEternalWeaponSheet extends CthulhuEternalItemSheet {
template: "systems/fvtt-cthulhu-eternal/templates/weapon.hbs", template: "systems/fvtt-cthulhu-eternal/templates/weapon.hbs",
}, },
} }
async _prepareContext() {
let context = await super._prepareContext()
context.isFireArm = this.item.system.isFireArm()
context.isRanged = this.item.system.isRanged()
return context
}
} }

View File

@ -31,7 +31,6 @@ export default class CthulhuEternalActor extends Actor {
} }
_onUpdate(changed, options, userId) { _onUpdate(changed, options, userId) {
// DEBUG : console.log("CthulhuEternalActor.update", changed, options, userId)
if (changed?.system?.wp?.exhausted) { if (changed?.system?.wp?.exhausted) {
ChatMessage.create({ ChatMessage.create({
user: userId, user: userId,
@ -55,6 +54,9 @@ export default class CthulhuEternalActor extends Actor {
} }
} }
if (i.type === "bond") { if (i.type === "bond") {
if (!i.system?.bondType) {
return super.createEmbeddedDocuments(embeddedName, data, operation)
}
if (i.system.bondType === "individual") { if (i.system.bondType === "individual") {
i.system.value = this.system.characteristics.cha.value i.system.value = this.system.characteristics.cha.value
} else { } else {

View File

@ -105,6 +105,105 @@ export default class CthulhuEternalRoll extends Roll {
$(".resource-score").text(`${rating} (${options.percentScore}%)`) $(".resource-score").text(`${rating} (${options.percentScore}%)`)
} }
static buildSelectiveFireChoices(actor, weapon) {
if (!weapon || !weapon?.system?.hasSelectiveFire) {
return {}
}
// Loop thru the selective fire choices and build the choices object when enough ammo in the weapon
let choices = {}
for (let choiceKey in SYSTEM.WEAPON_SELECTIVE_FIRE_CHOICES) {
let choice = SYSTEM.WEAPON_SELECTIVE_FIRE_CHOICES[choiceKey]
if (choice.ammoUsed > 0 && choice.ammoUsed <= weapon.system.ammo.value) {
choices[choiceKey] = choice
}
}
// If no choices available, warn the user
if (Object.keys(choices).length === 0) {
ui.notifications.warn(game.i18n.localize("CTHULHUETERNAL.Notifications.NoSelectiveFireChoices"))
return {}
}
return choices
}
static async processWeaponDamage(actor, options) {
let isLethal = false
let weapon = options.rollItem
let ammoUsed = weapon.system.weaponType.includes("ranged") ? 1 : 0 // Default ammo used for melee weapons is 0
options.isNudge = false
// Selective fire management
if (weapon.system.hasSelectiveFire && weapon.selectiveFireChoice) {
let choice = SYSTEM.WEAPON_SELECTIVE_FIRE_CHOICES[weapon.selectiveFireChoice]
if (choice.ammoUsed > weapon.system.ammo.value) {
ui.notifications.warn(game.i18n.localize("CTHULHUETERNAL.Notifications.NoAmmo"))
return
}
weapon.system.selectiveFireChoiceLabel = choice.label // Store the choice in the weapon
weapon.system.lethality = choice.lethality // Override lethality
weapon.system.killRadius = choice.killRadius // Override kill radius
ammoUsed = choice.ammoUsed // Override ammo used
}
if (weapon.system.lethality > 0) {
let lethalityRoll = new Roll("1d100")
await lethalityRoll.evaluate()
let lethalScore = (options?.previousResultType === "successCritical") ? weapon.system.lethality * 2 : weapon.system.lethality
isLethal = (lethalityRoll.total <= lethalScore)
if (ammoUsed > 0) {
await actor.updateEmbeddedDocuments("Item", [{
_id: weapon._id,
"system.ammo.value": Math.max(0, weapon.system.ammo.value - ammoUsed)
}])
}
let wounds = Math.floor(lethalityRoll.total / 10) + (lethalityRoll.total % 10)
let msgData = {
weapon,
wounds,
lethalScore,
isLethal,
ammoUsed,
rollResult: lethalityRoll.total,
}
let flavor = await foundry.applications.handlebars.renderTemplate("systems/fvtt-cthulhu-eternal/templates/chat-lethal-damage.hbs", msgData)
ChatMessage.create({
user: game.user.id,
content: flavor,
speaker: ChatMessage.getSpeaker({ actor: actor }),
}, { rollMode: options.rollMode, create: true })
return
}
// If the weapon is not lethal, we can proceed with the regular damage roll
let formula = weapon.system.damage
if (weapon.system.weaponType === "melee" || weapon.system.weaponType === "unarmed") {
formula += ` + ${weapon.damageBonus}`
}
if (options?.previousResultType === "successCritical") {
formula = `( ${formula} ) * 2`
}
if (ammoUsed > 0) {
await actor.updateEmbeddedDocuments("Item", [{
_id: weapon._id,
"system.ammo.value": Math.max(0, weapon.system.ammo.value - ammoUsed)
}])
}
let damageRoll = new Roll(formula)
await damageRoll.evaluate()
let msgData = {
weapon,
formula,
ammoUsed,
rollResult: damageRoll.total,
}
let flavor = await foundry.applications.handlebars.renderTemplate("systems/fvtt-cthulhu-eternal/templates/chat-regular-damage.hbs", msgData)
ChatMessage.create({
user: game.user.id,
content: flavor,
speaker: ChatMessage.getSpeaker({ actor: actor }),
}, { rollMode: options.rollMode, create: true })
}
/** /**
* Prompt the user with a dialog to configure and execute a roll. * Prompt the user with a dialog to configure and execute a roll.
* *
@ -124,12 +223,18 @@ export default class CthulhuEternalRoll extends Roll {
let hasModifier = true let hasModifier = true
let hasMultiplier = false let hasMultiplier = false
options.isNudge = true options.isNudge = true
let actor = game.actors.get(options.actorId)
switch (options.rollType) { switch (options.rollType) {
case "skill": case "skill":
console.log(options.rollItem) console.log(options.rollItem)
options.initialScore = options.rollItem.system.computeScore() options.initialScore = options.rollItem.system.computeScore()
break break
case "luck":
hasModifier = false
options.initialScore = 50
options.isNudge = false
break
case "san": case "san":
case "char": case "char":
options.initialScore = options.rollItem.targetScore options.initialScore = options.rollItem.targetScore
@ -147,46 +252,24 @@ export default class CthulhuEternalRoll extends Roll {
options.isNudge = false options.isNudge = false
break break
case "damage": case "damage":
let isLethal = false return this.processWeaponDamage(actor, options)
options.isNudge = false case "weapon": {
if (options.rollItem.system.lethality > 0) {
let lethalityRoll = new Roll("1d100")
await lethalityRoll.evaluate()
isLethal = (lethalityRoll.total <= options.rollItem.system.lethality)
let flavor = `${options.rollItem.name} - <strong>Lethality Roll</strong> : ${lethalityRoll.total} <= ${options.rollItem.system.lethality} => ${isLethal}`
if ( isLethal) {
flavor += `<br>The target is lethally wounded => HP = 0`
} else {
let wounds = Math.floor(lethalityRoll.total/10) + (lethalityRoll.total % 10)
flavor += `<br>The target is not lethally wounded => HP loss = ${wounds}`
}
await lethalityRoll.toMessage({
flavor:flavor
});
return
}
let formula = options.rollItem.system.damage
if ( options.rollItem.system.weaponType === "melee" || options.rollItem.system.weaponType === "unarmed") {
formula += ` + ${options.rollItem.damageBonus}`
}
let damageRoll = new Roll(formula)
await damageRoll.evaluate()
await damageRoll.toMessage({
flavor: `${options.rollItem.name} - Damage Roll`
});
return
case "weapon":
let era = game.settings.get("fvtt-cthulhu-eternal", "settings-era") let era = game.settings.get("fvtt-cthulhu-eternal", "settings-era")
if (era !== options.rollItem.system.settings) { if (era !== options.rollItem.system.settings) {
ui.notifications.error(game.i18n.localize("CTHULHUETERNAL.Notifications.WrongEra")) ui.notifications.error(game.i18n.localize("CTHULHUETERNAL.Notifications.WrongEra"))
console.log("WP Wrong Era", era, options.rollItem.system.weaponType) console.log("WP Wrong Era", era, options.rollItem.system.weaponType)
return return
} }
if (!SYSTEM.WEAPON_SKILL_MAPPING[era] || !SYSTEM.WEAPON_SKILL_MAPPING[era][options.rollItem.system.weaponType]) { if (!SYSTEM.WEAPON_SKILL_MAPPING[era]?.[options.rollItem.system.weaponType]) {
ui.notifications.error(game.i18n.localize("CTHULHUETERNAL.Notifications.NoWeaponType")) ui.notifications.error(game.i18n.localize("CTHULHUETERNAL.Notifications.NoWeaponType"))
console.log("WP Not found", era, options.rollItem.system.weaponType) console.log("WP Not found", era, options.rollItem.system.weaponType)
return return
} }
// Check if the weapon has enouth ammo in case of a firearm
if (options.rollItem.system.isFireArm() && options.rollItem.system.ammo.value <= 0) {
ui.notifications.warn(game.i18n.localize("CTHULHUETERNAL.Notifications.NoAmmo"))
return
}
options.weapon = options.rollItem options.weapon = options.rollItem
if (options.rollItem.system.hasDirectSkill) { if (options.rollItem.system.hasDirectSkill) {
let skillName = options.rollItem.name let skillName = options.rollItem.name
@ -194,7 +277,6 @@ export default class CthulhuEternalRoll extends Roll {
options.initialScore = options.weapon.system.directSkillValue options.initialScore = options.weapon.system.directSkillValue
} else { } else {
let skillName = game.i18n.localize(SYSTEM.WEAPON_SKILL_MAPPING[era][options.rollItem.system.weaponType]) let skillName = game.i18n.localize(SYSTEM.WEAPON_SKILL_MAPPING[era][options.rollItem.system.weaponType])
let actor = game.actors.get(options.actorId)
options.rollItem = actor.items.find(i => i.type === "skill" && i.name.toLowerCase() === skillName.toLowerCase()) options.rollItem = actor.items.find(i => i.type === "skill" && i.name.toLowerCase() === skillName.toLowerCase())
if (!options.rollItem) { if (!options.rollItem) {
ui.notifications.error(game.i18n.localize("CTHULHUETERNAL.Notifications.NoWeaponSkill")) ui.notifications.error(game.i18n.localize("CTHULHUETERNAL.Notifications.NoWeaponSkill"))
@ -203,13 +285,13 @@ export default class CthulhuEternalRoll extends Roll {
options.initialScore = options.rollItem.system.computeScore() options.initialScore = options.rollItem.system.computeScore()
console.log("WEAPON", skillName, era, options.rollItem) console.log("WEAPON", skillName, era, options.rollItem)
} }
}
break break
default: default:
options.initialScore = 50 options.initialScore = 50
break break
} }
console.log("Roll options", CONFIG.Dice.rollModes);
const rollModes = foundry.utils.duplicate(CONFIG.Dice.rollModes); //Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)])) const rollModes = foundry.utils.duplicate(CONFIG.Dice.rollModes); //Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)]))
const fieldRollMode = new foundry.data.fields.StringField({ const fieldRollMode = new foundry.data.fields.StringField({
choices: rollModes, choices: rollModes,
@ -219,7 +301,7 @@ export default class CthulhuEternalRoll extends Roll {
const choiceModifier = SYSTEM.MODIFIER_CHOICES const choiceModifier = SYSTEM.MODIFIER_CHOICES
const choiceMultiplier = SYSTEM.MULTIPLIER_CHOICES const choiceMultiplier = SYSTEM.MULTIPLIER_CHOICES
const choiceSelectiveFire = SYSTEM.WEAPON_SELECTIVE_FIRE_CHOICES const choiceSelectiveFire = this.buildSelectiveFireChoices(actor, options?.weapon)
let modifier = "+0" let modifier = "+0"
let multiplier = "5" let multiplier = "5"
@ -312,6 +394,10 @@ export default class CthulhuEternalRoll extends Roll {
} }
rollData.targetScore = Math.min(Math.max(rollData.targetScore, 0), 100) rollData.targetScore = Math.min(Math.max(rollData.targetScore, 0), 100)
} }
if (!rollData.targetScore) {
rollData.targetScore = options.initialScore
rollData.modifier = "0"
}
if (Hooks.call("fvtt-cthulhu-eternal.preRoll", options, rollData) === false) return if (Hooks.call("fvtt-cthulhu-eternal.preRoll", options, rollData) === false) return
@ -343,6 +429,20 @@ export default class CthulhuEternalRoll extends Roll {
resultType = "failureCritical" resultType = "failureCritical"
} }
} }
// As per the rules, a roll of 100 is always a failure, even if the target is above 100
if (this.total === 100) {
resultType = "failureCritical"
}
// A roll of 1 is always a critical success, even if the target is 1
if (this.total === 1) {
resultType = "successCritical"
}
if (rollData.targetScore <= 0) {
resultType = "failure"
if (this.total === 1) {
resultType = "success"
}
}
this.options.resultType = resultType this.options.resultType = resultType
if (this.options.isNudgedRoll) { if (this.options.isNudgedRoll) {
@ -354,6 +454,7 @@ export default class CthulhuEternalRoll extends Roll {
this.options.isFailure = resultType === "failure" || resultType === "failureCritical" this.options.isFailure = resultType === "failure" || resultType === "failureCritical"
this.options.isCritical = resultType === "successCritical" || resultType === "failureCritical" this.options.isCritical = resultType === "successCritical" || resultType === "failureCritical"
} }
rollData.resultType = resultType
this.options.isLowWP = rollData.isLowWP this.options.isLowWP = rollData.isLowWP
this.options.isZeroWP = rollData.isZeroWP this.options.isZeroWP = rollData.isZeroWP
this.options.isExhausted = rollData.isExhausted this.options.isExhausted = rollData.isExhausted
@ -369,6 +470,8 @@ export default class CthulhuEternalRoll extends Roll {
*/ */
static createTitle(type, target) { static createTitle(type, target) {
switch (type) { switch (type) {
case "luck":
return `${game.i18n.localize("CTHULHUETERNAL.Label.titleLuck")}`
case "skill": case "skill":
return `${game.i18n.localize("CTHULHUETERNAL.Label.titleSkill")}` return `${game.i18n.localize("CTHULHUETERNAL.Label.titleSkill")}`
case "weapon": case "weapon":
@ -377,6 +480,8 @@ export default class CthulhuEternalRoll extends Roll {
return `${game.i18n.localize("CTHULHUETERNAL.Label.titleCharacteristic")}` return `${game.i18n.localize("CTHULHUETERNAL.Label.titleCharacteristic")}`
case "san": case "san":
return `${game.i18n.localize("CTHULHUETERNAL.Label.titleSAN")}` return `${game.i18n.localize("CTHULHUETERNAL.Label.titleSAN")}`
case "resource":
return `${game.i18n.localize("CTHULHUETERNAL.Label.titleResource")}`
default: default:
return game.i18n.localize("CTHULHUETERNAL.Label.titleStandard") return game.i18n.localize("CTHULHUETERNAL.Label.titleStandard")
} }
@ -462,6 +567,47 @@ export default class CthulhuEternalRoll extends Roll {
}, },
{ rollMode: rollMode }, { rollMode: rollMode },
) )
// Manage the skill evolution if the roll is a failure
let rollData = this.options.rollData || this.options
let rollItem = this.options.rollItem
if (rollData.resultType.includes("failure") && rollItem.type === "skill") {
// Is the skill able to progress
if (rollItem.system.diceEvolved && !rollItem.system.rollFailed) {
// If the skill is not adversary, we can evolve it
if (!rollItem.system.isAdversary) {
rollItem.system.rollFailed = true
// Get the actor and update the skill
const actor = game.actors.get(rollData.actorId)
await actor.updateEmbeddedDocuments("Item", [{
_id: rollItem._id,
"system.rollFailed": true
}])
// Create a chat message to inform the user
const flavor = `${rollItem.name} - ${game.i18n.localize("CTHULHUETERNAL.Label.skillFailed")}`
await ChatMessage.create({
user: game.user.id,
content: `<div class="cthulhu-eternal-roll"><p>${flavor}</p></div>`,
speaker: ChatMessage.getSpeaker({ actor: rollData.actor }),
}, { rollMode: rollData.rollMode, create: true })
}
}
}
// If the roll is a SAN roll, we propose to select the SAN loss
if (rollData.rollType === "san") {
let msgData = {
rollItem: rollItem,
rollData: rollData
}
let msg = await foundry.applications.handlebars.renderTemplate("systems/fvtt-cthulhu-eternal/templates/chat-san-request.hbs", msgData)
let chatMsg = await ChatMessage.create({
user: game.user.id,
content: msg,
speaker: ChatMessage.getSpeaker({ actor: rollData.actor })
}, { rollMode: rollData.rollMode, create: true })
await chatMsg.setFlag("fvtt-cthulhu-eternal", "rollData", rollData)
}
} }
} }

View File

@ -14,7 +14,8 @@ export default class CthulhuEternalProtagonist extends foundry.abstract.TypeData
const characteristicField = (label) => { const characteristicField = (label) => {
const schema = { const schema = {
value: new fields.NumberField({ ...requiredInteger, initial: 3, min: 0 }), value: new fields.NumberField({ ...requiredInteger, initial: 3, min: 0 }),
feature: new fields.StringField({ required: true, nullable: false, initial: "" }) feature: new fields.StringField({ required: true, nullable: false, initial: "" }),
max: new fields.NumberField({ ...requiredInteger, initial: 3, min: 0 })
} }
return new fields.SchemaField(schema, { label }) return new fields.SchemaField(schema, { label })
} }
@ -35,7 +36,9 @@ export default class CthulhuEternalProtagonist extends foundry.abstract.TypeData
schema.hp = new fields.SchemaField({ schema.hp = new fields.SchemaField({
value: new fields.NumberField({ ...requiredInteger, initial: 1, min: 0 }), value: new fields.NumberField({ ...requiredInteger, initial: 1, min: 0 }),
max: new fields.NumberField({ ...requiredInteger, initial: 1, min: 0 }), max: new fields.NumberField({ ...requiredInteger, initial: 1, min: 0 }),
stunned: new fields.BooleanField({ required: true, initial: false }) stunned: new fields.BooleanField({ required: true, initial: false }),
unconscious: new fields.BooleanField({ required: true, initial: false }),
dead: new fields.BooleanField({ required: true, initial: false })
}) })
schema.san = new fields.SchemaField({ schema.san = new fields.SchemaField({
@ -45,6 +48,7 @@ export default class CthulhuEternalProtagonist extends foundry.abstract.TypeData
violence: new fields.ArrayField(new fields.BooleanField(), { required: true, initial: [false, false, false], min: 3, max: 3 }), violence: new fields.ArrayField(new fields.BooleanField(), { required: true, initial: [false, false, false], min: 3, max: 3 }),
helplessness: new fields.ArrayField(new fields.BooleanField(), { required: true, initial: [false, false, false], min: 3, max: 3 }), helplessness: new fields.ArrayField(new fields.BooleanField(), { required: true, initial: [false, false, false], min: 3, max: 3 }),
breakingPoint: new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 }), breakingPoint: new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 }),
breakingPointReached: new fields.BooleanField({ required: true, initial: false }),
insanity: new fields.StringField({ required: true, nullable: false, initial: "none", choices: SYSTEM.INSANITY }), insanity: new fields.StringField({ required: true, nullable: false, initial: "none", choices: SYSTEM.INSANITY }),
}) })
@ -130,6 +134,31 @@ export default class CthulhuEternalProtagonist extends foundry.abstract.TypeData
updates[`system.damageBonus`] = dmgBonus updates[`system.damageBonus`] = dmgBonus
} }
// BP (Breaking Point) management
if (!this.san.breakingPointReached && this.san.value <= this.san.breakingPoint) {
updates[`system.san.breakingPointReached`] = true
ChatMessage.create({
content: `<p>${game.i18n.format("CTHULHUETERNAL.Label.breakingPointReached", { bp: this.san.breakingPoint, san: this.san.value })}</p>`,
speaker: ChatMessage.getSpeaker({ actor: this.parent })
})
}
// Unconsciousness management
if (!this.hp.unconscious && this.hp.value <= 2) {
updates[`system.hp.unconscious`] = true
}
if (this.hp.unconscious && this.hp.value > 2) {
updates[`system.hp.unconscious`] = false
}
// Dead management
if (!this.hp.dead && this.hp.value <= 0) {
updates[`system.hp.dead`] = true
}
if (this.hp.dead && this.hp.value > 0) {
updates[`system.hp.dead`] = false
}
// Sanity check // Sanity check
if (this.san.value > this.san.max) { if (this.san.value > this.san.max) {
updates[`system.san.value`] = this.san.max updates[`system.san.value`] = this.san.max
@ -165,6 +194,112 @@ export default class CthulhuEternalProtagonist extends foundry.abstract.TypeData
} }
} }
async applySANConsequences(rollData) {
// If sanType is "non", do nothing
if (rollData.sanType === "none") {
return
}
let msgData = {
sanType: rollData.sanType,
sanLoss: rollData.sanLoss,
actorId: this.parent.id,
actorName: this.parent.name,
adaptedToHelplessness: this.biodata.adaptedToHelplessness,
adaptedToViolence: this.biodata.adaptedToViolence,
... rollData
}
let updates = {}
let template = ""
// Manage temporary insanity
if (rollData.sanLoss >= 5) {
rollData.resetMsg = false
if (rollData.sanType === "violence" && !this.biodata.adaptedToViolence) {
updates[`system.san.violence`] = [false, false, false]
rollData.resetMsg = "CTHULHUETERNAL.Label.sanViolenceReset"
}
if (rollData.sanType === "helplessness" && !this.biodata.adaptedToHelplessness) {
updates[`system.san.helplessness`] = [false, false, false]
rollData.resetMsg = "CTHULHUETERNAL.Label.sanHelplessnessReset"
}
template = "systems/fvtt-cthulhu-eternal/templates/chat-san-temp-insanity.hbs"
} else if (rollData.sanLoss === 0) { // Manage if sanLoss is 0
rollData.resetMsg = false
if (rollData.sanType === "violence" && !this.biodata.adaptedToViolence) {
updates[`system.san.violence`] = [false, false, false]
rollData.resetMsg = "CTHULHUETERNAL.Label.sanViolenceReset"
}
if (rollData.sanType === "helplessness" && !this.biodata.adaptedToHelplessness) {
updates[`system.san.helplessness`] = [false, false, false]
rollData.resetMsg = "CTHULHUETERNAL.Label.sanHelplessnessReset"
}
template = "systems/fvtt-cthulhu-eternal/templates/chat-san-loss-0.hbs"
} else if (rollData.sanType === "violence" ) {
// Set the first false element of the violence array to true
let violence = this.san.violence.slice()
let index = violence.findIndex(v => !v)
if (index !== -1) {
violence[index] = true
updates[`system.san.violence`] = violence
}
template = "systems/fvtt-cthulhu-eternal/templates/chat-san-loss-1-4.hbs"
// Check if all violence elements are true, if so, set adaptedToViolence to true
if (violence.every(v => v)) {
updates[`system.biodata.adaptedToViolence`] = true
updates[`system.san.violence`] = [false, false, false]
msgData.adaptedToViolence = true
}
} else if (rollData.sanType === "helplessness" ) {
// If sanType is "helplessness" and adapted to helplessness, set the first false element of the helplessness array to true
let helplessness = this.san.helplessness.slice()
let index = helplessness.findIndex(h => !h)
if (index !== -1) {
helplessness[index] = true
updates[`system.san.helplessness`] = helplessness
}
template = "systems/fvtt-cthulhu-eternal/templates/chat-san-loss-1-4.hbs"
// Check if all helplessness elements are true, if so, set adaptedToHelplessness to true
if (helplessness.every(h => h)) {
updates[`system.biodata.adaptedToHelplessness`] = true
updates[`system.san.helplessness`] = [false, false, false]
msgData.adaptedToHelplessness = true
}
}
let content = await foundry.applications.handlebars.renderTemplate(template, msgData)
let msg = await ChatMessage.create({
content: content,
speaker: ChatMessage.getSpeaker({ actor: this.parent })
})
msg.setFlag("fvtt-cthulhu-eternal", "rollData", msgData)
if (Object.keys(updates).length > 0) {
this.parent.update(updates)
}
}
async modifySAN(rollData) {
let updates = {}
let san = Math.max(Math.min(this.san.value + rollData.sanLoss, this.san.max), 0)
if (this.san.value !== san) {
updates[`system.san.value`] = san
const content = await foundry.applications.handlebars.renderTemplate("systems/fvtt-cthulhu-eternal/templates/chat-san-type-request.hbs", rollData)
let msg = await ChatMessage.create({
content: content,
speaker: ChatMessage.getSpeaker({ actor: this.parent })
})
msg.setFlag("fvtt-cthulhu-eternal", "rollData", rollData)
}
if (Object.keys(updates).length > 0) {
this.parent.update(updates)
}
}
isStunned() {
return this.hp.stunned
}
isLowWP() { isLowWP() {
return this.wp.value <= 2 return this.wp.value <= 2
} }
@ -193,6 +328,7 @@ export default class CthulhuEternalProtagonist extends foundry.abstract.TypeData
let bp = Math.max(this.san.value - this.characteristics.pow.value, 0) let bp = Math.max(this.san.value - this.characteristics.pow.value, 0)
if (this.san.breakingPoint !== bp) { if (this.san.breakingPoint !== bp) {
updates[`system.san.breakingPoint`] = bp updates[`system.san.breakingPoint`] = bp
updates[`system.san.breakingPointReached`] = false // Reset breaking point reached
} }
if (Object.keys(updates).length > 0) { if (Object.keys(updates).length > 0) {
this.parent.update(updates) this.parent.update(updates)
@ -207,6 +343,32 @@ export default class CthulhuEternalProtagonist extends foundry.abstract.TypeData
* @returns {Promise<null>} - A promise that resolves to null if the roll is cancelled. * @returns {Promise<null>} - A promise that resolves to null if the roll is cancelled.
*/ */
async roll(rollType, rollItem) { async roll(rollType, rollItem) {
if (this.hp.dead ) {
// Warn with chat message
ChatMessage.create({
content: `<p>${game.i18n.format("CTHULHUETERNAL.Label.deadWarning", {con: this.characteristics.con.value} )}</p>`,
speaker: ChatMessage.getSpeaker({ actor: this.parent })
})
return null
}
if (this.hp.unconscious ) {
// Warn with chat message
ChatMessage.create({
content: `<p>${game.i18n.localize("CTHULHUETERNAL.Label.unconsciousWarning")}</p>`,
speaker: ChatMessage.getSpeaker({ actor: this.parent })
})
return null
}
if (this.hp.stunned && rollType === "skill") {
// Warn with chat message
ChatMessage.create({
content: `<p>${game.i18n.localize("CTHULHUETERNAL.Label.stunnedWarning")}</p>`,
speaker: ChatMessage.getSpeaker({ actor: this.parent })
})
return null
}
let opponentTarget let opponentTarget
const hasTarget = opponentTarget !== undefined const hasTarget = opponentTarget !== undefined
@ -220,10 +382,12 @@ export default class CthulhuEternalProtagonist extends foundry.abstract.TypeData
actorName: this.parent.name, actorName: this.parent.name,
actorImage: this.parent.img, actorImage: this.parent.img,
hasTarget, hasTarget,
previousResultType: rollItem.resultType,
target: opponentTarget target: opponentTarget
}) })
if (!roll) return null if (!roll) return null
await roll.toMessage({}, { rollMode: roll.options.rollMode }) await roll.toMessage({}, { rollMode: roll.options.rollMode })
} }
} }

View File

@ -15,6 +15,8 @@ export default class CthulhuEternalSkill extends foundry.abstract.TypeDataModel
schema.diceEvolved = new fields.BooleanField({ required: true, initial: true }) schema.diceEvolved = new fields.BooleanField({ required: true, initial: true })
schema.rollFailed = new fields.BooleanField({ required: true, initial: false }) schema.rollFailed = new fields.BooleanField({ required: true, initial: false })
schema.isAdversary = new fields.BooleanField({ required: true, initial: false }) schema.isAdversary = new fields.BooleanField({ required: true, initial: false })
schema.isHealing = new fields.BooleanField({ required: true, initial: false })
schema.healingFormula = new fields.StringField({ required: true, initial: "1d4" })
return schema return schema
} }

View File

@ -25,6 +25,10 @@ export default class CthulhuEternalWeapon extends foundry.abstract.TypeDataModel
schema.armorPiercing = new fields.NumberField({ required: true, initial: 0, min: 0 }) schema.armorPiercing = new fields.NumberField({ required: true, initial: 0, min: 0 })
schema.weaponSubtype = new fields.StringField({ required: true, initial: "basicfirearm", choices: SYSTEM.WEAPON_SUBTYPE }) schema.weaponSubtype = new fields.StringField({ required: true, initial: "basicfirearm", choices: SYSTEM.WEAPON_SUBTYPE })
schema.state = new fields.StringField({ required: true, initial: "pristine", choices: SYSTEM.EQUIPMENT_STATES }) schema.state = new fields.StringField({ required: true, initial: "pristine", choices: SYSTEM.EQUIPMENT_STATES })
schema.ammo = new fields.SchemaField({
value: new fields.NumberField({ ...requiredInteger, initial: 6, min: 0 }),
max: new fields.NumberField({ ...requiredInteger, initial: 6, min: 0 })
})
schema.resourceLevel = new fields.NumberField({ required: true, initial: 0, min: 0 }) schema.resourceLevel = new fields.NumberField({ required: true, initial: 0, min: 0 })
@ -37,4 +41,12 @@ export default class CthulhuEternalWeapon extends foundry.abstract.TypeDataModel
get weaponCategory() { get weaponCategory() {
return game.i18n.localize(CATEGORY[this.category].label) return game.i18n.localize(CATEGORY[this.category].label)
} }
isRanged() {
return this.weaponType.includes("ranged")
}
isFireArm() {
return this.weaponType === "rangedfirearm"
}
} }

View File

@ -178,7 +178,92 @@ export default class CthulhuEternalUtils {
const html = options.fn(this); const html = options.fn(this);
return html.replace(rgx, "$& selected"); return html.replace(rgx, "$& selected");
}); });
}
static async applySANType(rollMessage, event) {
let rollData = rollMessage.getFlag("fvtt-cthulhu-eternal", "rollData")
if (!rollData) {
ui.notifications.error(game.i18n.localize("CTHULHUETERNAL.Notifications.noRollDataFound"))
return
}
let actor = game.actors.get(rollData.actorId)
if (!actor) {
ui.notifications.error(game.i18n.localize("CTHULHUETERNAL.Notifications.noActorFound"))
return
}
let sanType = event.currentTarget.dataset.sanType;
if (!sanType) {
ui.notifications.error(game.i18n.localize("CTHULHUETERNAL.Notifications.noSanTypeFound"))
return
}
// If the sanType is "none", we don't apply any SAN processing
if (sanType === "none") {
ui.notifications.info(game.i18n.localize("CTHULHUETERNAL.Notifications.noSanLossApplied"))
return
}
rollData.sanType = sanType
await actor.system.applySANConsequences(rollData)
// Delete the roll message
await rollMessage.delete()
}
static async applySANLoss(rollMessage, event) {
let rollData = rollMessage.getFlag("fvtt-cthulhu-eternal", "rollData")
if (!rollData) {
ui.notifications.error(game.i18n.localize("CTHULHUETERNAL.Notifications.noRollDataFound"))
return
}
let actor = game.actors.get(rollData.actorId)
if (!actor) {
ui.notifications.error(game.i18n.localize("CTHULHUETERNAL.Notifications.noActorFound"))
return
}
// Get the san loss from the event : data-san-value
let sanLoss = event.currentTarget.dataset.sanValue
let r = new Roll(sanLoss.toString())
await r.evaluate()
rollData.sanLoss = -r.total
await actor.system.modifySAN(rollData)
// Delete the roll message
await rollMessage.delete()
}
static async healingRoll(rollMessage) {
let rollData = rollMessage.rolls[0]?.options?.rollData
let healingFormula = rollData.rollItem.system.healingFormula
let healingMsg = "CTHULHUETERNAL.Label.healingRoll"
if (rollData.resultType === "successCritical") {
healingFormula += " * 2"
}
if (rollData.resultType === "failureCritical") {
healingMsg = "CTHULHUETERNAL.Label.healingRollFailure"
}
// Now display the result in chat message
let roll = new Roll(healingFormula)
await roll.evaluate()
roll.toMessage({
speaker: ChatMessage.getSpeaker({ actor: rollData.actorId }),
flavor: `${game.i18n.localize(healingMsg)} : ${roll.total}`,
rolls: [roll],
options: {
rollData: rollData,
resultType: rollData.resultType
}
})
}
static async damageRoll(rollMessage) {
let rollData = rollMessage.rolls[0]?.options?.rollData
let actor = game.actors.get(rollData.actorId)
if (!actor) {
ui.notifications.error(game.i18n.localize("CTHULHUETERNAL.Label.noActorFound"))
return
}
console.log("Damage roll data", rollData)
rollData.weapon.resultType = rollData.resultType // Keep the result type from the roll message
rollData.weapon.selectiveFireChoice = rollData.selectiveFireChoice // Keep the selected fire choice from the roll message
actor.system.roll("damage", rollData.weapon)
} }
static async nudgeRoll(rollMessage) { static async nudgeRoll(rollMessage) {

View File

@ -1 +1 @@
MANIFEST-000032 MANIFEST-000143

View File

@ -1,7 +1,7 @@
2025/05/14-23:46:13.953928 7fa2e5ffb6c0 Recovering log #29 2025/06/15-20:50:32.407889 7f78d9dfa6c0 Recovering log #141
2025/05/14-23:46:13.965264 7fa2e5ffb6c0 Delete type=3 #27 2025/06/15-20:50:32.419111 7f78d9dfa6c0 Delete type=3 #139
2025/05/14-23:46:13.965329 7fa2e5ffb6c0 Delete type=0 #29 2025/06/15-20:50:32.419180 7f78d9dfa6c0 Delete type=0 #141
2025/05/14-23:53:27.523831 7fa2e57fa6c0 Level-0 table #35: started 2025/06/15-23:02:15.291797 7f78d37fe6c0 Level-0 table #146: started
2025/05/14-23:53:27.523897 7fa2e57fa6c0 Level-0 table #35: 0 bytes OK 2025/06/15-23:02:15.291843 7f78d37fe6c0 Level-0 table #146: 0 bytes OK
2025/05/14-23:53:27.564827 7fa2e57fa6c0 Delete type=0 #33 2025/06/15-23:02:15.346613 7f78d37fe6c0 Delete type=0 #144
2025/05/14-23:53:27.634207 7fa2e57fa6c0 Manual compaction at level-0 from '!items!4oyPRBWPBWAChrJP' @ 72057594037927935 : 1 .. '!items!zVFfp3o0G0Zg3Ia4' @ 0 : 0; will stop at (end) 2025/06/15-23:02:15.442962 7f78d37fe6c0 Manual compaction at level-0 from '!items!4oyPRBWPBWAChrJP' @ 72057594037927935 : 1 .. '!items!zVFfp3o0G0Zg3Ia4' @ 0 : 0; will stop at (end)

View File

@ -1,11 +1,7 @@
2025/05/13-23:31:28.113617 7f5ccd7fa6c0 Delete type=3 #1 2025/06/15-20:45:20.732548 7f78d95f96c0 Recovering log #137
2025/05/13-23:32:04.684598 7f5ccb7ff6c0 Level-0 table #30: started 2025/06/15-20:45:20.795953 7f78d95f96c0 Delete type=3 #135
2025/05/13-23:32:04.684625 7f5ccb7ff6c0 Level-0 table #30: 0 bytes OK 2025/06/15-20:45:20.796016 7f78d95f96c0 Delete type=0 #137
2025/05/13-23:32:04.690483 7f5ccb7ff6c0 Delete type=0 #28 2025/06/15-20:50:27.656562 7f78d37fe6c0 Level-0 table #142: started
2025/05/13-23:32:04.704127 7f5ccb7ff6c0 Manual compaction at level-0 from '!items!4oyPRBWPBWAChrJP' @ 72057594037927935 : 1 .. '!items!zVFfp3o0G0Zg3Ia4' @ 0 : 0; will stop at '!items!zVFfp3o0G0Zg3Ia4' @ 52 : 1 2025/06/15-20:50:27.656587 7f78d37fe6c0 Level-0 table #142: 0 bytes OK
2025/05/13-23:32:04.704135 7f5ccb7ff6c0 Compacting 1@0 + 0@1 files 2025/06/15-20:50:27.663159 7f78d37fe6c0 Delete type=0 #140
2025/05/13-23:32:04.708470 7f5ccb7ff6c0 Generated table #31@0: 26 keys, 60964 bytes 2025/06/15-20:50:27.663295 7f78d37fe6c0 Manual compaction at level-0 from '!items!4oyPRBWPBWAChrJP' @ 72057594037927935 : 1 .. '!items!zVFfp3o0G0Zg3Ia4' @ 0 : 0; will stop at (end)
2025/05/13-23:32:04.708504 7f5ccb7ff6c0 Compacted 1@0 + 0@1 files => 60964 bytes
2025/05/13-23:32:04.714626 7f5ccb7ff6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2025/05/13-23:32:04.714712 7f5ccb7ff6c0 Delete type=2 #18
2025/05/13-23:32:04.735382 7f5ccb7ff6c0 Manual compaction at level-0 from '!items!zVFfp3o0G0Zg3Ia4' @ 52 : 1 .. '!items!zVFfp3o0G0Zg3Ia4' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

View File

@ -1 +1 @@
MANIFEST-000196 MANIFEST-000312

View File

@ -1,7 +1,7 @@
2025/05/14-23:46:13.940336 7fa2e67fc6c0 Recovering log #193 2025/06/15-20:50:32.394511 7f78d95f96c0 Recovering log #310
2025/05/14-23:46:13.950153 7fa2e67fc6c0 Delete type=3 #191 2025/06/15-20:50:32.404291 7f78d95f96c0 Delete type=3 #308
2025/05/14-23:46:13.950214 7fa2e67fc6c0 Delete type=0 #193 2025/06/15-20:50:32.404388 7f78d95f96c0 Delete type=0 #310
2025/05/14-23:53:27.493872 7fa2e57fa6c0 Level-0 table #199: started 2025/06/15-23:02:15.346748 7f78d37fe6c0 Level-0 table #315: started
2025/05/14-23:53:27.493910 7fa2e57fa6c0 Level-0 table #199: 0 bytes OK 2025/06/15-23:02:15.346777 7f78d37fe6c0 Level-0 table #315: 0 bytes OK
2025/05/14-23:53:27.523581 7fa2e57fa6c0 Delete type=0 #197 2025/06/15-23:02:15.368088 7f78d37fe6c0 Delete type=0 #313
2025/05/14-23:53:27.634194 7fa2e57fa6c0 Manual compaction at level-0 from '!folders!5PrT9QmN1cFPzDFP' @ 72057594037927935 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at (end) 2025/06/15-23:02:15.442974 7f78d37fe6c0 Manual compaction at level-0 from '!folders!5PrT9QmN1cFPzDFP' @ 72057594037927935 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at (end)

View File

@ -1,11 +1,7 @@
2025/05/13-23:31:28.086570 7f5cccff96c0 Delete type=3 #1 2025/06/15-20:45:20.673899 7f78d9dfa6c0 Recovering log #306
2025/05/13-23:32:04.678411 7f5ccb7ff6c0 Level-0 table #194: started 2025/06/15-20:45:20.728664 7f78d9dfa6c0 Delete type=3 #304
2025/05/13-23:32:04.678441 7f5ccb7ff6c0 Level-0 table #194: 0 bytes OK 2025/06/15-20:45:20.728753 7f78d9dfa6c0 Delete type=0 #306
2025/05/13-23:32:04.684461 7f5ccb7ff6c0 Delete type=0 #192 2025/06/15-20:50:27.650512 7f78d37fe6c0 Level-0 table #311: started
2025/05/13-23:32:04.690687 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!5PrT9QmN1cFPzDFP' @ 72057594037927935 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at '!items!zvoUByzWSWZ87fxA' @ 1281 : 1 2025/06/15-20:50:27.650541 7f78d37fe6c0 Level-0 table #311: 0 bytes OK
2025/05/13-23:32:04.690699 7f5ccb7ff6c0 Compacting 1@0 + 0@1 files 2025/06/15-20:50:27.656452 7f78d37fe6c0 Delete type=0 #309
2025/05/13-23:32:04.697881 7f5ccb7ff6c0 Generated table #195@0: 548 keys, 312922 bytes 2025/06/15-20:50:27.663286 7f78d37fe6c0 Manual compaction at level-0 from '!folders!5PrT9QmN1cFPzDFP' @ 72057594037927935 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at (end)
2025/05/13-23:32:04.697904 7f5ccb7ff6c0 Compacted 1@0 + 0@1 files => 312922 bytes
2025/05/13-23:32:04.703802 7f5ccb7ff6c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2025/05/13-23:32:04.703953 7f5ccb7ff6c0 Delete type=2 #182
2025/05/13-23:32:04.735365 7f5ccb7ff6c0 Manual compaction at level-0 from '!items!zvoUByzWSWZ87fxA' @ 1281 : 1 .. '!items!zvoUByzWSWZ87fxA' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@ -1,7 +1,10 @@
:root { :root {
--font-size-standard: 0.9rem; --font-size-standard: 0.9rem;
--font-size-result: 1.4rem; --font-size-result: 1.4rem;
--background-image-base: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), --background-image-base: linear-gradient(
rgba(255, 255, 255, 0.8),
rgba(255, 255, 255, 0.8)
),
url("../assets/ui/jazz_background_main.webp"); url("../assets/ui/jazz_background_main.webp");
--font-primary: "RozhaOne"; --font-primary: "RozhaOne";
--font-secondary: "RozhaOne"; --font-secondary: "RozhaOne";
@ -12,7 +15,11 @@
--color-warning: darkorange; --color-warning: darkorange;
--color-critical-success: rgb(21, 39, 204); --color-critical-success: rgb(21, 39, 204);
--color-critical-failure: rgb(141, 32, 231); --color-critical-failure: rgb(141, 32, 231);
--img-icon-color-filter: brightness(0) saturate(100%) invert(52%) sepia(9%) saturate(2368%) hue-rotate(360deg) brightness(86%) contrast(84%); --img-icon-color-filter: brightness(0) saturate(100%) invert(52%) sepia(9%)
saturate(2368%) hue-rotate(360deg) brightness(86%) contrast(84%);
}
body {
} }
.d100 { .d100 {
@ -60,7 +67,7 @@ i.fvtt-cthulhu-eternal {
.application.dialog.fvtt-cthulhu-eternal { .application.dialog.fvtt-cthulhu-eternal {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1.0); font-size: calc(var(--font-size-standard) * 1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
button:hover { button:hover {
background: var(--color-dark-6); background: var(--color-dark-6);
@ -78,3 +85,44 @@ i.fvtt-cthulhu-eternal {
background-position: 0%; background-position: 0%;
background-size: 100% 100%; background-size: 100% 100%;
} }
.chat-san-request,
.chat-lethal-damage {
ul {
list-style-type: none;
padding: 0;
margin: 0;
justify-content: center;
align-items: center;
.result-lethal {
color: var(--color-critical-failure);
font-family: var(--font-title);
}
.san-loose-buttons {
display: flex;
justify-content: center;
align-items: center;
margin: 10px 0;
button {
margin: 0 2px;
font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1.1);
border: none;
padding: 2px 2px;
cursor: pointer;
transition: background-color 0.3s;
min-width: 3.0rem;
max-width: 3.0rem;
}
}
.result-non-lethal {
color: var(--color-failure);
font-family: var(--font-title);
}
li {
margin: 0 10px;
font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1.02);
}
}
}

View File

@ -1,10 +1,17 @@
.sheet-common() { .sheet-common() {
font-family: var(--font-primary); font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1); font-size: calc(var(--font-size-standard) * 1.05);
color: var(--color-dark-1); color: var(--color-dark-1);
background-image: var(--background-image-base); background-image: var(--background-image-base);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
--input-height: 1.4rem;
.sheet-tabs {
a {
color: rgba(32, 31, 31, 0.8);
}
}
input:disabled, input:disabled,
select:disabled { select:disabled {
@ -34,21 +41,29 @@
border-radius: 4px; border-radius: 4px;
} }
.form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.form-fields { .form-fields {
input, input,
select { select {
text-align: center; text-align: center;
font-size: calc(var(--font-size-standard) * 1.0); font-size: calc(var(--font-size-standard) * 1);
} }
select { select {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.0); font-size: calc(var(--font-size-standard) * 1);
} }
} }
legend { legend {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.1);
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
} }
@ -57,21 +72,53 @@
.protagonist-sheet-common { .protagonist-sheet-common {
label { label {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.0); font-size: calc(var(--font-size-standard) * 1);
}
.hp-unconscious {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
color: #b4710c;
}
.hp-dead {
font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1);
color: #b40000;
}
.protagonist-luck {
display: flex;
min-width: 8rem;
max-width: 8rem;
.rollable:hover,
.rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
cursor: pointer;
font-size: 0.9rem;
}
}
.damage-bonus {
display: flex;
label {
max-width: 5rem;
min-width: 5rem;
}
input {
max-width: 2rem;
min-width: 2rem;
}
} }
} }
.vehicle-sheet-common { .vehicle-sheet-common {
label { label {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.0); font-size: calc(var(--font-size-standard) * 1);
} }
} }
.creature-sheet-common { .creature-sheet-common {
label { label {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.0); font-size: calc(var(--font-size-standard) * 1);
} }
} }
@ -82,18 +129,12 @@
label { label {
font-family: var(--font-secondary); font-family: var(--font-secondary);
font-size: calc(var(--font-size-standard) * 1.0); font-size: calc(var(--font-size-standard) * 1);
flex: 50%; flex: 50%;
} }
.align-top { input[type="checkbox"] {
align-self: flex-start; --checkbox-checkmark-color: var(--color-dark-1);
padding: 0.1rem;
margin-right: 0.2rem;
/*border-color: black;
border-width: 1px;
border-style: solid;
border-radius: 2%;*/
} }
.shift-right { .shift-right {

View File

@ -42,9 +42,6 @@
width: 2rem; width: 2rem;
margin-left: 4px; margin-left: 4px;
} }
.damage-bonus {
font-size: calc(var(--font-size-standard) * 0.8);
}
.hp-separator { .hp-separator {
font-size: calc(var(--font-size-standard) * 1.2); font-size: calc(var(--font-size-standard) * 1.2);
display: flex; display: flex;
@ -120,11 +117,20 @@
margin-left: 4px; margin-left: 4px;
} }
.label-field { .label-field {
font-size: 0.9rem; display: flex;
font-size: 1.05rem;
max-width: 6rem; max-width: 6rem;
min-width: 6rem; min-width: 6rem;
flex-grow: 1; flex-grow: 1;
} }
.san-helplessness,
.san-violence {
display: flex;
flex-grow: 1;
}
.label-san-type {
margin-right: 0.5rem;
}
.label-bp { .label-bp {
flex-grow: 1; flex-grow: 1;
max-width: 3rem; max-width: 3rem;
@ -310,6 +316,11 @@
min-width: 1.2rem; min-width: 1.2rem;
max-width: 1.2rem; max-width: 1.2rem;
} }
.skill-failed-progress {
text-decoration: dashed underline;
text-underline-offset: 4px;
text-decoration-color: rgb(70, 90, 72);
}
.name { .name {
min-width: 10rem; min-width: 10rem;
max-width: 10rem; max-width: 10rem;

View File

@ -95,7 +95,17 @@
} }
.nudge-roll { .nudge-roll {
font-size: calc(var(--font-size-standard) * 1.0); font-size: calc(var(--font-size-standard) * 1.0);
margin-left: 4rem; margin-left: 2rem;
display: none;
}
.healing-roll {
font-size: calc(var(--font-size-standard) * 1.0);
margin-left: 2rem;
display: none;
}
.roll-damage {
font-size: calc(var(--font-size-standard) * 1.0);
margin-left: 2rem;
display: none; display: none;
} }
.result-success { .result-success {

View File

@ -6,7 +6,7 @@
"download": "#{DOWNLOAD}#", "download": "#{DOWNLOAD}#",
"url": "https://www.uberwald.me/gitea/public/fvtt-cthulhu-eternal", "url": "https://www.uberwald.me/gitea/public/fvtt-cthulhu-eternal",
"license": "LICENSE", "license": "LICENSE",
"version": "13.0.0", "version": "13.0.1",
"authors": [ "authors": [
{ {
"name": "Uberwald", "name": "Uberwald",
@ -32,7 +32,7 @@
} }
}, },
"compatibility": { "compatibility": {
"minimum": "12", "minimum": "13",
"verified": "13" "verified": "13"
}, },
"esmodules": [ "esmodules": [
@ -47,6 +47,12 @@
"name": "Anglais", "name": "Anglais",
"path": "lang/en.json", "path": "lang/en.json",
"flags": {} "flags": {}
},
{
"lang": "fr",
"name": "Français",
"path": "lang/fr.json",
"flags": {}
} }
], ],
"documentTypes": { "documentTypes": {

View File

@ -0,0 +1,31 @@
<div class="{{cssClass}}">
<div class="chat-lethal-damage">
<ul>
<li><strong>{{weapon.name}} : {{localize "CTHULHUETERNAL.Label.lethalityRoll"}}</strong></li>
<li>{{localize "CTHULHUETERNAL.Label.result"}} :{{rollResult}} ({{lethalScore}})</li>
{{#if weapon.system.selectiveFireChoice}}
<li>{{weapon.system.selectiveFireChoiceLabel}}</li>
{{/if}}
{{#if weapon.system.killRadius}}
<li>{{localize "CTHULHUETERNAL.Label.killRadius"}} : {{weapon.system.killRadius}} {{weapon.system.rangeUnit}}</li>
<li>{{localize "CTHULHUETERNAL.Label.killRadiusInfo"}}</li>
{{/if}}
{{#if ammoUsed}}
<li>{{localize "CTHULHUETERNAL.Label.ammoUsed"}}: {{ammoUsed}} / {{weapon.system.ammo.value}}</li>
{{/if}}
{{#if isLethal}}
<li class="result-lethal">{{localize "CTHULHUETERNAL.Label.lethalityLethal"}}</li>
<li class="result-lethal">{{localize "CTHULHUETERNAL.Label.lethalityWounded"}}</li>
{{else}}
<li class="result-non-lethal">{{localize "CTHULHUETERNAL.Label.lethalityNotLethal"}}</li>
<li class="result-non-lethal">{{localize "CTHULHUETERNAL.Label.lethalityNotWounded"}}: <strong>{{wounds}}</strong></li>
{{/if}}
</ul>
</div>
</div>

View File

@ -19,7 +19,7 @@
{{/if}} {{/if}}
{{#if weapon}} {{#if weapon}}
<li><strong>Weapon : {{weapon.name}}</strong></li> <li><strong>{{localize "CTHULHUETERNAL.Label.Weapon"}} : {{weapon.name}}</strong></li>
{{/if}} {{/if}}
{{#if (eq rollType "resource")}} {{#if (eq rollType "resource")}}
@ -29,15 +29,15 @@
{{/if}} {{/if}}
{{#if isZeroWP}} {{#if isZeroWP}}
<li class="red-warning">Zero WP : Automatic failure (ie 0%)</li> <li class="red-warning">{{localize "CTHULHUETERNAL.Label.ZeroWP"}}</li>
{{else}} {{else}}
{{#if isLowWP}} {{#if isLowWP}}
<li class="orange-warning">Low WP : -20%</li> <li class="orange-warning">{{localize "CTHULHUETERNAL.Label.LowWP"}} : -20%</li>
{{/if}} {{/if}}
{{/if}} {{/if}}
{{#if isExhausted}} {{#if isExhausted}}
<li class="orange-warning">Exhausted : -20%</li> <li class="orange-warning">{{localize "CTHULHUETERNAL.Label.Exhausted"}} : -20%</li>
{{/if}} {{/if}}
{{#if (eq rollType "resource")}} {{#if (eq rollType "resource")}}
@ -49,24 +49,56 @@
<li>{{localize "CTHULHUETERNAL.Label.targetScore"}} : {{targetScore}}%</li> <li>{{localize "CTHULHUETERNAL.Label.targetScore"}} : {{targetScore}}%</li>
{{#if isSuccess}} {{#if isSuccess}}
{{#if isCritical}} {{#if isCritical}}
<li class="result-critical-success">{{localize "CTHULHUETERNAL.Label.criticalSuccess"}}</li> <li class="result-critical-success">{{localize "CTHULHUETERNAL.Label.criticalSuccess"}}
{{#if (eq rollType "weapon")}}
{{#if (eq weapon.system.weaponType "rangedfirearm")}}
<a class="damage-roll" data-tooltip="{{localize "CTHULHUETERNAL.Label.rollDamage"}}"><i class="fa-solid fa-gun"></i></a>
{{else}}
<a class="damage-roll" data-tooltip="{{localize "CTHULHUETERNAL.Label.rollDamage"}}"><i class="fa-solid fa-sword"></i></a>
{{/if}}
{{/if}}
{{#if (eq rollType "skill") }}
{{#if rollItem.system.isHealing}}
<a class="healing-roll" data-tooltip="{{localize "CTHULHUETERNAL.Label.rollHealing"}}"><i class="fa-solid fa-heart"></i></a>
{{/if}}
{{/if}}
</li>
{{else}} {{else}}
<li class="result-success"> <li class="result-success">
{{localize "CTHULHUETERNAL.Label.success"}} {{localize "CTHULHUETERNAL.Label.success"}}
{{#if isNudge}} {{#if isNudge}}
<a class="nudge-roll"><i class="fa-solid fa-circle-sort-down"></i></a> <a class="nudge-roll" data-tooltip="{{localize "CTHULHUETERNAL.Label.rollNudge"}}"><i class="fa-solid fa-circle-sort-down"></i></a>
{{/if}}
{{#if (eq weapon.system.weaponType "rangedfirearm")}}
<a class="damage-roll" data-tooltip="{{localize "CTHULHUETERNAL.Label.rollDamage"}}"><i class="fa-solid fa-gun"></i></a>
{{else}}
<a class="damage-roll" data-tooltip="{{localize "CTHULHUETERNAL.Label.rollDamage"}}"><i class="fa-solid fa-sword"></i></a>
{{/if}}
{{#if (eq rollType "skill") }}
{{#if rollItem.system.isHealing}}
<a class="healing-roll" data-tooltip="{{localize "CTHULHUETERNAL.Label.rollHealing"}}"><i class="fa-solid fa-heart"></i></a>
{{/if}}
{{/if}} {{/if}}
</li> </li>
{{/if}} {{/if}}
{{/if}} {{/if}}
{{#if isFailure}} {{#if isFailure}}
{{#if isCritical}} {{#if isCritical}}
<li class="result-critical-failure">{{localize "CTHULHUETERNAL.Label.criticalFailure"}}</li> <li class="result-critical-failure">{{localize "CTHULHUETERNAL.Label.criticalFailure"}}
{{#if (eq rollType "skill") }}
{{#if rollItem.system.isHealing}}
<a class="healing-roll" data-tooltip="{{localize "CTHULHUETERNAL.Label.rollHealing"}}"><i class="fa-solid fa-heart"></i></a>
{{/if}}
{{/if}}
</li>
{{else}} {{else}}
<li class="result-failure"> <li class="result-failure">
{{localize "CTHULHUETERNAL.Label.failure"}} {{localize "CTHULHUETERNAL.Label.failure"}}
{{#if isNudge}} {{#if isNudge}}
<a class="nudge-roll"><i class="fa-solid fa-circle-sort-down"></i></a> <a class="nudge-roll" data-tooltip="{{localize "CTHULHUETERNAL.Label.rollNudge"}}"><i class="fa-solid fa-circle-sort-down"></i></a>
{{/if}} {{/if}}
</li> </li>
{{/if}} {{/if}}

View File

@ -0,0 +1,20 @@
<div class="{{cssClass}}">
<div class="chat-lethal-damage">
<ul>
<li><strong>{{weapon.name}} : {{localize "CTHULHUETERNAL.Label.damageRoll"}}</strong></li>
<li>{{localize "CTHULHUETERNAL.Label.result"}} :{{rollResult}} ({{formula}})</li>
{{#if weapon.system.killRadius}}
<li>{{localize "CTHULHUETERNAL.Label.killRadius"}} : {{weapon.system.killRadius}} {{weapon.system.rangeUnit}}</li>
<li>{{localize "CTHULHUETERNAL.Label.killRadiusInfo"}}</li>
{{/if}}
{{#if ammoUsed}}
<li>{{localize "CTHULHUETERNAL.Label.ammoUsed"}}: {{ammoUsed}} / {{weapon.system.ammo.value}}</li>
{{/if}}
<li class="result-non-lethal">{{localize "CTHULHUETERNAL.Label.damageMessage"}}: <strong>{{rollResult}}</strong></li>
</ul>
</div>
</div>

View File

@ -0,0 +1,11 @@
<div class="{{cssClass}}">
<div class="chat-san-request">
<ul>
<li><strong>{{localize "CTHULHUETERNAL.Label.noSanLoss"}}</strong></li>
{{#if resetMsg}}
<li><strong>{{localize resetMsg}}</strong></li>
{{/if}}
</ul>
</div>
</div>

View File

@ -0,0 +1,24 @@
<div class="{{cssClass}}">
<div class="chat-san-request">
<ul>
<li><strong>{{localize "CTHULHUETERNAL.Label.sanLoss"}}</strong></li>
{{#if (eq sanType "violence")}}
{{#if adaptedToViolence}}
<li class="orange-warning">{{localize "CTHULHUETERNAL.Label.adaptedToViolence"}}</li>
{{else}}
<li>{{localize "CTHULHUETERNAL.Label.sanLossViolence"}}</li>
{{/if}}
{{/if}}
{{#if (eq sanType "helplessness")}}
{{#if adaptedToHelplessness}}
<li class="orange-warning">{{localize "CTHULHUETERNAL.Label.adaptedToHelplessness"}}</li>
{{else}}
<li>{{localize "CTHULHUETERNAL.Label.sanLossHelplessness"}}</li>
{{/if}}
{{/if}}
</ul>
</div>
</div>

View File

@ -0,0 +1,25 @@
<div class="{{cssClass}}">
<div class="chat-san-request">
<ul>
<li><strong>{{localize "CTHULHUETERNAL.Label.SANTest"}}</strong></li>
<li class="san-loose-buttons">
<button class="san-loose" data-san-value="0">0</button>
<button class="san-loose" data-san-value="1">1</button>
<button class="san-loose" data-san-value="2">2</button>
<button class="san-loose" data-san-value="3">3</button>
<button class="san-loose" data-san-value="4">4</button>
</li>
<li class="san-loose-buttons">
<button class="san-loose" data-san-value="1d4">1d4</button>
<button class="san-loose" data-san-value="1d6">1d6</button>
<button class="san-loose" data-san-value="1d8">1d8</button>
<button class="san-loose" data-san-value="1d10">1d10</button>
<button class="san-loose" data-san-value="1d12">1d12</button>
</li>
</ul>
</div>
</div>

View File

@ -0,0 +1,12 @@
<div class="{{cssClass}}">
<div class="chat-san-request">
<ul>
<li><strong>{{localize "CTHULHUETERNAL.Label.sanLoss5"}}</strong></li>
{{#if resetMsg}}
<li class="orange-warning">{{localize resetMsg}}</li>
{{/if}}
</ul>
</div>
</div>

View File

@ -0,0 +1,19 @@
<div class="{{cssClass}}">
<div class="chat-san-request">
<ul>
<li><strong>{{localize "CTHULHUETERNAL.Label.sanLoss"}} : {{sanLoss}}</strong></li>
<li><strong>{{localize "CTHULHUETERNAL.Label.selectSANType"}}</strong></li>
<li class="san-type-buttons">
<button class="san-type" data-san-value="{{sanLoss}}" data-san-type="violence">{{localize "CTHULHUETERNAL.Label.Violence"}}</button>
<button class="san-type" data-san-value="{{sanLoss}}" data-san-type="helplessness">{{localize "CTHULHUETERNAL.Label.Helplessness"}}</button>
</li>
<li class="san-type-buttons">
<button class="san-type" data-san-value="{{sanLoss}}" data-san-type="unnatural">{{localize "CTHULHUETERNAL.Label.Unnatural"}}</button>
<button class="san-type" data-san-value="{{sanLoss}}" data-san-type="none">{{localize "CTHULHUETERNAL.Label.None"}}</button>
</li>
</ul>
</div>
</div>

View File

@ -10,7 +10,7 @@
<fieldSet> <fieldSet>
<legend>{{localize "CTHULHUETERNAL.Label.wpCost"}}</legend> <legend>{{localize "CTHULHUETERNAL.Label.wpCost"}}</legend>
<div> <div>
Willpower points cost : {{localize "CTHULHUETERNAL.Label.wpCostLabel"}} :
<input class="text" value="0" id="nudged-wp-cost" disabled > <input class="text" value="0" id="nudged-wp-cost" disabled >
</div> </div>
</fieldSet> </fieldSet>

View File

@ -21,8 +21,13 @@
<fieldset> <fieldset>
<legend>{{localize "CTHULHUETERNAL.Label.biodata"}}</legend> <legend>{{localize "CTHULHUETERNAL.Label.biodata"}}</legend>
<div class="adapted"> <div class="adapted">
{{#if isGM}}
{{formField systemFields.biodata.fields.adaptedToViolence value=system.biodata.adaptedToViolence name="system.biodata.adaptedToViolence" localize=true}} {{formField systemFields.biodata.fields.adaptedToViolence value=system.biodata.adaptedToViolence name="system.biodata.adaptedToViolence" localize=true}}
{{formField systemFields.biodata.fields.adaptedToHelplessness value=system.biodata.adaptedToHelplessness name="system.biodata.adaptedToHelplessness" localize=true}} {{formField systemFields.biodata.fields.adaptedToHelplessness value=system.biodata.adaptedToHelplessness name="system.biodata.adaptedToHelplessness" localize=true}}
{{else}}
{{formField systemFields.biodata.fields.adaptedToViolence value=system.biodata.adaptedToViolence name="system.biodata.adaptedToViolence" localize=true disabled=true}}
{{formField systemFields.biodata.fields.adaptedToHelplessness value=system.biodata.adaptedToHelplessness name="system.biodata.adaptedToHelplessness" localize=true disabled=true}}
{{/if}}
</div> </div>
<div class="biodata"> <div class="biodata">
{{formField systemFields.biodata.fields.harshness value=system.biodata.harshness name="system.biodata.harshness" localize=true}} {{formField systemFields.biodata.fields.harshness value=system.biodata.harshness name="system.biodata.harshness" localize=true}}

View File

@ -10,14 +10,20 @@
data-tooltip="{{actor.name}}" /> data-tooltip="{{actor.name}}" />
</div> </div>
<fieldset class="protagonist-hp"> <fieldset class="protagonist-hp">
{{#if system.hp.dead}}
<legend class="hp-dead">{{localize "CTHULHUETERNAL.Label.HP"}} {{localize "CTHULHUETERNAL.Label.dying"}}</legend>
{{else}}
{{#if system.hp.unconscious}}
<legend class="hp-unconscious">{{localize "CTHULHUETERNAL.Label.HP"}} {{localize "CTHULHUETERNAL.Label.unconscious"}}</legend>
{{else}}
<legend>{{localize "CTHULHUETERNAL.Label.HP"}}</legend> <legend>{{localize "CTHULHUETERNAL.Label.HP"}}</legend>
{{/if}}
{{/if}}
<div class="flexrow"> <div class="flexrow">
{{formField systemFields.hp.fields.value value=system.hp.value}} {{formField systemFields.hp.fields.value value=system.hp.value}}
<span class="hp-separator">/</span> <span class="hp-separator">/</span>
{{formField systemFields.hp.fields.max value=system.hp.max rootId=partId disabled=true}} {{formField systemFields.hp.fields.max value=system.hp.max rootId=partId disabled=true}}
</div> {{formField systemFields.hp.fields.stunned value=system.hp.stunned classes="stunned"}}
<div class="flexrow ">
{{formField systemFields.damageBonus value=system.damageBonus classes="damage-bonus"}}
</div> </div>
</fieldset> </fieldset>
@ -36,14 +42,15 @@
<legend>{{localize "CTHULHUETERNAL.Label.SAN"}}</legend> <legend>{{localize "CTHULHUETERNAL.Label.SAN"}}</legend>
<div class="flexrow"> <div class="flexrow">
<label class="label-field rollable" data-roll-type="san" ><img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" /> <label class="label-field rollable" data-roll-type="san"><img
src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
{{localize "CTHULHUETERNAL.Label.current"}}</label> {{localize "CTHULHUETERNAL.Label.current"}}</label>
{{formInput systemFields.san.fields.value value=system.san.value}} {{formInput systemFields.san.fields.value value=system.san.value}}
<span class="label-field label-recovery">{{localize "CTHULHUETERNAL.Label.recovery"}}</span> <span class="label-field label-recovery">{{localize "CTHULHUETERNAL.Label.recovery"}}</span>
{{formInput systemFields.san.fields.recovery value=system.san.recovery disabled=true}} {{formInput systemFields.san.fields.recovery value=system.san.recovery disabled=true}}
<span class="label-bp" data-tooltip='{{localize "CTHULHUETERNAL.Tooltip.sanBPShort"}}'>{{localize <span class="label-bp" data-tooltip='{{localize "CTHULHUETERNAL.Tooltip.sanBP"}}'>{{localize
"CTHULHUETERNAL.Label.sanBPShort"}}</span> "CTHULHUETERNAL.Label.sanBPShort"}}</span>
{{formInput systemFields.san.fields.breakingPoint value=system.san.breakingPoint disabled=true}} {{formInput systemFields.san.fields.breakingPoint value=system.san.breakingPoint disabled=true}}
@ -62,23 +69,36 @@
{{formInput systemFields.san.fields.insanity value=system.san.insanity localize=true}} {{formInput systemFields.san.fields.insanity value=system.san.insanity localize=true}}
{{#if (not isPlayMode)}} {{#if (not isPlayMode)}}
<button data-action="setBP" class="button" data-tooltip="{{localize "CTHULHUETERNAL.Tooltip.setBP"}}">{{localize "CTHULHUETERNAL.Label.setBP"}}</button> <button data-action="setBP" class="button" data-tooltip="{{localize "
CTHULHUETERNAL.Tooltip.setBP"}}">{{localize "CTHULHUETERNAL.Label.setBP"}}</button>
{{/if}} {{/if}}
</div> </div>
<div class="flexrow"> <div class="flexrow">
<span class="label-field">{{localize "CTHULHUETERNAL.Label.violence"}}</span> <div class="san-violence">
{{#if system.biodata.adaptedToViolence}}
<span class="">{{localize "CTHULHUETERNAL.Label.adaptedToViolenceShort"}}</span>
{{else}}
<span class="label-field label-san-type">{{localize "CTHULHUETERNAL.Label.violence"}}</span>
{{#each system.san.violence as |violence idx|}} {{#each system.san.violence as |violence idx|}}
<input class="san-checkbox" type="checkbox" data-action="updateCheckboxArray" data-index="{{@index}}" <input class="san-checkbox" type="checkbox" data-action="updateCheckboxArray" data-index="{{@index}}"
data-name="violence" {{#if violence}} checked {{/if}}> data-name="violence" {{#if violence}} checked {{/if}}>
{{/each}} {{/each}}
{{/if}}
</div>
<span class="label-field">{{localize "CTHULHUETERNAL.Label.helplessness"}}</span> <div class="san-helplessness">
{{#if system.biodata.adaptedToHelplessness}}
<span class="">{{localize "CTHULHUETERNAL.Label.adaptedToHelplessnessShort"}}</span>
{{else}}
<span class="label-field label-san-type">{{localize "CTHULHUETERNAL.Label.helplessness"}}</span>
{{#each system.san.helplessness as |helplessness idx|}} {{#each system.san.helplessness as |helplessness idx|}}
<input class="san-checkbox" type="checkbox" data-action="updateCheckboxArray" data-index="{{@index}}" <input class="san-checkbox" type="checkbox" data-action="updateCheckboxArray" data-index="{{@index}}"
data-name="helplessness" {{#if helplessness}} checked {{/if}}> data-name="helplessness" {{#if helplessness}} checked {{/if}}>
{{/each}} {{/each}}
{{/if}}
</div>
</div> </div>
@ -104,7 +124,8 @@
<legend>{{localize "CTHULHUETERNAL.Label.characteristics"}}</legend> <legend>{{localize "CTHULHUETERNAL.Label.characteristics"}}</legend>
<div class="protagonist-characteristic"> <div class="protagonist-characteristic">
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" /> <img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
<label class="rollable" data-roll-type="char" data-char-id="str" data-tooltip="{{system.characteristics.str.feature}}">{{localize <label class="rollable" data-roll-type="char" data-char-id="str"
data-tooltip="{{system.characteristics.str.feature}}">{{localize
"CTHULHUETERNAL.Label.strShort"}}</label> "CTHULHUETERNAL.Label.strShort"}}</label>
{{formField systemFields.characteristics.fields.str.fields.value value=system.characteristics.str.value {{formField systemFields.characteristics.fields.str.fields.value value=system.characteristics.str.value
rootId=partId disabled=isPlayMode }} rootId=partId disabled=isPlayMode }}
@ -112,7 +133,8 @@
</div> </div>
<div class="protagonist-characteristic"> <div class="protagonist-characteristic">
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" /> <img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
<label class="rollable" data-roll-type="char" data-char-id="dex" data-tooltip="{{system.characteristics.dex.feature}}">{{localize <label class="rollable" data-roll-type="char" data-char-id="dex"
data-tooltip="{{system.characteristics.dex.feature}}">{{localize
"CTHULHUETERNAL.Label.dexShort"}}</label> "CTHULHUETERNAL.Label.dexShort"}}</label>
{{formField systemFields.characteristics.fields.dex.fields.value value=system.characteristics.dex.value {{formField systemFields.characteristics.fields.dex.fields.value value=system.characteristics.dex.value
rootId=partId disabled=isPlayMode }} rootId=partId disabled=isPlayMode }}
@ -120,7 +142,8 @@
</div> </div>
<div class="protagonist-characteristic"> <div class="protagonist-characteristic">
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" /> <img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
<label class="rollable" data-roll-type="char" data-char-id="con" data-tooltip="{{system.characteristics.con.feature}}">{{localize <label class="rollable" data-roll-type="char" data-char-id="con"
data-tooltip="{{system.characteristics.con.feature}}">{{localize
"CTHULHUETERNAL.Label.conShort"}}</label> "CTHULHUETERNAL.Label.conShort"}}</label>
{{formField systemFields.characteristics.fields.con.fields.value value=system.characteristics.con.value {{formField systemFields.characteristics.fields.con.fields.value value=system.characteristics.con.value
rootId=partId disabled=isPlayMode }} rootId=partId disabled=isPlayMode }}
@ -128,7 +151,8 @@
</div> </div>
<div class="protagonist-characteristic"> <div class="protagonist-characteristic">
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" /> <img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
<label class="rollable" data-roll-type="char" data-char-id="int" data-tooltip="{{system.characteristics.int.feature}}">{{localize <label class="rollable" data-roll-type="char" data-char-id="int"
data-tooltip="{{system.characteristics.int.feature}}">{{localize
"CTHULHUETERNAL.Label.intShort"}}</label> "CTHULHUETERNAL.Label.intShort"}}</label>
{{formField systemFields.characteristics.fields.int.fields.value value=system.characteristics.int.value {{formField systemFields.characteristics.fields.int.fields.value value=system.characteristics.int.value
rootId=partId disabled=isPlayMode }} rootId=partId disabled=isPlayMode }}
@ -136,7 +160,8 @@
</div> </div>
<div class="protagonist-characteristic"> <div class="protagonist-characteristic">
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" /> <img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
<label class="rollable" data-roll-type="char" data-char-id="pow" data-tooltip="{{system.characteristics.pow.feature}}">{{localize <label class="rollable" data-roll-type="char" data-char-id="pow"
data-tooltip="{{system.characteristics.pow.feature}}">{{localize
"CTHULHUETERNAL.Label.powShort"}}</label> "CTHULHUETERNAL.Label.powShort"}}</label>
{{formField systemFields.characteristics.fields.pow.fields.value value=system.characteristics.pow.value {{formField systemFields.characteristics.fields.pow.fields.value value=system.characteristics.pow.value
rootId=partId disabled=isPlayMode }} rootId=partId disabled=isPlayMode }}
@ -144,12 +169,24 @@
</div> </div>
<div class="protagonist-characteristic"> <div class="protagonist-characteristic">
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" /> <img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
<label class="rollable" data-roll-type="char" data-char-id="cha" data-tooltip="{{system.characteristics.cha.feature}}">{{localize <label class="rollable" data-roll-type="char" data-char-id="cha"
data-tooltip="{{system.characteristics.cha.feature}}">{{localize
"CTHULHUETERNAL.Label.chaShort"}}</label> "CTHULHUETERNAL.Label.chaShort"}}</label>
{{formField systemFields.characteristics.fields.cha.fields.value value=system.characteristics.cha.value {{formField systemFields.characteristics.fields.cha.fields.value value=system.characteristics.cha.value
rootId=partId disabled=isPlayMode }} rootId=partId disabled=isPlayMode }}
<label class="char-text">{{mul system.characteristics.cha.value 5}}</label> <label class="char-text">{{mul system.characteristics.cha.value 5}}</label>
</div> </div>
<div class="protagonist-luck">
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
<label class="rollable" data-roll-type="luck" data-char-id="luck"
data-tooltip="{{system.Label.Luck}}">{{localize
"CTHULHUETERNAL.Label.Luck"}} (50)</label>
</div>
<div class="damage-bonus">
{{formField systemFields.damageBonus value=system.damageBonus tooltip="Etourdi" }}
</div>
</fieldset> </fieldset>
</section> </section>

View File

@ -7,7 +7,7 @@
<div class="skill item" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"> <div class="skill item" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}">
<img class="item-img " src="{{item.img}}" data-tooltip="{{item.name}}" /> <img class="item-img " src="{{item.img}}" data-tooltip="{{item.name}}" />
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" /> <img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
<div class="name rollable" data-roll-type="skill" data-tooltip="{{{item.description}}}" data-tooltip-direction="UP">{{item.name}} <div class="name rollable {{#if item.system.rollFailed}}skill-failed-progress{{/if}}" data-roll-type="skill" data-tooltip="{{{item.description}}}" data-tooltip-direction="UP">{{item.name}}
</div> </div>
<div class="score" > <div class="score" >
{{item.system.skillTotal}} {{item.system.skillTotal}}

View File

@ -13,7 +13,7 @@
{{item.name}} {{item.name}}
</div> </div>
<div class="type"> <div class="type">
{{upperFirst item.system.bondType}} {{localize (concat "CTHULHUETERNAL.BondType." item.system.bondType)}}
</div> </div>
<div class="level"> <div class="level">
{{item.system.value}} {{item.system.value}}

View File

@ -18,7 +18,7 @@
{{/if}} {{/if}}
{{#if weapon}} {{#if weapon}}
<div class="dialog-skill">Weapon : {{weapon.name}}</div> <div class="dialog-skill">{{localize "CTHULHUETERNAL.Label.Weapon"}} : {{weapon.name}}</div>
{{#if weapon.system.hasSelectiveFire}} {{#if weapon.system.hasSelectiveFire}}
<div class="dialog-skill">Selective Fire : <div class="dialog-skill">Selective Fire :
<select name="selectiveFireChoice" class="roll-skill-modifier"> <select name="selectiveFireChoice" class="roll-skill-modifier">
@ -29,15 +29,15 @@
{{/if}} {{/if}}
{{#if isZeroWP}} {{#if isZeroWP}}
<div class="dialog-skill red-warning">Zero WP : Automatic failure (ie 0%)</div> <div class="dialog-skill red-warning">{{localize "CTHULHUETERNAL.Label.ZeroWP"}}</div>
{{else}} {{else}}
{{#if isLowWP}} {{#if isLowWP}}
<div class="dialog-skill orange-warning">Low WP : -20%</div> <div class="dialog-skill orange-warning">{{localize "CTHULHUETERNAL.Label.LowWP"}} : -20%</div>
{{/if}} {{/if}}
{{/if}} {{/if}}
{{#if isExhausted}} {{#if isExhausted}}
<div class="dialog-skill orange-warning">Exhausted : -20%</div> <div class="dialog-skill orange-warning">{{localize "CTHULHUETERNAL.Label.Exhausted"}} : -20%</div>
{{/if}} {{/if}}
</fieldSet> </fieldSet>

View File

@ -13,13 +13,35 @@
<legend>{{localize "CTHULHUETERNAL.Label.totalScore"}}</legend> <legend>{{localize "CTHULHUETERNAL.Label.totalScore"}}</legend>
{{system.skillTotal}} {{system.skillTotal}}
</div> </div>
{{#if isGM}}
{{formField systemFields.isHealing value=system.isHealing}}
{{#if system.isHealing}}
{{formField systemFields.healingFormula value=system.healingFormula}}
{{/if}}
{{formField systemFields.isAdversary value=system.isAdversary }} {{formField systemFields.isAdversary value=system.isAdversary }}
{{formField systemFields.diceEvolved value=system.diceEvolved}} {{formField systemFields.diceEvolved value=system.diceEvolved}}
<!-- {{#if system.diceEvolved}} {{#if system.diceEvolved}}
{{formField systemFields.rollFailed value=system.rollFailed}} {{formField systemFields.rollFailed value=system.rollFailed}}
{{/if}} {{/if}}
--> {{else}}
{{formField systemFields.isHealing value=system.isHealing disabled=true}}
{{#if system.isHealing}}
{{formField systemFields.healingFormula value=system.healingFormula disabled=true}}
{{/if}}
{{formField systemFields.isAdversary value=system.isAdversary disabled=true}}
{{formField systemFields.diceEvolved value=system.diceEvolved disabled=true}}
{{#if system.diceEvolved}}
{{formField systemFields.rollFailed value=system.rollFailed disabled=true}}
{{/if}}
{{/if}}
{{#if (and system.diceEvolved system.rollFailed)}}
<div class="roll-failed">
<a class="roll-progress" data-action="rollProgress"><i class="fa-solid fa-dice-d4"></i> {{localize "CTHULHUETERNAL.Label.rollProgress"}}</a>
</div>
{{/if}}
</fieldset> </fieldset>

View File

@ -18,12 +18,20 @@
{{formField systemFields.directSkillValue value=system.directSkillValue }} {{formField systemFields.directSkillValue value=system.directSkillValue }}
{{/if}} {{/if}}
{{formField systemFields.hasSelectiveFire value=system.hasSelectiveFire}}
{{formField systemFields.applyDamageBonus value=system.applyDamageBonus}} {{formField systemFields.applyDamageBonus value=system.applyDamageBonus}}
{{formField systemFields.damage value=system.damage}} {{formField systemFields.damage value=system.damage}}
{{#if isRanged}}
{{formField systemFields.baseRange value=system.baseRange}} {{formField systemFields.baseRange value=system.baseRange}}
{{formField systemFields.rangeUnit value=system.rangeUnit localize=true}} {{formField systemFields.rangeUnit value=system.rangeUnit localize=true}}
{{/if}}
{{#if isFireArm}}
{{formField systemFields.hasSelectiveFire value=system.hasSelectiveFire}}
{{formField systemFields.ammo.fields.value value=system.ammo.value}}
{{formField systemFields.ammo.fields.max value=system.ammo.max}}
{{/if}}
{{formField systemFields.lethality value=system.lethality}} {{formField systemFields.lethality value=system.lethality}}
{{formField systemFields.killRadius value=system.killRadius}} {{formField systemFields.killRadius value=system.killRadius}}