Ajout creatures
This commit is contained in:
parent
e2491b9f54
commit
de206498e7
20
lang/en.json
20
lang/en.json
@ -150,6 +150,7 @@
|
||||
"BOL.ui.todeactivated": "Inactive (>Activer)",
|
||||
"BOL.ui.armorAgiMalus": "Armor+Shield Malus (Agi)",
|
||||
"BOL.ui.armorInitMalus": "Armor Malus (Init)",
|
||||
"BOL.ui.attackValue": "Attack value",
|
||||
|
||||
"BOL.featureCategory.origins": "Origines",
|
||||
"BOL.featureCategory.races": "Races",
|
||||
@ -196,6 +197,7 @@
|
||||
"BOL.combatCategory.melee": "Armes de contact",
|
||||
"BOL.combatCategory.ranged": "Armes à distance",
|
||||
"BOL.combatCategory.fightOptions": "Fight options",
|
||||
"BOL.combatCategory.natural": "Natural Weapons",
|
||||
|
||||
"BOL.equipmentCategory.weapon": "Arme",
|
||||
"BOL.equipmentCategory.armor": "Armure",
|
||||
@ -278,6 +280,8 @@
|
||||
"BOL.itemProperty.reload": "Rechargement (Actions)",
|
||||
"BOL.itemProperty.weaponSize" : "Classe d'arme",
|
||||
"BOL.itemProperty.difficulty": "Difficulty",
|
||||
"BOL.itemProperty.natural": "Natural weapon",
|
||||
"BOL.itemProperty.onlymodifier": "Modifier only (ie creatures attacks)",
|
||||
|
||||
"BOL.itemStat.quantity": "Quantité",
|
||||
"BOL.itemStat.weight": "Poids",
|
||||
@ -355,5 +359,19 @@
|
||||
|
||||
"BOL.notification.MacroMultipleTokensSelected": "Vous avez sélectionné plusieurs tokens",
|
||||
"BOL.notification.MacroNoActorAvailable": "Aucun acteur n'a pu être ciblé",
|
||||
"BOL.notification.MacroNoTokenSelected": "Vous devez sélectionner un token"
|
||||
"BOL.notification.MacroNoTokenSelected": "Vous devez sélectionner un token",
|
||||
|
||||
"BOL.size.tiny": "Tiny",
|
||||
"BOL.size.verysmall": "Very Small",
|
||||
"BOL.size.small" : "Small",
|
||||
"BOL.size.medium" : "Medium",
|
||||
"BOL.size.large" : "Large",
|
||||
"BOL.size.verylarge": "Very Large",
|
||||
"BOL.size.huge" :"Huge",
|
||||
"BOL.size.massive" : "Massive",
|
||||
"BOL.size.enormous": "Enormous",
|
||||
"BOL.size.gigantic": "Gigantic",
|
||||
"BOL.size.immense": "Immense",
|
||||
"BOL.size.colossal": "Colossal"
|
||||
|
||||
}
|
45
lang/fr.json
45
lang/fr.json
@ -5,7 +5,6 @@
|
||||
"ITEM.TypeFeature": "Trait",
|
||||
"ITEM.TypeWeapon": "Arme",
|
||||
"ITEM.TypeArmor": "Armure",
|
||||
|
||||
"BOL.attributes.vigor": "Vigueur",
|
||||
"BOL.attributes.halfvigor": "Demi-vigueur",
|
||||
"BOL.attributes.agility": "Agilité",
|
||||
@ -24,7 +23,6 @@
|
||||
"BOL.resources.villainy": "Vilénie",
|
||||
"BOL.resources.alchemypoints": "Points de Creation",
|
||||
"BOL.traits.xp": "Expérience",
|
||||
|
||||
"BOL.ui.tab.stats": "Attributs",
|
||||
"BOL.ui.tab.combat": "Combat",
|
||||
"BOL.ui.tab.actions": "Actions",
|
||||
@ -33,7 +31,6 @@
|
||||
"BOL.ui.tab.description": "Description",
|
||||
"BOL.ui.tab.details": "Details",
|
||||
"BOL.ui.tab.spellalchemy": "Sorts&Alchimie",
|
||||
|
||||
"BOL.ui.properties": "Propriétés",
|
||||
"BOL.ui.description": "Description",
|
||||
"BOL.ui.actions": "Actions",
|
||||
@ -152,7 +149,7 @@
|
||||
"BOL.ui.status": "Statut",
|
||||
"BOL.ui.armorAgiMalus": "Malus d'Armure+Bouclier (Agi)",
|
||||
"BOL.ui.armorInitMalus": "Malus d'Armure (Init)",
|
||||
|
||||
"BOL.ui.attackValue": "Valeur d'attaque",
|
||||
"BOL.featureCategory.origins": "Origines",
|
||||
"BOL.featureCategory.races": "Races",
|
||||
"BOL.featureCategory.careers": "Carrières",
|
||||
@ -160,13 +157,11 @@
|
||||
"BOL.featureCategory.flaws": "Désavantages",
|
||||
"BOL.featureCategory.languages": "Langues",
|
||||
"BOL.featureCategory.fightoptions": "Options de Combat",
|
||||
|
||||
"BOL.bougette.nomoney": "A sec",
|
||||
"BOL.bougette.tolive": "De quoi vivre",
|
||||
"BOL.bougette.easylife": "A l'aise",
|
||||
"BOL.bougette.luxury": "Luxe&Volupté",
|
||||
"BOL.bougette.rich": "Richissime",
|
||||
|
||||
"BOL.featureSubtypes.origin": "Origine",
|
||||
"BOL.featureSubtypes.race": "Race",
|
||||
"BOL.featureSubtypes.career": "Carrière",
|
||||
@ -175,7 +170,6 @@
|
||||
"BOL.featureSubtypes.language": "Langue",
|
||||
"BOL.featureSubtypes.gods": "Dieux & Foi",
|
||||
"BOL.featureSubtypes.fightOption": "Option de Combat",
|
||||
|
||||
"BOL.fightOptionTypes.armor": "Attaque au défaut d'armure",
|
||||
"BOL.fightOptionTypes.intrepid": "Attaque intrépide",
|
||||
"BOL.fightOptionTypes.twoweaponsdef": "Combat à 2 armes (Défense)",
|
||||
@ -183,7 +177,6 @@
|
||||
"BOL.fightOptionTypes.fulldefense": "Défense totale",
|
||||
"BOL.fightOptionTypes.defense": "Posture défensive",
|
||||
"BOL.fightOptionTypes.attack": "Posture offensive",
|
||||
|
||||
"BOL.itemCategory.object": "Objet",
|
||||
"BOL.itemCategory.equipment": "Équipement",
|
||||
"BOL.itemCategory.consumable": "Consommable",
|
||||
@ -192,13 +185,12 @@
|
||||
"BOL.itemCategory.other": "Autre",
|
||||
"BOL.itemCategory.capacity": "Capacité",
|
||||
"BOL.itemCategory.alchemy": "Préparation Alchimique",
|
||||
|
||||
"BOL.combatCategory.protections": "Protections",
|
||||
"BOL.combatCategory.shields": "Boucliers",
|
||||
"BOL.combatCategory.melee": "Armes de contact",
|
||||
"BOL.combatCategory.ranged": "Armes à distance",
|
||||
"BOL.combatCategory.fightOptions": "Options de combat",
|
||||
|
||||
"BOL.combatCategory.natural": "Armes Naturelless",
|
||||
"BOL.equipmentCategory.weapon": "Arme",
|
||||
"BOL.equipmentCategory.armor": "Armure",
|
||||
"BOL.equipmentCategory.protection": "Protection",
|
||||
@ -210,26 +202,21 @@
|
||||
"BOL.equipmentCategory.container": "Conteneur",
|
||||
"BOL.equipmentCategory.currency": "Monnaie",
|
||||
"BOL.equipmentCategory.other": "Autre",
|
||||
|
||||
"BOL.protectionCategory.armor": "Armure",
|
||||
"BOL.protectionCategory.shield": "Bouclier",
|
||||
"BOL.protectionCategory.helm": "Casque",
|
||||
"BOL.protectionCategory.other": "Autre",
|
||||
|
||||
"BOL.spellItem.charm": "Charme",
|
||||
"BOL.spellItem.circle1": "Premier Cercle",
|
||||
"BOL.spellItem.circle2": "Second Cercle",
|
||||
"BOL.spellItem.circle3": "Troisième Cercle",
|
||||
|
||||
"BOL.alchemyItem.common": "Courante",
|
||||
"BOL.alchemyItem.scarce": "Rare",
|
||||
"BOL.alchemyItem.legend": "Légendaire",
|
||||
"BOL.alchemyItem.mythic": "Mythique",
|
||||
|
||||
"BOL.weaponCategory.melee": "Arme de mêlée",
|
||||
"BOL.weaponCategory.ranged": "Arme de tir",
|
||||
"BOL.weaponCategory.other": "Autre",
|
||||
|
||||
"BOL.itemProperty.damageMultiplier": "Multiplicateur de dommages",
|
||||
"BOL.itemProperty.attackBonusDice": "Dé de Bonus d'attaque",
|
||||
"BOL.itemProperty.equipable": "Équipable",
|
||||
@ -280,7 +267,8 @@
|
||||
"BOL.itemProperty.reload": "Rechargement (Actions)",
|
||||
"BOL.itemProperty.weaponSize": "Classe d'arme",
|
||||
"BOL.itemProperty.difficulty": "Difficulté",
|
||||
|
||||
"BOL.itemProperty.natural": "Arme naturelle",
|
||||
"BOL.itemProperty.onlymodifier": "Modificateur uniquement (ie attaques de créatures)",
|
||||
"BOL.itemStat.quantity": "Quantité",
|
||||
"BOL.itemStat.weight": "Poids",
|
||||
"BOL.itemStat.price": "Prix",
|
||||
@ -290,26 +278,21 @@
|
||||
"BOL.itemStat.soak": "Valeur de protection",
|
||||
"BOL.itemStat.blocking": "Bloquage",
|
||||
"BOL.itemStat.modifiers": "Modificateurs",
|
||||
|
||||
"BOL.weaponSize.unarmed": "Mains nues",
|
||||
"BOL.weaponSize.improvised": "Arme improvisée",
|
||||
"BOL.weaponSize.light": "Légère",
|
||||
"BOL.weaponSize.medium": "Moyenne",
|
||||
"BOL.weaponSize.heavy": "Lourde",
|
||||
|
||||
"BOL.itemModifiers.init": "Malus (Initiative)",
|
||||
"BOL.itemModifiers.social": "Malus (Social)",
|
||||
"BOL.itemModifiers.agility": "Malus (Agilité)",
|
||||
"BOL.itemModifiers.powercost": "Malus (Coût supplémentaire en PP)",
|
||||
|
||||
"BOL.itemBlocking.malus": "Social",
|
||||
"BOL.itemBlocking.nbAttacksPerRound": "Agilité",
|
||||
|
||||
"BOL.soakFormula.none": "-",
|
||||
"BOL.soakFormula.light": "Légère (Annule d6-3 dégâts subis)",
|
||||
"BOL.soakFormula.medium": "Moyenne (Annule d6-2 dégâts subis)",
|
||||
"BOL.soakFormula.heavy": "Lourde (Annule d6-1 dégâts subis)",
|
||||
|
||||
"BOL.armorQuality.none": "-",
|
||||
"BOL.armorQuality.light": "Légère",
|
||||
"BOL.armorQuality.lightQ": "Légère de qualité",
|
||||
@ -323,7 +306,6 @@
|
||||
"BOL.armorQuality.heavyQ": "Lourde de qualité",
|
||||
"BOL.armorQuality.heavySup": "Lourde Supérieure",
|
||||
"BOL.armorQuality.heavyLeg": "Lourde Légendaire",
|
||||
|
||||
"BOL.equipmentSlots.none": "-",
|
||||
"BOL.equipmentSlots.head": "Tête",
|
||||
"BOL.equipmentSlots.neck": "Cou",
|
||||
@ -340,13 +322,10 @@
|
||||
"BOL.equipmentSlots.feet": "Pieds",
|
||||
"BOL.equipmentSlots.finder": "Doigt",
|
||||
"BOL.equipmentSlots.ear": "Oreille",
|
||||
|
||||
"BOL.vehicleCategory.mount": "Monture terrestre",
|
||||
"BOL.vehicleCategory.flying": "Monture volante",
|
||||
"BOL.vehicleCategory.boat": "Bateau",
|
||||
"BOL.vehicleCategory.other": "Autre",
|
||||
|
||||
|
||||
"BOL.range.PointBlank": "Bout portant",
|
||||
"BOL.range.Short": "Courte",
|
||||
"BOL.range.Medium": "Moyenne",
|
||||
@ -354,8 +333,20 @@
|
||||
"BOL.range.VeryLong": "Très longue",
|
||||
"BOL.range.Extreme": "Extrême",
|
||||
"BOL.range.Maximum": "Maximale",
|
||||
|
||||
"BOL.notification.MacroMultipleTokensSelected": "Vous avez sélectionné plusieurs tokens",
|
||||
"BOL.notification.MacroNoActorAvailable": "Aucun acteur n'a pu être ciblé",
|
||||
"BOL.notification.MacroNoTokenSelected": "Vous devez sélectionner un token"
|
||||
"BOL.notification.MacroNoTokenSelected": "Vous devez sélectionner un token",
|
||||
|
||||
"BOL.size.tiny": "Minuscule",
|
||||
"BOL.size.verysmall": "Très petite",
|
||||
"BOL.size.small": "Petite",
|
||||
"BOL.size.medium": "Moyenne",
|
||||
"BOL.size.large": "Grande",
|
||||
"BOL.size.verylarge": "Très grande",
|
||||
"BOL.size.huge": "Enorme",
|
||||
"BOL.size.massive": "Massive",
|
||||
"BOL.size.enormous": "Colossale",
|
||||
"BOL.size.gigantic": "Gigantesque",
|
||||
"BOL.size.immense": "Immense",
|
||||
"BOL.size.colossal": "Monstrueuse"
|
||||
}
|
8
packs/boonsflawscreatures.db
Normal file
8
packs/boonsflawscreatures.db
Normal file
@ -0,0 +1,8 @@
|
||||
{"name":"Attaque Timide","type":"feature","img":"icons/svg/item-bag.svg","data":{"category":null,"subtype":"flaw","description":"<p>Attaque timide : la créature subit un dé de malus aux jets d’attaque.</p>","properties":{"isbonusdice":true,"ismalusdice":true},"rank":0},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"kQghu0tL1dft5xLu":3},"flags":{},"_id":"CoqlfsDV1gL5swbK"}
|
||||
{"name":"Prédateur","type":"feature","img":"icons/svg/item-bag.svg","data":{"category":null,"subtype":"boon","description":"<p> la créature lance un dé de bonus pour tout ce qui concerne le pistage d’une proie.</p>","properties":{"isbonusdice":true},"rank":0},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"kQghu0tL1dft5xLu":3},"flags":{},"_id":"DFdLY7fkVZDIf7rU"}
|
||||
{"name":"Camouflage","type":"feature","img":"icons/svg/item-bag.svg","data":{"category":null,"subtype":"boon","description":"<p>Camouflage : la créature est difficile à repérer en raison de la coloration ou de la texture de sa peau ou de son pelage (dé de bonus pour se cacher).</p>","properties":{"isbonusdice":true},"rank":0},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"kQghu0tL1dft5xLu":3},"flags":{"core":{"sourceId":"Item.b0PsoNEd8a0dN2Wm"}},"_id":"P2pgGD4FVKzOZ4uM"}
|
||||
{"name":"Attaque féroce","type":"feature","img":"icons/svg/item-bag.svg","data":{"category":null,"subtype":"boon","description":"<p> la créature bénéficie d’un dé de bonus aux jets d’attaque.</p>","properties":{"isbonusdice":true},"rank":0},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"kQghu0tL1dft5xLu":3},"flags":{"core":{"sourceId":"Item.b0PsoNEd8a0dN2Wm"}},"_id":"RqEO7ELH72MZBZFV"}
|
||||
{"name":"Attaque Venimeuse","type":"feature","img":"icons/svg/item-bag.svg","data":{"category":null,"subtype":"boon","description":"<p>Attaque venimeuse : la description de la créature indique les effets de son venin</p>","properties":{"isbonusdice":false},"rank":0},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"kQghu0tL1dft5xLu":3},"flags":{"core":{"sourceId":"Item.b0PsoNEd8a0dN2Wm"}},"_id":"U77iMP7V529zbJt9"}
|
||||
{"name":"Attaque Multiple","type":"feature","img":"icons/svg/item-bag.svg","data":{"category":null,"subtype":"boon","description":"<p>Attaques multiples : la créature possède <span style=\"font-family: var(--font-primary); font-size: var(--font-size-14);\"> deux types d’attaque totalement différents qui </span>nécessitent deux jets d’attaque séparés.</p>","properties":{"isbonusdice":false},"rank":0},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"kQghu0tL1dft5xLu":3},"flags":{"core":{"sourceId":"Item.b0PsoNEd8a0dN2Wm"}},"_id":"USkChPye9J4sZxwC"}
|
||||
{"name":"Déficience","type":"feature","img":"icons/svg/item-bag.svg","data":{"category":null,"subtype":"flaw","description":"<p>Déficience : la créature est affligée d’un odorat, d’une audition ou d’une vision déficiente et subit un dé de malus quand elle doit y faire appel.</p>","properties":{"isbonusdice":true,"ismalusdice":true},"rank":0},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"kQghu0tL1dft5xLu":3},"flags":{"core":{"sourceId":"Item.P0r8grkVY7xu5HOS"}},"_id":"htSqR7I7F5GVIelK"}
|
||||
{"name":"Attaque Spéciale","type":"feature","img":"icons/svg/item-bag.svg","data":{"category":null,"subtype":"boon","description":"<p>Attaque spéciale : la créature attaque selon une méthode inhabituelle. La nature de cette attaque est expliquée dans sa description.</p>\n<p> </p>","properties":{"isbonusdice":false},"rank":0},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"kQghu0tL1dft5xLu":3},"flags":{"core":{"sourceId":"Item.b0PsoNEd8a0dN2Wm"}},"_id":"yofwG0YrsL902G77"}
|
47
packs/creatures.db
Normal file
47
packs/creatures.db
Normal file
File diff suppressed because one or more lines are too long
53
system.json
53
system.json
@ -14,7 +14,8 @@
|
||||
"url": "https://github.com/ZigmundKreud/bol",
|
||||
"license": "LICENSE.txt",
|
||||
"flags": {},
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.3",
|
||||
"templateVersion": 10,
|
||||
"minimumCoreVersion": "0.8.6",
|
||||
"compatibleCoreVersion": "9",
|
||||
"scripts": [],
|
||||
@ -44,8 +45,16 @@
|
||||
"path": "./packs/boons.db",
|
||||
"tag": "boon",
|
||||
"type": "Item",
|
||||
"private": false,
|
||||
"entity": "Item"
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"name": "boons",
|
||||
"label": "Avantages/Désavantages de Créatures",
|
||||
"system": "bol",
|
||||
"path": "./packs/boonsflawscreatures.db",
|
||||
"tag": "boon",
|
||||
"type": "Item",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"name": "flaws",
|
||||
@ -54,8 +63,7 @@
|
||||
"path": "./packs/flaws.db",
|
||||
"tag": "flaw",
|
||||
"type": "Item",
|
||||
"private": false,
|
||||
"entity": "Item"
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"name": "careers",
|
||||
@ -74,8 +82,7 @@
|
||||
"path": "./packs/origins.db",
|
||||
"tag": "origin",
|
||||
"type": "Item",
|
||||
"private": false,
|
||||
"entity": "Item"
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"name": "races",
|
||||
@ -84,8 +91,7 @@
|
||||
"path": "./packs/races.db",
|
||||
"tag": "race",
|
||||
"type": "Item",
|
||||
"private": false,
|
||||
"entity": "Item"
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"name": "equipment",
|
||||
@ -94,8 +100,7 @@
|
||||
"path": "./packs/equipment.db",
|
||||
"tag": "item",
|
||||
"type": "Item",
|
||||
"private": false,
|
||||
"entity": "Item"
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"label": "Aides de Jeu",
|
||||
@ -103,8 +108,7 @@
|
||||
"name": "aides-de-jeu",
|
||||
"path": "packs/aides-de-jeu.db",
|
||||
"system": "bol",
|
||||
"private": false,
|
||||
"entity": "JournalEntry"
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"label": "Cartes",
|
||||
@ -112,8 +116,7 @@
|
||||
"name": "cartes",
|
||||
"path": "packs/cartes.db",
|
||||
"system": "bol",
|
||||
"private": false,
|
||||
"entity": "Scene"
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"label": "Langues",
|
||||
@ -121,8 +124,7 @@
|
||||
"name": "languages",
|
||||
"path": "packs/languages.db",
|
||||
"system": "bol",
|
||||
"private": false,
|
||||
"entity": "Item"
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"label": "Sorts",
|
||||
@ -130,8 +132,7 @@
|
||||
"name": "spells",
|
||||
"path": "packs/spells.db",
|
||||
"system": "bol",
|
||||
"private": false,
|
||||
"entity": "Item"
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"label": "Dieux",
|
||||
@ -139,8 +140,7 @@
|
||||
"name": "godsfaith",
|
||||
"path": "packs/godsfaith.db",
|
||||
"system": "bol",
|
||||
"private": false,
|
||||
"entity": "Item"
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"label": "Options de Combat",
|
||||
@ -148,8 +148,15 @@
|
||||
"name": "fightoptions",
|
||||
"path": "packs/fightoptions.db",
|
||||
"system": "bol",
|
||||
"private": false,
|
||||
"entity": "Item"
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"label": "Créatures",
|
||||
"type": "Actor",
|
||||
"name": "creatures",
|
||||
"path": "packs/creatures.db",
|
||||
"system": "bol",
|
||||
"private": false
|
||||
}
|
||||
],
|
||||
"system": [],
|
||||
|
@ -15,6 +15,7 @@
|
||||
"hair": "",
|
||||
"eyes": "",
|
||||
"signs": "",
|
||||
"size": "",
|
||||
"languages": []
|
||||
},
|
||||
"combat": {
|
||||
|
@ -15,28 +15,35 @@
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="stats">{{localize "BOL.ui.tab.stats"}}</a>
|
||||
<a class="item" data-tab="actions">{{localize "BOL.ui.tab.actions"}}</a>
|
||||
{{#if (ne data.type "creature")}}
|
||||
<a class="item" data-tab="features">{{localize "BOL.ui.tab.features"}}</a>
|
||||
<a class="item" data-tab="equipment">{{localize "BOL.ui.tab.equipment"}}</a>
|
||||
{{#if (or isSorcerer isAlchemist)}}
|
||||
<a class="item" data-tab="spellalchemy">{{localize "BOL.ui.tab.spellalchemy"}}</a>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
<a class="item" data-tab="description">{{localize "BOL.ui.tab.description"}}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
<div class="tab stats" data-group="primary" data-tab="stats">{{>
|
||||
"systems/bol/templates/actor/parts/tabs/actor-stats.hbs"}}
|
||||
<div class="tab stats" data-group="primary" data-tab="stats">
|
||||
{{#if (eq data.type "creature")}}
|
||||
{{>"systems/bol/templates/actor/parts/tabs/creature-stats.hbs"}}
|
||||
{{else}}
|
||||
{{>"systems/bol/templates/actor/parts/tabs/actor-stats.hbs"}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="tab actions" data-group="primary" data-tab="actions">
|
||||
{{#if (eq data.type "creature")}}
|
||||
{{> "systems/bol/templates/actor/parts/tabs/creature-actions.hbs"}}
|
||||
{{else}}
|
||||
{{> "systems/bol/templates/actor/parts/tabs/actor-actions.hbs"}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="tab combat" data-group="primary" data-tab="combat">
|
||||
{{> "systems/bol/templates/actor/parts/tabs/actor-combat.hbs"}}
|
||||
</div>
|
||||
|
||||
{{#if (ne data.type "creature")}}
|
||||
<div class="tab features" data-group="primary" data-tab="features">
|
||||
{{> "systems/bol/templates/actor/parts/tabs/actor-features.hbs"}}
|
||||
</div>
|
||||
@ -50,12 +57,12 @@
|
||||
<div class="tab equipment" data-group="primary" data-tab="equipment">
|
||||
{{> "systems/bol/templates/actor/parts/tabs/actor-equipment.hbs"}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="tab description" data-group="primary" data-tab="description">
|
||||
|
||||
{{> "systems/bol/templates/actor/parts/tabs/actor-biodata.hbs"}}
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -23,6 +23,7 @@
|
||||
<label class="header-field-label flex2">Type : </label><br/>
|
||||
<select class="field-value" name="data.type" data-dtype="String">
|
||||
{{#select data.type}}
|
||||
<option value="creature">Créature</option>
|
||||
<option value="base">Piétaille</option>
|
||||
<option value="tough">Coriace</option>
|
||||
<option value="adversary">Adversaire</option>
|
||||
|
@ -14,7 +14,9 @@
|
||||
<h4 class="item-name flex2">{{#if ../weapon}}<a class="rollable" data-roll-type="weapon">{{/if}}{{item.name}}{{#if ../weapon}}</a>{{/if}}</h4>
|
||||
{{#if ../protection}}<div class="item-field"><a class="rollable" data-roll-type="protection">{{item.data.properties.soak.formula}}</a> / {{item.data.properties.soak.value}}</div>{{/if}}
|
||||
{{#if ../blocking}}<div class="item-field">{{item.data.properties.blocking.malus}}</div>{{/if}}
|
||||
{{#if ../weapon}}<div class="item-field"><a class="rollable" data-roll-type="damage">{{item.data.properties.damage}}</a></div>{{/if}}
|
||||
{{#if ../weapon}}<div class="item-field"><a class="rollable" data-roll-type="damage">
|
||||
{{item.data.properties.damage}}+{{item.data.properties.damageModifiers}} x{{item.data.properties.damageMultiplier}}
|
||||
</a></div>{{/if}}
|
||||
{{#if ../ranged}}<div class="item-field">{{item.data.properties.range}}</div>{{else}}<div class="item-field"></div>{{/if}}
|
||||
{{#if ../options}}<div class="item-field">
|
||||
{{#if item.data.properties.activated}}
|
||||
|
@ -1,4 +1,5 @@
|
||||
<ol class="items-list">
|
||||
{{#if (ne data.type "creature")}}
|
||||
<li class="item flexrow item-header">
|
||||
<div class="item-name left">Taille </div>
|
||||
<div class="item-field flex2 left"><input type="text" name="data.details.height" value="{{data.details.height}}"></div>
|
||||
@ -17,6 +18,20 @@
|
||||
<div class="item-name left">Signes distinctifs </div>
|
||||
<div class="item-field flex2 left"><input type="text" name="data.details.signs" value="{{data.details.signs}}"></div>
|
||||
</li>
|
||||
{{else}}
|
||||
<li class="item flexrow item-header">
|
||||
<div class="item-name left">Taille </div>
|
||||
<div class="form-fields center">
|
||||
<select class="field-value size" name="data.details.size" data-dtype="String">
|
||||
{{#select data.details.size}}
|
||||
{{#each config.creatureSize as |value id|}}
|
||||
<option value="{{id}}">{{localize value}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
</li>
|
||||
{{/if}}
|
||||
</ol>
|
||||
<ol class="items-list">
|
||||
<li class="item flexrow item-header">
|
||||
|
62
templates/actor/parts/tabs/creature-actions.hbs
Normal file
62
templates/actor/parts/tabs/creature-actions.hbs
Normal file
@ -0,0 +1,62 @@
|
||||
{{#each combatCreature as |combatType id|}}
|
||||
<ol class="items-list">
|
||||
<li class="item flexrow item-header">
|
||||
<div class="item-name flex2">{{localize combatType.label}}</div>
|
||||
{{#if protection}}<div class="item-field">{{localize "BOL.ui.protection"}}</div>{{/if}}
|
||||
{{#if blocking}}<div class="item-field">{{localize "BOL.ui.blocking"}}</div>{{/if}}
|
||||
{{#if weapon}}<div class="item-field">{{localize "BOL.ui.damages"}}</div>{{/if}}
|
||||
{{#if ranged}}<div class="item-field">{{localize "BOL.ui.range"}}</div>{{else}}<div class="item-field"></div>{{/if}}
|
||||
{{#if options}}<div class="item-field">{{localize "BOL.ui.status"}}</div>{{else}}<div class="item-field"></div>{{/if}}
|
||||
</li>
|
||||
{{#each combatType.items as |item id|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
<div class="item-image" ><img src="{{item.img}}" title="{{item.name}}"/></div>
|
||||
<h4 class="item-name flex2">{{#if ../weapon}}<a class="rollable" data-roll-type="weapon">{{/if}}{{item.name}}{{#if ../weapon}}</a>{{/if}}</h4>
|
||||
{{#if ../protection}}<div class="item-field"><a class="rollable" data-roll-type="protection">{{item.data.properties.soak.formula}}</a> / {{item.data.properties.soak.value}}</div>{{/if}}
|
||||
{{#if ../blocking}}<div class="item-field">{{item.data.properties.blocking.malus}}</div>{{/if}}
|
||||
{{#if ../weapon}}<div class="item-field"><a class="rollable" data-roll-type="damage">{{item.data.properties.damage}}+{{item.data.properties.damageModifiers}} x{{item.data.properties.damageMultiplier}}</a></div>{{/if}}
|
||||
{{#if ../ranged}}<div class="item-field">{{item.data.properties.range}}</div>{{else}}<div class="item-field"></div>{{/if}}
|
||||
{{#if ../options}}<div class="item-field">
|
||||
{{#if item.data.properties.activated}}
|
||||
<a class="toggle-fight-option">{{localize "BOL.ui.toactivated"}}</a>
|
||||
{{else}}
|
||||
<a class="toggle-fight-option">{{localize "BOL.ui.todeactivated"}}</a>
|
||||
{{/if}}
|
||||
</div>{{else}}
|
||||
<div class="item-field"></div>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-edit" title="{{localize "BOL.ui.edit"}}"><i class="fas fa-square"></i></a>
|
||||
<a class="item-control item-delete" title="{{localize "BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ol>
|
||||
{{/each}}
|
||||
|
||||
|
||||
{{#each features as | features key|}}
|
||||
{{#if (gt (count features.items) 0)}}
|
||||
<ol class="items-list">
|
||||
<li class="item flexrow item-header">
|
||||
<div class="item-name flex4 left">{{localize features.label}}</div>
|
||||
{{#if ranked}}
|
||||
<div class="item-field flex2 center">{{localize "BOL.ui.rank"}}</div>
|
||||
{{/if}}
|
||||
<div class="item-field flex1 right"></div>
|
||||
</li>
|
||||
{{#each features.items as |item id|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
<h4 class="item-name flex4 left">
|
||||
<div class="item-image {{#if (equals key "careers")}}roll-career{{/if}}"><img src="{{item.img}}" title="{{item.name}}"/></div>
|
||||
<a class="item-edit">{{item.name}}</a>
|
||||
</h4>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-log" title="Log Item"><i class="far fa-comment"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ol>
|
||||
{{/if}}
|
||||
{{/each}}
|
32
templates/actor/parts/tabs/creature-stats.hbs
Normal file
32
templates/actor/parts/tabs/creature-stats.hbs
Normal file
@ -0,0 +1,32 @@
|
||||
<div class="attributes flexrow">
|
||||
{{#each data.attributes as |attribute id|}}
|
||||
{{#if (ne id "appeal")}}
|
||||
<div class="attribute stat flex1 flex-group-center {{key}}">
|
||||
<label class="stat-label"><a class="rollable" data-roll-type="attribute" data-roll="2d6+@attributes.{{key}}.value" data-adv="0" data-key="{{key}}">{{localize label}}</a></label><br/>
|
||||
<input class="stat-value rounded" type="text" name="data.attributes.{{key}}.value" value="{{numberFormat value decimals=0 sign=true}}" data-dtype="Number"/><br/>
|
||||
<span class="stat-roll rollable" title="2d6" data-roll-type="attribute" data-roll="2d6+@attributes.{{key}}.value" data-adv="0" data-key="{{key}}">
|
||||
<i class="darkgreen fas fa-dice"></i>
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="aptitudes flexrow">
|
||||
<div class="aptitude stat flex1 flex-group-center">
|
||||
<div class="stat-label"><a class="rollable" data-roll-type="aptitude" data-roll="2d6+@aptitudes.def.value" data-adv="0" data-key="def">{{localize "BOL.aptitudes.def"}}</a></label><br/>
|
||||
<input class="stat-value rounded-border" type="text" name="data.aptitudes.def.value" value="{{numberFormat aptitudes.3.value decimals=0 sign=true}}" data-dtype="Number"/><br/>
|
||||
<span class="stat-roll rollable" title="2d6" data-roll-type="aptitude" data-roll="2d6+@aptitudes.def.value" data-adv="0" data-key="def">
|
||||
<i class="darkgreen fas fa-dice"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="resources flexrow">
|
||||
<div class="resource stat flex1 flex-group-center">
|
||||
<label class="stat-label">{{localize "BOL.resources.hp"}}</label><br/>
|
||||
<input class="stat-value" type="text" name="data.resources.hp.value" value="{{numberFormat resources.hp.value decimals=0 sign=false}}" data-dtype="Number"/>
|
||||
<input class="stat-max" type="text" name="data.resources.hp.max" value="{{numberFormat resources.hp.max decimals=0 sign=false}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
@ -8,9 +8,18 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{#if weapon.data.data.properties.onlymodifier}}
|
||||
{{else}}
|
||||
{{> "systems/bol/templates/dialogs/attribute-roll-part.hbs"}}
|
||||
|
||||
{{> "systems/bol/templates/dialogs/aptitude-roll-part.hbs"}}
|
||||
{{/if}}
|
||||
|
||||
<div class="flexrow roll-box" >
|
||||
<div class="flex1 center bg-darkred">
|
||||
<label for="mod">{{localize 'BOL.ui.attackValue'}}</label>
|
||||
</div>
|
||||
<div class="flex1 center cell">{{weapon.data.data.properties.attackModifiers}}</div>
|
||||
</div>
|
||||
|
||||
<div class="flexrow roll-box" >
|
||||
<div class="flex1 center bg-darkred">
|
||||
|
@ -11,6 +11,9 @@
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="data.properties.throwing" {{checked data.properties.throwing}}> {{localize "BOL.itemProperty.throwing"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="data.properties.natural" {{checked data.properties.natural}}> {{localize "BOL.itemProperty.natural"}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
@ -29,6 +32,10 @@
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="data.properties.attackBonusDice" {{checked data.properties.attackBonusDice}}> {{localize "BOL.itemProperty.attackBonusDice"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="data.properties.onlymodifier" {{checked data.properties.onlymodifier}}> {{localize "BOL.itemProperty.onlymodifier"}}
|
||||
</label>
|
||||
|
||||
|
||||
{{#if data.properties.ranged}}
|
||||
<label class="checkbox">
|
||||
@ -46,6 +53,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
{{#if (not data.properties.onlymodifier)}}
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.attackAttribute"}}</label>
|
||||
<div class="form-fields center">
|
||||
@ -70,6 +78,7 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.attackModifiers"}}</label>
|
||||
<div class="form-fields center">
|
||||
|
@ -1,11 +0,0 @@
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "attribut"}}</label>
|
||||
<select id="rollAttribute" value="rollAttribute">
|
||||
{{#select rollAttribute}}
|
||||
<option value="vigor">{{localize "BOL.attributes.vigor"}}</option>
|
||||
<option value="agility">{{localize "BOL.attributes.agility"}}</option>
|
||||
<option value="mind">{{localize "BOL.attributes.mind"}}</option>
|
||||
<option value="appeal">{{localize "BOL.attributes.appeal"}}</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
@ -1,36 +0,0 @@
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "d6M"}}</label>
|
||||
<input class="field-value center" id="d6Malus" name="d6Malus" type="text" value="{{numberFormat d6Malus decimals=0 sign=true}}" data-dtype="Number" style="text-align: center"/>
|
||||
<!-- <select id="d6Malus" value="d6Malus">-->
|
||||
<!-- {{!#select d6Malus}}-->
|
||||
<!-- <option value="0">0</option>-->
|
||||
<!-- <option value="1">1</option>-->
|
||||
<!-- <option value="2">2</option>-->
|
||||
<!-- <option value="3">3</option>-->
|
||||
<!-- <option value="4">4</option>-->
|
||||
<!-- {{!/select}}-->
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "d6B"}}</label>
|
||||
<input class="field-value center" id="d6Bonus" name="d6Bonus" type="text" value="{{numberFormat d6Bonus decimals=0 sign=true}}" data-dtype="Number" style="text-align: center"/>
|
||||
<!-- <select id="d6Bonus" value="d6Bonus">-->
|
||||
<!-- {{!#select d6Bonus}}-->
|
||||
<!-- <option value="0">0</option>-->
|
||||
<!-- <option value="1">1</option>-->
|
||||
<!-- <option value="2">2</option>-->
|
||||
<!-- <option value="3">3</option>-->
|
||||
<!-- <option value="4">4</option>-->
|
||||
<!-- {{!/select}}-->
|
||||
<!-- </select>-->
|
||||
</div>
|
||||
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "Modifier"}}</label>
|
||||
<select id="bonusMalus" value="bonusMalus">
|
||||
{{#select bonusMalus}}
|
||||
{{{optionsBonusMalus}}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
@ -1,3 +0,0 @@
|
||||
<form class="skill-roll-dialog">
|
||||
{{> "systems/bol/templates/roll/parts/roll-dialog-modifiers.hbs"}}
|
||||
</form>
|
@ -1,8 +0,0 @@
|
||||
<form class="skill-roll-dialog">
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "rank"}}</label>
|
||||
<label class="property-label">{{career.data.rank}}</label>
|
||||
</div>
|
||||
{{> "systems/bol/templates/roll/parts/roll-dialog-attribute.hbs"}}
|
||||
{{> "systems/bol/templates/roll/parts/roll-dialog-modifiers.hbs"}}
|
||||
</form>
|
@ -1,4 +0,0 @@
|
||||
<form class="spell-roll-dialog">
|
||||
<div class="flexrow">
|
||||
</div>
|
||||
</form>
|
@ -1,34 +0,0 @@
|
||||
<form class="skill-roll-dialog">
|
||||
{{#if defender}}
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.defender"}} : </label>
|
||||
<label class="property-label">{{defender.name}}</label>
|
||||
</div>
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.defenseScore"}}</label>
|
||||
<label class="property-label">{{defender.data.aptitudes.def.value}}</label>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{> "systems/bol/templates/roll/parts/roll-dialog-attribute.hbs"}}
|
||||
{{> "systems/bol/templates/roll/parts/roll-dialog-modifiers.hbs"}}
|
||||
{{#if isRangedWeapon}}
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "Range Modifier"}}</label>
|
||||
<input class="field-value center" id="rangeModifier" name="rangeModifier" type="text"
|
||||
value="{{numberFormat rangeModifier decimals=0 sign=true}}" data-dtype="Number"
|
||||
style="text-align: center"/>
|
||||
<!-- <select id="rangeModifier" value="rangeModifier">-->
|
||||
<!-- {{!#select rangeModifier}}-->
|
||||
<!-- <option value="1">{{localize "BOL.range.PointBlank"}}</option>-->
|
||||
<!-- <option value="0">{{localize "BOL.range.Short"}}</option>-->
|
||||
<!-- <option value="-1">{{localize "BOL.range.Medium"}}</option>-->
|
||||
<!-- <option value="-2">{{localize "BOL.range.Long"}}</option>-->
|
||||
<!-- <option value="-4">{{localize "BOL.range.Very Long"}}</option>-->
|
||||
<!-- <option value="-6">{{localize "BOL.range.Extreme"}}</option>-->
|
||||
<!-- <option value="-8">{{localize "BOL.range.Maximum"}}</option>-->
|
||||
<!-- {{!/select}}-->
|
||||
<!-- </select>-->
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
</form>
|
@ -1,42 +0,0 @@
|
||||
<form class="skill-roll-dialog">
|
||||
{{!#if (equals mode "attribute")}}{{!/if}}
|
||||
{{#if (equals mode "career")}}
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "rank"}}</label>
|
||||
<label class="property-label">{{career.data.rank}}</label>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if (equals mode "weapon")}}
|
||||
{{#if defender}}
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "Defender"}} : </label>
|
||||
<label class="property-label">{{defender.name}}</label>
|
||||
</div>
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "Defense score"}}</label>
|
||||
<label class="property-label">{{defender.data.aptitudes.def.value}}</label>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if isRangedWeapon}}
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "Range Modifier"}}</label>
|
||||
<input class="field-value center" id="rangeModifier" name="rangeModifier" type="text" value="{{numberFormat rangeModifier decimals=0 sign=true}}" data-dtype="Number" style="text-align: center"/>
|
||||
<!-- <select id="rangeModifier" value="rangeModifier">-->
|
||||
<!-- {{!#select rangeModifier}}-->
|
||||
<!-- <option value="1">{{localize "BOL.range.PointBlank"}}</option>-->
|
||||
<!-- <option value="0">{{localize "BOL.range.Short"}}</option>-->
|
||||
<!-- <option value="-1">{{localize "BOL.range.Medium"}}</option>-->
|
||||
<!-- <option value="-2">{{localize "BOL.range.Long"}}</option>-->
|
||||
<!-- <option value="-4">{{localize "BOL.range.Very Long"}}</option>-->
|
||||
<!-- <option value="-6">{{localize "BOL.range.Extreme"}}</option>-->
|
||||
<!-- <option value="-8">{{localize "BOL.range.Maximum"}}</option>-->
|
||||
<!-- {{!/select}}-->
|
||||
<!-- </select>-->
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{#if (neq mode "attribute")}}
|
||||
{{> "systems/bol/templates/roll/parts/roll-dialog-attribute.hbs"}}
|
||||
{{/if}}
|
||||
{{> "systems/bol/templates/roll/parts/roll-dialog-modifiers.hbs"}}
|
||||
</form>
|
Loading…
Reference in New Issue
Block a user