First release of actor sheet
All checks were successful
Release Creation / build (release) Successful in 1m11s

This commit is contained in:
2025-05-23 22:39:42 +02:00
parent ef9c011186
commit 666fb4c00a
9 changed files with 649 additions and 390 deletions

View File

@@ -312,7 +312,7 @@ i.fvtt-hellborn {
}
.fvtt-hellborn .tab.character-status .main-div .perks {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-columns: repeat(1, 1fr);
gap: 4px;
}
.fvtt-hellborn .tab.character-status .main-div .perks .perk {
@@ -320,8 +320,8 @@ i.fvtt-hellborn {
align-items: center;
gap: 4px;
margin-left: 4px;
min-width: 12.3rem;
max-width: 12.3rem;
min-width: 20rem;
max-width: 20rem;
}
.fvtt-hellborn .tab.character-status .main-div .perks .perk .rollable:hover,
.fvtt-hellborn .tab.character-status .main-div .perks .perk .rollable:focus {
@@ -333,9 +333,17 @@ i.fvtt-hellborn {
min-width: 1.8rem;
max-width: 1.8rem;
}
.fvtt-hellborn .tab.character-status .main-div .perks .perk .score {
min-width: 1.2rem;
max-width: 1.2rem;
.fvtt-hellborn .tab.character-status .main-div .perks .perk .flavor {
min-width: 24rem;
max-width: 24rem;
}
.fvtt-hellborn .tab.character-status .main-div .perks .perk .role {
min-width: 5rem;
max-width: 5rem;
}
.fvtt-hellborn .tab.character-status .main-div .perks .perk .level {
min-width: 2rem;
max-width: 2rem;
}
.fvtt-hellborn .tab.character-status .main-div .perks .perk .name {
min-width: 10rem;
@@ -376,7 +384,7 @@ i.fvtt-hellborn {
min-width: 12rem;
max-width: 12rem;
}
.fvtt-hellborn .tab.character-maleficas .main-div .maleficas .malefica .type {
.fvtt-hellborn .tab.character-maleficas .main-div .maleficas .malefica .domain {
min-width: 6rem;
max-width: 6rem;
}
@@ -410,6 +418,18 @@ i.fvtt-hellborn {
min-width: 12rem;
max-width: 12rem;
}
.fvtt-hellborn .tab.character-maleficas .main-div .rituals .ritual .difficulty {
min-width: 2rem;
max-width: 2rem;
}
.fvtt-hellborn .tab.character-maleficas .main-div .rituals .ritual .threshold {
min-width: 2rem;
max-width: 2rem;
}
.fvtt-hellborn .tab.character-maleficas .main-div .rituals .ritual .limit {
min-width: 2rem;
max-width: 2rem;
}
.fvtt-hellborn .tab.character-maleficas .main-div .rituals .ritual .item-img {
width: 24px;
height: 24px;
@@ -426,7 +446,7 @@ i.fvtt-hellborn {
}
.fvtt-hellborn .tab.character-equipment .main-div .weapons {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-columns: repeat(1, 1fr);
gap: 4px;
}
.fvtt-hellborn .tab.character-equipment .main-div .weapons .weapon {
@@ -446,13 +466,21 @@ i.fvtt-hellborn {
min-width: 1.8rem;
max-width: 1.8rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .weapons .weapon .properties {
min-width: 24rem;
max-width: 24rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .weapons .weapon .type {
min-width: 4rem;
max-width: 4rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .weapons .weapon .damage {
min-width: 6rem;
max-width: 6rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .weapons .weapon .name {
min-width: 10rem;
max-width: 10rem;
min-width: 12rem;
max-width: 12rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .weapons .weapon .item-img {
width: 24px;
@@ -476,13 +504,21 @@ i.fvtt-hellborn {
min-width: 1.8rem;
max-width: 1.8rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .armors .armor .protection {
min-width: 6rem;
max-width: 6rem;
.fvtt-hellborn .tab.character-equipment .main-div .armors .armor .bonus {
min-width: 2rem;
max-width: 2rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .armors .armor .resilience {
min-width: 2rem;
max-width: 2rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .armors .armor .reduction {
min-width: 2rem;
max-width: 2rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .armors .armor .name {
min-width: 10rem;
max-width: 10rem;
min-width: 13.5rem;
max-width: 13.5rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .armors .armor .item-img {
width: 24px;
@@ -512,8 +548,8 @@ i.fvtt-hellborn {
max-width: 1.8rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .equipments .equipment .name {
min-width: 10rem;
max-width: 10rem;
min-width: 12rem;
max-width: 12rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .equipments .equipment .item-img {
width: 24px;
@@ -535,6 +571,43 @@ i.fvtt-hellborn {
font-size: calc(var(--font-size-standard) * 1.4);
padding-left: 5px;
}
.fvtt-hellborn .tab.character-biography .main-div .splitted-text {
display: flex;
flex-direction: row;
gap: 4px;
}
.fvtt-hellborn .tab.character-biography .main-div .splitted-text fieldset {
width: 100%;
}
.fvtt-hellborn .tab.character-biography .main-div .biodata {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
}
.fvtt-hellborn .tab.character-biography .main-div .biodata .experience {
display: flex;
flex-direction: row;
align-items: center;
gap: 4px;
margin-left: 4px;
}
.fvtt-hellborn .tab.character-biography .main-div .biodata .form-group {
display: flex;
flex-direction: row;
align-items: center;
gap: 4px;
margin-left: 4px;
min-width: 12rem;
max-width: 12rem;
}
.fvtt-hellborn .tab.character-biography .main-div .biodata .form-group label {
min-width: 6rem;
max-width: 6rem;
}
.fvtt-hellborn .tab.character-biography .main-div .biodata input {
min-width: 4rem;
max-width: 4rem;
}
.fvtt-hellborn .tab.character-biography .main-div prose-mirror.inactive {
min-height: 40px;
}

View File

@@ -1,117 +1,133 @@
{
"HELLBORN": {
"Armor": {
"FIELDS": {
"bonus": {
"label": "Bonus"
},
"cost": {
"label": "Cost"
},
"description": {
"label": "Description"
},
"reduction": {
"label": "Reduction"
},
"resilience": {
"label": "Resilience"
}
}
},
"Character": {
"FIELDS": {
"age": {
"label": "Age"
},
"archetype": {
"label": "Archetype"
},
"armor": {
"value": {
"label": "Protection"
}
},
"pronouns": {
"label": "Pronouns"
},
"trait": {
"label": "Trait"
},
"credits": {
"label": "Credits"
},
"enc": {
"label": "Enc",
"value": {
"label": "Enc Curr."
},
"max": {
"label": "Enc Max"
}
},
"biodata": {
"age": {
"label": "Age"
},
"birthplace": {
"label": "Birthplace"
},
"eyes": {
"label": "Eyes"
},
"gender": {
"label": "Gender"
},
"hair": {
"label": "Hair"
},
"height": {
"label": "Height"
},
"home": {
"label": "Home"
},
"label": "Biodata",
"weight": {
"label": "Weight"
}
},
"birthplace": {
"label": "Birthplace"
},
"concept": {
"label": "Concept"
},
"species": {
"label": "Species"
"credits": {
"label": "Credits"
},
"archetype": {
"label": "Archetype"
"experience": {
"current": {
"label": "Current"
},
"eyes": {
"label": "Eyes"
"training": {
"label": "Training"
},
"gender": {
"label": "Gender"
},
"hair": {
"label": "Hair"
},
"height": {
"label": "Height"
},
"home": {
"label": "Home"
},
"biodata": {
"label": "Biodata",
"gender": {
"label": "Gender"
},
"height": {
"label": "Height"
},
"weight": {
"label": "Weight"
},
"age": {
"label": "Age"
},
"hair": {
"label": "Hair"
},
"eyes": {
"label": "Eyes"
},
"home": {
"label": "Home"
},
"birthplace": {
"label": "Birthplace"
"label": "Experience",
"total": {
"label": "Total"
}
},
"eyes": {
"label": "Eyes"
},
"gender": {
"label": "Gender"
},
"hair": {
"label": "Hair"
},
"health": {
"label": "Stamina",
"staminaMax": {
"label": "Max"
},
"staminaValue": {
"label": "Cur."
},
"wounds": {
"label": "Wounds"
}
},
"height": {
"label": "Height"
},
"home": {
"label": "Home"
},
"pronouns": {
"label": "Pronouns"
},
"rank": {
"label": "Rank",
"elite": {
"label": "Elite"
},
"experienced": {
"label": "Experienced"
},
"expert": {
"label": "Expert"
},
"veteran": {
"label": "Veteran"
},
"elite": {
"label": "Elite"
},
"label": "Rank",
"legend": {
"label": "Legend"
},
"veteran": {
"label": "Veteran"
}
},
"health": {
"staminaValue": {
"label": "Cur."
},
"staminaMax": {
"label": "Max"
},
"wounds": {
"label": "Wounds"
},
"label": "Stamina"
},
"skills:": {
"combat": {
"label": "Combat"
@@ -134,60 +150,17 @@
"vehicles": {
"label": "Vehicles"
}
},
"species": {
"label": "Species"
},
"trait": {
"label": "Trait"
}
}
},
"Creature": {
"Niche": {
"Prey": "Prey",
"Opportunist": "Opportunist",
"Herbivore": "Herbivore",
"Predator": "Predator"
},
"Size": {
"Tiny": "Tiny",
"Small": "Small",
"Medium": "Medium",
"Large": "Large",
"Huge": "Huge",
"Giant": "Giant",
"Titanic": "Titanic",
"Gargantuan": "Gargantuan"
},
"Terrain": {
"Cave": "Cave",
"Coast": "Coast",
"Desert": "Desert",
"Forest": "Forest",
"Jungle": "Jungle",
"Mountain": "Mountain",
"Plains": "Plains",
"Swamp": "Swamp",
"Urban": "Urban",
"Ocean": "Ocean",
"Coastal": "Coast",
"Mixed": "Mixed",
"River": "River",
"Ruins": "Ruins",
"Savannah": "Savannah",
"Shallows" : "Shallows"
},
"FIELDS": {
"damage": {
"label": "Damage"
},
"size": {
"label": "Size"
},
"numberAppearing": {
"label": "Number Appearing"
},
"terrain": {
"label": "Terrain"
},
"niche": {
"label": "Niche"
},
"biodata": {
"adaptedToHelplessness": {
"label": "Adapted to helplessness"
@@ -244,9 +217,18 @@
"label": "Strength"
}
},
"damage": {
"label": "Damage"
},
"damageBonus": {
"label": "Dmg.Bonus"
},
"niche": {
"label": "Niche"
},
"numberAppearing": {
"label": "Number Appearing"
},
"resources": {
"hand": {
"label": "Hand"
@@ -260,16 +242,56 @@
"stowed": {
"label": "Stowed"
}
}
},
"size": {
"label": "Size"
},
"terrain": {
"label": "Terrain"
}
},
"SpeciesTrait": {
"Niche": {
"Herbivore": "Herbivore",
"Opportunist": "Opportunist",
"Predator": "Predator",
"Prey": "Prey"
},
"Size": {
"Gargantuan": "Gargantuan",
"Giant": "Giant",
"Huge": "Huge",
"Large": "Large",
"Medium": "Medium",
"Small": "Small",
"Tiny": "Tiny",
"Titanic": "Titanic"
},
"Terrain": {
"Cave": "Cave",
"Coast": "Coast",
"Coastal": "Coast",
"Desert": "Desert",
"Forest": "Forest",
"Jungle": "Jungle",
"Mixed": "Mixed",
"Mountain": "Mountain",
"Ocean": "Ocean",
"Plains": "Plains",
"River": "River",
"Ruins": "Ruins",
"Savannah": "Savannah",
"Shallows": "Shallows",
"Swamp": "Swamp",
"Urban": "Urban"
}
},
"Deal": {
"FIELDS": {
"description": {
"label": "Description"
},
"isAdvantage": {
"label": "Provide advantage"
"promisor": {
"label": "Promisor"
}
}
},
@@ -292,26 +314,150 @@
}
}
},
"Tarot": {
"Label": {
"backstory": "Backstory",
"scars": "Scars",
"likes": "Likes",
"dislikes": "Dislikes",
"fears": "Fears",
"vices": "Vices",
"goals": "Goals",
"ambitions": "Ambitions",
"values": "Values",
"bonds": "Bonds",
"abilities": "Abilities",
"Agility": "Agility",
"ailments": "Ailments",
"appearance": "Appearance",
"armor": "Armor",
"Armor": "Armor",
"armors": "Armors",
"biodata": "Biodata",
"biography": "Biography",
"capacity": "Capacity",
"cargo": "Cargo",
"character": "Character",
"combat": "Combat",
"Counters": "Counters",
"creature": "Creature",
"criticalFailure": "Critical Failure",
"criticalSuccess": "Critical Success",
"current": "Curr.",
"damage": "Damage",
"damages": "Damages",
"damageShort": "Dmg",
"description": "Description",
"Details": "Details",
"Difficult": "Difficult (-1D)",
"Easy": "Easy (+1D)",
"equipment": "Equipment",
"equipments": "Equipment",
"experience": "Experience",
"failure": "Failure",
"finalScore": "Final Score",
"flesh": "Flesh",
"Formidable": "Formidable (-2D)",
"heart": "Heart",
"HP": "HP",
"implants": "Implants",
"Impossible": "Impossible (-4D)",
"knowledge": "Knowledge",
"languages": "Languages",
"maleficas": "Maleficas",
"malus": "Malus",
"max": "Max",
"maximum": "Maximum",
"mind": "Mind",
"Moderate": "Moderate (+0D)",
"modifications": "Modifications",
"modifier": "Modifier",
"multiplier": "Multiplier",
"negativeEffect": "Negative Effect",
"newAbility": "New Ability",
"newArmor": "New Armor",
"newCreatureAbility": "New Creature Ability",
"newCreatureTrait": "New Creature Trait",
"newEquipment": "New Equipment",
"newImplant": "New Implant",
"newLanguage": "New Language",
"newPsionic": "New Psionic",
"newSkill": "New Skill",
"newTalent": "New Talent",
"newTrait": "New Trait",
"newWeapon": "New Weapon",
"notes": "Notes",
"perks": "Perks",
"physical": "Physical",
"positiveEffect": "Positive Effect",
"psionics": "Psionics",
"Rank": "Rank",
"rituals": "Rituals",
"rollView": "Roll View",
"skill": "Skill",
"skillRoll": "Skill Roll",
"skills": "Skills",
"skin": "Skin",
"social": "Social",
"soul": "Soul",
"species": "Species",
"speciesTraits": "Species Traits",
"Stamina": "Stamina",
"starship": "Starship",
"stats": "Stats",
"status": "Status",
"stealth": "Stealth",
"success": "Success",
"talents": "Talents",
"targetScore": "Target Score",
"technology": "Technology",
"titleSkill": "Skill Roll",
"titleWeapon": "Weapon Roll",
"total": "Total",
"totalScore": "Total Score",
"traits": "Traits",
"trauma": "Trauma",
"Unarmed": "Unarmed",
"vehicle": "Vehicle",
"Vehicle": "Vehicle",
"vehicles": "Vehicles",
"weapons": "Weapons"
},
"Malefica": {
"FIELDS": {
"description": {
"label": "Description"
},
"bonus": {
"label": "Bonus"
"domain": {
"label": "Domain"
},
"orientation": {
"label": "Orientation"
"level": {
"label": "Level"
},
"range": {
"label": "Range"
},
"target": {
"label": "Target"
},
"time": {
"label": "Time"
}
}
},
"Deal": {
"Notifications": {},
"Perk": {
"FIELDS": {
"description": {
"label": "Description"
},
"promisor": {
"label": "Promisor"
"flavorText": {
"label": "Flavor Text"
},
"level": {
"label": "Level"
},
"role": {
"label": "Role"
}
}
},
@@ -326,8 +472,8 @@
"difficulty": {
"label": "Difficulty"
},
"threshold": {
"label": "Threshold"
"ingredients": {
"label": "Ingredients"
},
"limit": {
"label": "Limit"
@@ -335,148 +481,8 @@
"nbAttempts": {
"label": "Nb Attempts"
},
"ingredients": {
"label": "Ingredients"
}
}
},
"Label": {
"trauma": "Trauma",
"stats": "Stats",
"appearance": "Appearance",
"flesh": "Flesh",
"skin": "Skin",
"heart": "Heart",
"mind": "Mind",
"soul": "Soul",
"Counters": "Counters",
"perks": "Perks",
"maleficas": "Maleficas",
"rituals": "Rituals",
"speciesTraits": "Species Traits",
"species": "Species",
"ailments": "Ailments",
"positiveEffect": "Positive Effect",
"negativeEffect": "Negative Effect",
"damages": "Damages",
"modifications": "Modifications",
"abilities": "Abilities",
"Details": "Details",
"traits": "Traits",
"capacity" : "Capacity",
"Agility" : "Agility",
"Armor": "Armor",
"cargo": "Cargo",
"vehicle": "Vehicle",
"starship": "Starship",
"Easy": "Easy (+1D)",
"Moderate": "Moderate (+0D)",
"Difficult": "Difficult (-1D)",
"Formidable": "Formidable (-2D)",
"Impossible": "Impossible (-4D)",
"combat": "Combat",
"physical": "Physical",
"social": "Social",
"stealth": "Stealth",
"technology": "Technology",
"vehicles": "Vehicles",
"knowledge": "Knowledge",
"Stamina": "Stamina",
"equipments": "Equipment",
"Rank": "Rank",
"HP": "HP",
"Unarmed": "Unarmed",
"Vehicle": "Vehicle",
"armor": "Armor",
"armors": "Armors",
"biodata": "Biodata",
"biography": "Biography",
"character": "Character",
"creature": "Creature",
"criticalFailure": "Critical Failure",
"criticalSuccess": "Critical Success",
"current": "Curr.",
"damage": "Damage",
"damageShort": "Dmg",
"description": "Description",
"equipment": "Equipment",
"experience": "Experience",
"failure": "Failure",
"finalScore": "Final Score",
"languages": "Languages",
"malus": "Malus",
"max": "Max",
"maximum": "Maximum",
"modifier": "Modifier",
"multiplier": "Multiplier",
"newArmor": "New Armor",
"newWeapon": "New Weapon",
"newTalent": "New Talent",
"newTrait": "New Trait",
"newAbility": "New Ability",
"newSkill": "New Skill",
"newImplant": "New Implant",
"newEquipment": "New Equipment",
"newLanguage": "New Language",
"newPsionic": "New Psionic",
"newCreatureAbility": "New Creature Ability",
"newCreatureTrait": "New Creature Trait",
"notes": "Notes",
"psionics": "Psionics",
"rollView": "Roll View",
"skill": "Skill",
"skillRoll": "Skill Roll",
"skills": "Skills",
"status": "Status",
"success": "Success",
"talents": "Talents",
"implants": "Implants",
"targetScore": "Target Score",
"titleSkill": "Skill Roll",
"titleWeapon": "Weapon Roll",
"total": "Total",
"totalScore": "Total Score",
"weapons": "Weapons"
},
"Notifications": {},
"Armor": {
"FIELDS": {
"bonus": {
"label": "Bonus"
},
"cost": {
"label": "Cost"
},
"description": {
"label": "Description"
},
"resilience": {
"label": "Resilience"
},
"reduction": {
"label": "Reduction"
}
}
},
"Malefica": {
"FIELDS": {
"description": {
"label": "Description"
},
"time": {
"label": "Time"
},
"range":{
"label": "Range"
},
"target": {
"label": "Target"
},
"level":{
"label": "Level"
},
"domain": {
"label": "Domain"
"threshold": {
"label": "Threshold"
}
}
},
@@ -485,46 +491,50 @@
"roll": "Roll",
"skill": "Skill"
},
"Perk": {
"SpeciesTrait": {
"FIELDS": {
"level": {
"label": "Level"
"description": {
"label": "Description"
},
"role": {
"label": "Role"
"isAdvantage": {
"label": "Provide advantage"
}
}
},
"flavorText": {
"label": "Flavor Text"
"Tarot": {
"FIELDS": {
"bonus": {
"label": "Bonus"
},
"description": {
"label": "Description"
},
"orientation": {
"label": "Orientation"
}
}
},
"ToggleSheet": "Toggle Sheet",
"Tooltip": {
"addTalent" : "Add Talent",
"addSkill" : "Add Skill",
"addWeapon" : "Add Weapon",
"addArmor" : "Add Armor",
"addEquipment" : "Add Equipment",
"addImplant" : "Add Implant",
"addLanguage" : "Add Language",
"addPsionic" : "Add Psionic",
"addCreatureAbility" : "Add Creature Ability",
"addCreatureTrait" : "Add Creature Trait",
"addArmor": "Add Armor",
"addCreatureAbility": "Add Creature Ability",
"addCreatureTrait": "Add Creature Trait",
"addEquipment": "Add Equipment",
"addImplant": "Add Implant",
"addLanguage": "Add Language",
"addPsionic": "Add Psionic",
"addSkill": "Add Skill",
"addTalent": "Add Talent",
"addWeapon": "Add Weapon",
"damages": "Enter current damages suffered"
},
"Vehicle": {
"FIELDS": {
"tonnage": {
"label": "Tonnage"
},
"agility": {
"label": "Agility"
},
"force": {
"label": "Force"
"armor": {
"label": "Armor"
},
"cargo": {
"label": "Cargo"
@@ -532,28 +542,34 @@
"cost": {
"label": "Cost"
},
"range": {
"label": "Range"
},
"speed": {
"label": "Speed"
},
"armor": {
"label": "Armor"
},
"crew": {
"label": "Crew"
},
"description": {
"label": "Description"
},
"force": {
"label": "Force"
},
"notes": {
"label": "Notes"
},
"range": {
"label": "Range"
},
"speed": {
"label": "Speed"
},
"tonnage": {
"label": "Tonnage"
}
}
},
"Weapon": {
"FIELDS": {
"ammo": {
"label": "Ammo"
},
"cost": {
"label": "Cost"
},
@@ -563,29 +579,26 @@
"description": {
"label": "Description"
},
"subType": {
"label": "Sub-Type"
"properties": {
"label": "Properties"
},
"range": {
"label": "Range"
},
"properties": {
"label": "Properties"
},
"ammo": {
"label": "Ammo"
"subType": {
"label": "Sub-Type"
},
"weaponType": {
"label": "Type"
}
},
"Range": {
"Handgun": "Handgun",
"Assault": "Assault",
"Handgun": "Handgun",
"HeavyWeapon": "Heavy Weapon",
"LongRange": "Long Range",
"Melee": "Melee",
"Rifle": "Rifle",
"HeavyWeapon": "Heavy Weapon",
"ThrownWeapon": "Thrown Weapon"
},
"Types": {
@@ -605,15 +618,15 @@
"vehicle": "Vehicle"
},
"Item": {
"species-trait": "Species Trait",
"armor": "Armor",
"deal": "Deal",
"equipment": "Equipment",
"ritual": "Ritual",
"malefica": "Malefica",
"perk": "Perk",
"weapon": "Weapon",
"armor": "Armor",
"ritual": "Ritual",
"species-trait": "Species Trait",
"tarot": "Tarot",
"deal": "Deal"
"weapon": "Weapon"
}
}
}

View File

@@ -92,8 +92,11 @@ export default class HellbornActor extends foundry.abstract.TypeDataModel {
schema.biodata = new fields.SchemaField({
age: new fields.NumberField({ ...requiredInteger, initial: 15, min: 6 }),
gender: new fields.StringField({ required: true, nullable: false, initial: "" }),
height: new fields.NumberField({ ...requiredInteger, initial: 170, min: 50 }),
eyes: new fields.StringField({ required: true, nullable: false, initial: "" }),
birthplace: new fields.StringField({ required: true, nullable: false, initial: "" }),
hair: new fields.StringField({ required: true, nullable: false, initial: "" }),
home: new fields.StringField({ required: true, nullable: false, initial: "" }),
weight: new fields.NumberField({ ...requiredInteger, initial: 70, min: 1 }),
apparentAge: new fields.NumberField({ ...requiredInteger, initial: 20, min: 1 }),

View File

@@ -186,15 +186,15 @@
}
.perks {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-columns: repeat(1, 1fr);
gap: 4px;
.perk {
display: flex;
align-items: center;
gap: 4px;
margin-left: 4px;
min-width: 12.3rem;
max-width: 12.3rem;
min-width: 20rem;
max-width: 20rem;
.rollable:hover,
.rollable:focus {
text-shadow: 0 0 8px var(--color-shadow-primary);
@@ -205,9 +205,17 @@
min-width: 1.8rem;
max-width: 1.8rem;
}
.score {
min-width: 1.2rem;
max-width: 1.2rem;
.flavor {
min-width: 24rem;
max-width: 24rem;
}
.role {
min-width: 5rem;
max-width: 5rem;
}
.level {
min-width: 2rem;
max-width: 2rem;
}
.name {
min-width: 10rem;
@@ -252,7 +260,7 @@
min-width: 12rem;
max-width: 12rem;
}
.type {
.domain {
min-width: 6rem;
max-width: 6rem;
}
@@ -287,6 +295,18 @@
min-width: 12rem;
max-width: 12rem;
}
.difficulty {
min-width: 2rem;
max-width: 2rem;
}
.threshold {
min-width: 2rem;
max-width: 2rem;
}
.limit {
min-width: 2rem;
max-width: 2rem;
}
.item-img {
width: 24px;
height: 24px;
@@ -311,7 +331,7 @@
.weapons {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-columns: repeat(1, 1fr);
gap: 4px;
.weapon {
display: flex;
@@ -329,13 +349,21 @@
min-width: 1.8rem;
max-width: 1.8rem;
}
.properties {
min-width: 24rem;
max-width: 24rem;
}
.type {
min-width: 4rem;
max-width: 4rem;
}
.damage {
min-width: 6rem;
max-width: 6rem;
}
.name {
min-width: 10rem;
max-width: 10rem;
min-width: 12rem;
max-width: 12rem;
}
.item-img {
width: 24px;
@@ -360,13 +388,21 @@
min-width: 1.8rem;
max-width: 1.8rem;
}
.protection {
min-width: 6rem;
max-width: 6rem;
.bonus {
min-width: 2rem;
max-width: 2rem;
}
.resilience {
min-width: 2rem;
max-width: 2rem;
}
.reduction {
min-width: 2rem;
max-width: 2rem;
}
.name {
min-width: 10rem;
max-width: 10rem;
min-width: 13.5rem;
max-width: 13.5rem;
}
.item-img {
width: 24px;
@@ -397,8 +433,8 @@
max-width: 1.8rem;
}
.name {
min-width: 10rem;
max-width: 10rem;
min-width: 12rem;
max-width: 12rem;
}
.item-img {
width: 24px;
@@ -426,6 +462,43 @@
padding-left: 5px;
}
}
.splitted-text {
display:flex;
flex-direction: row;
gap: 4px;
fieldset {
width: 100%;
}
}
.biodata {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
.experience {
display: flex;
flex-direction: row;
align-items: center;
gap: 4px;
margin-left: 4px;
}
.form-group {
label {
min-width: 6rem;
max-width: 6rem;
}
display: flex;
flex-direction: row;
align-items: center;
gap: 4px;
margin-left: 4px;
min-width: 12rem;
max-width: 12rem;
}
input {
min-width: 4rem;
max-width: 4rem;
}
}
prose-mirror.inactive {
min-height: 40px;

View File

@@ -1,31 +1,118 @@
<section class="tab character-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
<div class="main-div">
<fieldset class="rank">
<legend>Experience</legend>
{{formField systemFields.experience.fields.current value=system.experience.current type="number" rootId=partId disabled=isPlayMode}}
{{formField systemFields.experience.fields.max value=system.experience.max type="number" rootId=partId disabled=isPlayMode}}
<fieldset class="biodata">
<legend>{{localize "HELLBORN.Label.experience"}}</legend>
<div class="experience">
{{formField systemFields.experience.fields.current value=system.experience.current type="number" rootId=partId
disabled=isPlayMode}}
{{formField systemFields.experience.fields.total value=system.experience.total type="number" rootId=partId
disabled=isPlayMode}}
{{formField systemFields.experience.fields.training value=system.experience.training type="number" rootId=partId
disabled=isPlayMode}}
</div>
</fieldset>
<fieldset class="biodata">
<legend>{{localize "HELLBORN.Label.biodata"}}</legend>
{{formField systemFields.biodata.fields.gender value=system.biodata.gender rootId=partId disabled=isPlayMode classes="short"}}
{{formField systemFields.biodata.fields.age value=system.biodata.age rootId=partId disabled=isPlayMode classes="short"}}
{{formField systemFields.biodata.fields.height value=system.biodata.height rootId=partId disabled=isPlayMode classes="short"}}
{{formField systemFields.biodata.fields.weight value=system.biodata.weight rootId=partId disabled=isPlayMode classes="short"}}
{{formField systemFields.biodata.fields.eyes value=system.biodata.eyes rootId=partId disabled=isPlayMode classes="short"}}
{{formField systemFields.biodata.fields.hair value=system.biodata.hair rootId=partId disabled=isPlayMode classes="short"}}
<div class="experience">
{{formField systemFields.biodata.fields.gender value=system.biodata.gender rootId=partId disabled=isPlayMode}}
</div>
<div class="experience">
{{formField systemFields.biodata.fields.age value=system.biodata.age rootId=partId disabled=isPlayMode}}
</div>
<div class="experience">
{{formField systemFields.biodata.fields.height value=system.biodata.height rootId=partId disabled=isPlayMode}}
</div>
<div class="experience">
{{formField systemFields.biodata.fields.weight value=system.biodata.weight rootId=partId disabled=isPlayMode}}
</div>
<div class="experience">
{{formField systemFields.biodata.fields.eyes value=system.biodata.eyes rootId=partId disabled=isPlayMode}}
</div>
<div class="experience">
{{formField systemFields.biodata.fields.hair value=system.biodata.hair rootId=partId disabled=isPlayMode}}
</div>
<div class="experience">
{{formField systemFields.biodata.fields.home value=system.biodata.home rootId=partId disabled=isPlayMode}}
{{formField systemFields.biodata.fields.birthplace value=system.biodata.birthplace rootId=partId disabled=isPlayMode}}
</div>
<div class="experience">
{{formField systemFields.biodata.fields.birthplace value=system.biodata.birthplace rootId=partId
disabled=isPlayMode}}
</div>
</fieldset>
<fieldset>
<legend>{{localize "HELLBORN.Label.description"}}</legend>
<legend>{{localize "HELLBORN.Label.backstory"}}</legend>
{{formInput systemFields.backstory enriched=enrichedBackstory value=system.backstory name="system.backstory" toggled=true}}
</fieldset>
<div class="splitted-text">
<fieldset>
<legend>{{localize "HELLBORN.Label.appearance"}}</legend>
{{formInput systemFields.appearance enriched=enrichedAppearance value=system.appearance name="system.appearance" toggled=true}}
{{formInput systemFields.appearance enriched=enrichedAppearance value=system.appearance name="system.appearance"
toggled=true}}
</fieldset>
</div>
<fieldset>
<legend>{{localize "HELLBORN.Label.scars"}}</legend>
{{formInput systemFields.scars enriched=scars value=system.scars name="system.scars"
toggled=true}}
</fieldset>
</div>
<div class="splitted-text">
<fieldset>
<legend>{{localize "HELLBORN.Label.likes"}}</legend>
{{formInput systemFields.likes enriched=enrichedLikes value=system.likes name="system.likes"
toggled=true}}
</fieldset>
<fieldset>
<legend>{{localize "HELLBORN.Label.dislikes"}}</legend>
{{formInput systemFields.dislikes enriched=enrichedDislikes value=system.dislikes name="system.dislikes"
toggled=true}}
</fieldset>
</div>
<div class="splitted-text">
<fieldset>
<legend>{{localize "HELLBORN.Label.fears"}}</legend>
{{formInput systemFields.fears enriched=enrichedFears value=system.fears name="system.fears"
toggled=true}}
</fieldset>
<fieldset>
<legend>{{localize "HELLBORN.Label.vices"}}</legend>
{{formInput systemFields.vices enriched=enrichedVices value=system.vices name="system.vices"
toggled=true}}
</fieldset>
</div>
<div class="splitted-text">
<fieldset>
<legend>{{localize "HELLBORN.Label.goals"}}</legend>
{{formInput systemFields.goals enriched=enrichedGoals value=system.goals name="system.goals"
toggled=true}}
</fieldset>
<fieldset>
<legend>{{localize "HELLBORN.Label.ambitions"}}</legend>
{{formInput systemFields.ambitions enriched=enrichedAmbitions value=system.ambitions name="system.ambitions"
toggled=true}}
</fieldset>
</div>
<div class="splitted-text">
<fieldset>
<legend>{{localize "HELLBORN.Label.values"}}</legend>
{{formInput systemFields.values enriched=enrichedValues value=system.values name="system.values"
toggled=true}}
</fieldset>
<fieldset>
<legend>{{localize "HELLBORN.Label.bonds"}}</legend>
{{formInput systemFields.bonds enriched=enrichedBonds value=system.bonds name="system.bonds"
toggled=true}}
</fieldset>
</div>
</div>
</section>

View File

@@ -14,12 +14,15 @@
<div class="name rollable" data-roll-type="weapon" data-tooltip="{{{item.system.description}}}">
{{item.name}}
</div>
<span class="type" data-tooltip="Type">{{upperFirst item.system.weaponType}}</span>
<span class="properties" data-tooltip="Properties">{{upperFirst item.system.properties}}</span>
<i class="fa-regular fa-dice"></i>
<a class="damage rollable" data-item-id="{{item.id}}" data-action="roll" data-roll-type="damage"
<a class="damage rollable" data-tooltip="Damage" data-item-id="{{item.id}}" data-action="roll" data-roll-type="damage"
data-roll-value="{{item.system.damage}}">
<i class="fa-regular fa-dice"></i>
{{localize "HELLBORN.Label.damageShort"}} :
{{item.system.damage}}</a>
<div class="controls">
<a data-tooltip="{{localize 'HELLBORN.Edit'}}" data-action="edit" data-item-id="{{item.id}}"
data-item-uuid="{{item.uuid}}"><i class="fas fa-edit"></i></a>
@@ -43,7 +46,10 @@
<div class="name" data-tooltip="{{{item.system.description}}}">
{{item.name}}
</div>
<span class="protection">{{localize "HELLBORN.Label.armor"}} : {{item.system.protection}}</span>
<span class="bonus" data-tooltip="Bonus">{{item.system.bonus}}</span>
<span class="resilience" data-tooltip="Resilience">{{item.system.resilience}}</span>
<span class="reduction" data-tooltip="Reduction">{{item.system.reduction}}</span>
<div class="controls">
<a data-tooltip="{{localize 'HELLBORN.Edit'}}" data-action="edit" data-item-id="{{item.id}}"
data-item-uuid="{{item.uuid}}"><i class="fas fa-edit"></i></a>

View File

@@ -8,11 +8,6 @@
<img class="character-img" src="{{actor.img}}" data-edit="img" data-action="editImage"
data-tooltip="{{actor.name}}" />
</div>
<fieldset class="character-hp">
<legend>{{localize "HELLBORN.Label.trauma"}}</legend>
<div class="flexrow">
</div>
</fieldset>
</div>
<div class="character-right">

View File

@@ -15,6 +15,8 @@
<div class="name" data-roll-type="malefica" data-tooltip="{{{item.system.description}}}">
{{item.name}}
</div>
<span class="domain" data-tooltip="Domain">{{upperFirst item.system.domain}}</span>
<span class="level" data-tooltip="Level">{{upperFirst item.system.level}}</span>
<div class="controls">
<a data-tooltip="{{localize 'HELLBORN.Edit'}}" data-action="edit" data-item-id="{{item.id}}"
@@ -41,6 +43,9 @@
<div class="name" data-roll-type="weapon" data-tooltip="{{{item.system.description}}}">
{{item.name}}
</div>
<span class="difficulty" data-tooltip="Difficulty">{{upperFirst item.system.difficulty}}</span>
<span class="threshold" data-tooltip="Threshold">{{upperFirst item.system.threshold}}</span>
<span class="limit" data-tooltip="Limit">{{upperFirst item.system.limit}}</span>
<div class="controls">
<a data-tooltip="{{localize 'HELLBORN.Edit'}}" data-action="edit" data-item-id="{{item.id}}"

View File

@@ -23,7 +23,8 @@
<div class="ailments">
{{#each system.ailments as |item id|}}
<div class="ailment " data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-drag="false">
<label>{{item.label}}</label> <input type="checkbox" class="checkbox" name="system.ailments.{{id}}.enabled" {{#if item.enabled}} checked {{/if}} >
<label>{{item.label}}</label> <input type="checkbox" class="checkbox" name="system.ailments.{{id}}.enabled"
{{#if item.enabled}} checked {{/if}}>
</div>
{{/each}}
</div>
@@ -43,6 +44,9 @@
<div class="name" data-roll-type="perk" data-tooltip="{{{item.system.description}}}">
{{item.name}}
</div>
<span class="flavor" data-tooltip="Flavor text">{{upperFirst item.system.flavorText}}</span>
<span class="role" data-tooltip="Role">{{upperFirst item.system.role}}</span>
<span class="level" data-tooltip="Level">{{item.system.level}}</span>
<div class="controls">
<a data-tooltip="{{localize 'HELLBORN.Edit'}}" data-action="edit" data-item-id="{{item.id}}"