rpg-engine 0.1.2 → 0.2.1
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/README.md +3 -1
- package/dist/campaign/index.d.ts +1 -1
- package/dist/campaign/index.js +1 -1
- package/dist/campaign/settings.d.ts +5 -1
- package/dist/campaign/settings.js +18 -3
- package/dist/command-line.js +26 -8
- package/dist/commands/advance.js +26 -7
- package/dist/commands/ask.d.ts +6 -0
- package/dist/commands/ask.js +3 -3
- package/dist/commands/config.js +40 -10
- package/dist/commands/game-advance.d.ts +6 -0
- package/dist/commands/game-advance.js +9 -2
- package/dist/commands/game-extension-list.d.ts +27 -0
- package/dist/commands/game-extension-list.js +92 -0
- package/dist/commands/game-extensions.d.ts +27 -0
- package/dist/commands/game-extensions.js +177 -0
- package/dist/commands/game-mode.js +2 -1
- package/dist/commands/game-time.d.ts +15 -3
- package/dist/commands/game-time.js +76 -6
- package/dist/commands/game-world.js +6 -3
- package/dist/commands/index.js +2 -0
- package/dist/commands/package.d.ts +64 -0
- package/dist/commands/package.js +293 -0
- package/dist/commands/problems.js +3 -1
- package/dist/commands/scene.d.ts +3 -3
- package/dist/commands/sheet.js +7 -1
- package/dist/commands/status.d.ts +1 -0
- package/dist/commands/status.js +10 -5
- package/dist/commands/travel.js +4 -2
- package/dist/commands/validate.js +4 -2
- package/dist/commands/view.d.ts +5 -0
- package/dist/commands/view.js +3 -1
- package/dist/core/context.d.ts +38 -0
- package/dist/core/context.js +11 -0
- package/dist/core/instruction-parts.d.ts +10 -0
- package/dist/core/instruction-parts.js +32 -0
- package/dist/core/store.d.ts +2 -0
- package/dist/core/store.js +8 -0
- package/dist/dashboard/app.js +2 -1
- package/dist/dashboard/game-words.js +21 -0
- package/dist/dashboard/i18n/ar.json +7 -0
- package/dist/dashboard/i18n/cs.json +7 -0
- package/dist/dashboard/i18n/da.json +7 -0
- package/dist/dashboard/i18n/de.json +7 -0
- package/dist/dashboard/i18n/el.json +7 -0
- package/dist/dashboard/i18n/es.json +7 -0
- package/dist/dashboard/i18n/fi.json +7 -0
- package/dist/dashboard/i18n/fr.json +7 -0
- package/dist/dashboard/i18n/he.json +7 -0
- package/dist/dashboard/i18n/hi.json +7 -0
- package/dist/dashboard/i18n/hu.json +7 -0
- package/dist/dashboard/i18n/is.json +7 -0
- package/dist/dashboard/i18n/it.json +7 -0
- package/dist/dashboard/i18n/ja.json +7 -0
- package/dist/dashboard/i18n/ko.json +7 -0
- package/dist/dashboard/i18n/nb.json +7 -0
- package/dist/dashboard/i18n/nl.json +7 -0
- package/dist/dashboard/i18n/pl.json +7 -0
- package/dist/dashboard/i18n/pt.json +7 -0
- package/dist/dashboard/i18n/ro.json +7 -0
- package/dist/dashboard/i18n/ru.json +7 -0
- package/dist/dashboard/i18n/sv.json +7 -0
- package/dist/dashboard/i18n/tr.json +7 -0
- package/dist/dashboard/i18n/uk.json +7 -0
- package/dist/dashboard/i18n/zh.json +7 -0
- package/dist/dashboard/icons.js +1 -0
- package/dist/dashboard/top.js +5 -5
- package/dist/extensions/api.d.ts +73 -0
- package/dist/extensions/api.js +1 -0
- package/dist/extensions/extension.d.ts +43 -0
- package/dist/extensions/extension.js +113 -0
- package/dist/extensions/index.d.ts +3 -0
- package/dist/extensions/index.js +2 -0
- package/dist/extensions/packages.d.ts +11 -0
- package/dist/extensions/packages.js +155 -0
- package/dist/index.d.ts +1 -0
- package/dist/mcp-server.js +50 -4
- package/dist/systems/game-system.d.ts +1 -5
- package/dist/systems/game-system.js +6 -31
- package/dist/systems/index.d.ts +1 -1
- package/dist/time/calendar.d.ts +36 -0
- package/dist/time/calendar.js +84 -0
- package/dist/time/index.d.ts +1 -0
- package/dist/time/index.js +2 -1
- package/package.json +2 -3
- package/systems/5e/instructions/play.md +1 -0
- package/systems/5e/system.yaml +2 -0
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "{count} cose",
|
|
10
10
|
"{count} things that happened": "{count} cose accadute",
|
|
11
11
|
"{date} in the game": "{date} nel gioco",
|
|
12
|
+
"{date}, {season}": "{date}, {season}",
|
|
13
|
+
"{day} {month}": "{day} {month}",
|
|
14
|
+
"{day} {month} {year}": "{day} {month} {year}",
|
|
12
15
|
"{days}d": "{days}g",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice}, tiro libero, non registrato",
|
|
14
17
|
"{distance} {direction}": "{distance} a {direction}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "a {place}",
|
|
87
90
|
"At hand": "A portata di mano",
|
|
88
91
|
"at least {points} at level {level}": "almeno {points} al livello {level}",
|
|
92
|
+
"autumn": "autunno",
|
|
89
93
|
"Back": "Indietro",
|
|
90
94
|
"Back here if your character dies": "Si torna qui se il tuo personaggio muore",
|
|
91
95
|
"Back to {save}.": "Tornati a {save}.",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "sud-sud-est",
|
|
495
499
|
"south-south-west": "sud-sud-ovest",
|
|
496
500
|
"south-west": "sud-ovest",
|
|
501
|
+
"spring": "primavera",
|
|
497
502
|
"Start over": "Ricomincia",
|
|
498
503
|
"Start the campaign over?": "Ricominciare la campagna?",
|
|
499
504
|
"Start the campaign over…": "Ricomincia la campagna…",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "Storie",
|
|
504
509
|
"Story": "Storia",
|
|
505
510
|
"Suggested": "Consigliata",
|
|
511
|
+
"summer": "estate",
|
|
506
512
|
"Support {product}": "Sostieni {product}",
|
|
507
513
|
"surprised": "sorpresa",
|
|
508
514
|
"Swamp": "Palude",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "Dove si trova il gruppo",
|
|
630
636
|
"Who is where": "Chi è dove",
|
|
631
637
|
"who rolls your character's dice": "chi tira i dadi del tuo personaggio",
|
|
638
|
+
"winter": "inverno",
|
|
632
639
|
"With a new character": "Con un personaggio nuovo",
|
|
633
640
|
"With the same character": "Con lo stesso personaggio",
|
|
634
641
|
"Within": "Dentro",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "{count}件",
|
|
10
10
|
"{count} things that happened": "出来事{count}件",
|
|
11
11
|
"{date} in the game": "ゲーム内の{date}",
|
|
12
|
+
"{date}, {season}": "{date}、{season}",
|
|
13
|
+
"{day} {month}": "{month}{day}日",
|
|
14
|
+
"{day} {month} {year}": "{year}年{month}{day}日",
|
|
12
15
|
"{days}d": "{days}日",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice}、フリーロール、記録なし",
|
|
14
17
|
"{distance} {direction}": "{direction}へ{distance}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "場所:{place}",
|
|
87
90
|
"At hand": "手元",
|
|
88
91
|
"at least {points} at level {level}": "レベル{level}には最低{points}",
|
|
92
|
+
"autumn": "秋",
|
|
89
93
|
"Back": "戻る",
|
|
90
94
|
"Back here if your character dies": "キャラクターが死亡した場合はここに戻ります",
|
|
91
95
|
"Back to {save}.": "{save}に戻りました。",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "南南東",
|
|
495
499
|
"south-south-west": "南南西",
|
|
496
500
|
"south-west": "南西",
|
|
501
|
+
"spring": "春",
|
|
497
502
|
"Start over": "最初からやり直す",
|
|
498
503
|
"Start the campaign over?": "キャンペーンを最初からやり直しますか?",
|
|
499
504
|
"Start the campaign over…": "キャンペーンを最初からやり直す…",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "ストーリー",
|
|
504
509
|
"Story": "ストーリー",
|
|
505
510
|
"Suggested": "おすすめ",
|
|
511
|
+
"summer": "夏",
|
|
506
512
|
"Support {product}": "{product}を支援",
|
|
507
513
|
"surprised": "驚き",
|
|
508
514
|
"Swamp": "沼地",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "パーティの現在地",
|
|
630
636
|
"Who is where": "誰がどこに",
|
|
631
637
|
"who rolls your character's dice": "キャラクターのダイスを振る人",
|
|
638
|
+
"winter": "冬",
|
|
632
639
|
"With a new character": "新しいキャラクターで",
|
|
633
640
|
"With the same character": "同じキャラクターで",
|
|
634
641
|
"Within": "内部",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "{count}건",
|
|
10
10
|
"{count} things that happened": "일어난 일 {count}건",
|
|
11
11
|
"{date} in the game": "게임 속 {date}",
|
|
12
|
+
"{date}, {season}": "{date}, {season}",
|
|
13
|
+
"{day} {month}": "{month} {day}일",
|
|
14
|
+
"{day} {month} {year}": "{year}년 {month} {day}일",
|
|
12
15
|
"{days}d": "{days}일",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice}, 자유 굴림, 기록되지 않음",
|
|
14
17
|
"{distance} {direction}": "{direction}쪽 {distance}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "장소: {place}",
|
|
87
90
|
"At hand": "손에 든 것",
|
|
88
91
|
"at least {points} at level {level}": "{level}레벨에 최소 {points}",
|
|
92
|
+
"autumn": "가을",
|
|
89
93
|
"Back": "이전",
|
|
90
94
|
"Back here if your character dies": "캐릭터가 사망하면 여기로 돌아와요",
|
|
91
95
|
"Back to {save}.": "{save}(으)로 돌아왔어요.",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "남남동",
|
|
495
499
|
"south-south-west": "남남서",
|
|
496
500
|
"south-west": "남서",
|
|
501
|
+
"spring": "봄",
|
|
497
502
|
"Start over": "처음부터 다시",
|
|
498
503
|
"Start the campaign over?": "캠페인을 처음부터 다시 시작할까요?",
|
|
499
504
|
"Start the campaign over…": "캠페인 처음부터 다시…",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "스토리",
|
|
504
509
|
"Story": "이야기",
|
|
505
510
|
"Suggested": "추천",
|
|
511
|
+
"summer": "여름",
|
|
506
512
|
"Support {product}": "{product} 후원하기",
|
|
507
513
|
"surprised": "놀람",
|
|
508
514
|
"Swamp": "늪",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "파티의 위치",
|
|
630
636
|
"Who is where": "누가 어디에",
|
|
631
637
|
"who rolls your character's dice": "캐릭터의 주사위를 굴리는 주체",
|
|
638
|
+
"winter": "겨울",
|
|
632
639
|
"With a new character": "새 캐릭터로",
|
|
633
640
|
"With the same character": "같은 캐릭터로",
|
|
634
641
|
"Within": "내부",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "{count} ting",
|
|
10
10
|
"{count} things that happened": "{count} ting som skjedde",
|
|
11
11
|
"{date} in the game": "{date} i spillet",
|
|
12
|
+
"{date}, {season}": "{date}, {season}",
|
|
13
|
+
"{day} {month}": "{day}. {month}",
|
|
14
|
+
"{day} {month} {year}": "{day}. {month} {year}",
|
|
12
15
|
"{days}d": "{days} d",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice}, fritt kast, ikke loggført",
|
|
14
17
|
"{distance} {direction}": "{distance} mot {direction}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "ved {place}",
|
|
87
90
|
"At hand": "For hånden",
|
|
88
91
|
"at least {points} at level {level}": "minst {points} på nivå {level}",
|
|
92
|
+
"autumn": "høst",
|
|
89
93
|
"Back": "Tilbake",
|
|
90
94
|
"Back here if your character dies": "Du går tilbake hit hvis karakteren din dør",
|
|
91
95
|
"Back to {save}.": "Tilbake til {save}.",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "sør-sørøst",
|
|
495
499
|
"south-south-west": "sør-sørvest",
|
|
496
500
|
"south-west": "sørvest",
|
|
501
|
+
"spring": "vår",
|
|
497
502
|
"Start over": "Start på nytt",
|
|
498
503
|
"Start the campaign over?": "Starte kampanjen på nytt?",
|
|
499
504
|
"Start the campaign over…": "Start kampanjen på nytt …",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "Historier",
|
|
504
509
|
"Story": "Historie",
|
|
505
510
|
"Suggested": "Foreslått",
|
|
511
|
+
"summer": "sommer",
|
|
506
512
|
"Support {product}": "Støtt {product}",
|
|
507
513
|
"surprised": "overrasket",
|
|
508
514
|
"Swamp": "Myr",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "Hvor gruppen er",
|
|
630
636
|
"Who is where": "Hvem er hvor",
|
|
631
637
|
"who rolls your character's dice": "hvem som kaster terningene til karakteren din",
|
|
638
|
+
"winter": "vinter",
|
|
632
639
|
"With a new character": "Med en ny karakter",
|
|
633
640
|
"With the same character": "Med samme karakter",
|
|
634
641
|
"Within": "Innenfor",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "{count} dingen",
|
|
10
10
|
"{count} things that happened": "{count} gebeurtenissen",
|
|
11
11
|
"{date} in the game": "{date} in het spel",
|
|
12
|
+
"{date}, {season}": "{date}, {season}",
|
|
13
|
+
"{day} {month}": "{day} {month}",
|
|
14
|
+
"{day} {month} {year}": "{day} {month} {year}",
|
|
12
15
|
"{days}d": "{days}d",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice}, vrije worp, niet vastgelegd",
|
|
14
17
|
"{distance} {direction}": "{distance} richting {direction}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "bij {place}",
|
|
87
90
|
"At hand": "Binnen handbereik",
|
|
88
91
|
"at least {points} at level {level}": "minstens {points} op niveau {level}",
|
|
92
|
+
"autumn": "herfst",
|
|
89
93
|
"Back": "Terug",
|
|
90
94
|
"Back here if your character dies": "Hierheen terug als je personage sterft",
|
|
91
95
|
"Back to {save}.": "Terug naar {save}.",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "zuid-zuid-oost",
|
|
495
499
|
"south-south-west": "zuid-zuid-west",
|
|
496
500
|
"south-west": "zuid-west",
|
|
501
|
+
"spring": "lente",
|
|
497
502
|
"Start over": "Opnieuw beginnen",
|
|
498
503
|
"Start the campaign over?": "De campagne opnieuw beginnen?",
|
|
499
504
|
"Start the campaign over…": "De campagne opnieuw beginnen…",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "Verhalen",
|
|
504
509
|
"Story": "Verhaal",
|
|
505
510
|
"Suggested": "Aanbevolen",
|
|
511
|
+
"summer": "zomer",
|
|
506
512
|
"Support {product}": "Steun {product}",
|
|
507
513
|
"surprised": "verrast",
|
|
508
514
|
"Swamp": "Moeras",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "Waar de groep is",
|
|
630
636
|
"Who is where": "Wie waar is",
|
|
631
637
|
"who rolls your character's dice": "wie de dobbelstenen van je personage gooit",
|
|
638
|
+
"winter": "winter",
|
|
632
639
|
"With a new character": "Met een nieuw personage",
|
|
633
640
|
"With the same character": "Met hetzelfde personage",
|
|
634
641
|
"Within": "Binnen",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "{count} rzeczy",
|
|
10
10
|
"{count} things that happened": "{count} wydarzeń",
|
|
11
11
|
"{date} in the game": "{date} w grze",
|
|
12
|
+
"{date}, {season}": "{date}, {season}",
|
|
13
|
+
"{day} {month}": "{day} {month}",
|
|
14
|
+
"{day} {month} {year}": "{day} {month} {year}",
|
|
12
15
|
"{days}d": "{days} d",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice}, swobodny rzut, nie jest zapisywany w dzienniku",
|
|
14
17
|
"{distance} {direction}": "{distance} – {direction}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "w: {place}",
|
|
87
90
|
"At hand": "Pod ręką",
|
|
88
91
|
"at least {points} at level {level}": "co najmniej {points} na poziomie {level}",
|
|
92
|
+
"autumn": "jesień",
|
|
89
93
|
"Back": "Wstecz",
|
|
90
94
|
"Back here if your character dies": "Powrót tutaj, jeśli postać zginie",
|
|
91
95
|
"Back to {save}.": "Powrót do {save}.",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "południe-południowy wschód",
|
|
495
499
|
"south-south-west": "południe-południowy zachód",
|
|
496
500
|
"south-west": "południowy zachód",
|
|
501
|
+
"spring": "wiosna",
|
|
497
502
|
"Start over": "Zacznij od nowa",
|
|
498
503
|
"Start the campaign over?": "Zacząć kampanię od nowa?",
|
|
499
504
|
"Start the campaign over…": "Zacznij kampanię od nowa…",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "Historie",
|
|
504
509
|
"Story": "Historia",
|
|
505
510
|
"Suggested": "Polecane",
|
|
511
|
+
"summer": "lato",
|
|
506
512
|
"Support {product}": "Wesprzyj {product}",
|
|
507
513
|
"surprised": "zaskoczony",
|
|
508
514
|
"Swamp": "Bagno",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "Gdzie jest drużyna",
|
|
630
636
|
"Who is where": "Kto gdzie jest",
|
|
631
637
|
"who rolls your character's dice": "kto rzuca kośćmi twojej postaci",
|
|
638
|
+
"winter": "zima",
|
|
632
639
|
"With a new character": "Z nową postacią",
|
|
633
640
|
"With the same character": "Z tą samą postacią",
|
|
634
641
|
"Within": "Wewnątrz",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "{count} coisas",
|
|
10
10
|
"{count} things that happened": "{count} acontecimentos",
|
|
11
11
|
"{date} in the game": "{date} no jogo",
|
|
12
|
+
"{date}, {season}": "{date}, {season}",
|
|
13
|
+
"{day} {month}": "{day} de {month}",
|
|
14
|
+
"{day} {month} {year}": "{day} de {month} de {year}",
|
|
12
15
|
"{days}d": "{days}d",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice}, rolagem livre, não registrada",
|
|
14
17
|
"{distance} {direction}": "{distance} ao {direction}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "em {place}",
|
|
87
90
|
"At hand": "À mão",
|
|
88
91
|
"at least {points} at level {level}": "pelo menos {points} no nível {level}",
|
|
92
|
+
"autumn": "outono",
|
|
89
93
|
"Back": "Voltar",
|
|
90
94
|
"Back here if your character dies": "Você volta aqui se seu personagem morrer",
|
|
91
95
|
"Back to {save}.": "De volta a {save}.",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "su-sudeste",
|
|
495
499
|
"south-south-west": "su-sudoeste",
|
|
496
500
|
"south-west": "sudoeste",
|
|
501
|
+
"spring": "primavera",
|
|
497
502
|
"Start over": "Recomeçar",
|
|
498
503
|
"Start the campaign over?": "Recomeçar a campanha?",
|
|
499
504
|
"Start the campaign over…": "Recomeçar a campanha…",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "Histórias",
|
|
504
509
|
"Story": "História",
|
|
505
510
|
"Suggested": "Sugerida",
|
|
511
|
+
"summer": "verão",
|
|
506
512
|
"Support {product}": "Apoiar o {product}",
|
|
507
513
|
"surprised": "surpreso",
|
|
508
514
|
"Swamp": "Pântano",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "Onde o grupo está",
|
|
630
636
|
"Who is where": "Quem está onde",
|
|
631
637
|
"who rolls your character's dice": "quem rola os dados do seu personagem",
|
|
638
|
+
"winter": "inverno",
|
|
632
639
|
"With a new character": "Com um novo personagem",
|
|
633
640
|
"With the same character": "Com o mesmo personagem",
|
|
634
641
|
"Within": "Dentro",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "{count} lucruri",
|
|
10
10
|
"{count} things that happened": "{count} întâmplări",
|
|
11
11
|
"{date} in the game": "{date} în joc",
|
|
12
|
+
"{date}, {season}": "{date}, {season}",
|
|
13
|
+
"{day} {month}": "{day} {month}",
|
|
14
|
+
"{day} {month} {year}": "{day} {month} {year}",
|
|
12
15
|
"{days}d": "{days}z",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice}, aruncare liberă, neînregistrată",
|
|
14
17
|
"{distance} {direction}": "{distance} spre {direction}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "la {place}",
|
|
87
90
|
"At hand": "La îndemână",
|
|
88
91
|
"at least {points} at level {level}": "cel puțin {points} la nivelul {level}",
|
|
92
|
+
"autumn": "toamnă",
|
|
89
93
|
"Back": "Înapoi",
|
|
90
94
|
"Back here if your character dies": "Revii aici dacă personajul tău moare",
|
|
91
95
|
"Back to {save}.": "Ai revenit la {save}.",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "sud-sud-est",
|
|
495
499
|
"south-south-west": "sud-sud-vest",
|
|
496
500
|
"south-west": "sud-vest",
|
|
501
|
+
"spring": "primăvară",
|
|
497
502
|
"Start over": "Reia de la capăt",
|
|
498
503
|
"Start the campaign over?": "Reiei campania de la capăt?",
|
|
499
504
|
"Start the campaign over…": "Reia campania de la capăt…",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "Povești",
|
|
504
509
|
"Story": "Poveste",
|
|
505
510
|
"Suggested": "Sugerat",
|
|
511
|
+
"summer": "vară",
|
|
506
512
|
"Support {product}": "Susține {product}",
|
|
507
513
|
"surprised": "surprins",
|
|
508
514
|
"Swamp": "Mlaștină",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "Unde se află grupul",
|
|
630
636
|
"Who is where": "Cine unde e",
|
|
631
637
|
"who rolls your character's dice": "cine aruncă zarurile personajului tău",
|
|
638
|
+
"winter": "iarnă",
|
|
632
639
|
"With a new character": "Cu un personaj nou",
|
|
633
640
|
"With the same character": "Cu același personaj",
|
|
634
641
|
"Within": "Înăuntru",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "События: {count}",
|
|
10
10
|
"{count} things that happened": "События: {count}",
|
|
11
11
|
"{date} in the game": "{date} в игре",
|
|
12
|
+
"{date}, {season}": "{date}, {season}",
|
|
13
|
+
"{day} {month}": "{day} {month}",
|
|
14
|
+
"{day} {month} {year}": "{day} {month} {year}",
|
|
12
15
|
"{days}d": "{days} д",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice}, свободный бросок, не записывается",
|
|
14
17
|
"{distance} {direction}": "{distance}, {direction}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "в {place}",
|
|
87
90
|
"At hand": "Под рукой",
|
|
88
91
|
"at least {points} at level {level}": "минимум {points} на уровне {level}",
|
|
92
|
+
"autumn": "осень",
|
|
89
93
|
"Back": "Назад",
|
|
90
94
|
"Back here if your character dies": "Сюда вернёшься, если персонаж погибнет",
|
|
91
95
|
"Back to {save}.": "Возврат к {save}.",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "юго-юго-восток",
|
|
495
499
|
"south-south-west": "юго-юго-запад",
|
|
496
500
|
"south-west": "юго-запад",
|
|
501
|
+
"spring": "весна",
|
|
497
502
|
"Start over": "Начать заново",
|
|
498
503
|
"Start the campaign over?": "Начать кампанию заново?",
|
|
499
504
|
"Start the campaign over…": "Начать кампанию заново…",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "Истории",
|
|
504
509
|
"Story": "История",
|
|
505
510
|
"Suggested": "Рекомендуется",
|
|
511
|
+
"summer": "лето",
|
|
506
512
|
"Support {product}": "Поддержать {product}",
|
|
507
513
|
"surprised": "удивлён",
|
|
508
514
|
"Swamp": "Болото",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "Где находится отряд",
|
|
630
636
|
"Who is where": "Кто где",
|
|
631
637
|
"who rolls your character's dice": "кто бросает кубики твоего персонажа",
|
|
638
|
+
"winter": "зима",
|
|
632
639
|
"With a new character": "С новым персонажем",
|
|
633
640
|
"With the same character": "С тем же персонажем",
|
|
634
641
|
"Within": "Внутри",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "{count} saker",
|
|
10
10
|
"{count} things that happened": "{count} händelser",
|
|
11
11
|
"{date} in the game": "{date} i spelet",
|
|
12
|
+
"{date}, {season}": "{date}, {season}",
|
|
13
|
+
"{day} {month}": "{day} {month}",
|
|
14
|
+
"{day} {month} {year}": "{day} {month} {year}",
|
|
12
15
|
"{days}d": "{days} d",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice}, fritt slag, loggas inte",
|
|
14
17
|
"{distance} {direction}": "{distance} åt {direction}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "vid {place}",
|
|
87
90
|
"At hand": "Till hands",
|
|
88
91
|
"at least {points} at level {level}": "minst {points} på nivå {level}",
|
|
92
|
+
"autumn": "höst",
|
|
89
93
|
"Back": "Tillbaka",
|
|
90
94
|
"Back here if your character dies": "Hit går du tillbaka om din rollperson dör",
|
|
91
95
|
"Back to {save}.": "Tillbaka till {save}.",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "syd-sydost",
|
|
495
499
|
"south-south-west": "syd-sydväst",
|
|
496
500
|
"south-west": "sydväst",
|
|
501
|
+
"spring": "vår",
|
|
497
502
|
"Start over": "Börja om",
|
|
498
503
|
"Start the campaign over?": "Börja om kampanjen?",
|
|
499
504
|
"Start the campaign over…": "Börja om kampanjen…",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "Berättelser",
|
|
504
509
|
"Story": "Berättelse",
|
|
505
510
|
"Suggested": "Föreslagen",
|
|
511
|
+
"summer": "sommar",
|
|
506
512
|
"Support {product}": "Stöd {product}",
|
|
507
513
|
"surprised": "förvånad",
|
|
508
514
|
"Swamp": "Träsk",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "Var gruppen befinner sig",
|
|
630
636
|
"Who is where": "Vem är var",
|
|
631
637
|
"who rolls your character's dice": "vem som slår din rollpersons tärningar",
|
|
638
|
+
"winter": "vinter",
|
|
632
639
|
"With a new character": "Med en ny rollperson",
|
|
633
640
|
"With the same character": "Med samma rollperson",
|
|
634
641
|
"Within": "Inuti",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "{count} şey",
|
|
10
10
|
"{count} things that happened": "{count} olay",
|
|
11
11
|
"{date} in the game": "oyunda {date}",
|
|
12
|
+
"{date}, {season}": "{date}, {season}",
|
|
13
|
+
"{day} {month}": "{day} {month}",
|
|
14
|
+
"{day} {month} {year}": "{day} {month} {year}",
|
|
12
15
|
"{days}d": "{days}g",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice}, serbest atış, günlüğe işlenmedi",
|
|
14
17
|
"{distance} {direction}": "{direction} yönünde {distance}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "{place} konumunda",
|
|
87
90
|
"At hand": "Elinin altında",
|
|
88
91
|
"at least {points} at level {level}": "{level}. seviyede en az {points}",
|
|
92
|
+
"autumn": "sonbahar",
|
|
89
93
|
"Back": "Geri",
|
|
90
94
|
"Back here if your character dies": "Karakterin ölürse buraya dönülür",
|
|
91
95
|
"Back to {save}.": "Şu kayda dönüldü: {save}.",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "güney-güneydoğu",
|
|
495
499
|
"south-south-west": "güney-güneybatı",
|
|
496
500
|
"south-west": "güneybatı",
|
|
501
|
+
"spring": "ilkbahar",
|
|
497
502
|
"Start over": "Baştan başla",
|
|
498
503
|
"Start the campaign over?": "Kampanya baştan başlatılsın mı?",
|
|
499
504
|
"Start the campaign over…": "Kampanyayı baştan başlat…",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "Hikâyeler",
|
|
504
509
|
"Story": "Hikâye",
|
|
505
510
|
"Suggested": "Önerilen",
|
|
511
|
+
"summer": "yaz",
|
|
506
512
|
"Support {product}": "{product} projesine destek ol",
|
|
507
513
|
"surprised": "şaşkın",
|
|
508
514
|
"Swamp": "Bataklık",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "Grubun bulunduğu yer",
|
|
630
636
|
"Who is where": "Kim nerede",
|
|
631
637
|
"who rolls your character's dice": "karakterinin zarlarını kim atar",
|
|
638
|
+
"winter": "kış",
|
|
632
639
|
"With a new character": "Yeni bir karakterle",
|
|
633
640
|
"With the same character": "Aynı karakterle",
|
|
634
641
|
"Within": "İçinde",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "Подій: {count}",
|
|
10
10
|
"{count} things that happened": "Подій: {count}",
|
|
11
11
|
"{date} in the game": "{date} у грі",
|
|
12
|
+
"{date}, {season}": "{date}, {season}",
|
|
13
|
+
"{day} {month}": "{day} {month}",
|
|
14
|
+
"{day} {month} {year}": "{day} {month} {year}",
|
|
12
15
|
"{days}d": "{days} д",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice}, вільний кидок, не записується",
|
|
14
17
|
"{distance} {direction}": "{distance}, {direction}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "у {place}",
|
|
87
90
|
"At hand": "Напохваті",
|
|
88
91
|
"at least {points} at level {level}": "щонайменше {points} на рівні {level}",
|
|
92
|
+
"autumn": "осінь",
|
|
89
93
|
"Back": "Назад",
|
|
90
94
|
"Back here if your character dies": "Повернення сюди, якщо твій персонаж загине",
|
|
91
95
|
"Back to {save}.": "Повернено до {save}.",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "південно-південний схід",
|
|
495
499
|
"south-south-west": "південно-південний захід",
|
|
496
500
|
"south-west": "південний захід",
|
|
501
|
+
"spring": "весна",
|
|
497
502
|
"Start over": "Почати знову",
|
|
498
503
|
"Start the campaign over?": "Почати кампанію знову?",
|
|
499
504
|
"Start the campaign over…": "Почати кампанію знову…",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "Історії",
|
|
504
509
|
"Story": "Історія",
|
|
505
510
|
"Suggested": "Рекомендовано",
|
|
511
|
+
"summer": "літо",
|
|
506
512
|
"Support {product}": "Підтримати {product}",
|
|
507
513
|
"surprised": "здивований",
|
|
508
514
|
"Swamp": "Болото",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "Де зараз загін",
|
|
630
636
|
"Who is where": "Хто де",
|
|
631
637
|
"who rolls your character's dice": "хто кидає кубики персонажа",
|
|
638
|
+
"winter": "зима",
|
|
632
639
|
"With a new character": "З новим персонажем",
|
|
633
640
|
"With the same character": "З тим самим персонажем",
|
|
634
641
|
"Within": "Усередині",
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"{count} things": "{count}件事",
|
|
10
10
|
"{count} things that happened": "发生了{count}件事",
|
|
11
11
|
"{date} in the game": "游戏内{date}",
|
|
12
|
+
"{date}, {season}": "{date},{season}",
|
|
13
|
+
"{day} {month}": "{month}{day}日",
|
|
14
|
+
"{day} {month} {year}": "{year}年{month}{day}日",
|
|
12
15
|
"{days}d": "{days}天",
|
|
13
16
|
"{dice}, free roll, not logged": "{dice},自由掷骰,不记录",
|
|
14
17
|
"{distance} {direction}": "{direction}{distance}",
|
|
@@ -86,6 +89,7 @@
|
|
|
86
89
|
"at {place}": "在{place}",
|
|
87
90
|
"At hand": "随身",
|
|
88
91
|
"at least {points} at level {level}": "{level}级至少需要{points}",
|
|
92
|
+
"autumn": "秋季",
|
|
89
93
|
"Back": "返回",
|
|
90
94
|
"Back here if your character dies": "角色死亡时会回到这里",
|
|
91
95
|
"Back to {save}.": "已回到{save}。",
|
|
@@ -494,6 +498,7 @@
|
|
|
494
498
|
"south-south-east": "东南偏南",
|
|
495
499
|
"south-south-west": "西南偏南",
|
|
496
500
|
"south-west": "西南",
|
|
501
|
+
"spring": "春季",
|
|
497
502
|
"Start over": "重新开始",
|
|
498
503
|
"Start the campaign over?": "重新开始战役?",
|
|
499
504
|
"Start the campaign over…": "重新开始战役…",
|
|
@@ -503,6 +508,7 @@
|
|
|
503
508
|
"Stories": "故事",
|
|
504
509
|
"Story": "故事",
|
|
505
510
|
"Suggested": "推荐",
|
|
511
|
+
"summer": "夏季",
|
|
506
512
|
"Support {product}": "支持 {product}",
|
|
507
513
|
"surprised": "惊讶",
|
|
508
514
|
"Swamp": "沼泽",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"Where the party is": "队伍所在位置",
|
|
630
636
|
"Who is where": "谁在哪里",
|
|
631
637
|
"who rolls your character's dice": "谁来替你的角色掷骰",
|
|
638
|
+
"winter": "冬季",
|
|
632
639
|
"With a new character": "使用新角色",
|
|
633
640
|
"With the same character": "沿用同一角色",
|
|
634
641
|
"Within": "内部",
|
package/dist/dashboard/icons.js
CHANGED
|
@@ -28,6 +28,7 @@ const iconPaths = {
|
|
|
28
28
|
river: "M3 8c3 2 6-2 9 0s6-2 9 0 M3 14c3 2 6-2 9 0s6-2 9 0",
|
|
29
29
|
close: "M6 6l12 12 M18 6 6 18",
|
|
30
30
|
clock: "M12 3a9 9 0 1 0 0 18a9 9 0 1 0 0-18Z M12 7.5V12l3 2",
|
|
31
|
+
calendar: "M4 6h16v14H4Z M4 10h16 M8 3v4 M16 3v4",
|
|
31
32
|
hourglass: "M7 3h10M7 21h10M8 3c0 5 8 5 8 9s-8 4-8 9M16 3c0 5-8 5-8 9s8 4 8 9",
|
|
32
33
|
place: "M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11Z M12 7.5a2.5 2.5 0 1 0 0 5a2.5 2.5 0 1 0 0-5Z",
|
|
33
34
|
aside: "M6 6l6 6-6 6 M12 6l6 6-6 6",
|
package/dist/dashboard/top.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "preact/jsx-runtime";
|
|
2
2
|
import { useEffect, useLayoutEffect, useRef, useState } from "preact/hooks";
|
|
3
3
|
import { menuPages, sectionAddress, sectionLabel, sections } from "./address.js";
|
|
4
|
-
import { gameDateLabel } from "./game-words.js";
|
|
4
|
+
import { calendarDayLabel, gameDateLabel } from "./game-words.js";
|
|
5
5
|
import { Icon } from "./icons.js";
|
|
6
6
|
import { Master } from "./master.js";
|
|
7
7
|
import { usePrefChange } from "./prefs.js";
|
|
@@ -36,7 +36,7 @@ export function Top(top) {
|
|
|
36
36
|
document.documentElement.style.setProperty("--top-space", past ? `${bar.current?.offsetHeight ?? 0}px` : "0px");
|
|
37
37
|
}, [past]);
|
|
38
38
|
const title = top.campaign ?? top.product;
|
|
39
|
-
return (_jsxs(_Fragment, { children: [_jsxs("header", { ref: header, class: "top", children: [_jsx(MasterHome, { top: top, poke: poke, onHome: home }), _jsxs("div", { class: "titles", children: [_jsx("h1", { children: _jsx("a", { class: "title-home", href: sectionAddress("party"), onClick: home, children: title }) }), top.campaign !== undefined && (_jsxs("p", { class: "product", children: [top.product, top.system && _jsx("span", { class: "system-chip", children: top.system })] }))] }), _jsx(StatusChips, { now: top.now, live: top.live }), _jsx(Navigation, { current: top.section, fight: top.fight, yourTurn: top.yourTurn }), top.path !== undefined && top.path.length > 0 && _jsx(PlacePath, { path: top.path })] }), _jsx(ThemeCorner, {}), _jsxs("div", { ref: bar, class: past ? "top-bar shown" : "top-bar", "aria-hidden": "true", inert: !past, children: [_jsx(MasterHome, { top: top, poke: poke, onHome: home }), _jsxs("span", { class: "top-bar-title", children: [_jsx("a", { class: "title-home", href: sectionAddress("party"), onClick: home, children: title }), top.campaign !== undefined && (_jsxs("span", { class: "product", children: [top.product, top.system && _jsx("span", { class: "system-chip", children: top.system })] }))] }), _jsx(Navigation, { current: top.section, fight: top.fight, yourTurn: top.yourTurn, hidden: true }), _jsx(StatusChips, { now: top.now, live: top.live })] })] }));
|
|
39
|
+
return (_jsxs(_Fragment, { children: [_jsxs("header", { ref: header, class: "top", children: [_jsx(MasterHome, { top: top, poke: poke, onHome: home }), _jsxs("div", { class: "titles", children: [_jsx("h1", { children: _jsx("a", { class: "title-home", href: sectionAddress("party"), onClick: home, children: title }) }), top.campaign !== undefined && (_jsxs("p", { class: "product", children: [top.product, top.system && _jsx("span", { class: "system-chip", children: top.system })] }))] }), _jsx(StatusChips, { now: top.now, calendar: top.calendar, live: top.live }), _jsx(Navigation, { current: top.section, fight: top.fight, yourTurn: top.yourTurn }), top.path !== undefined && top.path.length > 0 && _jsx(PlacePath, { path: top.path })] }), _jsx(ThemeCorner, {}), _jsxs("div", { ref: bar, class: past ? "top-bar shown" : "top-bar", "aria-hidden": "true", inert: !past, children: [_jsx(MasterHome, { top: top, poke: poke, onHome: home }), _jsxs("span", { class: "top-bar-title", children: [_jsx("a", { class: "title-home", href: sectionAddress("party"), onClick: home, children: title }), top.campaign !== undefined && (_jsxs("span", { class: "product", children: [top.product, top.system && _jsx("span", { class: "system-chip", children: top.system })] }))] }), _jsx(Navigation, { current: top.section, fight: top.fight, yourTurn: top.yourTurn, hidden: true }), _jsx(StatusChips, { now: top.now, calendar: top.calendar, live: top.live })] })] }));
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* The sections, each a link to its address (D-276, D-309), the one shown marked, then the saves, Help, the settings and About as icons at the row's end (D-333, D-409): what does not
|
|
@@ -145,10 +145,10 @@ const pokedMoods = ["happy", "surprised", "mischievous", "delighted"];
|
|
|
145
145
|
function MasterHome({ top, poke, onHome }) {
|
|
146
146
|
return (_jsx("a", { class: "master-home", href: sectionAddress("party"), "aria-label": t("Back to the party"), onClick: onHome, children: _jsx(Master, { mood: top.mood, moment: top.moment, poke: poke, asleep: top.asleep }) }));
|
|
147
147
|
}
|
|
148
|
-
/** The game's time and whether the game is live, each a chip. */
|
|
149
|
-
function StatusChips({ now, live }) {
|
|
148
|
+
/** The game's time, its day of the calendar, and whether the game is live, each a chip. */
|
|
149
|
+
function StatusChips({ now, calendar, live }) {
|
|
150
150
|
// Live first and the time after, drawn the other way round: where the row is short, the time goes first (D-355).
|
|
151
|
-
return (_jsxs("div", { class: "status-chips", children: [_jsxs("span", { class: live ? "status-chip live on" : "status-chip live", children: [_jsx("span", { class: "dot" }), live ? t("live") : t("waiting for the game")] }), now && (_jsxs("span", { class: "status-chip", children: [_jsx(Icon, { name: "clock" }), gameDateLabel(now)] }))] }));
|
|
151
|
+
return (_jsxs("div", { class: "status-chips", children: [_jsxs("span", { class: live ? "status-chip live on" : "status-chip live", children: [_jsx("span", { class: "dot" }), live ? t("live") : t("waiting for the game")] }), now && (_jsxs("span", { class: "status-chip", children: [_jsx(Icon, { name: "clock" }), gameDateLabel(now)] })), now && calendar && (_jsxs("span", { class: "status-chip", children: [_jsx(Icon, { name: "calendar" }), calendarDayLabel(calendar)] }))] }));
|
|
152
152
|
}
|
|
153
153
|
/** The pages a menu holds as a list in the page's language: Rules, Saves and Settings; ルール、セーブ、設定. */
|
|
154
154
|
function pagesList(pages) {
|