Import simplifié #61
Closed
opened 2021-11-17 14:28:51 +01:00 by gauche.c
·
5 comments
No Branch/Tag Specified
v10
v4
v3
master
es6_22
foundryvtt-wh4-lang-fr-9-0-2
foundryvtt-wh4-lang-fr-9.0.0
foundryvtt-wh4-lang-fr-8.5.0
foundryvtt-wh4-lang-fr-8.4.2
foundryvtt-wh4-lang-fr-8.4.1
foundryvtt-wh4-lang-fr-8.4.0
foundryvtt-wh4-lang-fr-8.3.0
foundryvtt-wh4-lang-fr-8.2.3
foundryvtt-wh4-lang-fr-8.2.2
foundryvtt-wh4-lang-fr-8.2.1
foundryvtt-wh4-lang-fr-8.2.0
foundryvtt-wh4-lang-fr-8.1.2
foundryvtt-wh4-lang-fr-8.1.1
foundryvtt-wh4-lang-fr-8.1.0
foundryvtt-wh4-lang-fr-8.0.3
foundryvtt-wh4-lang-fr-8.0.2
foundryvtt-wh4-lang-fr-8.0.1
foundryvtt-wh4-lang-fr-8.0.0
foundryvtt-wh4-lang-fr-7.2.3
foundryvtt-wh4-lang-fr-7.2.2
foundryvtt-wh4-lang-fr-7.2.1
foundryvtt-wh4-lang-fr-7.2.0
foundryvtt-wh4-lang-fr-7.1.6
foundryvtt-wh4-lang-fr-7.1.5
foundryvtt-wh4-lang-fr-7.1.4
foundryvtt-wh4-lang-fr-7.1.3
foundryvtt-wh4-lang-fr-7.1.2
foundryvtt-wh4-lang-fr-7.1.1
foundryvtt-wh4-lang-fr-7.1.0
foundryvtt-wh4-lang-fr-7.0.29
foundryvtt-wh4-lang-fr-7.0.28
foundryvtt-wh4-lang-fr-7.0.27
foundryvtt-wh4-lang-fr-7.0.26
foundryvtt-wh4-lang-fr-7.0.25
foundryvtt-wh4-lang-fr-7.0.24
foundryvtt-wh4-lang-fr-7.0.23
foundryvtt-wh4-lang-fr-7.0.22
foundryvtt-wh4-lang-fr-7.0.21
foundryvtt-wh4-lang-fr-7.0.20
foundryvtt-wh4-lang-fr-7.0.19
foundryvtt-wh4-lang-fr-7.0.18
foundryvtt-wh4-lang-fr-7.0.17
foundryvtt-wh4-lang-fr-7.0.16
foundryvtt-wh4-lang-fr-7.0.15
foundryvtt-wh4-lang-fr-7.0.14
foundryvtt-wh4-lang-fr-7.0.13
foundryvtt-wh4-lang-fr-7.0.11
foundryvtt-wh4-lang-fr-7.0.10
foundryvtt-wh4-lang-fr-7.0.12
foundryvtt-wh4-lang-fr-7.0.9
foundryvtt-wh4-lang-fr-7.0.8
foundryvtt-wh4-lang-fr-7.0.7
foundryvtt-wh4-lang-fr-7.0.6
foundryvtt-wh4-lang-fr-7.0.5
foundryvtt-wh4-lang-fr-7.0.4
foundryvtt-wh4-lang-fr-7.0.3
foundryvtt-wh4-lang-fr-7.0.2
foundryvtt-wh4-lang-fr-7.0.1
foundryvtt-wh4-lang-fr-7.0.0
foundryvtt-wh4-lang-fr-6.6.2
foundryvtt-wh4-lang-fr-6.6.1
foundryvtt-wh4-lang-fr-6.6.0
foundryvtt-wh4-lang-fr-6.5.6
foundryvtt-wh4-lang-fr-6.5.5
foundryvtt-wh4-lang-fr-6.5.3
foundryvtt-wh4-lang-fr-6.5.0
foundryvtt-wh4-lang-fr-6.4.1
foundryvtt-wh4-lang-fr-6.4.0
foundryvtt-wh4-lang-fr-6.3.11
foundryvtt-wh4-lang-fr-6.3.10
foundryvtt-wh4-lang-fr-6.3.9
foundryvtt-wh4-lang-fr-6.3.8
foundryvtt-wh4-lang-fr-6.3.7
foundryvtt-wh4-lang-fr-6.3.6
foundryvtt-wh4-lang-fr-6.3.5
foundryvtt-wh4-lang-fr-6.3.4
foundryvtt-wh4-lang-fr-6.3.3
foundryvtt-wh4-lang-fr-6.3.2
foundryvtt-wh4-lang-fr-6.3.1
foundryvtt-wh4-lang-fr-6.3.0
foundryvtt-wh4-lang-fr-6.2.23
foundryvtt-wh4-lang-fr-6.2.22
foundryvtt-wh4-lang-fr-6.2.21
foundryvtt-wh4-lang-fr-6.2.20
foundryvtt-wh4-lang-fr-6.2.15
foundryvtt-wh4-lang-fr-6.2.14
foundryvtt-wh4-lang-fr-6.2.13
foundryvtt-wh4-lang-fr-6.2.13.zip
foundryvtt-wh4-lang-fr-6.2.11
foundryvtt-wh4-lang-fr-6.2.10
foundryvtt-wh4-lang-fr-6.2.9
foundryvtt-wh4-lang-fr-6.2.8
foundryvtt-wh4-lang-fr-6.2.7
foundryvtt-wh4-lang-fr-6.2.6
foundryvtt-wh4-lang-fr-6.2.5
foundryvtt-wh4-lang-fr-6.2.4
foundryvtt-wh4-lang-fr-6.2.3
foundryvtt-wh4-lang-fr-6.2.2
foundryvtt-wh4-lang-fr-6.2.1
foundryvtt-wh4-lang-fr-6.2.0
foundryvtt-wh4-lang-fr-6.1.9
foundryvtt-wh4-lang-fr-6.1.8
foundryvtt-wh4-lang-fr-6.1.7
foundryvtt-wh4-lang-fr-6.1.6
foundryvtt-wh4-lang-fr-6.1.5
foundryvtt-wh4-lang-fr-6.1.4
foundryvtt-wh4-lang-fr-6.1.3
foundryvtt-wh4-lang-fr-6.1.2
foundryvtt-wh4-lang-fr-6.1.1
foundryvtt-wh4-lang-fr-6.1.0
foundryvtt-wh4-lang-fr-5.4.1
foundryvtt-wh4-lang-fr-5.4.0
foundryvtt-wh4-lang-fr-5.3.7
foundryvtt-wh4-lang-fr-5.3.6
foundryvtt-wh4-lang-fr-5.3.5
foundryvtt-wh4-lang-fr-5.3.4
foundryvtt-wh4-lang-fr-5.3.3
foundryvtt-wh4-lang-fr-5.3.2
foundryvtt-wh4-lang-fr-5.3.1
foundryvtt-wh4-lang-fr-5.2.13
foundryvtt-wh4-lang-fr-5.2.12
foundryvtt-wh4-lang-fr-5.2.11
v0.1
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: public/foundryvtt-wh4-lang-fr-fr#61
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking 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