Import simplifié #61
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: public/foundryvtt-wh4-lang-fr-fr#61
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bonjour,
Serait il possible de proposer un import de personnage avec un format .json simplifié ?
Le but serait d'utiliser la puissance de ton module pour générer un personnage simplement avec les données importantes, à savoir:
Donnée qu'on peut compléter avec d'autres optionnelles comme l'expérience, les détails, corruptions, destinées ...
Pour récupérer les informations manquantes, la fonction pourrait les récupérer sur ton module, sur système ou Foundry.
Si possible, garder le même format .json de la fiche de personnage de Foundry.
J'ai deja travaillé sur un format, voici un exemple:
{"name":"New Actor","type":"character","data":{"characteristics":{"ws":{"initial":30,"advances":0},"bs":{"initial":38,"advances":0},"s":{"initial":27,"advances":0},"t":{"initial":35,"advances":4},"i":{"initial":31,"advances":0},"ag":{"initial":38,"advances":0},"dex":{"initial":31,"advances":0},"int":{"initial":29,"advances":0},"wp":{"initial":35,"advances":1},"fel":{"initial":33,"advances":0}},"status":{"fate":{"value":4},"fortune":{"value":4},"resilience":{"value":2},"resolve":{"value":2}},"details":{"species":{"value":"human"},"move":{"value":4},"age":{"value":20},"eyecolour":{"value":"Gris pâle"},"haircolour":{"value":"Noir"},"height":{"value":180},"motivation":{"value":""},"personal-ambitions":{"short-term":"","long-term":""}}},"items":[{"name":"Art","type":"skill","data":{"advances":{"value":0}}},{"name":"Athlétisme","type":"skill","data":{"advances":{"value":7}}},{"name":"Calme","type":"skill","data":{"advances":{"value":7}}},{"name":"Charme","type":"skill","data":{"advances":{"value":5}}},{"name":"Chevaucher","type":"skill","data":{"advances":{"value":0}}},{"name":"Commandement","type":"skill","data":{"advances":{"value":3}}},{"name":"Conduite d'attelage","type":"skill","data":{"advances":{"value":0}}},{"name":"Corps à corps","type":"skill","data":{"advances":{"value":0}}},{"name":"Discrétion","type":"skill","data":{"advances":{"value":0}}},{"name":"Divertissement","type":"skill","data":{"advances":{"value":0}}},{"name":"Emprise sur les animaux","type":"skill","data":{"advances":{"value":0}}},{"name":"Escalade","type":"skill","data":{"advances":{"value":0}}},{"name":"Esquive","type":"skill","data":{"advances":{"value":0}}},{"name":"Intimidation","type":"skill","data":{"advances":{"value":0}}},{"name":"Intuition","type":"skill","data":{"advances":{"value":6}}},{"name":"Marchandage","type":"skill","data":{"advances":{"value":5}}},{"name":"Orientation","type":"skill","data":{"advances":{"value":0}}},{"name":"Pari","type":"skill","data":{"advances":{"value":0}}},{"name":"Perception","type":"skill","data":{"advances":{"value":5}}},{"name":"Ragot","type":"skill","data":{"advances":{"value":3}}},{"name":"Ramer","type":"skill","data":{"advances":{"value":0}}},{"name":"Résistance","type":"skill","data":{"advances":{"value":3}}},{"name":"Résistance à l'alcool","type":"skill","data":{"advances":{"value":0}}},{"name":"Subornation","type":"skill","data":{"advances":{"value":0}}},{"name":"Survie en extérieur","type":"skill","data":{"advances":{"value":0}}},{"name":"Langue (Wastelander)","type":"skill","data":{"advances":{"value":5}}},{"name":"Prière","type":"skill","data":{"advances":{"value":4}}},{"name":"Recherche","type":"skill","data":{"advances":{"value":5}}},{"name":"Savoir (Reikland)","type":"skill","data":{"advances":{"value":3}}},{"name":"Savoir (Théologie)","type":"skill","data":{"advances":{"value":5}}},{"name":"Destinée","type":"talent","data":{"advances":{"value":1}}},{"name":"Perspicace","type":"talent","data":{"advances":{"value":1}}},{"name":"Sixième sens","type":"talent","data":{"advances":{"value":1}}},{"name":"Affinité avec les animaux","type":"talent","data":{"advances":{"value":1}}},{"name":"Bonnes jambes","type":"talent","data":{"advances":{"value":1}}},{"name":"Béni (Ranald)","type":"talent","data":{"advances":{"value":1}}},{"name":"Affable","type":"talent","data":{"advances":{"value":1}}},{"name":"Bénédiction de Chance","type":"prayer","data":{"type":{"value":"blessing"}}},{"name":"Bénédiction de Charisme","type":"prayer","data":{"type":{"value":"blessing"}}},{"name":"Bénédiction de Conscience","type":"prayer","data":{"type":{"value":"blessing"}}},{"name":"Bénédiction de Finesse","type":"prayer","data":{"type":{"value":"blessing"}}},{"name":"Bénédiction de Protection","type":"prayer","data":{"type":{"value":"blessing"}}},{"name":"Bénédiction de Vivacité","type":"prayer","data":{"type":{"value":"blessing"}}},{"name":"Initié","type":"career","data":{"careergroup":{"value":"Prêtre"},"current":{"value":true},"skills":["Athlétisme","Calme","Intuition","Perception","Résistance","Prière","Recherche","Savoir (Théologie)"],"talents":["Affable","Béni (Ranald)","Lire/Écrire","Visions sacrées"]}}]}
D'ailleurs, ce lien permet de générer d'autres exemples de personnage aléatoirement généré au format json simplifié: https://script.google.com/macros/s/AKfycbwjQfp1n_cQCohkYG1oyDkUvIWWt1SXWfDGnsL_yWK7BS4FJUYAxoXD9ED9gu9z8_Axtg/exec?foundryExport=random
changed the description
changed the description
changed the description
changed the description
changed the description