@moonwitness/ui 7.3.1 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +2 -3
  3. package/scripts/consumer-smoke.mjs +0 -45
  4. package/scripts/generate-icons.mjs +0 -110
  5. package/scripts/generate-token-artifacts.mjs +0 -90
  6. package/scripts/icon-svg-to-jsx.mjs +0 -249
  7. package/scripts/verification-diagnostics.mjs +0 -40
  8. package/scripts/verify-package.mjs +0 -412
  9. package/src/cartoon/anime-avatar.tsx +0 -628
  10. package/src/cartoon/anime-stage.tsx +0 -458
  11. package/src/cartoon/index.tsx +0 -542
  12. package/src/cartoon.tsx +0 -645
  13. package/src/characters.ts +0 -625
  14. package/src/components/accordion.tsx +0 -77
  15. package/src/components/alert.tsx +0 -139
  16. package/src/components/appearance-menu.tsx +0 -181
  17. package/src/components/artwork-frame.tsx +0 -49
  18. package/src/components/audio.tsx +0 -97
  19. package/src/components/avatar.tsx +0 -75
  20. package/src/components/badge.tsx +0 -94
  21. package/src/components/brand-mark.tsx +0 -73
  22. package/src/components/breadcrumbs.tsx +0 -98
  23. package/src/components/button.tsx +0 -340
  24. package/src/components/card.tsx +0 -171
  25. package/src/components/character-badge.tsx +0 -58
  26. package/src/components/character-preview.tsx +0 -104
  27. package/src/components/character-stage.tsx +0 -225
  28. package/src/components/chart.tsx +0 -481
  29. package/src/components/checkbox.tsx +0 -64
  30. package/src/components/comic-panel.tsx +0 -301
  31. package/src/components/comic-theater.tsx +0 -170
  32. package/src/components/command.tsx +0 -189
  33. package/src/components/confirm-dialog.tsx +0 -129
  34. package/src/components/copy-button.tsx +0 -62
  35. package/src/components/date-picker.tsx +0 -126
  36. package/src/components/dialog.tsx +0 -164
  37. package/src/components/dna-icon.tsx +0 -77
  38. package/src/components/dropdown-menu.tsx +0 -87
  39. package/src/components/effects.tsx +0 -1021
  40. package/src/components/empty-state.tsx +0 -93
  41. package/src/components/epistemic-branch-panel.tsx +0 -101
  42. package/src/components/error-state.tsx +0 -137
  43. package/src/components/field.tsx +0 -96
  44. package/src/components/filter-facet-bar.tsx +0 -91
  45. package/src/components/inbox-popover.tsx +0 -146
  46. package/src/components/input.tsx +0 -25
  47. package/src/components/kanban-board.tsx +0 -190
  48. package/src/components/label.tsx +0 -19
  49. package/src/components/layered-scene.tsx +0 -555
  50. package/src/components/log-console.tsx +0 -261
  51. package/src/components/metric-tile.tsx +0 -99
  52. package/src/components/mode-picker.tsx +0 -149
  53. package/src/components/motion-timeline.tsx +0 -848
  54. package/src/components/number-input.tsx +0 -104
  55. package/src/components/page-header.tsx +0 -123
  56. package/src/components/pagination.tsx +0 -83
  57. package/src/components/panel.tsx +0 -121
  58. package/src/components/paper-note.tsx +0 -77
  59. package/src/components/popover.tsx +0 -72
  60. package/src/components/progress.tsx +0 -127
  61. package/src/components/quest-card.tsx +0 -319
  62. package/src/components/radio-group.tsx +0 -50
  63. package/src/components/riot-sticker.tsx +0 -151
  64. package/src/components/scene-particles.tsx +0 -196
  65. package/src/components/scene-transitions.tsx +0 -130
  66. package/src/components/section-ribbon.tsx +0 -94
  67. package/src/components/select-field.tsx +0 -27
  68. package/src/components/select.tsx +0 -81
  69. package/src/components/separator.tsx +0 -58
  70. package/src/components/sheet.tsx +0 -96
  71. package/src/components/skeleton.tsx +0 -35
  72. package/src/components/sketch-annotation.tsx +0 -87
  73. package/src/components/smart-button-box.tsx +0 -114
  74. package/src/components/speech-bubble.tsx +0 -116
  75. package/src/components/spinner.tsx +0 -69
  76. package/src/components/sprite-player.tsx +0 -412
  77. package/src/components/status-bar.tsx +0 -63
  78. package/src/components/status-pill.tsx +0 -68
  79. package/src/components/switch.tsx +0 -76
  80. package/src/components/table.tsx +0 -163
  81. package/src/components/tabs.tsx +0 -101
  82. package/src/components/tag-input.tsx +0 -170
  83. package/src/components/textarea.tsx +0 -25
  84. package/src/components/toast.tsx +0 -14
  85. package/src/components/toolbar.tsx +0 -39
  86. package/src/components/tooltip.tsx +0 -49
  87. package/src/components/update-banner.tsx +0 -220
  88. package/src/components/xv-primitives.tsx +0 -256
  89. package/src/css-exports.ts +0 -142
  90. package/src/dna.tsx +0 -137
  91. package/src/game/boss-hud.tsx +0 -384
  92. package/src/game/index.tsx +0 -886
  93. package/src/game/tactical.tsx +0 -245
  94. package/src/game.tsx +0 -770
  95. package/src/icons/activity.tsx +0 -38
  96. package/src/icons/add.tsx +0 -38
  97. package/src/icons/addon.tsx +0 -37
  98. package/src/icons/anime-anger.tsx +0 -37
  99. package/src/icons/anime-shock.tsx +0 -37
  100. package/src/icons/anime-sparkle.tsx +0 -38
  101. package/src/icons/anime-sweatdrop.tsx +0 -38
  102. package/src/icons/archive.tsx +0 -37
  103. package/src/icons/arrow-left.tsx +0 -37
  104. package/src/icons/arrow-right.tsx +0 -37
  105. package/src/icons/attachment.tsx +0 -38
  106. package/src/icons/bank.tsx +0 -37
  107. package/src/icons/bolt.tsx +0 -37
  108. package/src/icons/book-open.tsx +0 -37
  109. package/src/icons/bookmark.tsx +0 -37
  110. package/src/icons/boss-skull.tsx +0 -40
  111. package/src/icons/calendar-clock.tsx +0 -40
  112. package/src/icons/calendar.tsx +0 -38
  113. package/src/icons/check-circle.tsx +0 -38
  114. package/src/icons/check-square.tsx +0 -38
  115. package/src/icons/check.tsx +0 -37
  116. package/src/icons/chevron-right.tsx +0 -37
  117. package/src/icons/chevrons-left.tsx +0 -37
  118. package/src/icons/chevrons-right.tsx +0 -37
  119. package/src/icons/clapperboard.tsx +0 -38
  120. package/src/icons/clock.tsx +0 -38
  121. package/src/icons/close.tsx +0 -37
  122. package/src/icons/code.tsx +0 -37
  123. package/src/icons/columns.tsx +0 -38
  124. package/src/icons/combo-flame.tsx +0 -38
  125. package/src/icons/company.tsx +0 -38
  126. package/src/icons/credit-card.tsx +0 -38
  127. package/src/icons/critical-star.tsx +0 -37
  128. package/src/icons/currency.tsx +0 -38
  129. package/src/icons/delete.tsx +0 -37
  130. package/src/icons/document.tsx +0 -38
  131. package/src/icons/download.tsx +0 -37
  132. package/src/icons/dpad.tsx +0 -38
  133. package/src/icons/edit.tsx +0 -38
  134. package/src/icons/element-fire.tsx +0 -37
  135. package/src/icons/element-ice.tsx +0 -38
  136. package/src/icons/element-solar.tsx +0 -38
  137. package/src/icons/element-void.tsx +0 -38
  138. package/src/icons/element-volt.tsx +0 -38
  139. package/src/icons/element-wind.tsx +0 -37
  140. package/src/icons/error.tsx +0 -38
  141. package/src/icons/external-link.tsx +0 -38
  142. package/src/icons/field.tsx +0 -38
  143. package/src/icons/file-spreadsheet.tsx +0 -38
  144. package/src/icons/filter.tsx +0 -37
  145. package/src/icons/gacha-ticket.tsx +0 -38
  146. package/src/icons/gamepad.tsx +0 -40
  147. package/src/icons/globe.tsx +0 -38
  148. package/src/icons/grid.tsx +0 -40
  149. package/src/icons/hash.tsx +0 -37
  150. package/src/icons/heart-hp.tsx +0 -38
  151. package/src/icons/history.tsx +0 -37
  152. package/src/icons/home.tsx +0 -37
  153. package/src/icons/image.tsx +0 -39
  154. package/src/icons/impact-slash.tsx +0 -38
  155. package/src/icons/inbox.tsx +0 -38
  156. package/src/icons/index.ts +0 -120
  157. package/src/icons/info.tsx +0 -38
  158. package/src/icons/jobs.tsx +0 -38
  159. package/src/icons/katana.tsx +0 -38
  160. package/src/icons/key.tsx +0 -38
  161. package/src/icons/keyboard.tsx +0 -38
  162. package/src/icons/keyframe-diamond.tsx +0 -38
  163. package/src/icons/knowledge.tsx +0 -38
  164. package/src/icons/language.tsx +0 -39
  165. package/src/icons/lock.tsx +0 -38
  166. package/src/icons/logout.tsx +0 -37
  167. package/src/icons/loot-chest.tsx +0 -39
  168. package/src/icons/mail.tsx +0 -38
  169. package/src/icons/mana-crystal.tsx +0 -38
  170. package/src/icons/map-pin.tsx +0 -38
  171. package/src/icons/mecha-helm.tsx +0 -38
  172. package/src/icons/menu.tsx +0 -37
  173. package/src/icons/message.tsx +0 -38
  174. package/src/icons/model.tsx +0 -38
  175. package/src/icons/moon.tsx +0 -37
  176. package/src/icons/notification.tsx +0 -38
  177. package/src/icons/partner.tsx +0 -41
  178. package/src/icons/pause.tsx +0 -37
  179. package/src/icons/phone.tsx +0 -37
  180. package/src/icons/play.tsx +0 -37
  181. package/src/icons/potion-flask.tsx +0 -40
  182. package/src/icons/quest-scroll.tsx +0 -39
  183. package/src/icons/radar-ping.tsx +0 -40
  184. package/src/icons/refresh.tsx +0 -38
  185. package/src/icons/relation.tsx +0 -40
  186. package/src/icons/save.tsx +0 -38
  187. package/src/icons/search.tsx +0 -38
  188. package/src/icons/security.tsx +0 -38
  189. package/src/icons/send.tsx +0 -38
  190. package/src/icons/settings.tsx +0 -39
  191. package/src/icons/shield-crest.tsx +0 -38
  192. package/src/icons/shuriken.tsx +0 -38
  193. package/src/icons/signal-off.tsx +0 -37
  194. package/src/icons/signal.tsx +0 -37
  195. package/src/icons/skill-node.tsx +0 -40
  196. package/src/icons/smartphone.tsx +0 -38
  197. package/src/icons/sort-ascending.tsx +0 -37
  198. package/src/icons/sort-descending.tsx +0 -37
  199. package/src/icons/sort.tsx +0 -37
  200. package/src/icons/sparkle.tsx +0 -38
  201. package/src/icons/speech-burst.tsx +0 -37
  202. package/src/icons/story.tsx +0 -37
  203. package/src/icons/sun.tsx +0 -38
  204. package/src/icons/tag.tsx +0 -38
  205. package/src/icons/team.tsx +0 -40
  206. package/src/icons/trophy-crown.tsx +0 -39
  207. package/src/icons/upload.tsx +0 -37
  208. package/src/icons/user.tsx +0 -38
  209. package/src/icons/users.tsx +0 -39
  210. package/src/icons/visibility-off.tsx +0 -38
  211. package/src/icons/visibility.tsx +0 -38
  212. package/src/icons/volume-off.tsx +0 -37
  213. package/src/icons/volume.tsx +0 -37
  214. package/src/icons/warning.tsx +0 -38
  215. package/src/icons/workflow.tsx +0 -40
  216. package/src/icons.tsx +0 -965
  217. package/src/index.ts +0 -89
  218. package/src/lib/asset-registry.ts +0 -534
  219. package/src/lib/audio-runtime.ts +0 -314
  220. package/src/lib/character-adapter.ts +0 -370
  221. package/src/lib/character-registry.ts +0 -2368
  222. package/src/lib/cn.ts +0 -6
  223. package/src/lib/compose-refs.ts +0 -16
  224. package/src/lib/sanitize-url.ts +0 -51
  225. package/src/lib/scene-camera.ts +0 -483
  226. package/src/lib/scene-playback.ts +0 -622
  227. package/src/lib/scene-soundscape.ts +0 -151
  228. package/src/lib/scene-test-harness.ts +0 -200
  229. package/src/lib/scene-timeline.ts +0 -398
  230. package/src/lib/use-animation-visibility.ts +0 -45
  231. package/src/lib/use-modal-focus.ts +0 -270
  232. package/src/lib/use-reduced-motion.ts +0 -37
  233. package/src/motion/easing-presets.ts +0 -262
  234. package/src/motion/index.tsx +0 -894
  235. package/src/motion/physics.ts +0 -259
  236. package/src/motion/timeline-math.ts +0 -358
  237. package/src/motion.tsx +0 -639
  238. package/src/pixelfx-boundary.ts +0 -188
  239. package/src/pixelfx-registry.ts +0 -1190
  240. package/src/pixelfx-types.d.ts +0 -73
  241. package/src/pixelfx.tsx +0 -1022
  242. package/src/provider.tsx +0 -63
  243. package/src/skin-catalog.ts +0 -306
  244. package/src/skin-tokens.ts +0 -425
  245. package/src/ssr/init-script.ts +0 -281
  246. package/src/ssr/resolve-skin.ts +0 -217
  247. package/src/ssr/theme-mismatch-dev.ts +0 -181
  248. package/src/templates/battle-arena.tsx +0 -688
  249. package/src/templates/index.tsx +0 -314
  250. package/src/templates.tsx +0 -225
  251. package/src/themes/dna-presets.ts +0 -119
  252. package/src/themes/index.ts +0 -56
  253. package/src/themes/provider.tsx +0 -183
  254. package/src/themes/types.ts +0 -111
  255. package/src/themes.ts +0 -9
  256. package/src/token-exporter.ts +0 -12
  257. package/src/token-exporters.ts +0 -343
  258. package/src/token-seeds.ts +0 -335
  259. package/src/token-snapshot.ts +0 -179
  260. package/src/utils.ts +0 -58
@@ -1,2368 +0,0 @@
1
- export type CharacterFactionId =
2
- | "signal-riot"
3
- | "neon-arcade"
4
- | "arcana-blade"
5
- | "mecha-orbit"
6
- | "toon-squad"
7
- | "eclipse-boss";
8
-
9
- export type CharacterArchetype =
10
- "striker" | "vanguard" | "mage" | "support" | "trickster" | "boss";
11
-
12
- export type CharacterElement =
13
- "solar" | "volt" | "cryo" | "pyro" | "void" | "ink" | "wind";
14
-
15
- export type CharacterRarity = "rare" | "epic" | "legendary" | "mythic";
16
-
17
- export type CharacterMood =
18
- "neutral" | "happy" | "surprised" | "determined" | "angry" | "ko";
19
-
20
- export type CharacterHairStyle =
21
- | "spiky"
22
- | "bob"
23
- | "twin-tails"
24
- | "swept"
25
- | "mohawk"
26
- | "hood"
27
- | "crest"
28
- | "pompadour"
29
- | "long-wave"
30
- | "horns";
31
-
32
- export type CharacterEyeStyle =
33
- "sharp" | "bright" | "visor" | "cyclops" | "star" | "cat";
34
-
35
- export type CharacterAccessory =
36
- | "none"
37
- | "goggles"
38
- | "crown"
39
- | "halo"
40
- | "horns"
41
- | "scarf"
42
- | "headphones"
43
- | "antenna"
44
- | "eyepatch"
45
- | "mask";
46
-
47
- export type CharacterColorToken =
48
- | "yellow"
49
- | "magenta"
50
- | "cyan"
51
- | "violet"
52
- | "error"
53
- | "success"
54
- | "info"
55
- | "warning"
56
- | "ink"
57
- | "paper";
58
-
59
- export interface CharacterStats {
60
- readonly hp: number;
61
- readonly mp: number;
62
- readonly atk: number;
63
- readonly def: number;
64
- readonly spd: number;
65
- }
66
-
67
- export interface CharacterUltimateSkill {
68
- readonly name: string;
69
- readonly jpCallout: string;
70
- readonly quote: string;
71
- readonly power: number;
72
- }
73
-
74
- export interface CharacterVisualTraits {
75
- readonly hairStyle: CharacterHairStyle;
76
- readonly eyeStyle: CharacterEyeStyle;
77
- readonly accessory: CharacterAccessory;
78
- readonly primaryTone: CharacterColorToken;
79
- readonly accentTone: CharacterColorToken;
80
- readonly hairTone: CharacterColorToken;
81
- readonly badgeMark: string;
82
- }
83
-
84
- export interface CharacterProfile {
85
- readonly id: string;
86
- readonly name: string;
87
- readonly codename: string;
88
- readonly title: string;
89
- readonly faction: CharacterFactionId;
90
- readonly archetype: CharacterArchetype;
91
- readonly element: CharacterElement;
92
- readonly rarity: CharacterRarity;
93
- readonly isBoss: boolean;
94
- readonly voicePitch: number;
95
- readonly defaultMood: CharacterMood;
96
- readonly stats: CharacterStats;
97
- readonly ultimate: CharacterUltimateSkill;
98
- readonly dialogueLines: readonly string[];
99
- readonly visual: CharacterVisualTraits;
100
- }
101
-
102
- export interface CharacterFactionMeta {
103
- readonly id: CharacterFactionId;
104
- readonly label: string;
105
- readonly tagline: string;
106
- readonly tone: CharacterColorToken;
107
- }
108
-
109
- export const CHARACTER_FACTIONS: readonly CharacterFactionMeta[] =
110
- Object.freeze([
111
- Object.freeze({
112
- id: "signal-riot",
113
- label: "Signal Riot",
114
- tagline:
115
- "Manga zine rebels fighting with halftone ink and kinetic slogans.",
116
- tone: "yellow",
117
- }),
118
- Object.freeze({
119
- id: "neon-arcade",
120
- label: "Neon Arcade",
121
- tagline:
122
- "Frame-perfect combo fighters wired into high-voltage coin-op grids.",
123
- tone: "cyan",
124
- }),
125
- Object.freeze({
126
- id: "arcana-blade",
127
- label: "Arcana Blade",
128
- tagline:
129
- "JRPG knights and spellweavers forging radiant elemental combos.",
130
- tone: "violet",
131
- }),
132
- Object.freeze({
133
- id: "mecha-orbit",
134
- label: "Mecha Orbit",
135
- tagline:
136
- "Orbital ace pilots deploying visor telemetry and plasma thrusters.",
137
- tone: "info",
138
- }),
139
- Object.freeze({
140
- id: "toon-squad",
141
- label: "Toon Squad",
142
- tagline:
143
- "Saturday-morning squash-and-stretch pranksters bending physics.",
144
- tone: "warning",
145
- }),
146
- Object.freeze({
147
- id: "eclipse-boss",
148
- label: "Eclipse Bosses",
149
- tagline:
150
- "Multi-phase raid overlords engineered for dramatic phase breaks.",
151
- tone: "error",
152
- }),
153
- ]);
154
-
155
- export const CHARACTER_REGISTRY: readonly CharacterProfile[] = Object.freeze([
156
- // ── 1. SIGNAL RIOT (5) ─────────────────────────────────────────────────────
157
- Object.freeze({
158
- id: "kuro-signal",
159
- name: "Kuro",
160
- codename: "MW-01",
161
- title: "Ink Striker",
162
- faction: "signal-riot",
163
- archetype: "striker",
164
- element: "ink",
165
- rarity: "mythic",
166
- isBoss: false,
167
- voicePitch: 1.0,
168
- defaultMood: "determined",
169
- stats: Object.freeze({ hp: 120, mp: 80, atk: 94, def: 66, spd: 92 }),
170
- ultimate: Object.freeze({
171
- name: "OVERDRIVE INK SLASH",
172
- jpCallout: "墨閃・オーバードライブ!",
173
- quote: "Read the frames—this panel ends now!",
174
- power: 46,
175
- }),
176
- dialogueLines: Object.freeze([
177
- "All channels locked. Watch the lineweight snap on impact!",
178
- "Hold your stance—phase two drops faster than 60fps.",
179
- ]),
180
- visual: Object.freeze({
181
- hairStyle: "spiky",
182
- eyeStyle: "sharp",
183
- accessory: "scarf",
184
- primaryTone: "yellow",
185
- accentTone: "magenta",
186
- hairTone: "ink",
187
- badgeMark: "01",
188
- }),
189
- }),
190
- Object.freeze({
191
- id: "vesper-ink",
192
- name: "Vesper",
193
- codename: "MW-02",
194
- title: "Halftone Tactician",
195
- faction: "signal-riot",
196
- archetype: "mage",
197
- element: "void",
198
- rarity: "legendary",
199
- isBoss: false,
200
- voicePitch: 1.18,
201
- defaultMood: "neutral",
202
- stats: Object.freeze({ hp: 104, mp: 112, atk: 88, def: 62, spd: 86 }),
203
- ultimate: Object.freeze({
204
- name: "SCREENTONE ECLIPSE",
205
- jpCallout: "網点蝕・ヴェスパー!",
206
- quote: "Every shadow on this page belongs to me.",
207
- power: 44,
208
- }),
209
- dialogueLines: Object.freeze([
210
- "I mapped the boss stagger window down to three frames.",
211
- "Stack two combo ranks before unleashing the cut-in.",
212
- ]),
213
- visual: Object.freeze({
214
- hairStyle: "bob",
215
- eyeStyle: "cat",
216
- accessory: "eyepatch",
217
- primaryTone: "violet",
218
- accentTone: "yellow",
219
- hairTone: "ink",
220
- badgeMark: "02",
221
- }),
222
- }),
223
- Object.freeze({
224
- id: "akira-pulse",
225
- name: "Akira",
226
- codename: "MW-03",
227
- title: "Zine Broadcast Ace",
228
- faction: "signal-riot",
229
- archetype: "support",
230
- element: "volt",
231
- rarity: "epic",
232
- isBoss: false,
233
- voicePitch: 1.24,
234
- defaultMood: "happy",
235
- stats: Object.freeze({ hp: 110, mp: 105, atk: 74, def: 72, spd: 90 }),
236
- ultimate: Object.freeze({
237
- name: "PIRATE SIGNAL BOOST",
238
- jpCallout: "電波解放・フルボリューム!",
239
- quote: "Turn the contrast up—party buffs online!",
240
- power: 38,
241
- }),
242
- dialogueLines: Object.freeze([
243
- "Audio bus synced! Every button press hits with real punch.",
244
- "Need a shield or a speed boost? Pick your beat!",
245
- ]),
246
- visual: Object.freeze({
247
- hairStyle: "twin-tails",
248
- eyeStyle: "bright",
249
- accessory: "headphones",
250
- primaryTone: "magenta",
251
- accentTone: "cyan",
252
- hairTone: "magenta",
253
- badgeMark: "03",
254
- }),
255
- }),
256
- Object.freeze({
257
- id: "sora-drift",
258
- name: "Sora",
259
- codename: "MW-04",
260
- title: "Speedline Courier",
261
- faction: "signal-riot",
262
- archetype: "trickster",
263
- element: "wind",
264
- rarity: "epic",
265
- isBoss: false,
266
- voicePitch: 1.08,
267
- defaultMood: "happy",
268
- stats: Object.freeze({ hp: 106, mp: 84, atk: 84, def: 60, spd: 98 }),
269
- ultimate: Object.freeze({
270
- name: "MACH GUTTER DASH",
271
- jpCallout: "音速コマ割りダッシュ!",
272
- quote: "Blink once and I am already in the next chapter!",
273
- power: 40,
274
- }),
275
- dialogueLines: Object.freeze([
276
- "First turn is always mine—check the ATB strip!",
277
- "Speedlines look way sharper when you break the speed cap.",
278
- ]),
279
- visual: Object.freeze({
280
- hairStyle: "swept",
281
- eyeStyle: "sharp",
282
- accessory: "goggles",
283
- primaryTone: "cyan",
284
- accentTone: "yellow",
285
- hairTone: "info",
286
- badgeMark: "04",
287
- }),
288
- }),
289
- Object.freeze({
290
- id: "ren-halftone",
291
- name: "Ren",
292
- codename: "MW-05",
293
- title: "Pressroom Breaker",
294
- faction: "signal-riot",
295
- archetype: "vanguard",
296
- element: "pyro",
297
- rarity: "rare",
298
- isBoss: false,
299
- voicePitch: 0.84,
300
- defaultMood: "angry",
301
- stats: Object.freeze({ hp: 144, mp: 64, atk: 86, def: 94, spd: 68 }),
302
- ultimate: Object.freeze({
303
- name: "IRON LITHO SLAM",
304
- jpCallout: "鉄版粉砕スラム!",
305
- quote: "Hit me harder—my guard gauge barely flinched!",
306
- power: 42,
307
- }),
308
- dialogueLines: Object.freeze([
309
- "Step behind my guard when the boss charges its sweep.",
310
- "Heavy ink borders were built to absorb impact.",
311
- ]),
312
- visual: Object.freeze({
313
- hairStyle: "pompadour",
314
- eyeStyle: "sharp",
315
- accessory: "none",
316
- primaryTone: "error",
317
- accentTone: "yellow",
318
- hairTone: "ink",
319
- badgeMark: "05",
320
- }),
321
- }),
322
-
323
- // ── 2. NEON ARCADE (5) ─────────────────────────────────────────────────────
324
- Object.freeze({
325
- id: "volt-09",
326
- name: "Volt-09",
327
- codename: "ARC-09",
328
- title: "Combo Cyber-Monk",
329
- faction: "neon-arcade",
330
- archetype: "striker",
331
- element: "volt",
332
- rarity: "mythic",
333
- isBoss: false,
334
- voicePitch: 0.96,
335
- defaultMood: "determined",
336
- stats: Object.freeze({ hp: 118, mp: 86, atk: 96, def: 68, spd: 95 }),
337
- ultimate: Object.freeze({
338
- name: "SSS ARCADE VOLTAGE",
339
- jpCallout: "雷撃連舞・トリプルエス!",
340
- quote: "Insert coin? No—watch a 99-hit zero-drop run!",
341
- power: 48,
342
- }),
343
- dialogueLines: Object.freeze([
344
- "Chain basic strikes into Heavy to force an instant Break.",
345
- "Chromatic pulse engaged. Keep the counter climbing!",
346
- ]),
347
- visual: Object.freeze({
348
- hairStyle: "mohawk",
349
- eyeStyle: "visor",
350
- accessory: "antenna",
351
- primaryTone: "cyan",
352
- accentTone: "magenta",
353
- hairTone: "cyan",
354
- badgeMark: "09",
355
- }),
356
- }),
357
- Object.freeze({
358
- id: "blaze-kaito",
359
- name: "Kaito",
360
- codename: "ARC-12",
361
- title: "Shoryu Brawler",
362
- faction: "neon-arcade",
363
- archetype: "striker",
364
- element: "pyro",
365
- rarity: "legendary",
366
- isBoss: false,
367
- voicePitch: 0.92,
368
- defaultMood: "determined",
369
- stats: Object.freeze({ hp: 128, mp: 74, atk: 95, def: 74, spd: 88 }),
370
- ultimate: Object.freeze({
371
- name: "CRIMSON RISING DRAGON",
372
- jpCallout: "紅蓮昇龍拳!",
373
- quote: "Hitstop locked—feel the heat of the final frame!",
374
- power: 47,
375
- }),
376
- dialogueLines: Object.freeze([
377
- "A real fighter never wastes an invincibility window.",
378
- "Press 2 for Heavy Strike when the stagger bar hits 80%!",
379
- ]),
380
- visual: Object.freeze({
381
- hairStyle: "spiky",
382
- eyeStyle: "sharp",
383
- accessory: "scarf",
384
- primaryTone: "error",
385
- accentTone: "warning",
386
- hairTone: "error",
387
- badgeMark: "12",
388
- }),
389
- }),
390
- Object.freeze({
391
- id: "nyx-glitch",
392
- name: "Nyx",
393
- codename: "ARC-44",
394
- title: "Scanline Phantom",
395
- faction: "neon-arcade",
396
- archetype: "trickster",
397
- element: "void",
398
- rarity: "legendary",
399
- isBoss: false,
400
- voicePitch: 1.15,
401
- defaultMood: "surprised",
402
- stats: Object.freeze({ hp: 102, mp: 98, atk: 90, def: 58, spd: 97 }),
403
- ultimate: Object.freeze({
404
- name: "CRT PHASE FRACTURE",
405
- jpCallout: "走査線崩壊・グリッチ!",
406
- quote: "Wait—did you really think I was standing there?",
407
- power: 44,
408
- }),
409
- dialogueLines: Object.freeze([
410
- "Desyncing boss hitboxes... now strike while it flickers.",
411
- "Scanlines make every counterattack look twice as lethal.",
412
- ]),
413
- visual: Object.freeze({
414
- hairStyle: "hood",
415
- eyeStyle: "star",
416
- accessory: "mask",
417
- primaryTone: "magenta",
418
- accentTone: "cyan",
419
- hairTone: "violet",
420
- badgeMark: "44",
421
- }),
422
- }),
423
- Object.freeze({
424
- id: "rex-breaker",
425
- name: "Rex",
426
- codename: "ARC-77",
427
- title: "Shield Grappler",
428
- faction: "neon-arcade",
429
- archetype: "vanguard",
430
- element: "solar",
431
- rarity: "epic",
432
- isBoss: false,
433
- voicePitch: 0.78,
434
- defaultMood: "happy",
435
- stats: Object.freeze({ hp: 152, mp: 60, atk: 84, def: 96, spd: 64 }),
436
- ultimate: Object.freeze({
437
- name: "MEGA CABINET SUPLEX",
438
- jpCallout: "超筐体ブレーカー!",
439
- quote: "Camera shake maximum! Hold onto your viewport!",
440
- power: 43,
441
- }),
442
- dialogueLines: Object.freeze([
443
- "Guard up! Nothing breaks through a full-frame parry.",
444
- "Let me soak the AoE so the strikers keep their combo.",
445
- ]),
446
- visual: Object.freeze({
447
- hairStyle: "crest",
448
- eyeStyle: "visor",
449
- accessory: "headphones",
450
- primaryTone: "warning",
451
- accentTone: "cyan",
452
- hairTone: "ink",
453
- badgeMark: "77",
454
- }),
455
- }),
456
- Object.freeze({
457
- id: "pixel-mei",
458
- name: "Mei",
459
- codename: "ARC-88",
460
- title: "1-Up Synthesizer",
461
- faction: "neon-arcade",
462
- archetype: "support",
463
- element: "cryo",
464
- rarity: "rare",
465
- isBoss: false,
466
- voicePitch: 1.32,
467
- defaultMood: "happy",
468
- stats: Object.freeze({ hp: 108, mp: 114, atk: 68, def: 70, spd: 89 }),
469
- ultimate: Object.freeze({
470
- name: "EXTRA CREDIT OVERHEAL",
471
- jpCallout: "ワンアップ・フルチャージ!",
472
- quote: "HP restored, shields glowing—keep pushing!",
473
- power: 36,
474
- }),
475
- dialogueLines: Object.freeze([
476
- "Low HP vignette triggered? Hit Heal before the next turn!",
477
- "I tuned the chiptune synth to match every rarity drop.",
478
- ]),
479
- visual: Object.freeze({
480
- hairStyle: "twin-tails",
481
- eyeStyle: "star",
482
- accessory: "goggles",
483
- primaryTone: "cyan",
484
- accentTone: "yellow",
485
- hairTone: "cyan",
486
- badgeMark: "88",
487
- }),
488
- }),
489
-
490
- // ── 3. ARCANA BLADE (5) ────────────────────────────────────────────────────
491
- Object.freeze({
492
- id: "aria-lumina",
493
- name: "Aria",
494
- codename: "BLD-01",
495
- title: "Solar Valkyrie",
496
- faction: "arcana-blade",
497
- archetype: "striker",
498
- element: "solar",
499
- rarity: "mythic",
500
- isBoss: false,
501
- voicePitch: 1.16,
502
- defaultMood: "determined",
503
- stats: Object.freeze({ hp: 124, mp: 96, atk: 94, def: 76, spd: 91 }),
504
- ultimate: Object.freeze({
505
- name: "DAWNBREAKER RADIANCE",
506
- jpCallout: "暁光聖剣・ルミナ!",
507
- quote: "By golden ink and oath—shatter the eclipse!",
508
- power: 49,
509
- }),
510
- dialogueLines: Object.freeze([
511
- "Raise your crests. We break the boss barrier in one volley!",
512
- "Our guild banners shine brightest when the odds turn critical.",
513
- ]),
514
- visual: Object.freeze({
515
- hairStyle: "long-wave",
516
- eyeStyle: "bright",
517
- accessory: "crown",
518
- primaryTone: "yellow",
519
- accentTone: "info",
520
- hairTone: "yellow",
521
- badgeMark: "A1",
522
- }),
523
- }),
524
- Object.freeze({
525
- id: "kael-aegis",
526
- name: "Kael",
527
- codename: "BLD-02",
528
- title: "Bastion Paladin",
529
- faction: "arcana-blade",
530
- archetype: "vanguard",
531
- element: "solar",
532
- rarity: "epic",
533
- isBoss: false,
534
- voicePitch: 0.86,
535
- defaultMood: "neutral",
536
- stats: Object.freeze({ hp: 150, mp: 76, atk: 78, def: 98, spd: 66 }),
537
- ultimate: Object.freeze({
538
- name: "AEGIS SANCTUARY DOME",
539
- jpCallout: "聖盾領域・イージス!",
540
- quote: "Not a single ally falls while my crest holds!",
541
- power: 39,
542
- }),
543
- dialogueLines: Object.freeze([
544
- "Defensive stance cuts incoming raid damage by half.",
545
- "Check the skill tree—unlock Iron Wall before floor 10.",
546
- ]),
547
- visual: Object.freeze({
548
- hairStyle: "swept",
549
- eyeStyle: "sharp",
550
- accessory: "halo",
551
- primaryTone: "success",
552
- accentTone: "yellow",
553
- hairTone: "ink",
554
- badgeMark: "K2",
555
- }),
556
- }),
557
- Object.freeze({
558
- id: "lyra-frost",
559
- name: "Lyra",
560
- codename: "BLD-03",
561
- title: "Cryo Archmage",
562
- faction: "arcana-blade",
563
- archetype: "mage",
564
- element: "cryo",
565
- rarity: "legendary",
566
- isBoss: false,
567
- voicePitch: 1.22,
568
- defaultMood: "neutral",
569
- stats: Object.freeze({ hp: 98, mp: 124, atk: 93, def: 60, spd: 85 }),
570
- ultimate: Object.freeze({
571
- name: "ABSOLUTE ZERO PRISM",
572
- jpCallout: "絶対零度・氷晶結界!",
573
- quote: "Time freezes—every crystal locks onto your core.",
574
- power: 46,
575
- }),
576
- dialogueLines: Object.freeze([
577
- "Cryo stacks double stagger gain on armored bosses.",
578
- "Keep mana above 30 so you never miss a burst window.",
579
- ]),
580
- visual: Object.freeze({
581
- hairStyle: "long-wave",
582
- eyeStyle: "bright",
583
- accessory: "halo",
584
- primaryTone: "info",
585
- accentTone: "cyan",
586
- hairTone: "cyan",
587
- badgeMark: "L3",
588
- }),
589
- }),
590
- Object.freeze({
591
- id: "zephyr-gale",
592
- name: "Zephyr",
593
- codename: "BLD-04",
594
- title: "Tempest Ranger",
595
- faction: "arcana-blade",
596
- archetype: "trickster",
597
- element: "wind",
598
- rarity: "rare",
599
- isBoss: false,
600
- voicePitch: 1.04,
601
- defaultMood: "happy",
602
- stats: Object.freeze({ hp: 112, mp: 88, atk: 85, def: 66, spd: 96 }),
603
- ultimate: Object.freeze({
604
- name: "CYCLONE ARROW BARRAGE",
605
- jpCallout: "疾風連射・ゼファー!",
606
- quote: "Ride the tailwind—seven crits before you land!",
607
- power: 41,
608
- }),
609
- dialogueLines: Object.freeze([
610
- "Tactical radar spots hidden ambushes two turns early.",
611
- "High speed means extra turns on the ATB order strip.",
612
- ]),
613
- visual: Object.freeze({
614
- hairStyle: "hood",
615
- eyeStyle: "cat",
616
- accessory: "scarf",
617
- primaryTone: "success",
618
- accentTone: "cyan",
619
- hairTone: "success",
620
- badgeMark: "Z4",
621
- }),
622
- }),
623
- Object.freeze({
624
- id: "thorne-rune",
625
- name: "Thorne",
626
- codename: "BLD-05",
627
- title: "Runesmith Cleric",
628
- faction: "arcana-blade",
629
- archetype: "support",
630
- element: "void",
631
- rarity: "epic",
632
- isBoss: false,
633
- voicePitch: 0.9,
634
- defaultMood: "neutral",
635
- stats: Object.freeze({ hp: 116, mp: 118, atk: 76, def: 78, spd: 79 }),
636
- ultimate: Object.freeze({
637
- name: "STARLIGHT GRIMOIRE",
638
- jpCallout: "星刻魔導書・解放!",
639
- quote: "Ancient runes rewritten—your wounds vanish!",
640
- power: 38,
641
- }),
642
- dialogueLines: Object.freeze([
643
- "Every quest scroll holds a hidden mythic relic.",
644
- "Balance offense with healing or the final phase will punish you.",
645
- ]),
646
- visual: Object.freeze({
647
- hairStyle: "bob",
648
- eyeStyle: "sharp",
649
- accessory: "eyepatch",
650
- primaryTone: "violet",
651
- accentTone: "magenta",
652
- hairTone: "violet",
653
- badgeMark: "T5",
654
- }),
655
- }),
656
-
657
- // ── 4. MECHA ORBIT (5) ─────────────────────────────────────────────────────
658
- Object.freeze({
659
- id: "cmdr-vance",
660
- name: "Vance",
661
- codename: "ORB-01",
662
- title: "Orbital Wing Leader",
663
- faction: "mecha-orbit",
664
- archetype: "vanguard",
665
- element: "volt",
666
- rarity: "legendary",
667
- isBoss: false,
668
- voicePitch: 0.82,
669
- defaultMood: "determined",
670
- stats: Object.freeze({ hp: 142, mp: 84, atk: 88, def: 92, spd: 80 }),
671
- ultimate: Object.freeze({
672
- name: "ORBITAL RAILCANNON",
673
- jpCallout: "軌道荷電粒子砲・発射!",
674
- quote: "Target painted on radar. Fire all batteries!",
675
- power: 45,
676
- }),
677
- dialogueLines: Object.freeze([
678
- "Tactical sweep confirmed: hostile boss signature dead ahead.",
679
- "Hold formation and sync your burst timers.",
680
- ]),
681
- visual: Object.freeze({
682
- hairStyle: "swept",
683
- eyeStyle: "visor",
684
- accessory: "antenna",
685
- primaryTone: "info",
686
- accentTone: "yellow",
687
- hairTone: "ink",
688
- badgeMark: "O1",
689
- }),
690
- }),
691
- Object.freeze({
692
- id: "nova-x",
693
- name: "Nova-X",
694
- codename: "ORB-X",
695
- title: "Valkyrie Frame Pilot",
696
- faction: "mecha-orbit",
697
- archetype: "striker",
698
- element: "pyro",
699
- rarity: "mythic",
700
- isBoss: false,
701
- voicePitch: 1.12,
702
- defaultMood: "determined",
703
- stats: Object.freeze({ hp: 122, mp: 92, atk: 97, def: 72, spd: 94 }),
704
- ultimate: Object.freeze({
705
- name: "SUPERNOVA THRUSTER",
706
- jpCallout: "超新星ブースター・ノヴァ!",
707
- quote: "Limiters off—igniting full cel-shaded afterburners!",
708
- power: 50,
709
- }),
710
- dialogueLines: Object.freeze([
711
- "Core reactor at 120%. Ready for an anime cut-in finish!",
712
- "Speedlines intensify the moment thruster overdrive engages.",
713
- ]),
714
- visual: Object.freeze({
715
- hairStyle: "crest",
716
- eyeStyle: "visor",
717
- accessory: "goggles",
718
- primaryTone: "error",
719
- accentTone: "cyan",
720
- hairTone: "error",
721
- badgeMark: "NX",
722
- }),
723
- }),
724
- Object.freeze({
725
- id: "echo-07",
726
- name: "Echo-07",
727
- codename: "ORB-07",
728
- title: "Recon Drone AI",
729
- faction: "mecha-orbit",
730
- archetype: "support",
731
- element: "cryo",
732
- rarity: "epic",
733
- isBoss: false,
734
- voicePitch: 1.28,
735
- defaultMood: "neutral",
736
- stats: Object.freeze({ hp: 106, mp: 116, atk: 72, def: 74, spd: 93 }),
737
- ultimate: Object.freeze({
738
- name: "TELEMETRY OVERCLOCK",
739
- jpCallout: "戦術予測・オーバークロック!",
740
- quote: "Weakness exposed—critical rate elevated to 100%!",
741
- power: 37,
742
- }),
743
- dialogueLines: Object.freeze([
744
- "Scanning boss phase count... three armor bars detected.",
745
- "Turn order re-sorted in your favor, Commander.",
746
- ]),
747
- visual: Object.freeze({
748
- hairStyle: "bob",
749
- eyeStyle: "cyclops",
750
- accessory: "antenna",
751
- primaryTone: "cyan",
752
- accentTone: "info",
753
- hairTone: "cyan",
754
- badgeMark: "E7",
755
- }),
756
- }),
757
- Object.freeze({
758
- id: "titan-forge",
759
- name: "Titan",
760
- codename: "ORB-99",
761
- title: "Heavy Siege Mech",
762
- faction: "mecha-orbit",
763
- archetype: "vanguard",
764
- element: "pyro",
765
- rarity: "rare",
766
- isBoss: false,
767
- voicePitch: 0.72,
768
- defaultMood: "angry",
769
- stats: Object.freeze({ hp: 162, mp: 56, atk: 87, def: 99, spd: 58 }),
770
- ultimate: Object.freeze({
771
- name: "SEISMIC BUNKER PILE",
772
- jpCallout: "重装パイルバンカー!",
773
- quote: "Brace for impact—shockwave inbound!",
774
- power: 44,
775
- }),
776
- dialogueLines: Object.freeze([
777
- "Armor integrity holding steady at 98 percent.",
778
- "Heavy hydraulic slam adds +35 stagger on direct hit.",
779
- ]),
780
- visual: Object.freeze({
781
- hairStyle: "crest",
782
- eyeStyle: "cyclops",
783
- accessory: "mask",
784
- primaryTone: "warning",
785
- accentTone: "error",
786
- hairTone: "ink",
787
- badgeMark: "99",
788
- }),
789
- }),
790
- Object.freeze({
791
- id: "orbit-yuki",
792
- name: "Yuki",
793
- codename: "ORB-14",
794
- title: "Zero-G Sniper",
795
- faction: "mecha-orbit",
796
- archetype: "mage",
797
- element: "wind",
798
- rarity: "epic",
799
- isBoss: false,
800
- voicePitch: 1.19,
801
- defaultMood: "neutral",
802
- stats: Object.freeze({ hp: 100, mp: 108, atk: 92, def: 62, spd: 90 }),
803
- ultimate: Object.freeze({
804
- name: "STARFALL RAILSHOT",
805
- jpCallout: "流星狙撃・ユキ!",
806
- quote: "One breath, one crosshair—bullseye from orbit.",
807
- power: 45,
808
- }),
809
- dialogueLines: Object.freeze([
810
- "Zero drift. The easing curve snaps right onto the mark.",
811
- "Triggering long-range support fire on your signal.",
812
- ]),
813
- visual: Object.freeze({
814
- hairStyle: "twin-tails",
815
- eyeStyle: "sharp",
816
- accessory: "headphones",
817
- primaryTone: "info",
818
- accentTone: "magenta",
819
- hairTone: "paper",
820
- badgeMark: "14",
821
- }),
822
- }),
823
-
824
- // ── 5. TOON SQUAD (5) ──────────────────────────────────────────────────────
825
- Object.freeze({
826
- id: "pip-bounce",
827
- name: "Pip",
828
- codename: "TN-01",
829
- title: "Squash-Stretch Ace",
830
- faction: "toon-squad",
831
- archetype: "trickster",
832
- element: "solar",
833
- rarity: "legendary",
834
- isBoss: false,
835
- voicePitch: 1.38,
836
- defaultMood: "happy",
837
- stats: Object.freeze({ hp: 114, mp: 90, atk: 86, def: 68, spd: 97 }),
838
- ultimate: Object.freeze({
839
- name: "ACME ANVIL DROP",
840
- jpCallout: "ドッカン鉄床ドロップ!",
841
- quote: "Boing! Gravity only works if you look down!",
842
- power: 43,
843
- }),
844
- dialogueLines: Object.freeze([
845
- "Squash on launch, stretch on impact—pure cartoon physics!",
846
- "Watch me turn this boss fight into a Saturday morning special!",
847
- ]),
848
- visual: Object.freeze({
849
- hairStyle: "spiky",
850
- eyeStyle: "star",
851
- accessory: "goggles",
852
- primaryTone: "yellow",
853
- accentTone: "error",
854
- hairTone: "warning",
855
- badgeMark: "P1",
856
- }),
857
- }),
858
- Object.freeze({
859
- id: "bongo-zap",
860
- name: "Bongo",
861
- codename: "TN-02",
862
- title: "Slapstick Percussionist",
863
- faction: "toon-squad",
864
- archetype: "vanguard",
865
- element: "volt",
866
- rarity: "rare",
867
- isBoss: false,
868
- voicePitch: 0.94,
869
- defaultMood: "surprised",
870
- stats: Object.freeze({ hp: 140, mp: 70, atk: 82, def: 88, spd: 76 }),
871
- ultimate: Object.freeze({
872
- name: "KABOOM CYMBAL CRASH",
873
- jpCallout: "ドタバタ雷鳴クラッシュ!",
874
- quote: "Ba-dum-tss! Did someone order a comic starburst?",
875
- power: 40,
876
- }),
877
- dialogueLines: Object.freeze([
878
- "Every punchline triggers a spiky POW! onomatopoeia!",
879
- "Rimshot SFX ready whenever the boss whiffs an attack.",
880
- ]),
881
- visual: Object.freeze({
882
- hairStyle: "pompadour",
883
- eyeStyle: "bright",
884
- accessory: "headphones",
885
- primaryTone: "warning",
886
- accentTone: "magenta",
887
- hairTone: "magenta",
888
- badgeMark: "B2",
889
- }),
890
- }),
891
- Object.freeze({
892
- id: "mochi-pop",
893
- name: "Mochi",
894
- codename: "TN-03",
895
- title: "Sparkle Mascot",
896
- faction: "toon-squad",
897
- archetype: "support",
898
- element: "cryo",
899
- rarity: "epic",
900
- isBoss: false,
901
- voicePitch: 1.45,
902
- defaultMood: "happy",
903
- stats: Object.freeze({ hp: 112, mp: 115, atk: 70, def: 74, spd: 88 }),
904
- ultimate: Object.freeze({
905
- name: "SUGAR SPARKLE PARADE",
906
- jpCallout: "キラキラもちパレード!",
907
- quote: "Sparkles everywhere! Nobody stays KO on my watch!",
908
- power: 37,
909
- }),
910
- dialogueLines: Object.freeze([
911
- "Pop-in easing at 12fps gives every sticker extra charm!",
912
- "Here is a sparkle emote and a full party heal!",
913
- ]),
914
- visual: Object.freeze({
915
- hairStyle: "twin-tails",
916
- eyeStyle: "star",
917
- accessory: "halo",
918
- primaryTone: "magenta",
919
- accentTone: "yellow",
920
- hairTone: "magenta",
921
- badgeMark: "M3",
922
- }),
923
- }),
924
- Object.freeze({
925
- id: "ziggy-smear",
926
- name: "Ziggy",
927
- codename: "TN-04",
928
- title: "Smear-Frame Sprinter",
929
- faction: "toon-squad",
930
- archetype: "striker",
931
- element: "wind",
932
- rarity: "epic",
933
- isBoss: false,
934
- voicePitch: 1.25,
935
- defaultMood: "surprised",
936
- stats: Object.freeze({ hp: 108, mp: 82, atk: 90, def: 60, spd: 99 }),
937
- ultimate: Object.freeze({
938
- name: "WHIRLWIND SMEAR BLITZ",
939
- jpCallout: "残像トルネード連撃!",
940
- quote: "ZOOOM! Five smear frames in a single blink!",
941
- power: 43,
942
- }),
943
- dialogueLines: Object.freeze([
944
- "Elastic curves bounce right past enemy defenses!",
945
- "Catch me if you can—my speed stat is maxed at 99.",
946
- ]),
947
- visual: Object.freeze({
948
- hairStyle: "mohawk",
949
- eyeStyle: "cat",
950
- accessory: "scarf",
951
- primaryTone: "success",
952
- accentTone: "yellow",
953
- hairTone: "success",
954
- badgeMark: "Z9",
955
- }),
956
- }),
957
- Object.freeze({
958
- id: "capt-inkblot",
959
- name: "Capt. Inkblot",
960
- codename: "TN-05",
961
- title: "Rubberhose Director",
962
- faction: "toon-squad",
963
- archetype: "mage",
964
- element: "ink",
965
- rarity: "legendary",
966
- isBoss: false,
967
- voicePitch: 0.88,
968
- defaultMood: "happy",
969
- stats: Object.freeze({ hp: 118, mp: 110, atk: 89, def: 72, spd: 82 }),
970
- ultimate: Object.freeze({
971
- name: "IRIS-OUT FINALE",
972
- jpCallout: "黒塗りアイリスフィナーレ!",
973
- quote: "That is a wrap, folks—cue the iris curtain!",
974
- power: 45,
975
- }),
976
- dialogueLines: Object.freeze([
977
- "Classic cel ink never goes out of style.",
978
- "Roll camera—Episode 01 title card starts on three!",
979
- ]),
980
- visual: Object.freeze({
981
- hairStyle: "crest",
982
- eyeStyle: "bright",
983
- accessory: "crown",
984
- primaryTone: "ink",
985
- accentTone: "yellow",
986
- hairTone: "ink",
987
- badgeMark: "CI",
988
- }),
989
- }),
990
-
991
- // ── 6. ECLIPSE BOSSES (5) ──────────────────────────────────────────────────
992
- Object.freeze({
993
- id: "lord-null",
994
- name: "Lord Null",
995
- codename: "BOSS-01",
996
- title: "Architect of Whiteout",
997
- faction: "eclipse-boss",
998
- archetype: "boss",
999
- element: "void",
1000
- rarity: "mythic",
1001
- isBoss: true,
1002
- voicePitch: 0.65,
1003
- defaultMood: "angry",
1004
- stats: Object.freeze({ hp: 360, mp: 180, atk: 102, def: 90, spd: 78 }),
1005
- ultimate: Object.freeze({
1006
- name: "BLANK PAGE OBLITERATION",
1007
- jpCallout: "白紙抹消・ロードヌル!",
1008
- quote: "Your frames will be erased back to default white!",
1009
- power: 54,
1010
- }),
1011
- dialogueLines: Object.freeze([
1012
- "Phase Two begins. Let us see if your combo survives!",
1013
- "Stagger me if you dare—my ink armor regenerates!",
1014
- ]),
1015
- visual: Object.freeze({
1016
- hairStyle: "horns",
1017
- eyeStyle: "sharp",
1018
- accessory: "horns",
1019
- primaryTone: "violet",
1020
- accentTone: "error",
1021
- hairTone: "ink",
1022
- badgeMark: "B1",
1023
- }),
1024
- }),
1025
- Object.freeze({
1026
- id: "crimson-oni",
1027
- name: "Crimson Oni",
1028
- codename: "BOSS-02",
1029
- title: "Shogun of Impact",
1030
- faction: "eclipse-boss",
1031
- archetype: "boss",
1032
- element: "pyro",
1033
- rarity: "mythic",
1034
- isBoss: true,
1035
- voicePitch: 0.62,
1036
- defaultMood: "angry",
1037
- stats: Object.freeze({ hp: 390, mp: 140, atk: 108, def: 94, spd: 74 }),
1038
- ultimate: Object.freeze({
1039
- name: "CATACLYSM KANABO",
1040
- jpCallout: "紅蓮鬼神・天地砕き!",
1041
- quote: "Every swing splits the manga gutter in half!",
1042
- power: 56,
1043
- }),
1044
- dialogueLines: Object.freeze([
1045
- "Ha! That scratch barely dented my first health bar!",
1046
- "Guard now—my rage gauge is overflowing!",
1047
- ]),
1048
- visual: Object.freeze({
1049
- hairStyle: "horns",
1050
- eyeStyle: "sharp",
1051
- accessory: "mask",
1052
- primaryTone: "error",
1053
- accentTone: "yellow",
1054
- hairTone: "error",
1055
- badgeMark: "B2",
1056
- }),
1057
- }),
1058
- Object.freeze({
1059
- id: "queen-halftone",
1060
- name: "Queen Halftone",
1061
- codename: "BOSS-03",
1062
- title: "Empress of Ben-Day",
1063
- faction: "eclipse-boss",
1064
- archetype: "boss",
1065
- element: "ink",
1066
- rarity: "legendary",
1067
- isBoss: true,
1068
- voicePitch: 1.05,
1069
- defaultMood: "determined",
1070
- stats: Object.freeze({ hp: 340, mp: 200, atk: 98, def: 86, spd: 86 }),
1071
- ultimate: Object.freeze({
1072
- name: "ROYAL DOT MATRIX",
1073
- jpCallout: "女王網点・ドット監獄!",
1074
- quote: "Kneel beneath a thousand screaming Ben-Day dots!",
1075
- power: 52,
1076
- }),
1077
- dialogueLines: Object.freeze([
1078
- "Such vivid linework... I shall add your crew to my gallery.",
1079
- "Break my crown shield and claim a mythic summon!",
1080
- ]),
1081
- visual: Object.freeze({
1082
- hairStyle: "long-wave",
1083
- eyeStyle: "cat",
1084
- accessory: "crown",
1085
- primaryTone: "magenta",
1086
- accentTone: "yellow",
1087
- hairTone: "ink",
1088
- badgeMark: "B3",
1089
- }),
1090
- }),
1091
- Object.freeze({
1092
- id: "chronos-fang",
1093
- name: "Chronos Fang",
1094
- codename: "BOSS-04",
1095
- title: "Keyframe Devourer",
1096
- faction: "eclipse-boss",
1097
- archetype: "boss",
1098
- element: "cryo",
1099
- rarity: "legendary",
1100
- isBoss: true,
1101
- voicePitch: 0.7,
1102
- defaultMood: "determined",
1103
- stats: Object.freeze({ hp: 350, mp: 190, atk: 100, def: 88, spd: 92 }),
1104
- ultimate: Object.freeze({
1105
- name: "TIMELINE STASIS LOCK",
1106
- jpCallout: "時間凍結・クロノス牙!",
1107
- quote: "I devour your easing curves and freeze the clock!",
1108
- power: 53,
1109
- }),
1110
- dialogueLines: Object.freeze([
1111
- "Your speed stat means nothing inside my timeline.",
1112
- "Rewind, stagger, repeat—how long can you endure?",
1113
- ]),
1114
- visual: Object.freeze({
1115
- hairStyle: "spiky",
1116
- eyeStyle: "visor",
1117
- accessory: "horns",
1118
- primaryTone: "cyan",
1119
- accentTone: "violet",
1120
- hairTone: "info",
1121
- badgeMark: "B4",
1122
- }),
1123
- }),
1124
- Object.freeze({
1125
- id: "omega-static",
1126
- name: "Omega Static",
1127
- codename: "BOSS-05",
1128
- title: "Final Broadcast Tyrant",
1129
- faction: "eclipse-boss",
1130
- archetype: "boss",
1131
- element: "volt",
1132
- rarity: "mythic",
1133
- isBoss: true,
1134
- voicePitch: 0.68,
1135
- defaultMood: "angry",
1136
- stats: Object.freeze({ hp: 420, mp: 210, atk: 110, def: 96, spd: 84 }),
1137
- ultimate: Object.freeze({
1138
- name: "DEAD CHANNEL SUPERNOVA",
1139
- jpCallout: "終焉雑音・オメガノイズ!",
1140
- quote: "ALL SIGNALS TERMINATED—WELCOME TO STATIC!",
1141
- power: 58,
1142
- }),
1143
- dialogueLines: Object.freeze([
1144
- "Three phases stand between you and the final trophy.",
1145
- "Unleash your Ultimate Cut-In—show me full MoonWitness DNA!",
1146
- ]),
1147
- visual: Object.freeze({
1148
- hairStyle: "horns",
1149
- eyeStyle: "cyclops",
1150
- accessory: "antenna",
1151
- primaryTone: "yellow",
1152
- accentTone: "error",
1153
- hairTone: "ink",
1154
- badgeMark: "B5",
1155
- }),
1156
- }),
1157
- ]);
1158
-
1159
- export type CharacterId = (typeof CHARACTER_REGISTRY)[number]["id"];
1160
-
1161
- export type LoreGroupId = "moonwitness-xii" | "rocksoul-extended";
1162
-
1163
- export type LoreDepictionPolicy =
1164
- | "anonymous-back-facing"
1165
- | "identified-approved"
1166
- | "silhouette-only"
1167
- | "stylized-faceless";
1168
-
1169
- export type LoreVisualRenderingMode =
1170
- "faceless" | "stylized" | "faceless-stylized" | "silhouette";
1171
-
1172
- export type LoreCanonStatus = "draft" | "review" | "approved" | "blocked";
1173
-
1174
- export type RocksoulCapModeId = "green-mercy" | "black-resolve";
1175
-
1176
- export interface RocksoulCapModeSpec {
1177
- readonly id: RocksoulCapModeId;
1178
- readonly label: string;
1179
- readonly capColor: "green" | "black";
1180
- readonly semanticTheme: string;
1181
- readonly primaryTone: CharacterColorToken;
1182
- readonly accentTone: CharacterColorToken;
1183
- readonly paletteTokens: readonly string[];
1184
- readonly visualCue: string;
1185
- }
1186
-
1187
- export interface CanonGuardMetadata {
1188
- readonly canonLevel: "lore";
1189
- readonly autoMergeForbidden: true;
1190
- readonly rules: readonly ("CAN-0004" | "CAN-0005" | "CAN-0011")[];
1191
- readonly visualRenderingMode: LoreVisualRenderingMode;
1192
- readonly facelessOrStylizedOnly: true;
1193
- readonly photorealismForbidden: true;
1194
- readonly realPersonLikenessForbidden: true;
1195
- readonly sacredDepictionForbidden: true;
1196
- readonly prohibitedVariants: readonly string[];
1197
- readonly rationale: string;
1198
- }
1199
-
1200
- export interface LoreFactionMeta {
1201
- readonly id: LoreGroupId;
1202
- readonly label: string;
1203
- readonly tagline: string;
1204
- readonly tone: CharacterColorToken;
1205
- readonly canonLevel: "lore";
1206
- }
1207
-
1208
- export interface LoreCharacterProfile extends CharacterProfile {
1209
- readonly canonRecordId: string;
1210
- readonly loreGroup: LoreGroupId;
1211
- readonly displayName: string;
1212
- readonly callsign: string;
1213
- readonly aliases: readonly string[];
1214
- readonly status: LoreCanonStatus;
1215
- readonly canonLevel: "lore";
1216
- readonly autoMergeForbidden: true;
1217
- readonly depictionPolicy: LoreDepictionPolicy;
1218
- readonly silhouette: string;
1219
- readonly outfit: string;
1220
- readonly paletteTokens: readonly string[];
1221
- readonly prohibitedVariants: readonly string[];
1222
- readonly summary: string;
1223
- readonly canonGuard: CanonGuardMetadata;
1224
- readonly capModes?: readonly RocksoulCapModeSpec[];
1225
- }
1226
-
1227
- export const ROCKSOUL_CAP_MODES: readonly RocksoulCapModeSpec[] = Object.freeze(
1228
- [
1229
- Object.freeze({
1230
- id: "green-mercy",
1231
- label: "Green Mercy Cap",
1232
- capColor: "green",
1233
- semanticTheme: "mercy-witness",
1234
- primaryTone: "success",
1235
- accentTone: "yellow",
1236
- paletteTokens: Object.freeze([
1237
- "ink-black",
1238
- "paper-cream",
1239
- "mercy-green",
1240
- "signal-yellow",
1241
- ]),
1242
- visualCue:
1243
- "Oversized green canvas baseball cap pulled low over shadowed faceless brow with signal-yellow crest pin",
1244
- }),
1245
- Object.freeze({
1246
- id: "black-resolve",
1247
- label: "Black Resolve Cap",
1248
- capColor: "black",
1249
- semanticTheme: "resolve-witness",
1250
- primaryTone: "ink",
1251
- accentTone: "error",
1252
- paletteTokens: Object.freeze([
1253
- "ink-black",
1254
- "paper-cream",
1255
- "rocksoul-crimson",
1256
- "signal-yellow",
1257
- ]),
1258
- visualCue:
1259
- "Matte ink-black resolve cap pulled low with crimson chalk under-brim and rough graphite sketch edge",
1260
- }),
1261
- ],
1262
- );
1263
-
1264
- export const ROCKSOUL_LORE_FACTIONS: readonly LoreFactionMeta[] = Object.freeze(
1265
- [
1266
- Object.freeze({
1267
- id: "moonwitness-xii",
1268
- label: "MoonWitness XII",
1269
- tagline:
1270
- "Core quartet anchoring the RockSoul frequency lattice under CAN-0004/CAN-0011 lore isolation.",
1271
- tone: "error",
1272
- canonLevel: "lore",
1273
- }),
1274
- Object.freeze({
1275
- id: "rocksoul-extended",
1276
- label: "RockSoul Extended Cast",
1277
- tagline:
1278
- "Clandestine observers, relay biomes, and cosmic scouts across the MoonWitness II/XII cycle.",
1279
- tone: "cyan",
1280
- canonLevel: "lore",
1281
- }),
1282
- ],
1283
- );
1284
-
1285
- const BASE_PROHIBITED_VARIANTS: readonly string[] = Object.freeze([
1286
- "sacred-figure",
1287
- "real-person-likeness",
1288
- "photorealistic-face",
1289
- ]);
1290
-
1291
- const CANON_GUARD_RULES: readonly ("CAN-0004" | "CAN-0005" | "CAN-0011")[] =
1292
- Object.freeze(["CAN-0004", "CAN-0005", "CAN-0011"]);
1293
-
1294
- function createCanonGuard(
1295
- visualRenderingMode: LoreVisualRenderingMode,
1296
- rationale: string,
1297
- extraProhibitedVariants: readonly string[] = [],
1298
- ): CanonGuardMetadata {
1299
- const prohibitedVariants = Object.freeze(
1300
- Array.from(
1301
- new Set([...BASE_PROHIBITED_VARIANTS, ...extraProhibitedVariants]),
1302
- ),
1303
- );
1304
- return Object.freeze({
1305
- canonLevel: "lore",
1306
- autoMergeForbidden: true,
1307
- rules: CANON_GUARD_RULES,
1308
- visualRenderingMode,
1309
- facelessOrStylizedOnly: true,
1310
- photorealismForbidden: true,
1311
- realPersonLikenessForbidden: true,
1312
- sacredDepictionForbidden: true,
1313
- prohibitedVariants,
1314
- rationale,
1315
- });
1316
- }
1317
-
1318
- interface LoreProfileInput {
1319
- readonly id: string;
1320
- readonly canonRecordId: string;
1321
- readonly loreGroup: LoreGroupId;
1322
- readonly name: string;
1323
- readonly displayName: string;
1324
- readonly callsign: string;
1325
- readonly codename: string;
1326
- readonly title: string;
1327
- readonly aliases: readonly string[];
1328
- readonly faction: CharacterFactionId;
1329
- readonly archetype: CharacterArchetype;
1330
- readonly element: CharacterElement;
1331
- readonly rarity: CharacterRarity;
1332
- readonly isBoss: boolean;
1333
- readonly voicePitch: number;
1334
- readonly defaultMood: CharacterMood;
1335
- readonly stats: CharacterStats;
1336
- readonly ultimate: CharacterUltimateSkill;
1337
- readonly dialogueLines: readonly string[];
1338
- readonly visual: CharacterVisualTraits;
1339
- readonly depictionPolicy: LoreDepictionPolicy;
1340
- readonly visualRenderingMode: LoreVisualRenderingMode;
1341
- readonly silhouette: string;
1342
- readonly outfit: string;
1343
- readonly paletteTokens: readonly string[];
1344
- readonly summary: string;
1345
- readonly guardRationale: string;
1346
- readonly extraProhibitedVariants?: readonly string[];
1347
- readonly capModes?: readonly RocksoulCapModeSpec[];
1348
- }
1349
-
1350
- function buildLoreProfile(input: LoreProfileInput): LoreCharacterProfile {
1351
- const canonGuard = createCanonGuard(
1352
- input.visualRenderingMode,
1353
- input.guardRationale,
1354
- input.extraProhibitedVariants,
1355
- );
1356
- const profile: LoreCharacterProfile = {
1357
- id: input.id,
1358
- canonRecordId: input.canonRecordId,
1359
- loreGroup: input.loreGroup,
1360
- name: input.name,
1361
- displayName: input.displayName,
1362
- callsign: input.callsign,
1363
- codename: input.codename,
1364
- title: input.title,
1365
- aliases: Object.freeze([...input.aliases]),
1366
- faction: input.faction,
1367
- archetype: input.archetype,
1368
- element: input.element,
1369
- rarity: input.rarity,
1370
- isBoss: input.isBoss,
1371
- voicePitch: input.voicePitch,
1372
- defaultMood: input.defaultMood,
1373
- status: "review",
1374
- canonLevel: "lore",
1375
- autoMergeForbidden: true,
1376
- depictionPolicy: input.depictionPolicy,
1377
- silhouette: input.silhouette,
1378
- outfit: input.outfit,
1379
- paletteTokens: Object.freeze([...input.paletteTokens]),
1380
- prohibitedVariants: canonGuard.prohibitedVariants,
1381
- summary: input.summary,
1382
- canonGuard,
1383
- stats: Object.freeze({ ...input.stats }),
1384
- ultimate: Object.freeze({ ...input.ultimate }),
1385
- dialogueLines: Object.freeze([...input.dialogueLines]),
1386
- visual: Object.freeze({ ...input.visual }),
1387
- ...(input.capModes ? { capModes: input.capModes } : {}),
1388
- };
1389
- return Object.freeze(profile);
1390
- }
1391
-
1392
- export const MOONWITNESS_XII_CAST_PROFILES: readonly LoreCharacterProfile[] =
1393
- Object.freeze([
1394
- buildLoreProfile({
1395
- id: "rocksoul-witness",
1396
- canonRecordId: "xii_rocksoul",
1397
- loreGroup: "moonwitness-xii",
1398
- name: "ROCKSOUL",
1399
- displayName: "ROCKSOUL",
1400
- callsign: "ROCKSOUL",
1401
- codename: "XII-01",
1402
- title: "Primary Resonance Witness",
1403
- aliases: [
1404
- "ROCKSOUL",
1405
- "Green Cap Witness",
1406
- "Black Cap Witness",
1407
- "Witness-XII",
1408
- ],
1409
- faction: "signal-riot",
1410
- archetype: "striker",
1411
- element: "volt",
1412
- rarity: "mythic",
1413
- isBoss: false,
1414
- voicePitch: 0.96,
1415
- defaultMood: "determined",
1416
- stats: { hp: 132, mp: 96, atk: 95, def: 78, spd: 93 },
1417
- ultimate: {
1418
- name: "DUAL-CAP RESONANCE",
1419
- jpCallout: "緑黒帽共鳴・ロックスウル!",
1420
- quote: "Mercy in green, resolve in black—witness every broken signal.",
1421
- power: 49,
1422
- },
1423
- dialogueLines: [
1424
- "Green cap listens first; black cap draws the boundary line.",
1425
- "Hold the chalk contour—nobody edits this witness ledger.",
1426
- ],
1427
- visual: {
1428
- hairStyle: "hood",
1429
- eyeStyle: "visor",
1430
- accessory: "scarf",
1431
- primaryTone: "success",
1432
- accentTone: "error",
1433
- hairTone: "ink",
1434
- badgeMark: "RS",
1435
- },
1436
- depictionPolicy: "stylized-faceless",
1437
- visualRenderingMode: "faceless-stylized",
1438
- silhouette:
1439
- "Faceless hooded street witness with low-pulled mercy green or resolve black baseball cap, high utility collar, and rough charcoal outline",
1440
- outfit:
1441
- "Dual-mode zine parka with interchangeable green mercy cap or black resolve cap, crimson chalk armband, and heavy ink boots",
1442
- paletteTokens: [
1443
- "ink-black",
1444
- "paper-cream",
1445
- "mercy-green",
1446
- "rocksoul-crimson",
1447
- "signal-yellow",
1448
- ],
1449
- summary:
1450
- "Primary resonance catalyst of MoonWitness XII switching between green mercy cap and black resolve cap modes.",
1451
- guardRationale:
1452
- "Faceless low-brim witness depiction under CAN-0011; strictly fictional CAN-0004 lore catalyst with zero photorealistic face.",
1453
- extraProhibitedVariants: ["recognizable-face", "third-party-logo"],
1454
- capModes: ROCKSOUL_CAP_MODES,
1455
- }),
1456
- buildLoreProfile({
1457
- id: "isrockfeel-punk",
1458
- canonRecordId: "xii_isrockfeel",
1459
- loreGroup: "moonwitness-xii",
1460
- name: "ISROCKFEEL",
1461
- displayName: "ISROCKFEEL",
1462
- callsign: "ISROCKFEEL",
1463
- codename: "XII-02",
1464
- title: "Empathic Frequency Mentor",
1465
- aliases: ["ISROCKFEEL", "Punk Mentor", "Empathic Frequency Mirror"],
1466
- faction: "signal-riot",
1467
- archetype: "support",
1468
- element: "pyro",
1469
- rarity: "legendary",
1470
- isBoss: false,
1471
- voicePitch: 1.08,
1472
- defaultMood: "determined",
1473
- stats: { hp: 122, mp: 106, atk: 86, def: 74, spd: 91 },
1474
- ultimate: {
1475
- name: "CRIMSON AMP FEEDBACK",
1476
- jpCallout: "激情共鳴パンクアンプ!",
1477
- quote: "Crank the halftone distortion until static turns to pulse!",
1478
- power: 45,
1479
- },
1480
- dialogueLines: [
1481
- "Your rhythm slips when you hide behind clean lines—lean into the scratch.",
1482
- "Cyan distortion on the left channel, crimson riff on the right.",
1483
- ],
1484
- visual: {
1485
- hairStyle: "mohawk",
1486
- eyeStyle: "sharp",
1487
- accessory: "headphones",
1488
- primaryTone: "error",
1489
- accentTone: "cyan",
1490
- hairTone: "error",
1491
- badgeMark: "IR",
1492
- },
1493
- depictionPolicy: "stylized-faceless",
1494
- visualRenderingMode: "stylized",
1495
- silhouette:
1496
- "Spiked punk-rock street mentor wearing jagged studio headphones, cropped safety-pin leather vest, and red-cyan halftone burst cape",
1497
- outfit:
1498
- "Distressed xerox punk jacket with crimson screenprint patches, cyan tape wraps, and studded acoustic strap",
1499
- paletteTokens: [
1500
- "ink-black",
1501
- "paper-cream",
1502
- "rocksoul-crimson",
1503
- "signal-cyan",
1504
- "signal-yellow",
1505
- ],
1506
- summary:
1507
- "Punk-rock empathic frequency mirror mentoring the MoonWitness XII crew through red and cyan halftone distortion.",
1508
- guardRationale:
1509
- "Stylized punk-zine cartoon mentor locked to canonLevel lore; CAN-0004 blocks real-musician likeness matching.",
1510
- extraProhibitedVariants: ["celebrity-likeness", "third-party-logo"],
1511
- }),
1512
- buildLoreProfile({
1513
- id: "walterwhite-engineer",
1514
- canonRecordId: "char_walter_white",
1515
- loreGroup: "moonwitness-xii",
1516
- name: "WALTERWHITE",
1517
- displayName: "WALTERWHITE",
1518
- callsign: "WALTERWHITE",
1519
- codename: "XII-03",
1520
- title: "Volatility & Synthesis Strategist",
1521
- aliases: [
1522
- "WALTERWHITE",
1523
- "Walter White",
1524
- "Alchemist-99",
1525
- "Chaos Engineer",
1526
- ],
1527
- faction: "neon-arcade",
1528
- archetype: "mage",
1529
- element: "cryo",
1530
- rarity: "legendary",
1531
- isBoss: false,
1532
- voicePitch: 0.82,
1533
- defaultMood: "neutral",
1534
- stats: { hp: 118, mp: 120, atk: 91, def: 72, spd: 82 },
1535
- ultimate: {
1536
- name: "ZERO-RESIDUE SWEEP",
1537
- jpCallout: "完全合成・静粛掃討!",
1538
- quote:
1539
- "Every volatile compound stabilizes the instant I sweep the floor.",
1540
- power: 46,
1541
- },
1542
- dialogueLines: [
1543
- "Measure twice, sweep once—volatility hates sloppy containment.",
1544
- "External franchises do not exist inside this grid; check the canon lock.",
1545
- ],
1546
- visual: {
1547
- hairStyle: "swept",
1548
- eyeStyle: "visor",
1549
- accessory: "goggles",
1550
- primaryTone: "cyan",
1551
- accentTone: "yellow",
1552
- hairTone: "paper",
1553
- badgeMark: "WW",
1554
- },
1555
- depictionPolicy: "stylized-faceless",
1556
- visualRenderingMode: "stylized",
1557
- silhouette:
1558
- "Stylized ink-cartoon synthesis engineer with round protective goggles, charcoal jumpsuit, yellow crown pin, and wooden floor broom",
1559
- outfit:
1560
- "Charcoal workshop coveralls with magenta containment armband, brass pressure gauges, and rough graphite apron pockets",
1561
- paletteTokens: [
1562
- "ink-black",
1563
- "paper-cream",
1564
- "signal-cyan",
1565
- "signal-yellow",
1566
- "riot-magenta",
1567
- ],
1568
- summary:
1569
- "Fictional MoonWitness lore chaos-synthesis engineer isolated from external franchises under CAN-0004.",
1570
- guardRationale:
1571
- "Stylized cel/graphite lore engineer isolated from external TV/real-world identities under CAN-0004 and CAN-0011.",
1572
- extraProhibitedVariants: ["celebrity-likeness", "third-party-logo"],
1573
- }),
1574
- buildLoreProfile({
1575
- id: "fourlah-batteries",
1576
- canonRecordId: "char_a_lah",
1577
- loreGroup: "moonwitness-xii",
1578
- name: "4-LAH / THE BATTERIES",
1579
- displayName: "4-LAH / THE BATTERIES",
1580
- callsign: "4-LAH/THE BATTERIES",
1581
- codename: "XII-04",
1582
- title: "Distributed Power Conduit Ensemble",
1583
- aliases: ["4-LAH", "A-LAH", "THE BATTERIES", "Circuit-Four"],
1584
- faction: "mecha-orbit",
1585
- archetype: "vanguard",
1586
- element: "volt",
1587
- rarity: "mythic",
1588
- isBoss: false,
1589
- voicePitch: 0.76,
1590
- defaultMood: "determined",
1591
- stats: { hp: 154, mp: 108, atk: 87, def: 96, spd: 74 },
1592
- ultimate: {
1593
- name: "QUAD-CELL OVERCHARGE",
1594
- jpCallout: "四連電池・過負荷連結!",
1595
- quote: "Four cells in series—zero loss, pure kinetic current!",
1596
- power: 48,
1597
- },
1598
- dialogueLines: [
1599
- "Conduit cells synchronized: reserve voltage ready for district relay.",
1600
- "Callsign Circuit-Four online—fictional battery telemetry verified.",
1601
- ],
1602
- visual: {
1603
- hairStyle: "crest",
1604
- eyeStyle: "cyclops",
1605
- accessory: "antenna",
1606
- primaryTone: "yellow",
1607
- accentTone: "cyan",
1608
- hairTone: "ink",
1609
- badgeMark: "4B",
1610
- },
1611
- depictionPolicy: "stylized-faceless",
1612
- visualRenderingMode: "faceless-stylized",
1613
- silhouette:
1614
- "Faceless modular four-cell battery conduit construct with copper busbars, glowing capacitor visor slit, and braided voltage cables",
1615
- outfit:
1616
- "Insulated industrial capacitor shell plates marked with 01-04 charge gauges and hazard-yellow tape",
1617
- paletteTokens: [
1618
- "ink-black",
1619
- "paper-cream",
1620
- "signal-yellow",
1621
- "signal-cyan",
1622
- "rocksoul-crimson",
1623
- ],
1624
- summary:
1625
- "Strictly fictional distributed power conduit ensemble within MoonWitness lore; CAN-0004 and CAN-0011 forbid any auto-merge or sacred association.",
1626
- guardRationale:
1627
- "Non-humanoid faceless battery construct; CAN-0004 strictly forbids alias auto-merge and CAN-0011 forbids any religious figure association.",
1628
- extraProhibitedVariants: ["recognizable-face", "religious-figure-merge"],
1629
- }),
1630
- ]);
1631
-
1632
- export const EXTENDED_LORE_CAST_PROFILES: readonly LoreCharacterProfile[] =
1633
- Object.freeze([
1634
- buildLoreProfile({
1635
- id: "the-shadow",
1636
- canonRecordId: "char_the_shadow",
1637
- loreGroup: "rocksoul-extended",
1638
- name: "The Shadow",
1639
- displayName: "The Shadow",
1640
- callsign: "THE SHADOW",
1641
- codename: "EXT-01",
1642
- title: "Clandestine Signal Observer",
1643
- aliases: ["The Shadow", "Shadow Signal", "Zero-Phase"],
1644
- faction: "signal-riot",
1645
- archetype: "trickster",
1646
- element: "void",
1647
- rarity: "legendary",
1648
- isBoss: false,
1649
- voicePitch: 0.78,
1650
- defaultMood: "neutral",
1651
- stats: { hp: 108, mp: 112, atk: 89, def: 64, spd: 96 },
1652
- ultimate: {
1653
- name: "BLIND-SPOT ARCHIVE",
1654
- jpCallout: "死角記録・ゼロフェイズ!",
1655
- quote: "Even erased broadcasts leave ink smudges in the dark.",
1656
- power: 44,
1657
- },
1658
- dialogueLines: [
1659
- "Every dead relay still echoes if you read the negative space.",
1660
- "Step out of the spotlight—I only log unedited frequencies.",
1661
- ],
1662
- visual: {
1663
- hairStyle: "hood",
1664
- eyeStyle: "cyclops",
1665
- accessory: "mask",
1666
- primaryTone: "ink",
1667
- accentTone: "violet",
1668
- hairTone: "ink",
1669
- badgeMark: "SH",
1670
- },
1671
- depictionPolicy: "silhouette-only",
1672
- visualRenderingMode: "silhouette",
1673
- silhouette:
1674
- "Sharp ink-void cloaked silhouette with torn trench-coat hem, zero facial features, and glowing violet frequency slit",
1675
- outfit:
1676
- "Layered blackout cloak etched with white pencil crosshatching and cassette-tape bandolier",
1677
- paletteTokens: ["ink-black", "electric-violet", "paper-cream"],
1678
- summary:
1679
- "Operates in the blind spots of the RockSoul relay grid, cataloguing erased transmissions.",
1680
- guardRationale:
1681
- "Pure silhouette-only faceless observer; zero photorealistic features per CAN-0004 and CAN-0011.",
1682
- extraProhibitedVariants: ["recognizable-face"],
1683
- }),
1684
- buildLoreProfile({
1685
- id: "baby-doll",
1686
- canonRecordId: "lore_baby_doll",
1687
- loreGroup: "rocksoul-extended",
1688
- name: "Baby Doll",
1689
- displayName: "Baby Doll",
1690
- callsign: "BABY DOLL",
1691
- codename: "EXT-02",
1692
- title: "Porcelain Zine Sentinel",
1693
- aliases: ["Baby Doll", "Porcelain Static", "Doll-Mask"],
1694
- faction: "toon-squad",
1695
- archetype: "trickster",
1696
- element: "ink",
1697
- rarity: "epic",
1698
- isBoss: false,
1699
- voicePitch: 1.34,
1700
- defaultMood: "surprised",
1701
- stats: { hp: 104, mp: 102, atk: 86, def: 66, spd: 94 },
1702
- ultimate: {
1703
- name: "CRACKED BISQUE CHIME",
1704
- jpCallout: "白磁共鳴・ドールマスク!",
1705
- quote: "Wind the key once—every false signal freezes in place.",
1706
- power: 42,
1707
- },
1708
- dialogueLines: [
1709
- "Painted cracks hide the sharpest graphite edges.",
1710
- "Do not mistake a blank mask for an empty stage.",
1711
- ],
1712
- visual: {
1713
- hairStyle: "twin-tails",
1714
- eyeStyle: "star",
1715
- accessory: "mask",
1716
- primaryTone: "magenta",
1717
- accentTone: "paper",
1718
- hairTone: "ink",
1719
- badgeMark: "BD",
1720
- },
1721
- depictionPolicy: "stylized-faceless",
1722
- visualRenderingMode: "faceless-stylized",
1723
- silhouette:
1724
- "Stylized marionette sentinel wearing a blank cracked porcelain mask, oversized ribbon collar, and inked wind-up key on back",
1725
- outfit:
1726
- "Ruffled monochrome zine pinafore pinned with magenta safety tags and stitched fingerless sleeves",
1727
- paletteTokens: [
1728
- "ink-black",
1729
- "paper-cream",
1730
- "riot-magenta",
1731
- "signal-yellow",
1732
- ],
1733
- summary:
1734
- "Stylized blank-mask sentinel patrolling underground stage alleys with kinetic wind-up chimes.",
1735
- guardRationale:
1736
- "Blank porcelain-mask stylized puppet design; prohibits human likeness and sacred iconography.",
1737
- extraProhibitedVariants: ["recognizable-face"],
1738
- }),
1739
- buildLoreProfile({
1740
- id: "blue-witch",
1741
- canonRecordId: "char_blue_witch",
1742
- loreGroup: "rocksoul-extended",
1743
- name: "Blue Witch",
1744
- displayName: "Blue Witch",
1745
- callsign: "BLUE WITCH",
1746
- codename: "EXT-03",
1747
- title: "Harmonic Inversion Specialist",
1748
- aliases: ["Blue Witch", "Cobalt Weaver", "Frequency Hex"],
1749
- faction: "arcana-blade",
1750
- archetype: "mage",
1751
- element: "cryo",
1752
- rarity: "legendary",
1753
- isBoss: false,
1754
- voicePitch: 1.14,
1755
- defaultMood: "neutral",
1756
- stats: { hp: 102, mp: 126, atk: 93, def: 64, spd: 87 },
1757
- ultimate: {
1758
- name: "COBALT PHASE INVERSION",
1759
- jpCallout: "蒼穹位相反転・ヘックス!",
1760
- quote: "Invert the carrier wave—hidden enclaves vanish from radar.",
1761
- power: 47,
1762
- },
1763
- dialogueLines: [
1764
- "Blue inversion flips surveillance beams back onto their source.",
1765
- "Keep your ink glyphs steady while the cobalt shield settles.",
1766
- ],
1767
- visual: {
1768
- hairStyle: "long-wave",
1769
- eyeStyle: "visor",
1770
- accessory: "halo",
1771
- primaryTone: "info",
1772
- accentTone: "cyan",
1773
- hairTone: "info",
1774
- badgeMark: "BW",
1775
- },
1776
- depictionPolicy: "stylized-faceless",
1777
- visualRenderingMode: "stylized",
1778
- silhouette:
1779
- "Tall angular mage silhouette under a sweeping cobalt crescent hood and hovering waveform sigil ring",
1780
- outfit:
1781
- "Ink-dipped cobalt cloak lined with cyan oscilloscope trim and sketched chalk talismans",
1782
- paletteTokens: ["ink-black", "paper-cream", "signal-cyan", "cobalt-blue"],
1783
- summary:
1784
- "Manipulates cobalt-band interference to shield hidden enclaves across the Blue Inversion era.",
1785
- guardRationale:
1786
- "Stylized shadowed-hood spellcaster; CAN-0004 and CAN-0011 enforce pure fictional isolation.",
1787
- }),
1788
- buildLoreProfile({
1789
- id: "dogs-from-universe",
1790
- canonRecordId: "char_dogs_from_universe",
1791
- loreGroup: "rocksoul-extended",
1792
- name: "Dogs From Universe",
1793
- displayName: "Dogs From Universe",
1794
- callsign: "DOGS FROM UNIVERSE",
1795
- codename: "EXT-04",
1796
- title: "Nomadic Void Trackers",
1797
- aliases: ["Dogs From Universe", "Cosmic Pack", "Orbital Hounds"],
1798
- faction: "mecha-orbit",
1799
- archetype: "striker",
1800
- element: "wind",
1801
- rarity: "epic",
1802
- isBoss: false,
1803
- voicePitch: 1.02,
1804
- defaultMood: "determined",
1805
- stats: { hp: 126, mp: 84, atk: 92, def: 70, spd: 97 },
1806
- ultimate: {
1807
- name: "TRIPLE-PULSE PACK RUN",
1808
- jpCallout: "星犬三重波動疾走!",
1809
- quote: "Three cosmic pulses—the pack tracks every resonance anomaly.",
1810
- power: 45,
1811
- },
1812
- dialogueLines: [
1813
- "Triple-pulse telemetry locked onto the northern relay spire.",
1814
- "Orbital hounds run fastest along static fault lines.",
1815
- ],
1816
- visual: {
1817
- hairStyle: "crest",
1818
- eyeStyle: "star",
1819
- accessory: "antenna",
1820
- primaryTone: "cyan",
1821
- accentTone: "yellow",
1822
- hairTone: "violet",
1823
- badgeMark: "DF",
1824
- },
1825
- depictionPolicy: "stylized-faceless",
1826
- visualRenderingMode: "stylized",
1827
- silhouette:
1828
- "Angular cosmic hound pack silhouettes sketched in starlight cyan chalk with glowing triple-pulse collars",
1829
- outfit:
1830
- "Zero-gravity orbital harnesses bearing phosphor-yellow telemetry tags and graphite speedlines",
1831
- paletteTokens: [
1832
- "ink-black",
1833
- "paper-cream",
1834
- "signal-cyan",
1835
- "electric-violet",
1836
- "signal-yellow",
1837
- ],
1838
- summary:
1839
- "Interstellar scouts drawn to high-amplitude resonance anomalies across the RockSoul frontier.",
1840
- guardRationale:
1841
- "Non-humanoid stylized cosmic hound pack; strictly fictional CAN-0004/CAN-0011 compliant.",
1842
- }),
1843
- buildLoreProfile({
1844
- id: "dj-david",
1845
- canonRecordId: "char_dj_david",
1846
- loreGroup: "rocksoul-extended",
1847
- name: "DJ David",
1848
- displayName: "DJ David",
1849
- callsign: "DJ DAVID",
1850
- codename: "EXT-05",
1851
- title: "Broadcast Curatorial Operator",
1852
- aliases: ["DJ David", "Selector-D", "Turntable Architect"],
1853
- faction: "neon-arcade",
1854
- archetype: "support",
1855
- element: "volt",
1856
- rarity: "epic",
1857
- isBoss: false,
1858
- voicePitch: 0.94,
1859
- defaultMood: "happy",
1860
- stats: { hp: 116, mp: 114, atk: 78, def: 74, spd: 90 },
1861
- ultimate: {
1862
- name: "PIRATE TEMPO SHIFT",
1863
- jpCallout: "海賊放送・テンポ転調!",
1864
- quote: "Drop the needle at 140 BPM—the whole district moves on beat!",
1865
- power: 40,
1866
- },
1867
- dialogueLines: [
1868
- "Crossfader primed. Watch every faction tempo snap to my cue.",
1869
- "Pirate radio stays fictional, loud, and strictly off the corporate dial.",
1870
- ],
1871
- visual: {
1872
- hairStyle: "pompadour",
1873
- eyeStyle: "visor",
1874
- accessory: "headphones",
1875
- primaryTone: "yellow",
1876
- accentTone: "magenta",
1877
- hairTone: "ink",
1878
- badgeMark: "DD",
1879
- },
1880
- depictionPolicy: "stylized-faceless",
1881
- visualRenderingMode: "stylized",
1882
- silhouette:
1883
- "Stylized visor-shaded pirate DJ with boxy turntable flight-case, oversized cue headphones, and ink halftone equalizer aura",
1884
- outfit:
1885
- "Sleeveless boombox utility jacket covered in yellow cassette stickers and magenta crossfader patches",
1886
- paletteTokens: [
1887
- "ink-black",
1888
- "paper-cream",
1889
- "signal-yellow",
1890
- "riot-magenta",
1891
- "signal-cyan",
1892
- ],
1893
- summary:
1894
- "Fictional pirate-radio strategist orchestrating citywide tempo shifts; never auto-merged with historical or religious figures.",
1895
- guardRationale:
1896
- "Stylized visor-shaded cartoon DJ; CAN-0004 forbids auto-merging with historical or religious figures and CAN-0011 forbids sacred imagery.",
1897
- extraProhibitedVariants: ["historical-figure-merge"],
1898
- }),
1899
- buildLoreProfile({
1900
- id: "electric-forest",
1901
- canonRecordId: "char_electric_forest",
1902
- loreGroup: "rocksoul-extended",
1903
- name: "Electric Forest",
1904
- displayName: "Electric Forest",
1905
- callsign: "ELECTRIC FOREST",
1906
- codename: "EXT-06",
1907
- title: "Living Electromagnetic Biome",
1908
- aliases: ["Electric Forest", "Volt Canopy", "Static Woods"],
1909
- faction: "arcana-blade",
1910
- archetype: "support",
1911
- element: "volt",
1912
- rarity: "legendary",
1913
- isBoss: false,
1914
- voicePitch: 0.7,
1915
- defaultMood: "neutral",
1916
- stats: { hp: 158, mp: 130, atk: 82, def: 90, spd: 68 },
1917
- ultimate: {
1918
- name: "RESIDUAL CANOPY SURGE",
1919
- jpCallout: "帯電樹海・残留放電!",
1920
- quote: "Every root remembers the voltage of past transmissions.",
1921
- power: 43,
1922
- },
1923
- dialogueLines: [
1924
- "Bark fibers hum with archived frequencies from earlier eras.",
1925
- "Step carefully—wet moss conducts sixty kilovolts of lore memory.",
1926
- ],
1927
- visual: {
1928
- hairStyle: "horns",
1929
- eyeStyle: "cyclops",
1930
- accessory: "antenna",
1931
- primaryTone: "success",
1932
- accentTone: "cyan",
1933
- hairTone: "success",
1934
- badgeMark: "EF",
1935
- },
1936
- depictionPolicy: "silhouette-only",
1937
- visualRenderingMode: "silhouette",
1938
- silhouette:
1939
- "Living canopy guardian formed of knotted graphite tree-trunks, glowing copper-leaf boughs, and arcing cyan static filaments",
1940
- outfit:
1941
- "Natural conductive bark armor braided with phosphor moss and porcelain insulator rings",
1942
- paletteTokens: ["ink-black", "mercy-green", "signal-cyan", "paper-cream"],
1943
- summary:
1944
- "Sentient conductive woodland acting as both sanctuary and natural amplifier across RockSoul districts.",
1945
- guardRationale:
1946
- "Botanical electromagnetic biome silhouette; zero human or sacred figure depiction per CAN-0011.",
1947
- }),
1948
- buildLoreProfile({
1949
- id: "indestructible",
1950
- canonRecordId: "char_indestructible",
1951
- loreGroup: "rocksoul-extended",
1952
- name: "Indestructible",
1953
- displayName: "Indestructible",
1954
- callsign: "INDESTRUCTIBLE",
1955
- codename: "EXT-07",
1956
- title: "Endurance Vanguard",
1957
- aliases: ["Indestructible", "Iron-Hull", "Unbroken"],
1958
- faction: "eclipse-boss",
1959
- archetype: "vanguard",
1960
- element: "pyro",
1961
- rarity: "mythic",
1962
- isBoss: false,
1963
- voicePitch: 0.66,
1964
- defaultMood: "angry",
1965
- stats: { hp: 170, mp: 68, atk: 90, def: 100, spd: 60 },
1966
- ultimate: {
1967
- name: "CONVERGENCE BULWARK",
1968
- jpCallout: "不壊鉄壁・収束防壁!",
1969
- quote: "Every storm leaves a crack—and still the hull holds.",
1970
- power: 48,
1971
- },
1972
- dialogueLines: [
1973
- "Armor holds through the storm, though every impact collects a temporal toll.",
1974
- "Stand behind Iron-Hull until the static surge dissipates.",
1975
- ],
1976
- visual: {
1977
- hairStyle: "crest",
1978
- eyeStyle: "visor",
1979
- accessory: "mask",
1980
- primaryTone: "error",
1981
- accentTone: "warning",
1982
- hairTone: "ink",
1983
- badgeMark: "IN",
1984
- },
1985
- depictionPolicy: "stylized-faceless",
1986
- visualRenderingMode: "faceless-stylized",
1987
- silhouette:
1988
- "Broad armored vanguard monolith with welded visor slit, notched graphite pauldrons, and crimson fracture tally marks",
1989
- outfit:
1990
- "Riveted storm-plate overcoat scarred by lightning welds and cautionary stencil bands",
1991
- paletteTokens: [
1992
- "ink-black",
1993
- "rocksoul-crimson",
1994
- "signal-yellow",
1995
- "paper-cream",
1996
- ],
1997
- summary:
1998
- "Frontline sentinel engineered to survive high-voltage convergence storms while bearing structural endurance costs (wr_06).",
1999
- guardRationale:
2000
- "Faceless helmeted vanguard construct; obeys CAN-0004, CAN-0011, and world rule wr_06.",
2001
- extraProhibitedVariants: ["recognizable-face"],
2002
- }),
2003
- buildLoreProfile({
2004
- id: "the-listener",
2005
- canonRecordId: "lore_the_listener",
2006
- loreGroup: "rocksoul-extended",
2007
- name: "The Listener",
2008
- displayName: "The Listener",
2009
- callsign: "THE LISTENER",
2010
- codename: "EXT-08",
2011
- title: "Sub-Static Acoustic Archivist",
2012
- aliases: ["The Listener", "Carrier Ear", "Sub-Static Witness"],
2013
- faction: "arcana-blade",
2014
- archetype: "support",
2015
- element: "void",
2016
- rarity: "legendary",
2017
- isBoss: false,
2018
- voicePitch: 0.88,
2019
- defaultMood: "neutral",
2020
- stats: { hp: 112, mp: 122, atk: 76, def: 78, spd: 85 },
2021
- ultimate: {
2022
- name: "CARRIER WAVE RECALL",
2023
- jpCallout: "基底搬送波・静聴再現!",
2024
- quote: "Before light, only the hum spoke—I kept every syllable.",
2025
- power: 41,
2026
- },
2027
- dialogueLines: [
2028
- "Silence is never empty; listen one layer beneath the carrier noise.",
2029
- "Every forgotten broadcast settles into my parabolic slate.",
2030
- ],
2031
- visual: {
2032
- hairStyle: "hood",
2033
- eyeStyle: "visor",
2034
- accessory: "headphones",
2035
- primaryTone: "violet",
2036
- accentTone: "cyan",
2037
- hairTone: "ink",
2038
- badgeMark: "TL",
2039
- },
2040
- depictionPolicy: "silhouette-only",
2041
- visualRenderingMode: "faceless-stylized",
2042
- silhouette:
2043
- "Hooded faceless acoustic archivist framed by twin parabolic ear-dishes and floating rough-pencil waveform ribbons",
2044
- outfit:
2045
- "Charcoal field-recording poncho draped over copper coil spools and chalk-numbered reel cases",
2046
- paletteTokens: [
2047
- "ink-black",
2048
- "paper-cream",
2049
- "electric-violet",
2050
- "signal-cyan",
2051
- ],
2052
- summary:
2053
- "Silent acoustic archivist monitoring the unattributed carrier wave humming beneath the RockSoul horizon.",
2054
- guardRationale:
2055
- "Faceless hooded archivist figure; CAN-0004 and CAN-0011 prohibit identifiable or sacred depiction.",
2056
- extraProhibitedVariants: ["recognizable-face"],
2057
- }),
2058
- ]);
2059
-
2060
- export const ROCKSOUL_LORE_ROSTER: readonly LoreCharacterProfile[] =
2061
- Object.freeze([
2062
- ...MOONWITNESS_XII_CAST_PROFILES,
2063
- ...EXTENDED_LORE_CAST_PROFILES,
2064
- ]);
2065
-
2066
- export type LoreCharacterId = (typeof ROCKSOUL_LORE_ROSTER)[number]["id"];
2067
-
2068
- export const MOONWITNESS_XII_CAST_IDS: readonly string[] = Object.freeze(
2069
- MOONWITNESS_XII_CAST_PROFILES.map((character) => character.id),
2070
- );
2071
-
2072
- export const EXTENDED_LORE_CAST_IDS: readonly string[] = Object.freeze(
2073
- EXTENDED_LORE_CAST_PROFILES.map((character) => character.id),
2074
- );
2075
-
2076
- export const ROCKSOUL_LORE_CAST_IDS: readonly string[] = Object.freeze(
2077
- ROCKSOUL_LORE_ROSTER.map((character) => character.id),
2078
- );
2079
-
2080
- const CHARACTER_BY_ID = new Map<string, CharacterProfile>(
2081
- CHARACTER_REGISTRY.map((character) => [character.id, character]),
2082
- );
2083
-
2084
- const LORE_CHARACTER_BY_ID = new Map<string, LoreCharacterProfile>(
2085
- ROCKSOUL_LORE_ROSTER.map((character) => [character.id, character]),
2086
- );
2087
-
2088
- export function getCharacterById(
2089
- id?: string | null,
2090
- ): CharacterProfile | undefined {
2091
- if (!id) return undefined;
2092
- return CHARACTER_BY_ID.get(id) ?? LORE_CHARACTER_BY_ID.get(id);
2093
- }
2094
-
2095
- export function getLoreCharacterById(
2096
- id?: string | null,
2097
- ): LoreCharacterProfile | undefined {
2098
- if (!id) return undefined;
2099
- return LORE_CHARACTER_BY_ID.get(id);
2100
- }
2101
-
2102
- export function getMoonWitnessXiiCast(): readonly LoreCharacterProfile[] {
2103
- return MOONWITNESS_XII_CAST_PROFILES;
2104
- }
2105
-
2106
- export function getExtendedLoreCast(): readonly LoreCharacterProfile[] {
2107
- return EXTENDED_LORE_CAST_PROFILES;
2108
- }
2109
-
2110
- export function getRocksoulCapMode(
2111
- modeId: RocksoulCapModeId,
2112
- ): RocksoulCapModeSpec | undefined {
2113
- return ROCKSOUL_CAP_MODES.find((mode) => mode.id === modeId);
2114
- }
2115
-
2116
- export interface LoreCharacterFilterQuery {
2117
- readonly loreGroup?: LoreGroupId | "all";
2118
- readonly archetype?: CharacterArchetype | "all";
2119
- readonly element?: CharacterElement | "all";
2120
- readonly rarity?: CharacterRarity | "all";
2121
- readonly depictionPolicy?: LoreDepictionPolicy | "all";
2122
- readonly query?: string;
2123
- }
2124
-
2125
- export function filterLoreCharacters(
2126
- filters: LoreCharacterFilterQuery = {},
2127
- ): readonly LoreCharacterProfile[] {
2128
- const normalizedQuery = filters.query?.trim().toLowerCase() ?? "";
2129
- return ROCKSOUL_LORE_ROSTER.filter((character) => {
2130
- if (
2131
- filters.loreGroup &&
2132
- filters.loreGroup !== "all" &&
2133
- character.loreGroup !== filters.loreGroup
2134
- ) {
2135
- return false;
2136
- }
2137
- if (
2138
- filters.archetype &&
2139
- filters.archetype !== "all" &&
2140
- character.archetype !== filters.archetype
2141
- ) {
2142
- return false;
2143
- }
2144
- if (
2145
- filters.element &&
2146
- filters.element !== "all" &&
2147
- character.element !== filters.element
2148
- ) {
2149
- return false;
2150
- }
2151
- if (
2152
- filters.rarity &&
2153
- filters.rarity !== "all" &&
2154
- character.rarity !== filters.rarity
2155
- ) {
2156
- return false;
2157
- }
2158
- if (
2159
- filters.depictionPolicy &&
2160
- filters.depictionPolicy !== "all" &&
2161
- character.depictionPolicy !== filters.depictionPolicy
2162
- ) {
2163
- return false;
2164
- }
2165
- if (normalizedQuery) {
2166
- const haystack =
2167
- `${character.id} ${character.name} ${character.callsign} ${character.title} ${character.aliases.join(" ")} ${character.summary}`.toLowerCase();
2168
- if (!haystack.includes(normalizedQuery)) return false;
2169
- }
2170
- return true;
2171
- });
2172
- }
2173
-
2174
- export interface AliasAutoMergeAudit {
2175
- readonly alias: string;
2176
- readonly matchedCharacterIds: readonly string[];
2177
- readonly autoMergeAllowed: false;
2178
- readonly rule: "CAN-0004";
2179
- }
2180
-
2181
- export function assertNoLoreAliasAutoMerge(alias: string): AliasAutoMergeAudit {
2182
- const normalized = alias.trim().toLowerCase();
2183
- const matchedCharacterIds = ROCKSOUL_LORE_ROSTER.filter(
2184
- (record) =>
2185
- record.aliases.some(
2186
- (candidate) => candidate.toLowerCase() === normalized,
2187
- ) ||
2188
- record.displayName.toLowerCase() === normalized ||
2189
- record.callsign.toLowerCase() === normalized,
2190
- ).map((record) => record.id);
2191
-
2192
- return Object.freeze({
2193
- alias,
2194
- matchedCharacterIds: Object.freeze(matchedCharacterIds),
2195
- autoMergeAllowed: false,
2196
- rule: "CAN-0004",
2197
- });
2198
- }
2199
-
2200
- const CAN_0011_SACRED_FIGURES_RE =
2201
- /\b(allah|prophet\s+muhammad|nabi\s+muhammad|muhammad|mohammad|mohammed|rasulullah|nabi\s+isa|isa\s+al[-\s]?masih|isa|yesus|jesus)\b/iu;
2202
-
2203
- export interface LoreCanonValidationResult {
2204
- readonly valid: boolean;
2205
- readonly violations: readonly string[];
2206
- }
2207
-
2208
- export function validateLoreCharacterCanonGuards(
2209
- character: LoreCharacterProfile,
2210
- ): LoreCanonValidationResult {
2211
- const violations: string[] = [];
2212
- if (character.canonLevel !== "lore") {
2213
- violations.push(`${character.id}: canonLevel must be 'lore' (CAN-0005)`);
2214
- }
2215
- if (character.autoMergeForbidden !== true) {
2216
- violations.push(
2217
- `${character.id}: autoMergeForbidden must be true (CAN-0004)`,
2218
- );
2219
- }
2220
- if (!character.canonGuard.rules.includes("CAN-0004")) {
2221
- violations.push(`${character.id}: canonGuard.rules must include CAN-0004`);
2222
- }
2223
- if (!character.canonGuard.rules.includes("CAN-0011")) {
2224
- violations.push(`${character.id}: canonGuard.rules must include CAN-0011`);
2225
- }
2226
- if (
2227
- !character.canonGuard.facelessOrStylizedOnly ||
2228
- !character.canonGuard.photorealismForbidden
2229
- ) {
2230
- violations.push(
2231
- `${character.id}: faceless/stylized guard flags must remain enabled`,
2232
- );
2233
- }
2234
- if (
2235
- !character.prohibitedVariants.includes("sacred-figure") ||
2236
- !character.prohibitedVariants.includes("real-person-likeness")
2237
- ) {
2238
- violations.push(
2239
- `${character.id}: prohibitedVariants must include sacred-figure and real-person-likeness`,
2240
- );
2241
- }
2242
- if (character.id === "rocksoul-witness") {
2243
- const modeIds = new Set((character.capModes ?? []).map((mode) => mode.id));
2244
- if (!modeIds.has("green-mercy") || !modeIds.has("black-resolve")) {
2245
- violations.push(
2246
- "rocksoul-witness: must define both green-mercy and black-resolve cap modes",
2247
- );
2248
- }
2249
- }
2250
- for (const fieldValue of [
2251
- character.id,
2252
- character.name,
2253
- character.displayName,
2254
- character.callsign,
2255
- character.title,
2256
- character.silhouette,
2257
- character.outfit,
2258
- character.summary,
2259
- ...character.aliases,
2260
- ]) {
2261
- if (CAN_0011_SACRED_FIGURES_RE.test(fieldValue)) {
2262
- violations.push(
2263
- `${character.id}: CAN-0011 sacred visual boundary violation in text field`,
2264
- );
2265
- }
2266
- }
2267
- return Object.freeze({
2268
- valid: violations.length === 0,
2269
- violations: Object.freeze(violations),
2270
- });
2271
- }
2272
-
2273
- export function validateRocksoulLoreRoster(
2274
- roster: readonly LoreCharacterProfile[] = ROCKSOUL_LORE_ROSTER,
2275
- ): LoreCanonValidationResult {
2276
- const violations: string[] = [];
2277
- const seen = new Set<string>();
2278
- for (const entry of roster) {
2279
- if (seen.has(entry.id)) {
2280
- violations.push(`Duplicate lore character id: ${entry.id}`);
2281
- }
2282
- seen.add(entry.id);
2283
- const check = validateLoreCharacterCanonGuards(entry);
2284
- violations.push(...check.violations);
2285
- }
2286
- return Object.freeze({
2287
- valid: violations.length === 0,
2288
- violations: Object.freeze(violations),
2289
- });
2290
- }
2291
-
2292
- export function getFactionById(
2293
- id: CharacterFactionId,
2294
- ): CharacterFactionMeta | undefined {
2295
- return CHARACTER_FACTIONS.find((faction) => faction.id === id);
2296
- }
2297
-
2298
- export interface CharacterFilterQuery {
2299
- readonly faction?: CharacterFactionId | "all";
2300
- readonly archetype?: CharacterArchetype | "all";
2301
- readonly element?: CharacterElement | "all";
2302
- readonly rarity?: CharacterRarity | "all";
2303
- readonly bossOnly?: boolean;
2304
- readonly playableOnly?: boolean;
2305
- readonly query?: string;
2306
- }
2307
-
2308
- export function filterCharacters(
2309
- filters: CharacterFilterQuery = {},
2310
- ): readonly CharacterProfile[] {
2311
- const normalizedQuery = filters.query?.trim().toLowerCase() ?? "";
2312
- return CHARACTER_REGISTRY.filter((character) => {
2313
- if (
2314
- filters.faction &&
2315
- filters.faction !== "all" &&
2316
- character.faction !== filters.faction
2317
- ) {
2318
- return false;
2319
- }
2320
- if (
2321
- filters.archetype &&
2322
- filters.archetype !== "all" &&
2323
- character.archetype !== filters.archetype
2324
- ) {
2325
- return false;
2326
- }
2327
- if (
2328
- filters.element &&
2329
- filters.element !== "all" &&
2330
- character.element !== filters.element
2331
- ) {
2332
- return false;
2333
- }
2334
- if (
2335
- filters.rarity &&
2336
- filters.rarity !== "all" &&
2337
- character.rarity !== filters.rarity
2338
- ) {
2339
- return false;
2340
- }
2341
- if (filters.bossOnly && !character.isBoss) return false;
2342
- if (filters.playableOnly && character.isBoss) return false;
2343
- if (normalizedQuery) {
2344
- const haystack =
2345
- `${character.name} ${character.codename} ${character.title} ${character.faction} ${character.element} ${character.archetype} ${character.ultimate.name}`.toLowerCase();
2346
- if (!haystack.includes(normalizedQuery)) return false;
2347
- }
2348
- return true;
2349
- });
2350
- }
2351
-
2352
- export function getPlayableCharacters(): readonly CharacterProfile[] {
2353
- return CHARACTER_REGISTRY.filter((character) => !character.isBoss);
2354
- }
2355
-
2356
- export function getBossCharacters(): readonly CharacterProfile[] {
2357
- return CHARACTER_REGISTRY.filter((character) => character.isBoss);
2358
- }
2359
-
2360
- export function rollGachaCharacter(seed?: number): CharacterProfile {
2361
- const pool = getPlayableCharacters();
2362
- const raw =
2363
- typeof seed === "number" && Number.isFinite(seed)
2364
- ? Math.abs(Math.floor(seed))
2365
- : Math.floor(Math.random() * 10_000);
2366
- const index = raw % pool.length;
2367
- return pool[index] ?? CHARACTER_REGISTRY[0]!;
2368
- }