Nouveaux items Arme et Armure (DataModel + feuille + CSS)
Items: - CelestopolWeapon : degats (0/1/2/X), portee (contact/courte/longue), description - CelestopolArmure : protection (1-2), malus (0-2), description Config: - WEAPON_DAMAGE_TYPES et WEAPON_RANGE_TYPES ajoutés dans system.mjs - Enregistrement des DataModels, sheets et templates dans fvtt-celestopol.mjs - system.json : types weapon et armure avec htmlFields UI: - weapon.hbs : badge de dégâts avec hint, sélecteurs portée/dégâts - armure.hbs : blocs protection + malus art-déco - items.less : styles .weapon et .armure i18n: clés Weapon.*, Armure.*, Sheet.weapon, Sheet.armure Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
67
system.json
67
system.json
@@ -15,16 +15,29 @@
|
||||
],
|
||||
"flags": {
|
||||
"hotReload": {
|
||||
"extensions": ["css", "html", "hbs", "json"],
|
||||
"paths": ["css/", "templates/", "lang/fr.json"]
|
||||
"extensions": [
|
||||
"css",
|
||||
"html",
|
||||
"hbs",
|
||||
"json"
|
||||
],
|
||||
"paths": [
|
||||
"css/",
|
||||
"templates/",
|
||||
"lang/fr.json"
|
||||
]
|
||||
}
|
||||
},
|
||||
"compatibility": {
|
||||
"minimum": "13",
|
||||
"verified": "13"
|
||||
},
|
||||
"esmodules": ["fvtt-celestopol.mjs"],
|
||||
"styles": ["css/fvtt-celestopol.css?v=1774698726"],
|
||||
"esmodules": [
|
||||
"fvtt-celestopol.mjs"
|
||||
],
|
||||
"styles": [
|
||||
"css/fvtt-celestopol.css?v=1774698726"
|
||||
],
|
||||
"languages": [
|
||||
{
|
||||
"lang": "fr",
|
||||
@@ -35,16 +48,50 @@
|
||||
"documentTypes": {
|
||||
"Actor": {
|
||||
"character": {
|
||||
"htmlFields": ["description", "notes"]
|
||||
"htmlFields": [
|
||||
"description",
|
||||
"notes"
|
||||
]
|
||||
},
|
||||
"npc": {
|
||||
"htmlFields": ["description", "notes"]
|
||||
"htmlFields": [
|
||||
"description",
|
||||
"notes"
|
||||
]
|
||||
}
|
||||
},
|
||||
"Item": {
|
||||
"anomaly": { "htmlFields": ["technique", "narratif", "exemples"] },
|
||||
"aspect": { "htmlFields": ["description", "technique", "narratif", "notes"] },
|
||||
"equipment": { "htmlFields": ["description", "notes"] }
|
||||
"anomaly": {
|
||||
"htmlFields": [
|
||||
"technique",
|
||||
"narratif",
|
||||
"exemples"
|
||||
]
|
||||
},
|
||||
"aspect": {
|
||||
"htmlFields": [
|
||||
"description",
|
||||
"technique",
|
||||
"narratif",
|
||||
"notes"
|
||||
]
|
||||
},
|
||||
"equipment": {
|
||||
"htmlFields": [
|
||||
"description",
|
||||
"notes"
|
||||
]
|
||||
},
|
||||
"weapon": {
|
||||
"htmlFields": [
|
||||
"description"
|
||||
]
|
||||
},
|
||||
"armure": {
|
||||
"htmlFields": [
|
||||
"description"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"packs": [
|
||||
@@ -70,4 +117,4 @@
|
||||
"primaryTokenAttribute": "resource",
|
||||
"socket": true,
|
||||
"background": "systems/fvtt-celestopol/assets/ui/celestopol_background.webp"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user