Commit Graph

15 Commits

Author SHA1 Message Date
6a5819b905 Ajout des compendiums et cleanup des images 2026-04-01 08:41:40 +02:00
389d4b8008 feat: Add per-type NPC icons + update compendium icons
6 new SVG icons in images/icons/, one per NPC type:
- icon-npc-esprit-animal.svg (amber) — paw print + yin-yang
- icon-npc-fantome.svg (cyan) — ghost silhouette + 鬼 character
- icon-npc-demon.svg (red) — horned demon face
- icon-npc-jiugwaai.svg (emerald) — hybrid creature + 怪 character
- icon-npc-dieu.svg (gold) — divine halo + lotus
- icon-npc-mortel.svg (steel blue) — human silhouette + talisman

All 49 NPC JSON files updated with type-specific icon paths.
Pack cde-npcs recompiled.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-31 23:12:27 +02:00
ce1ed17ce1 Ajout des compendiums et cleanup des images 2026-03-31 23:04:06 +02:00
01861340ad feat: Add NPC compendium with 49 PNJs from the rulebook
- 9 esprits-animaux nommés (James Kam, Karen Sen, Susan Chow, Hyun Ci, Michelle Chun, Scott Zang, Pui Gan, Bui Hok, Sonia Tsui)
- 8 fantômes (Phil Mok, Tony Meng + 4 archétypes génériques)
- 13 démons (Je Maan, Good Boy, Charlie Fei, Zoeng, Ban Daan + 8 archétypes génériques)
- 4 jiugwaai (Juk Lyun + archétypes gaaujan, gwat jyun)
- 2 divinités (Ruby Jin Jin / tinneoi, Jing Tin)
- 3 mortels initiés nommés (Laureen Zoeng, Julian Po, John Wa)
- 8 PNJ du scénario L'Année du Lion (Alexander Weng, Maximilian Pang, Ginny Ching, Ken Luan, Jeffrey Chiu, Paul Fei, Leonie Fei, Carrie Suet)
- 3 archétypes mortels génériques (Fat si sorcier, Intermédiaire, Consultant ésotérique)
- Suppression du fichier modèle npc_Modele_Creature.json
- Recompilation du pack cde-npcs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-31 22:58:35 +02:00
6091d4bf58 feat(compendiums): add 54 ingredient items from rulebook (all disciplines)
- 27 general esoteric items (school=all)
- 6 Cinabre interne items
- 7 Alchimie items
- 7 Exorcisme items
- 7 Géomancie items
- No specific Maîtrise de la Voie items (not listed in rulebook)
- Template file removed

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-31 21:11:20 +02:00
bc9f4d9867 feat(compendiums): add 5 sanhei and 16 supernatural capacity items
- Add 5 pre-constructed sanhei from rulebook (p.216-218):
  Lance du Croc d'Argent, Gantelet aux Écailles irisées,
  Pinceau écarlate, Rouleau de la Monture céleste,
  Sceau du Dragon-gardien
- Each sanhei has 3 filled properties with name/heiCost/heiType/description
- Add 16 supernatural capacities from bestiary chapter (p.349-353):
  absorption_yang, arme, don_inne, immortalite, intangibilite,
  metamorphe (x5 sub-types), peur, possession, protection,
  regeneration, vol, venin
- Delete template placeholder files for both packs
- Recompile cde-sanhei and cde-supernaturals packs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-31 20:49:01 +02:00
2756d95ea5 feat(compendiums): add 25 spells and 20 martial arts from rulebook
- Extract all 25 magical speciality items from PDF (all 5 disciplines)
- Extract all 20 martial arts style items from PDF
- Fix Wing Chun technique 'La terre tourne autour du soleil'
- Fix La Paume des Huit Trigrammes technique 2 'Contourner l'obstacle'
- Fix Les Poignards volants with all 3 techniques from rulebook
- Delete template placeholder files
- Recompile all packs (cde-spells: 25, cde-kungfus: 20)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-31 20:32:36 +02:00
b19dcdef3c Rework des fiches creature/PJ et Tinji/Loksyu 2026-03-30 16:39:27 +02:00
0b7de1c98b Rework des fiches creature/PJ et Tinji/Loksyu 2026-03-30 16:37:04 +02:00
cab77645b7 Rework des fiches creature/PJ et Tinji/Loksyu 2026-03-30 16:36:38 +02:00
0689fae792 feat: Loksyu & TinJi standalone AppV2 apps with chat buttons and dice automation
- CDELoksyuApp: standalone HandlebarsApplicationMixin(ApplicationV2) app
  - 5-element Wu Xing grid with yin/yang inputs per element
  - Per-element reset buttons + global reset-all
  - Auto-refresh via updateActor hook

- CDETinjiApp: standalone AppV2 for the collective Tin Ji dice pool
  - Large neon counter with +/- buttons and direct input
  - Spend button sends a chat message with remaining count

- singletons.js: shared utilities
  - getSingletonActor: find or auto-create singleton actor
  - updateLoksyuFromRoll: compute lokAspect from Wu Xing cycle, update yin/yang
  - updateTinjiFromRoll: add tinji face count to value

- rolling.js: auto-update both singletons after every dice roll
  (weapon path + main roll path)

- system.js: renderChatLog hook injects Loksyu/TinJi footer buttons
  in the chat sidebar

- loksyu.js / tinji.js: actor sheets redirect to standalone apps
  when opened via the sidebar

- CSS: .cde-loksyu-standalone, .cde-tinji-standalone, .cde-chat-app-buttons,
  .cde-tinji-spend-msg styles added

- i18n: new keys in fr-cde.json and en-cde.json for all new UI strings
  (LoksyuNotFound, TinjiNotFound, Reset, ResetAll, SpendTinji, etc.)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-30 09:51:39 +02:00
6fda4b9246 Refactor des fiches de creatures 2026-03-30 09:27:11 +02:00
a9e902ed78 Rework complet des fiches et dialog de jets 2026-03-28 08:47:13 +01:00
f7a01900ac Import initial du système 2026-03-28 08:44:19 +01:00
068fca00e5 Neo-Tokyo Neon Noir design pour fiches items
- Nouvelle palette : #080c14 fond, accents néon par type (#00d4d4 item, #ff3d5a kungfu, #4a9eff spell, #cc44ff supernatural)
- Nouveaux composants LESS : .cde-neon-header (clip-path angulaire + accent line), .cde-avatar (clip-path), .cde-stat-grid/.cde-stat-cell (style terminal), .cde-badge (parallélogramme), .cde-neon-tabs (underline néon animé), .cde-check-cell
- Fix layout : .cde-sheet width: 100% + height: 100% + overflow: hidden, .cde-tab-body flex: 1 + min-height: 0, .cde-notes-editor flex stretch
- Fix positions : DEFAULT_OPTIONS height explicite pour tous les types (item 620x580, spell 660x680, kungfu 720x680, supernatural 560x520)
- 4 templates items reécrits avec nouvelles classes et structure épurée

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-26 00:18:04 +01:00