@jjlmoya/utils-tabletop 1.9.0 → 1.11.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.
- package/package.json +1 -1
- package/src/entries.ts +4 -0
- package/src/tests/locale_completeness.test.ts +1 -1
- package/src/tests/tool_validation.test.ts +1 -1
- package/src/tool/decision-wheel/client.ts +5 -1
- package/src/tool/decision-wheel/components/SegmentEditor.astro +1 -1
- package/src/tool/decision-wheel/decision-wheel.css +23 -7
- package/src/tool/hidden-role-dealer/bibliography.astro +16 -0
- package/src/tool/hidden-role-dealer/bibliography.ts +12 -0
- package/src/tool/hidden-role-dealer/client.ts +265 -0
- package/src/tool/hidden-role-dealer/component.astro +184 -0
- package/src/tool/hidden-role-dealer/entry.ts +145 -0
- package/src/tool/hidden-role-dealer/hidden-role-dealer.css +604 -0
- package/src/tool/hidden-role-dealer/i18n/de.ts +195 -0
- package/src/tool/hidden-role-dealer/i18n/en.ts +279 -0
- package/src/tool/hidden-role-dealer/i18n/es.ts +279 -0
- package/src/tool/hidden-role-dealer/i18n/fr.ts +215 -0
- package/src/tool/hidden-role-dealer/i18n/id.ts +191 -0
- package/src/tool/hidden-role-dealer/i18n/it.ts +191 -0
- package/src/tool/hidden-role-dealer/i18n/ja.ts +191 -0
- package/src/tool/hidden-role-dealer/i18n/ko.ts +191 -0
- package/src/tool/hidden-role-dealer/i18n/nl.ts +191 -0
- package/src/tool/hidden-role-dealer/i18n/pl.ts +191 -0
- package/src/tool/hidden-role-dealer/i18n/pt.ts +191 -0
- package/src/tool/hidden-role-dealer/i18n/ru.ts +191 -0
- package/src/tool/hidden-role-dealer/i18n/sv.ts +191 -0
- package/src/tool/hidden-role-dealer/i18n/tr.ts +191 -0
- package/src/tool/hidden-role-dealer/i18n/zh.ts +191 -0
- package/src/tool/hidden-role-dealer/index.ts +10 -0
- package/src/tool/hidden-role-dealer/logic.test.ts +99 -0
- package/src/tool/hidden-role-dealer/logic.ts +134 -0
- package/src/tool/hidden-role-dealer/modules/custom-role-manager.ts +35 -0
- package/src/tool/hidden-role-dealer/modules/dealer-logic.ts +73 -0
- package/src/tool/hidden-role-dealer/modules/hold-controller.ts +38 -0
- package/src/tool/hidden-role-dealer/modules/particle-effects.ts +40 -0
- package/src/tool/hidden-role-dealer/modules/player-manager.ts +44 -0
- package/src/tool/hidden-role-dealer/modules/presets.ts +46 -0
- package/src/tool/hidden-role-dealer/modules/setup-handlers.ts +34 -0
- package/src/tool/hidden-role-dealer/modules/storage.ts +23 -0
- package/src/tool/hidden-role-dealer/modules/utils.ts +18 -0
- package/src/tool/hidden-role-dealer/modules/wizard-html.ts +161 -0
- package/src/tool/hidden-role-dealer/modules/wizard-renderer.ts +161 -0
- package/src/tool/hidden-role-dealer/modules/writer-handler.ts +70 -0
- package/src/tool/hidden-role-dealer/seo.astro +16 -0
- package/src/tool/hidden-role-dealer/types.ts +31 -0
- package/src/tools.ts +2 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import type { TabletopToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
export interface HiddenRoleDealerUI {
|
|
4
|
+
title: string;
|
|
5
|
+
setupTitle: string;
|
|
6
|
+
playerList: string;
|
|
7
|
+
addPlayer: string;
|
|
8
|
+
addPlayerPlaceholder: string;
|
|
9
|
+
rolePool: string;
|
|
10
|
+
presetsTitle: string;
|
|
11
|
+
presetCustom: string;
|
|
12
|
+
dealRoles: string;
|
|
13
|
+
clearPlayers: string;
|
|
14
|
+
instructions: string;
|
|
15
|
+
passTo: string;
|
|
16
|
+
holdToReveal: string;
|
|
17
|
+
releasingResets: string;
|
|
18
|
+
hideRole: string;
|
|
19
|
+
nextPlayer: string;
|
|
20
|
+
finishedTitle: string;
|
|
21
|
+
finishedDesc: string;
|
|
22
|
+
restart: string;
|
|
23
|
+
rolesCount: string;
|
|
24
|
+
playersCount: string;
|
|
25
|
+
mismatchWarning: string;
|
|
26
|
+
werewolfName: string;
|
|
27
|
+
werewolfDesc: string;
|
|
28
|
+
avalonName: string;
|
|
29
|
+
avalonDesc: string;
|
|
30
|
+
hitlerName: string;
|
|
31
|
+
hitlerDesc: string;
|
|
32
|
+
customName: string;
|
|
33
|
+
customDesc: string;
|
|
34
|
+
roleWerewolfName: string;
|
|
35
|
+
roleWerewolfDesc: string;
|
|
36
|
+
roleWerewolfSecret: string;
|
|
37
|
+
roleSeerName: string;
|
|
38
|
+
roleSeerDesc: string;
|
|
39
|
+
roleSeerSecret: string;
|
|
40
|
+
roleDoctorName: string;
|
|
41
|
+
roleDoctorDesc: string;
|
|
42
|
+
roleDoctorSecret: string;
|
|
43
|
+
roleVillagerName: string;
|
|
44
|
+
roleVillagerDesc: string;
|
|
45
|
+
roleVillagerSecret: string;
|
|
46
|
+
roleMerlinName: string;
|
|
47
|
+
roleMerlinDesc: string;
|
|
48
|
+
roleMerlinSecret: string;
|
|
49
|
+
roleAssassinName: string;
|
|
50
|
+
roleAssassinDesc: string;
|
|
51
|
+
roleAssassinSecret: string;
|
|
52
|
+
roleMinionName: string;
|
|
53
|
+
roleMinionDesc: string;
|
|
54
|
+
roleMinionSecret: string;
|
|
55
|
+
roleServantName: string;
|
|
56
|
+
roleServantDesc: string;
|
|
57
|
+
roleServantSecret: string;
|
|
58
|
+
roleHitlerName: string;
|
|
59
|
+
roleHitlerDesc: string;
|
|
60
|
+
roleHitlerSecret: string;
|
|
61
|
+
roleFascistName: string;
|
|
62
|
+
roleFascistDesc: string;
|
|
63
|
+
roleFascistSecret: string;
|
|
64
|
+
roleLiberalName: string;
|
|
65
|
+
roleLiberalDesc: string;
|
|
66
|
+
roleLiberalSecret: string;
|
|
67
|
+
roleCustomName: string;
|
|
68
|
+
roleCustomDesc: string;
|
|
69
|
+
roleCustomSecret: string;
|
|
70
|
+
teamWerewolves: string;
|
|
71
|
+
teamVillagers: string;
|
|
72
|
+
teamGood: string;
|
|
73
|
+
teamEvil: string;
|
|
74
|
+
teamFascist: string;
|
|
75
|
+
teamLiberal: string;
|
|
76
|
+
teamCustom: string;
|
|
77
|
+
secretRoleIs: string;
|
|
78
|
+
customRolesTitle: string;
|
|
79
|
+
customRolePlaceholder: string;
|
|
80
|
+
neutralLabel: string;
|
|
81
|
+
goodLabel: string;
|
|
82
|
+
evilLabel: string;
|
|
83
|
+
customMismatchWarning: string;
|
|
84
|
+
impostorPresetName: string;
|
|
85
|
+
impostorPresetDesc: string;
|
|
86
|
+
impostorTitle: string;
|
|
87
|
+
impostorWarning: string;
|
|
88
|
+
roleImpostorName: string;
|
|
89
|
+
roleImpostorDesc: string;
|
|
90
|
+
roleImpostorSecret: string;
|
|
91
|
+
roleCrewmateName: string;
|
|
92
|
+
roleCrewmateDesc: string;
|
|
93
|
+
roleCrewmateSecret: string;
|
|
94
|
+
teamImpostor: string;
|
|
95
|
+
teamCrewmate: string;
|
|
96
|
+
impostorSharedSecretLabel: string;
|
|
97
|
+
impostorSharedSecretPlaceholder: string;
|
|
98
|
+
impostorModeLabel: string;
|
|
99
|
+
impostorModeFixed: string;
|
|
100
|
+
impostorModePercentage: string;
|
|
101
|
+
impostorModeRange: string;
|
|
102
|
+
impostorFixedLabel: string;
|
|
103
|
+
impostorPercentageLabel: string;
|
|
104
|
+
impostorRangeMinLabel: string;
|
|
105
|
+
impostorRangeMaxLabel: string;
|
|
106
|
+
impostorWriterLabel: string;
|
|
107
|
+
impostorWriterRandom: string;
|
|
108
|
+
roleWriterName: string;
|
|
109
|
+
roleWriterDesc: string;
|
|
110
|
+
writerInputPrompt: string;
|
|
111
|
+
writerInputPlaceholder: string;
|
|
112
|
+
btnSetWord: string;
|
|
113
|
+
impostorWriterPreround: string;
|
|
114
|
+
impostorWriterDescHost: string;
|
|
115
|
+
impostorWriterDescPreround: string;
|
|
116
|
+
impostorWriterDescPlayer: string;
|
|
117
|
+
preroundPassTitle: string;
|
|
118
|
+
preroundInputPrompt: string;
|
|
119
|
+
preroundPassHint: string;
|
|
120
|
+
btnSubmitWord: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export type HiddenRoleDealerLocaleContent = ToolLocaleContent<HiddenRoleDealerUI>;
|
|
124
|
+
|
|
125
|
+
export const hiddenRoleDealer: TabletopToolEntry<HiddenRoleDealerUI> = {
|
|
126
|
+
id: 'hidden-role-dealer',
|
|
127
|
+
icons: { bg: 'mdi:incognito', fg: 'mdi:incognito-circle' },
|
|
128
|
+
i18n: {
|
|
129
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
130
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
131
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
132
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
133
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
134
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
135
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
136
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
137
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
138
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
139
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
140
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
141
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
142
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
143
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
144
|
+
},
|
|
145
|
+
};
|