@wayward/types 2.13.3-beta.dev.20230626.3 → 2.13.3-beta.dev.20230627.2
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/definitions/game/game/meta/prompt/PromptDescriptionFactory.d.ts +9 -5
- package/definitions/game/language/dictionary/UiTranslation.d.ts +434 -432
- package/definitions/game/mod/BaseMod.d.ts +1 -1
- package/definitions/game/mod/ModRegistry.d.ts +5 -2
- package/definitions/game/ui/screen/screens/menu/menus/MainMenu.d.ts +1 -0
- package/definitions/game/utilities/enum/EnumManager.d.ts +2 -1
- package/package.json +1 -1
|
@@ -14,15 +14,19 @@ import type InterruptChoice from "language/dictionary/InterruptChoice";
|
|
|
14
14
|
import type { TranslationGenerator } from "ui/component/IComponent";
|
|
15
15
|
import type { MenuId } from "ui/screen/screens/menu/component/IMenu";
|
|
16
16
|
export declare const promptDescriptions: Descriptions<PromptType, IPromptDescriptionBase<any>>;
|
|
17
|
-
|
|
17
|
+
export default class PromptDescriptionFactory {
|
|
18
18
|
private readonly _priority?;
|
|
19
19
|
constructor(_priority?: PromptPriority | undefined);
|
|
20
|
+
static priority(priority: PromptPriority): PromptDescriptionFactory;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Use {@link PromptDescriptionFactory.priority}
|
|
23
|
+
*/
|
|
20
24
|
priority(priority: PromptPriority): PromptDescriptionFactory;
|
|
21
|
-
info<A extends any[] = []>(type: Prompt): IPromptInfoDescription<A>;
|
|
22
|
-
confirm<A extends any[] = []>(type: Prompt
|
|
23
|
-
choice<A extends any[], CHOICES extends PromptChoices<A>>(type: Prompt
|
|
25
|
+
info<A extends any[] = []>(type: SupplierOr<Prompt>): IPromptInfoDescription<A>;
|
|
26
|
+
confirm<A extends any[] = []>(type: SupplierOr<Prompt>, yesTranslation?: TranslationGenerator<InterruptChoice>, noTranslation?: TranslationGenerator<InterruptChoice>): IPromptConfirmDescription<A>;
|
|
27
|
+
choice<A extends any[], CHOICES extends PromptChoices<A>>(type: SupplierOr<Prompt>, choices: CHOICES): IPromptChoiceDescription<A, CHOICES>;
|
|
24
28
|
input<A extends any[] = []>(type: Prompt, configure?: IPromptInputDescription<A>["configure"], canCancel?: true): IPromptInputDescription<A>;
|
|
25
29
|
menu<MENU extends MenuId, A extends any[] = []>(type: Prompt, menu: MENU, configure?: IPromptMenuDescription<MENU, A>["configure"]): IPromptMenuDescription<MENU, A>;
|
|
30
|
+
private create;
|
|
26
31
|
}
|
|
27
32
|
export declare const promptDescriptionFactory: PromptDescriptionFactory;
|
|
28
|
-
export {};
|
|
@@ -437,437 +437,439 @@ declare enum UiTranslation {
|
|
|
437
437
|
MenuMainButtonHighscores = 422,
|
|
438
438
|
MenuMainButtonLoadGame = 423,
|
|
439
439
|
MenuMainButtonMods = 424,
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
440
|
+
MenuMainButtonModsTooltipLabelEnabledMods = 425,
|
|
441
|
+
MenuMainButtonModsTooltipAndXOthers = 426,
|
|
442
|
+
MenuMainButtonModsAllDisabled = 427,
|
|
443
|
+
MenuMainButtonNewGame = 428,
|
|
444
|
+
MenuMainButtonNews = 429,
|
|
445
|
+
MenuMainButtonOptions = 430,
|
|
446
|
+
MenuMainButtonQuitGame = 431,
|
|
447
|
+
MenuModsWarningModsDisabledTitle = 432,
|
|
448
|
+
MenuModsWarningModsDisabledDescription = 433,
|
|
449
|
+
MenuModsButtonModdingGuide = 434,
|
|
450
|
+
MenuModsButtonOpenFolder = 435,
|
|
451
|
+
MenuModsButtonOpenWorkshop = 436,
|
|
452
|
+
MenuModsDescription = 437,
|
|
453
|
+
MenuModsTitle = 438,
|
|
454
|
+
MenuModsTooltipLabelAuthor = 439,
|
|
455
|
+
MenuModsTooltipLabelTags = 440,
|
|
456
|
+
MenuModsTooltipLabelDependencies = 441,
|
|
457
|
+
MenuModsTooltipLabelProvides = 442,
|
|
458
|
+
MenuModsTooltipLabelVersion = 443,
|
|
459
|
+
MenuModsTooltipLabelDescription = 444,
|
|
460
|
+
MenuModsTooltipLabelInstallDate = 445,
|
|
461
|
+
MenuModsTooltipLabelCreatedDate = 446,
|
|
462
|
+
MenuModsTooltipLabelLastUpdatedDate = 447,
|
|
463
|
+
MenuModsTooltipPreventsMilestoneUnlocks = 448,
|
|
464
|
+
MenuModsTooltipModOptions = 449,
|
|
465
|
+
MenuModsTooltipPublishMod = 450,
|
|
466
|
+
MenuModsTooltipModMoreInformation = 451,
|
|
467
|
+
MenuModsTooltipUninstallMod = 452,
|
|
468
|
+
MenuModsTooltipViewInSteamWorkshop = 453,
|
|
469
|
+
MenuModsTooltipViewGitHub = 454,
|
|
470
|
+
MenuModsTooltipOpenFolder = 455,
|
|
471
|
+
MenuModsButtonEditInternalMods = 456,
|
|
472
|
+
MenuModsSectionHeading = 457,
|
|
473
|
+
MenuModsSubmenuEditInternalModsTitle = 458,
|
|
474
|
+
MenuModsSubmenuEditInternalModsDescription = 459,
|
|
475
|
+
MenuModsSubmenuEditInternalModsPlaceholderAddNewInternalMod = 460,
|
|
476
|
+
MenuNewGameButtonNext = 461,
|
|
477
|
+
MenuNewGameButtonStartServer = 462,
|
|
478
|
+
MenuNewGameDescription = 463,
|
|
479
|
+
MenuNewGameLabelEditName = 464,
|
|
480
|
+
MenuNewGameLabelEditSeed = 465,
|
|
481
|
+
MenuNewGamePlaceholderEditSeed = 466,
|
|
482
|
+
MenuNewGameTitle = 467,
|
|
483
|
+
MenuNewGameChoiceDifficulty = 468,
|
|
484
|
+
MenuNewGameChoiceSingleplayer = 469,
|
|
485
|
+
MenuNewGameChoiceSingleplayerDescription = 470,
|
|
486
|
+
MenuNewGameChoiceMultiplayer = 471,
|
|
487
|
+
MenuNewGameChoiceMultiplayerDescription = 472,
|
|
488
|
+
MenuNewGameChoiceTurnModeManual = 473,
|
|
489
|
+
MenuNewGameChoiceTurnModeManualDescription = 474,
|
|
490
|
+
MenuNewGameChoiceTurnModeRealTime = 475,
|
|
491
|
+
MenuNewGameChoiceTurnModeRealTimeDescription = 476,
|
|
492
|
+
MenuNewGameChoiceTurnModeSimulated = 477,
|
|
493
|
+
MenuNewGameChoiceTurnModeSimulatedDescription = 478,
|
|
494
|
+
MenuNewGameChoiceDifficultyTooltipCustomGameOptions = 479,
|
|
495
|
+
MenuNewGameChoiceDifficultyChallengeDaily = 480,
|
|
496
|
+
MenuNewGameChoiceDifficultyChallengeDailyTooltip = 481,
|
|
497
|
+
MenuNewGameButtonMilestones = 482,
|
|
498
|
+
MenuNewGameButtonMilestonesDescription = 483,
|
|
499
|
+
MenuNewGameTabGameMode = 484,
|
|
500
|
+
MenuNewGameTabMultiplayer = 485,
|
|
501
|
+
MenuNewGameTabGameplayModifiers = 486,
|
|
502
|
+
MenuNewGameHeadingGameMode = 487,
|
|
503
|
+
MenuNewGameHeadingMultiplayer = 488,
|
|
504
|
+
MenuNewGameHeadingGameplayModifiers = 489,
|
|
505
|
+
MenuNewGameMilestoneModifiersUnlockableInMode = 490,
|
|
506
|
+
MenuNewGameChoiceClientsInheritHostModifiers = 491,
|
|
507
|
+
MenuNewGameChoiceClientsInheritHostModifiersDescription = 492,
|
|
508
|
+
MenuNewGameChoiceCustomModifiers = 493,
|
|
509
|
+
MenuNewGameChoiceCustomModifiersDescription = 494,
|
|
510
|
+
MenuMilestoneModifiersTitle = 495,
|
|
511
|
+
MenuMilestoneModifiersDescription = 496,
|
|
512
|
+
MenuCustomGameOptionsTitle = 497,
|
|
513
|
+
MenuCustomGameOptionsDescription = 498,
|
|
514
|
+
MenuCustomGameOptionsRespawnOnDeath = 499,
|
|
515
|
+
MenuCustomGameOptionsRespawnOnDeathDescription = 500,
|
|
516
|
+
MenuCustomGameOptionsUseUnlockedRecipes = 501,
|
|
517
|
+
MenuCustomGameOptionsStartingIslandBiome = 502,
|
|
518
|
+
MenuCustomGameOptionsApplyTravelingEffects = 503,
|
|
519
|
+
MenuCustomGameOptionsApplyTravelingEffectsDescription = 504,
|
|
520
|
+
MenuCustomGameOptionsCreaturesPeaceful = 505,
|
|
521
|
+
MenuCustomGameOptionsCreaturesAberrantSpawns = 506,
|
|
522
|
+
MenuCustomGameOptionsCreaturesAberrantSpawnsDescription = 507,
|
|
523
|
+
MenuCustomGameOptionsCreaturesAberrantSpawnsDescriptionDefault = 508,
|
|
524
|
+
MenuCustomGameOptionsCreaturesAberrantSpawnsDescriptionExclusively = 509,
|
|
525
|
+
MenuCustomGameOptionsCreaturesAberrantSpawnsDescriptionOff = 510,
|
|
526
|
+
MenuCustomGameOptionsCreaturesHeadingIndividualConfigurations = 511,
|
|
527
|
+
MenuCustomGameOptionsCreaturesAllowAberrantSpawns = 512,
|
|
528
|
+
MenuCustomGameOptionsCreaturesAlwaysSpawn = 513,
|
|
529
|
+
MenuCustomGameOptionsCreaturesAllowSpawning = 514,
|
|
530
|
+
MenuCustomGameOptionsCreaturesSpawnLimit = 515,
|
|
531
|
+
MenuCustomGameOptionsCreaturesSpawnLimitDescription = 516,
|
|
532
|
+
MenuCustomGameOptionsCreatureNone = 517,
|
|
533
|
+
MenuCustomGameOptionsCreatureConfigure = 518,
|
|
534
|
+
MenuCustomGameOptionsBenignityInitial = 519,
|
|
535
|
+
MenuCustomGameOptionsBenignityMultiplier = 520,
|
|
536
|
+
MenuCustomGameOptionsBenignityMultiplierTooltip = 521,
|
|
537
|
+
MenuCustomGameOptionsMalignityInitial = 522,
|
|
538
|
+
MenuCustomGameOptionsMalignityMultiplier = 523,
|
|
539
|
+
MenuCustomGameOptionsMalignityMultiplierTooltip = 524,
|
|
540
|
+
MenuCustomGameOptionsStatMultiplier = 525,
|
|
541
|
+
MenuCustomGameOptionsStatMultiplierTooltip = 526,
|
|
542
|
+
MenuCustomGameOptionsStatRegenerationMultiplierTooltip = 527,
|
|
543
|
+
MenuCustomGameOptionsHeadingGeneral = 528,
|
|
544
|
+
MenuCustomGameOptionsHeadingTravel = 529,
|
|
545
|
+
MenuCustomGameOptionsHeadingTime = 530,
|
|
546
|
+
MenuCustomGameOptionsHeadingStats = 531,
|
|
547
|
+
MenuCustomGameOptionsHeadingReputation = 532,
|
|
548
|
+
MenuCustomGameOptionsHeadingItems = 533,
|
|
549
|
+
MenuCustomGameOptionsHeadingCreatures = 534,
|
|
550
|
+
MenuCustomGameOptionsHeadingSkills = 535,
|
|
551
|
+
MenuCustomGameOptionsHeadingStatusEffects = 536,
|
|
552
|
+
MenuCustomGameOptionsEternalNight = 537,
|
|
553
|
+
MenuCustomGameOptionsEternalNightDescription = 538,
|
|
554
|
+
MenuCustomGameOptionsEternalDay = 539,
|
|
555
|
+
MenuCustomGameOptionsEternalDayDescription = 540,
|
|
556
|
+
MenuCustomGameOptionsTimeFrozen = 541,
|
|
557
|
+
MenuCustomGameOptionsTimeInitial = 542,
|
|
558
|
+
MenuCustomGameOptionsTimeDayLength = 543,
|
|
559
|
+
MenuCustomGameOptionsTimeDayLengthTooltip = 544,
|
|
560
|
+
MenuCustomGameOptionsTimeDayPercent = 545,
|
|
561
|
+
MenuCustomGameOptionsTimeDayPercentTooltip = 546,
|
|
562
|
+
MenuCustomGameOptionsStatStarting = 547,
|
|
563
|
+
MenuCustomGameOptionsStatMax = 548,
|
|
564
|
+
MenuCustomGameOptionsStatStartingDisplay = 549,
|
|
565
|
+
MenuCustomGameOptionsStatMaxDisplay = 550,
|
|
566
|
+
MenuCustomGameOptionsStatNoChange = 551,
|
|
567
|
+
MenuCustomGameOptionsStatBonus = 552,
|
|
568
|
+
MenuCustomGameOptionsStatBonusDisplay = 553,
|
|
569
|
+
MenuCustomGameOptionsStatusEffectPassChanceMultiplier = 554,
|
|
570
|
+
MenuCustomGameOptionsStatusEffectPassChanceMultiplierTooltip = 555,
|
|
571
|
+
MenuCustomGameOptionsStatusEffectStartWith = 556,
|
|
572
|
+
MenuCustomGameOptionsStatusEffectUntreatable = 557,
|
|
573
|
+
MenuCustomGameOptionsStatusEffectUntreatableTooltip = 558,
|
|
574
|
+
MenuCustomGameOptionsSkillInitialRandomCount = 559,
|
|
575
|
+
MenuCustomGameOptionsSkillInitialRandomCountDescription = 560,
|
|
576
|
+
MenuCustomGameOptionsSkillsHeadingIndividualConfigurations = 561,
|
|
577
|
+
MenuCustomGameOptionsSkillsGlobal = 562,
|
|
578
|
+
MenuCustomGameOptionsSkillNone = 563,
|
|
579
|
+
MenuCustomGameOptionsSkillConfigure = 564,
|
|
580
|
+
MenuCustomGameOptionsSkillInitial = 565,
|
|
581
|
+
MenuCustomGameOptionsSkillMultiplier = 566,
|
|
582
|
+
MenuCustomGameOptionsSkillMultiplierTooltip = 567,
|
|
583
|
+
MenuCustomGameOptionsRandomItems = 568,
|
|
584
|
+
MenuCustomGameOptionsRandomItemsDescription = 569,
|
|
585
|
+
MenuCustomGameOptionsItemDurability = 570,
|
|
586
|
+
MenuCustomGameOptionsItemDurabilityTooltip = 571,
|
|
587
|
+
MenuCustomGameOptionsItemDecay = 572,
|
|
588
|
+
MenuCustomGameOptionsItemDecayTooltip = 573,
|
|
589
|
+
MenuCustomGameOptionsExport = 574,
|
|
590
|
+
MenuCustomGameOptionsImport = 575,
|
|
591
|
+
MenuNewsDescription = 576,
|
|
592
|
+
MenuNewsHeadingSocial = 577,
|
|
593
|
+
MenuNewsTitle = 578,
|
|
594
|
+
MenuNewsHeadingUnableToLoad = 579,
|
|
595
|
+
MenuNewsButtonAllNews = 580,
|
|
596
|
+
MenuNewsButtonViewChangelog = 581,
|
|
597
|
+
MenuOptionsButtonDitherFogOfWar = 582,
|
|
598
|
+
MenuOptionsButtonHealthVignette = 583,
|
|
599
|
+
MenuOptionsButtonHealthVignetteTooltip = 584,
|
|
600
|
+
MenuOptionsButtonDisableCustomCursor = 585,
|
|
601
|
+
MenuOptionsButtonEnableSmoothZooming = 586,
|
|
602
|
+
MenuOptionsButtonDisplayArticleInObjectNames = 587,
|
|
603
|
+
MenuOptionsButtonDisplayArticleInObjectNamesTooltip = 588,
|
|
604
|
+
MenuOptionsButtonFullscreen = 589,
|
|
605
|
+
MenuOptionsButtonCustomTitleBar = 590,
|
|
606
|
+
MenuOptionsButtonDeveloperMode = 591,
|
|
607
|
+
MenuOptionsButtonDeveloperModeContextMenu = 592,
|
|
608
|
+
MenuOptionsButtonReloadGame = 593,
|
|
609
|
+
MenuOptionsButtonReloadStylesheets = 594,
|
|
610
|
+
MenuOptionsButtonReloadVariableUIImages = 595,
|
|
611
|
+
MenuOptionsButtonExportGlobalSaveData = 596,
|
|
612
|
+
MenuOptionsButtonImportGlobalSaveData = 597,
|
|
613
|
+
MenuOptionsButtonSaveDataBackups = 598,
|
|
614
|
+
MenuOptionsButtonSaveDataBackupsTooltip = 599,
|
|
615
|
+
MenuOptionsButtonSaveDataClearAll = 600,
|
|
616
|
+
MenuOptionsButtonSaveDataClearCharacters = 601,
|
|
617
|
+
MenuOptionsButtonSaveDataClearHighscores = 602,
|
|
618
|
+
MenuOptionsButtonSaveDataClearMilestones = 603,
|
|
619
|
+
MenuOptionsButtonSaveDataClearOptions = 604,
|
|
620
|
+
MenuOptionsButtonSaveDataClearCraftingRecipes = 605,
|
|
621
|
+
MenuOptionsButtonSaveDataClearSaves = 606,
|
|
622
|
+
MenuOptionsButtonSkipSplash = 607,
|
|
623
|
+
MenuOptionsButtonToggleDevTools = 608,
|
|
624
|
+
MenuOptionsButtonOpenBackupsFolder = 609,
|
|
625
|
+
MenuOptionsButtonOpenLogsFolder = 610,
|
|
626
|
+
MenuOptionsButtonDropLocationFacing = 611,
|
|
627
|
+
MenuOptionsButtonDropLocationFeet = 612,
|
|
628
|
+
MenuOptionsButtonStartTraceRecording = 613,
|
|
629
|
+
MenuOptionsButtonStopTraceRecording = 614,
|
|
630
|
+
MenuOptionsButtonTracingRecordingtTooltip = 615,
|
|
631
|
+
MenuOptionsButtonDropLocationFeetWhenFacingBlocked = 616,
|
|
632
|
+
MenuOptionsDescription = 617,
|
|
633
|
+
MenuOptionsHeadingAudio = 618,
|
|
634
|
+
MenuOptionsHeadingDeveloper = 619,
|
|
635
|
+
MenuOptionsHeadingGameplayOptions = 620,
|
|
636
|
+
MenuOptionsHeadingGameplayOptionsDescription = 621,
|
|
637
|
+
MenuOptionsHeadingGameplayOptionsButtonOpenDialog = 622,
|
|
638
|
+
MenuOptionsHeadingOtherOptions = 623,
|
|
639
|
+
MenuOptionsHeadingControls = 624,
|
|
640
|
+
MenuOptionsHeadingModOptions = 625,
|
|
641
|
+
MenuOptionsHeadingOther = 626,
|
|
642
|
+
MenuOptionsHeadingSaveData = 627,
|
|
643
|
+
MenuOptionsHeadingTooltipsTile = 628,
|
|
644
|
+
MenuOptionsHeadingVideo = 629,
|
|
645
|
+
MenuOptionsLabelInterfaceScale = 630,
|
|
646
|
+
MenuOptionsLabelHudWidth = 631,
|
|
647
|
+
MenuOptionsLabelTooltipDelay = 632,
|
|
648
|
+
MenuOptionsLabelDirectionTurnDelay = 633,
|
|
649
|
+
MenuOptionsLabelMouseTurnDelay = 634,
|
|
650
|
+
MenuOptionsLabelFontStyle = 635,
|
|
651
|
+
MenuOptionsTooltipTurnDelay = 636,
|
|
652
|
+
MenuOptionsTooltipMouseTurnDelay = 637,
|
|
653
|
+
MenuOptionsTooltipControlsFilter = 638,
|
|
654
|
+
MenuOptionsLabelVolumeEffects = 639,
|
|
655
|
+
MenuOptionsLabelVolumeMusic = 640,
|
|
656
|
+
MenuOptionsTabAudio = 641,
|
|
657
|
+
MenuOptionsTabDeveloper = 642,
|
|
658
|
+
MenuOptionsTabGameplay = 643,
|
|
659
|
+
MenuOptionsTabTooltips = 644,
|
|
660
|
+
MenuOptionsTabOther = 645,
|
|
661
|
+
MenuOptionsTabLanguage = 646,
|
|
662
|
+
MenuOptionsTabControls = 647,
|
|
663
|
+
MenuOptionsTabMods = 648,
|
|
664
|
+
MenuOptionsTabSaveData = 649,
|
|
665
|
+
MenuOptionsTabVideo = 650,
|
|
666
|
+
MenuOptionsTabPerformance = 651,
|
|
667
|
+
MenuOptionsHeadingPerformance = 652,
|
|
668
|
+
MenuOptionsTitle = 653,
|
|
669
|
+
MenuOptionsTooltipMusicNextTrack = 654,
|
|
670
|
+
MenuOptionsBindChoose = 655,
|
|
671
|
+
MenuOptionsBindChooseAdd = 656,
|
|
672
|
+
MenuOptionsBindButtonResetTooltip = 657,
|
|
673
|
+
MenuOptionsBindButtonDeleteTooltip = 658,
|
|
674
|
+
MenuOptionsBindButtonAddTooltip = 659,
|
|
675
|
+
MenuOptionsBindButtonAddMacroTooltip = 660,
|
|
676
|
+
MenuOptionsButtonUnlockAllMilestones = 661,
|
|
677
|
+
MenuOptionsButtonDiscoverAllActions = 662,
|
|
678
|
+
MenuOptionsButtonUnlockAllCraftingRecipes = 663,
|
|
679
|
+
MenuOptionsButtonAlternatingDirectionMovement = 664,
|
|
680
|
+
MenuOptionsButtonAllowAlternatingDirectionMovementTooltip = 665,
|
|
681
|
+
MenuOptionsButtonAlwaysShowMoreInformationTooltip = 666,
|
|
682
|
+
MenuOptionsButtonEnableLowPowerMode = 667,
|
|
683
|
+
MenuOptionsButtonEnableLowPowerModeTooltip = 668,
|
|
684
|
+
MenuOptionsButtonDisableAcrylicTransparency = 669,
|
|
685
|
+
MenuOptionsButtonDisableAcrylicTransparencyTooltip = 670,
|
|
686
|
+
MenuOptionsButtonDisableOverlaySupport = 671,
|
|
687
|
+
MenuOptionsButtonDisableOverlaySupportTooltip = 672,
|
|
688
|
+
MenuOptionsButtonDisableUIEffects = 673,
|
|
689
|
+
MenuOptionsButtonDisableUIEffectsTooltip = 674,
|
|
690
|
+
MenuOptionsButtonDisableUIOpacity = 675,
|
|
691
|
+
MenuOptionsButtonDisableUIOpacityTooltip = 676,
|
|
692
|
+
MenuOptionsButtonDisableMovementAnimations = 677,
|
|
693
|
+
MenuOptionsButtonDisableMovementAnimationsTooltip = 678,
|
|
694
|
+
MenuOptionsButtonAutoAttack = 679,
|
|
695
|
+
MenuOptionsButtonAutoAttackTooltip = 680,
|
|
696
|
+
MenuOptionsButtonAutoPickUp = 681,
|
|
697
|
+
MenuOptionsButtonAutoPickUpTooltip = 682,
|
|
698
|
+
MenuOptionsButtonAutoPickUpOnIdle = 683,
|
|
699
|
+
MenuOptionsButtonAutoPickUpOnIdleTooltip = 684,
|
|
700
|
+
MenuOptionsButtonDropOnDismantle = 685,
|
|
701
|
+
MenuOptionsButtonDropOnDismantleTooltip = 686,
|
|
702
|
+
MenuOptionsButtonDropOnDisassemble = 687,
|
|
703
|
+
MenuOptionsButtonDropOnDisassembleTooltip = 688,
|
|
704
|
+
MenuOptionsButtonDisableCraftingProtectedItems = 689,
|
|
705
|
+
MenuOptionsButtonDisableCraftingProtectedItemsTooltip = 690,
|
|
706
|
+
MenuOptionsButtonDropOnGatherHarvest = 691,
|
|
707
|
+
MenuOptionsButtonDropOnGatherHarvestTooltip = 692,
|
|
708
|
+
MenuOptionsButtonKeepSortActive = 693,
|
|
709
|
+
MenuOptionsButtonKeepSortActiveTooltip = 694,
|
|
710
|
+
MenuOptionsButtonUseAdjacentContainers = 695,
|
|
711
|
+
MenuOptionsButtonUseAdjacentContainersTooltip = 696,
|
|
712
|
+
MenuOptionsButtonHideEquippedHeadgear = 697,
|
|
713
|
+
MenuOptionsButtonHideEquippedHeadgearTooltip = 698,
|
|
714
|
+
MenuOptionsButtonLeftHanded = 699,
|
|
715
|
+
MenuOptionsButtonLeftHandedTooltip = 700,
|
|
716
|
+
MenuOptionsButtonAutoSave = 701,
|
|
717
|
+
MenuOptionsRangeAutoSaveTimerLabel = 702,
|
|
718
|
+
MenuOptionsRangeAutoSaveTimerTurnsDisplay = 703,
|
|
719
|
+
MenuOptionsRangeAutoSaveTimerTimeDisplay = 704,
|
|
720
|
+
MenuOptionsButtonDropIntoContainers = 705,
|
|
721
|
+
MenuOptionsButtonDropIntoContainersTooltip = 706,
|
|
722
|
+
MenuOptionsButtonWarnOnDangerousActions = 707,
|
|
723
|
+
MenuOptionsButtonWarnOnDangerousActionsTooltip = 708,
|
|
724
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnCraft = 709,
|
|
725
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnCraftTooltip = 710,
|
|
726
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnUse = 711,
|
|
727
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnUseTooltip = 712,
|
|
728
|
+
MenuOptionsHeadingWarnWhenBreakingItems = 713,
|
|
729
|
+
MenuOptionsButtonSaveDataClearBindings = 714,
|
|
730
|
+
MenuOptionsTooltipDialogOpacity = 715,
|
|
731
|
+
MenuOptionsLabelDialogOpacity = 716,
|
|
732
|
+
MenuOptionsDeveloperLogSourceFilterHeading = 717,
|
|
733
|
+
MenuOptionsDeveloperUIExperiments = 718,
|
|
734
|
+
MenuOptionsDeveloperUIExperimentsDescription = 719,
|
|
735
|
+
MenuOptionsAudioVolumeDisplay = 720,
|
|
736
|
+
MenuOptionsAudioInputSoundOnTyping = 721,
|
|
737
|
+
MenuOptionsMusicPlaylist = 722,
|
|
738
|
+
MenuOptionsButtonConfigureBindings = 723,
|
|
739
|
+
MenuOptionsButtonSaveCompression = 724,
|
|
740
|
+
MenuOptionsButtonSaveCompressionTooltip = 725,
|
|
741
|
+
MenuOptionsButtonSaveUIDataGlobally = 726,
|
|
742
|
+
MenuOptionsButtonSaveUIDataGloballyTooltip = 727,
|
|
743
|
+
MenuPauseButtonContinueGame = 728,
|
|
744
|
+
MenuPauseButtonReturnToGame = 729,
|
|
745
|
+
MenuPauseButtonOptions = 730,
|
|
746
|
+
MenuPauseButtonGameSettings = 731,
|
|
747
|
+
MenuPauseButtonPaused = 732,
|
|
748
|
+
MenuPauseButtonMultiplayer = 733,
|
|
749
|
+
MenuPauseButtonHelp = 734,
|
|
750
|
+
MenuPauseButtonTitleScreen = 735,
|
|
751
|
+
MenuPauseButtonStopServer = 736,
|
|
752
|
+
MenuPauseTooltipNotPaused = 737,
|
|
753
|
+
MenuPauseLabelPaused = 738,
|
|
754
|
+
MenuPauseLabelNotPaused = 739,
|
|
755
|
+
MenuModesTitle = 740,
|
|
756
|
+
MenuModesDescription = 741,
|
|
757
|
+
MenuMultiplayerOptionsTitle = 742,
|
|
758
|
+
MenuMultiplayerOptionsDescription = 743,
|
|
759
|
+
MenuMultiplayerOptionsOpenServer = 744,
|
|
760
|
+
MenuMultiplayerOptionsOpenServerDescription = 745,
|
|
761
|
+
MenuMultiplayerOptionsCopyGameCode = 746,
|
|
762
|
+
MenuMultiplayerOptionsCopyGameCodeTooltip = 747,
|
|
763
|
+
MenuMultiplayerOptionsInviteSteamFriends = 748,
|
|
764
|
+
MenuMultiplayerOptionsCheckConnectionHeading = 749,
|
|
765
|
+
MenuMultiplayerOptionsCheckConnectionParagraph = 750,
|
|
766
|
+
MenuMultiplayerOptionsCheckConnectionButton = 751,
|
|
767
|
+
MenuMultiplayerOptionsCheckConnectionResultUnknown = 752,
|
|
768
|
+
MenuMultiplayerOptionsCheckConnectionResultChecking = 753,
|
|
769
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetwork = 754,
|
|
770
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetworkFail = 755,
|
|
771
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetworkUnavailable = 756,
|
|
772
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocket = 757,
|
|
773
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocketFail = 758,
|
|
774
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocketUnavailable = 759,
|
|
775
|
+
MenuMultiplayerOptionsCheckConnectionResultSuccess = 760,
|
|
776
|
+
MenuJoinServerTitle = 761,
|
|
777
|
+
MenuJoinServerDescription = 762,
|
|
778
|
+
MenuJoinServerInputPlaceholder = 763,
|
|
779
|
+
MenuJoinServerChooseModifiersTitle = 764,
|
|
780
|
+
MenuJoinServerChooseModifiersDescription = 765,
|
|
781
|
+
MenuSharedMultiplayerChoiceLobbyTypeFriends = 766,
|
|
782
|
+
MenuSharedMultiplayerChoiceLobbyTypeFriendsDescription = 767,
|
|
783
|
+
MenuSharedMultiplayerChoiceLobbyTypePublic = 768,
|
|
784
|
+
MenuSharedMultiplayerChoiceLobbyTypePublicDescription = 769,
|
|
785
|
+
MenuSharedMultiplayerChoiceLobbyTypePrivate = 770,
|
|
786
|
+
MenuSharedMultiplayerChoiceLobbyTypePrivateDescription = 771,
|
|
787
|
+
MenuSharedMultiplayerChoicePVP = 772,
|
|
788
|
+
MenuSharedMultiplayerChoicePVPDescription = 773,
|
|
789
|
+
MenuSharedMultiplayerChoiceAllowTraveling = 774,
|
|
790
|
+
MenuSharedMultiplayerChoiceAllowTravelingDescription = 775,
|
|
791
|
+
MenuSharedMultiplayerChoiceAllowHardcoreRespawns = 776,
|
|
792
|
+
MenuSharedMultiplayerChoiceAllowHardcoreRespawnsDescription = 777,
|
|
793
|
+
MenuSharedMultiplayerDescription = 778,
|
|
794
|
+
MenuSharedMultiplayerMessageOfTheDay = 779,
|
|
795
|
+
MenuSharedMultiplayerMaxPlayers = 780,
|
|
796
|
+
MenuSharedRealTimeTickSpeedTooltip = 781,
|
|
797
|
+
MenuSharedRealTimeTickSpeedLabel = 782,
|
|
798
|
+
MenuSharedMaxTravelTimeLabel = 783,
|
|
799
|
+
MenuSharedMaxTravelTimeLabelTooltip = 784,
|
|
800
|
+
MenuSharedButtonDefault = 785,
|
|
801
|
+
MenuSharedValueSeconds = 786,
|
|
802
|
+
MenuSharedValueMillseconds = 787,
|
|
803
|
+
MenuSharedValueTurns = 788,
|
|
804
|
+
MenuSharedValuePercentage = 789,
|
|
805
|
+
MenuSharedMilestonesNotUnlockable = 790,
|
|
806
|
+
MenuSharedMilestonesNotUnlockableDescription = 791,
|
|
807
|
+
MenuSharedMilestonesNotUnlockableButtonShowMods = 792,
|
|
808
|
+
MenuSharedButtonDisableAll = 793,
|
|
809
|
+
MenuSharedButtonEnableAll = 794,
|
|
810
|
+
MenuSharedMilestoneModifiersSelected = 795,
|
|
811
|
+
MiscSortBy = 796,
|
|
812
|
+
MiscSortDirection = 797,
|
|
813
|
+
MiscFilter = 798,
|
|
814
|
+
MiscPlayerNameDefault = 799,
|
|
815
|
+
MiscPlayerNameServer = 800,
|
|
816
|
+
MiscSaveNameDefault = 801,
|
|
817
|
+
MiscSaveNameDailyChallenge = 802,
|
|
818
|
+
MiscSaveNameChallenge = 803,
|
|
819
|
+
MiscSaveVersionUnknown = 804,
|
|
820
|
+
MiscVersion = 805,
|
|
821
|
+
MiscVersionBuildInfoTooltip = 806,
|
|
822
|
+
MiscVersionUpdate = 807,
|
|
823
|
+
MiscTime = 808,
|
|
824
|
+
MiscTimeMeridiem = 809,
|
|
825
|
+
MiscError = 810,
|
|
826
|
+
MiscContextMenuCopyTooltip = 811,
|
|
827
|
+
MiscBindableNoBindings = 812,
|
|
828
|
+
MiscBindingIcon = 813,
|
|
829
|
+
MiscBindingIconThen = 814,
|
|
830
|
+
DifficultyOptionsPeaceful = 815,
|
|
831
|
+
DifficultyOptionsAberrantSpawnsDisabled = 816,
|
|
832
|
+
DifficultyOptionsAberrantSpawnsOnly = 817,
|
|
833
|
+
DifficultyOptionsCreatureSpawningDisabled = 818,
|
|
834
|
+
DifficultyOptionsCreatureAlwaysSpawns = 819,
|
|
835
|
+
DifficultyOptionsCreatureSpawnsDefault = 820,
|
|
836
|
+
DifficultyOptionsCreatureSpawnsAberrantOnly = 821,
|
|
837
|
+
DifficultyOptionsCreatureSpawnsNoAberrants = 822,
|
|
838
|
+
DifficultyOptionsSpawnLimit = 823,
|
|
839
|
+
DifficultyOptionsRespawn = 824,
|
|
840
|
+
DifficultyOptionsEternalNight = 825,
|
|
841
|
+
DifficultyOptionsEternalDay = 826,
|
|
842
|
+
DifficultyOptionsTimeInitial = 827,
|
|
843
|
+
DifficultyOptionsTimeFrozen = 828,
|
|
844
|
+
DifficultyOptionsTimeDayLength = 829,
|
|
845
|
+
DifficultyOptionsTimeDayPercent = 830,
|
|
846
|
+
DifficultyOptionsNoItems = 831,
|
|
847
|
+
DifficultyOptionsRecipes = 832,
|
|
848
|
+
DifficultyOptionsStartingIsland = 833,
|
|
849
|
+
DifficultyOptionsTravelingEffectsDisabled = 834,
|
|
850
|
+
DifficultyOptionsBenignityInitial = 835,
|
|
851
|
+
DifficultyOptionsBenignityMultiplier = 836,
|
|
852
|
+
DifficultyOptionsMalignityInitial = 837,
|
|
853
|
+
DifficultyOptionsMalignityMultiplier = 838,
|
|
854
|
+
DifficultyOptionsWeightBonus = 839,
|
|
855
|
+
DifficultyOptionsStatInitial = 840,
|
|
856
|
+
DifficultyOptionsStatMax = 841,
|
|
857
|
+
DifficultyOptionsStatMultiplier = 842,
|
|
858
|
+
DifficultyOptionsStatusEffectStartWith = 843,
|
|
859
|
+
DifficultyOptionsStatusEffectUntreatable = 844,
|
|
860
|
+
DifficultyOptionsStatusEffectPassChanceMultiplier = 845,
|
|
861
|
+
DifficultyOptionsNoRandomSkills = 846,
|
|
862
|
+
DifficultyOptionsSkillStartingCount = 847,
|
|
863
|
+
DifficultyOptionsSkillGainMultiplier = 848,
|
|
864
|
+
DifficultyOptionsSkillInitial = 849,
|
|
865
|
+
DifficultyOptionsStatusEffectPermanent = 850,
|
|
866
|
+
DifficultyOptionsStatusEffectRateMultiplier = 851,
|
|
867
|
+
DifficultyOptionsStatusEffectMultiplier = 852,
|
|
868
|
+
DifficultyOptionsItemDurabilityMultiplier = 853,
|
|
869
|
+
DifficultyOptionsItemDecayMultiplier = 854,
|
|
870
|
+
TabCrafting = 855,
|
|
871
|
+
TabDismantle = 856,
|
|
872
|
+
WindowTitleContainer = 857,
|
|
873
|
+
WindowTitleInventory = 858
|
|
872
874
|
}
|
|
873
875
|
export default UiTranslation;
|
|
@@ -172,7 +172,7 @@ export declare abstract class BaseMod extends EventEmitter.Host<IModEvents> {
|
|
|
172
172
|
* Allocates an enum for this mod.
|
|
173
173
|
* @param id The enum type.
|
|
174
174
|
* @param name The name of the enumeration value.
|
|
175
|
-
* @param
|
|
175
|
+
* @param description An object to register with the enum. For example, all values in the creature enumeration have a corresponding
|
|
176
176
|
* `description` object.
|
|
177
177
|
* @param onAllocate A callback for when the enum has been allocated.
|
|
178
178
|
* @param onUnallocate A callback for when the enum has been unallocated.
|
|
@@ -38,7 +38,8 @@ import type { InspectionClass } from "game/inspection/InspectionTypeMap";
|
|
|
38
38
|
import type { IItemDescription, IItemGroupDescription, ItemTag, ItemType, ItemTypeGroup } from "game/item/IItem";
|
|
39
39
|
import type { IMagicalPropertyDescription, MagicalPropertyType } from "game/magic/MagicalPropertyType";
|
|
40
40
|
import type { ILoadingDescription } from "game/meta/Loading";
|
|
41
|
-
import type { Prompt } from "game/meta/prompt/IPrompt";
|
|
41
|
+
import type { IPromptDescriptionBase, Prompt } from "game/meta/prompt/IPrompt";
|
|
42
|
+
import type PromptDescriptionFactory from "game/meta/prompt/PromptDescriptionFactory";
|
|
42
43
|
import type { TempType } from "game/temperature/ITemperature";
|
|
43
44
|
import type { ITerrainDescription, OverlayType, TerrainType } from "game/tile/ITerrain";
|
|
44
45
|
import type { ITileEventDescription, TileEventType } from "game/tile/ITileEvent";
|
|
@@ -329,9 +330,11 @@ export interface IQuestRequirementRegistration extends IBaseModRegistration {
|
|
|
329
330
|
name: string;
|
|
330
331
|
description: QuestRequirement;
|
|
331
332
|
}
|
|
333
|
+
export type PromptConstructorFunction<DESCRIPTION extends IPromptDescriptionBase<any[]>> = (type: Prompt, factory: PromptDescriptionFactory) => DESCRIPTION;
|
|
332
334
|
export interface IPromptRegistration extends IBaseModRegistration {
|
|
333
335
|
type: ModRegistrationType.Prompt;
|
|
334
336
|
name: string;
|
|
337
|
+
construct: PromptConstructorFunction<IPromptDescriptionBase<any[]>>;
|
|
335
338
|
}
|
|
336
339
|
export interface ILoadRegistration extends IBaseModRegistration {
|
|
337
340
|
type: ModRegistrationType.Load;
|
|
@@ -620,7 +623,7 @@ declare module Register {
|
|
|
620
623
|
*
|
|
621
624
|
* The decorated property will be injected with the id of the registered prompt.
|
|
622
625
|
*/
|
|
623
|
-
export function prompt(name: string): <K extends string | number | symbol, T extends Record<K,
|
|
626
|
+
export function prompt<DESCRIPTION extends IPromptDescriptionBase<any[]>>(name: string, construct: PromptConstructorFunction<DESCRIPTION>): <K extends string | number | symbol, T extends Record<K, DESCRIPTION>>(target: T, key: K) => void;
|
|
624
627
|
/**
|
|
625
628
|
* Registers an interrupt choice.
|
|
626
629
|
* @param name The name of the interrupt choice.
|
|
@@ -19,7 +19,8 @@ declare module EnumManager {
|
|
|
19
19
|
*/
|
|
20
20
|
function clearCacheForMod(modIndex: number): void;
|
|
21
21
|
function reset(): void;
|
|
22
|
-
function allocate(modIndex: number, id: EnumId, name: string,
|
|
22
|
+
function allocate<DESCRIPTION extends object | undefined>(modIndex: number, id: EnumId, name: string, description: DESCRIPTION, onAllocate?: ((enumNumber: number, description: DESCRIPTION) => void), onUnallocate?: ((enumNumber: number) => void)): EnumInfo | undefined;
|
|
23
|
+
function allocate<DESCRIPTION extends object | undefined>(modIndex: number, id: EnumId, name: string, description?: DESCRIPTION, onAllocate?: ((enumNumber: number, description?: DESCRIPTION) => void), onUnallocate?: ((enumNumber: number) => void)): EnumInfo | undefined;
|
|
23
24
|
function unallocate(enumInfo: EnumInfo): void;
|
|
24
25
|
function unallocateMod(modIndex: number): void;
|
|
25
26
|
}
|
package/package.json
CHANGED