fix: Dice So Nice import v14 compat, override Foundry text colors for readability
Release Creation / build (release) Failing after 1m28s
Release Creation / build (release) Failing after 1m28s
- hooks.mjs: replace static dice-so-nice import with dynamic import
using game.modules.get('dice-so-nice').id (path removed in v14)
- hooks.mjs: fix permission condition (|| -> &&), jQuery -> vanilla JS
- less/base.less: override --color-text-* and --button-text-color
for both .themed.theme-dark (AppV2) and body.theme-dark (legacy apps)
- target #settings-config buttons + labels + hints for dark grays
This commit is contained in:
+43
-40
@@ -26,46 +26,6 @@ VERMINE.DifficultyLevels = {
|
||||
3: { "label": "DIFFICULTY_LEVELS.hard", "difficulty": 7 },
|
||||
4: { "label": "DIFFICULTY_LEVELS.very_hard", "difficulty": 9 },
|
||||
5: { "label": "DIFFICULTY_LEVELS.impossible", "difficulty": 10 }
|
||||
},
|
||||
|
||||
VERMINE.ThreatLevels = {
|
||||
1: { "label": "THREAT_LEVELS.minor", "attack": 3, "vigor": 1, "minorWound": 1, "majorWound": 1, "deadlyWound": 1 },
|
||||
2: { "label": "THREAT_LEVELS.serious", "attack": 4, "vigor": 2, "minorWound": 2, "majorWound": 1, "deadlyWound": 1 },
|
||||
3: { "label": "THREAT_LEVELS.major", "attack": 5, "vigor": 3, "minorWound": 2, "majorWound": 1, "deadlyWound": 1 },
|
||||
4: { "label": "THREAT_LEVELS.deadly", "attack": 6, "vigor": 4, "minorWound": 2, "majorWound": 2, "deadlyWound": 2 },
|
||||
}
|
||||
|
||||
VERMINE.ExperienceLevels = {
|
||||
1: { "label": "SKILL_LEVELS.beginner", "action": 3, "specialties": 4, "rerolls": 0, "contact": "7" },
|
||||
2: { "label": "SKILL_LEVELS.proficient", "action": 3, "specialties": 5, "rerolls": 0, "contact": "5 ou 7" },
|
||||
3: { "label": "SKILL_LEVELS.expert", "action": 4, "specialties": 6, "rerolls": 1, "contact": "5,7 ou 9" },
|
||||
4: { "label": "SKILL_LEVELS.master", "action": 4, "specialties": 6, "rerolls": 2, "contact": "3,5,7 ou 9" },
|
||||
}
|
||||
|
||||
VERMINE.RoleLevels = {
|
||||
1: { "label": "ROLE_LEVELS.minor", "reaction": 3, "reaction_bonus": 0, "pools": 0, "gear": 9, "gear_hindrance": 0, "protection": 1 },
|
||||
2: { "label": "ROLE_LEVELS.secondary", "reaction": 3, "reaction_bonus": 1, "pools": 1, "gear": 9, "gear_hindrance": 1, "protection": 2 },
|
||||
3: { "label": "ROLE_LEVELS.important", "reaction": 3, "reaction_bonus": 2, "pools": 2, "gear": 9, "gear_hindrance": 2, "protection": 3 },
|
||||
4: { "label": "ROLE_LEVELS.major", "reaction": 4, "reaction_bonus": 2, "pools": 4, "gear": 10, "gear_hindrance": 2, "protection": 3 },
|
||||
}
|
||||
|
||||
VERMINE.PatternLevels = {
|
||||
1: { "label": "PATTERN_LEVELS.insect", "attack": 2, "damage": 0, "minorWound": 0, "majorWound": 0, "deadlyWound": 1 },
|
||||
2: { "label": "PATTERN_LEVELS.rat", "attack": 3, "damage": 1, "minorWound": 0, "majorWound": 1, "deadlyWound": 1 },
|
||||
3: { "label": "PATTERN_LEVELS.dog", "attack": 4, "damage": 3, "minorWound": 1, "majorWound": 1, "deadlyWound": 1 },
|
||||
4: { "label": "PATTERN_LEVELS.bear", "attack": 6, "damage": 6, "minorWound": 2, "majorWound": 2, "deadlyWound": 2 },
|
||||
}
|
||||
|
||||
VERMINE.SizeLevels = {
|
||||
1: { "attack": 2, "vigor": 1, "minorWound": 0, "majorWound": 0, "deadlyWound": 1 },
|
||||
2: { "attack": 3, "vigor": 2, "minorWound": 0, "majorWound": 1, "deadlyWound": 1 },
|
||||
3: { "attack": 4, "vigor": 3, "minorWound": 1, "majorWound": 1, "deadlyWound": 1 }
|
||||
}
|
||||
|
||||
VERMINE.PackLevels = {
|
||||
1: { "attack": 1, "damage": 1, "minorWound": 0, "majorWound": 0, "deadlyWound": 1 },
|
||||
2: { "attack": 2, "damage": 2, "minorWound": 2, "majorWound": 2, "deadlyWound": 2 },
|
||||
3: { "attack": 5, "damage": 5, "minorWound": 3, "majorWound": 3, "deadlyWound": 3 }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -251,6 +211,49 @@ VERMINE.skillCategories = {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Skills mapping: each skill belongs to a category.
|
||||
* Used by templates to render skill-select dropdowns.
|
||||
*/
|
||||
VERMINE.skills = {
|
||||
// man
|
||||
arts: { category: "man" },
|
||||
civilization: { category: "man" },
|
||||
psychology: { category: "man" },
|
||||
rumors: { category: "man" },
|
||||
healing: { category: "man" },
|
||||
// animal
|
||||
animalism: { category: "animal" },
|
||||
dissection: { category: "animal" },
|
||||
wildlife: { category: "animal" },
|
||||
repulsion: { category: "animal" },
|
||||
tracks: { category: "animal" },
|
||||
// tool
|
||||
crafting: { category: "tool" },
|
||||
diy: { category: "tool" },
|
||||
mecanical: { category: "tool" },
|
||||
piloting: { category: "tool" },
|
||||
technology: { category: "tool" },
|
||||
// weapon
|
||||
firearms: { category: "weapon" },
|
||||
archery: { category: "weapon" },
|
||||
armory: { category: "weapon" },
|
||||
throwing: { category: "weapon" },
|
||||
melee: { category: "weapon" },
|
||||
// survival
|
||||
alertness: { category: "survival" },
|
||||
atletics: { category: "survival" },
|
||||
food: { category: "survival" },
|
||||
stealth: { category: "survival" },
|
||||
close: { category: "survival" },
|
||||
// world
|
||||
environment: { category: "world" },
|
||||
flora: { category: "world" },
|
||||
road: { category: "world" },
|
||||
toxics: { category: "world" },
|
||||
ruins: { category: "world" }
|
||||
}
|
||||
|
||||
VERMINE.sexes = { "male": "SEXES.male", "female": "SEXES.female" };
|
||||
|
||||
VERMINE.totems = {
|
||||
|
||||
Reference in New Issue
Block a user