{ "name": "Caractéristiques des Employés", "type": "script", "command": "// =========================================================\n// 1. RECUPERER LES PJ (les employés)\n// =========================================================\nconst pcs = game.actors.filter(a => a.type === \"character\" || a.hasPlayerOwner);\n\nif (pcs.length === 0) {\n ui.notifications.warn(\"Aucun personnage de joueur trouvé.\");\n return;\n}\n\n// =========================================================\n// 2. CONSTRUCTION DU CONTENU DE LA BOITE DE DIALOGUE\n// =========================================================\nlet content = `\n
| Nom / Concept | \nPV | \nDV | \nFOR | \nDEX | \nCON | \nINT | \nSAG | \nCHA | \nSuspicion | \nAvertissements | \nMissions réussies | \nTraits | \n
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| \n ${name} \n ${concept}\n | \n \n ${pvVal} / ${pvMax}\n | \n${dv} | \n${force} | \n${dex} | \n${con} | \n${int} | \n${sag} | \n${cha} | \n${missionsReussies} | \n0 ? '#842c2c' : '#221b18'};\">${suspicion} | \n0 ? '#842c2c' : '#221b18'};\">${avertissements} | \n${traits} | \n