@wayward/types 2.14.0-beta.dev.20241129.1 → 2.14.0-beta.dev.20241130.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/definitions/game/game/entity/CombatStrengthManager.d.ts +6 -5
- package/definitions/game/game/entity/Entity.d.ts +1 -1
- package/definitions/game/game/entity/EntityMovable.d.ts +2 -0
- package/definitions/game/game/entity/Human.d.ts +1 -1
- package/definitions/game/game/entity/IEntity.d.ts +1 -0
- package/definitions/game/game/entity/flowfield/FlowFieldManager.d.ts +1 -1
- package/definitions/game/game/inspection/Inspection.d.ts +1 -0
- package/definitions/game/game/island/Island.d.ts +1 -1
- package/definitions/game/language/dictionary/UiTranslation.d.ts +171 -169
- package/definitions/game/renderer/notifier/INotifier.d.ts +3 -1
- package/definitions/game/save/data/ISaveDataGlobal.d.ts +1 -0
- package/definitions/utilities/object/Objects.d.ts +5 -15
- package/package.json +1 -1
|
@@ -24,11 +24,12 @@ export declare enum CombatStrength {
|
|
|
24
24
|
Tier9 = 9
|
|
25
25
|
}
|
|
26
26
|
export declare enum CombatDangerLevel {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
None = 0,
|
|
28
|
+
Low = 1,
|
|
29
|
+
Medium = 2,
|
|
30
|
+
High = 3,
|
|
31
|
+
VeryHigh = 4,
|
|
32
|
+
Extreme = 5
|
|
32
33
|
}
|
|
33
34
|
export default class CombatStrengthManager {
|
|
34
35
|
readonly minimumCreatureValue: number;
|
|
@@ -119,7 +119,7 @@ export default abstract class Entity<DescriptionType = unknown, TypeType extends
|
|
|
119
119
|
notifyItem(itemNotifierType: ItemNotifierType, item: Item): void;
|
|
120
120
|
notifyStat(type: StatNotificationType, value: number): void;
|
|
121
121
|
addMarkerIcon(type: MarkerIconType): void;
|
|
122
|
-
removeMarkerIcon(): void;
|
|
122
|
+
removeMarkerIcon(...types: MarkerIconType[]): void;
|
|
123
123
|
getProducedTemperature(): number | undefined;
|
|
124
124
|
setName(renamed: string | ISerializedTranslation | undefined): void;
|
|
125
125
|
canInspect(human: Human): boolean;
|
|
@@ -56,6 +56,7 @@ export default abstract class EntityMovable<DescriptionType = unknown, TypeType
|
|
|
56
56
|
movementCompleteZ?: number;
|
|
57
57
|
anim?: number;
|
|
58
58
|
moveType?: MoveType;
|
|
59
|
+
fastMoving?: boolean;
|
|
59
60
|
shouldSkipNextMovement?: true;
|
|
60
61
|
protected slipping?: ISlippingData;
|
|
61
62
|
protected shouldSkipNextUpdate?: true;
|
|
@@ -161,6 +162,7 @@ export default abstract class EntityMovable<DescriptionType = unknown, TypeType
|
|
|
161
162
|
getMovementProgress(timeStamp: number): number;
|
|
162
163
|
protected onMovementCompleted(movingData: IMovingData): void;
|
|
163
164
|
get isFlying(): boolean;
|
|
165
|
+
get isFastMoving(): boolean;
|
|
164
166
|
/**
|
|
165
167
|
* Checks if the entity is moving.
|
|
166
168
|
* This is based on the local client state (renderer).
|
|
@@ -91,7 +91,7 @@ export default abstract class Human<DescriptionType = unknown, TypeType extends
|
|
|
91
91
|
defenses: number[];
|
|
92
92
|
equippedOffHandDisabled?: ItemReference;
|
|
93
93
|
equippedReferences: Map<EquipType, ItemReference>;
|
|
94
|
-
|
|
94
|
+
fastMovingDelay?: number;
|
|
95
95
|
handEquippedToLast: EquipType.OffHand | EquipType.MainHand;
|
|
96
96
|
isConnecting: boolean;
|
|
97
97
|
lastAttackedByReference?: Reference;
|
|
@@ -22,7 +22,7 @@ interface IFlowFieldHuman {
|
|
|
22
22
|
export default class FlowFieldManager {
|
|
23
23
|
private readonly island;
|
|
24
24
|
private readonly size;
|
|
25
|
-
flowFields: Map<"-1-0" | "-1-1" | "-1-2" | "-1-4" | "-1-8" | "-1-16" | "-1-32" | "-1-64" | "-1-128" | "-1-256" | "-1-512" | "-1-1024" | "-1-2048" | "-1-15" | "0-0" | "0-1" | "0-2" | "0-4" | "0-8" | "0-16" | "0-32" | "0-64" | "0-128" | "0-256" | "0-512" | "0-1024" | "0-2048" | "0-15" | "1-0" | "1-1" | "1-2" | "1-4" | "1-8" | "1-16" | "1-32" | "1-64" | "1-128" | "1-256" | "1-512" | "1-1024" | "1-2048" | "1-15", FlowField>;
|
|
25
|
+
flowFields: Map<"-1-0" | "-1-1" | "-1-2" | "-1-4" | "-1-8" | "-1-16" | "-1-32" | "-1-64" | "-1-128" | "-1-256" | "-1-512" | "-1-1024" | "-1-2048" | "-1-4096" | "-1-15" | "0-0" | "0-1" | "0-2" | "0-4" | "0-8" | "0-16" | "0-32" | "0-64" | "0-128" | "0-256" | "0-512" | "0-1024" | "0-2048" | "0-4096" | "0-15" | "1-0" | "1-1" | "1-2" | "1-4" | "1-8" | "1-16" | "1-32" | "1-64" | "1-128" | "1-256" | "1-512" | "1-1024" | "1-2048" | "1-4096" | "1-15", FlowField>;
|
|
26
26
|
humans: IFlowFieldHuman[];
|
|
27
27
|
private _flowFieldHumans;
|
|
28
28
|
constructor(island: Island, size: number);
|
|
@@ -113,7 +113,7 @@ export default class Island extends EventEmitter.Host<IIslandEvents> implements
|
|
|
113
113
|
/**
|
|
114
114
|
* Entity move types in fov on this island
|
|
115
115
|
*/
|
|
116
|
-
readonly moveTypesInFov: Map<"-1-0" | "-1-1" | "-1-2" | "-1-4" | "-1-8" | "-1-16" | "-1-32" | "-1-64" | "-1-128" | "-1-256" | "-1-512" | "-1-1024" | "-1-2048" | "-1-15" | "0-0" | "0-1" | "0-2" | "0-4" | "0-8" | "0-16" | "0-32" | "0-64" | "0-128" | "0-256" | "0-512" | "0-1024" | "0-2048" | "0-15" | "1-0" | "1-1" | "1-2" | "1-4" | "1-8" | "1-16" | "1-32" | "1-64" | "1-128" | "1-256" | "1-512" | "1-1024" | "1-2048" | "1-15", Set<Human<unknown, number, import("@wayward/game/game/reference/IReferenceManager").ReferenceType.NPC | import("@wayward/game/game/reference/IReferenceManager").ReferenceType.Player>>>;
|
|
116
|
+
readonly moveTypesInFov: Map<"-1-0" | "-1-1" | "-1-2" | "-1-4" | "-1-8" | "-1-16" | "-1-32" | "-1-64" | "-1-128" | "-1-256" | "-1-512" | "-1-1024" | "-1-2048" | "-1-4096" | "-1-15" | "0-0" | "0-1" | "0-2" | "0-4" | "0-8" | "0-16" | "0-32" | "0-64" | "0-128" | "0-256" | "0-512" | "0-1024" | "0-2048" | "0-4096" | "0-15" | "1-0" | "1-1" | "1-2" | "1-4" | "1-8" | "1-16" | "1-32" | "1-64" | "1-128" | "1-256" | "1-512" | "1-1024" | "1-2048" | "1-4096" | "1-15", Set<Human<unknown, number, import("@wayward/game/game/reference/IReferenceManager").ReferenceType.NPC | import("@wayward/game/game/reference/IReferenceManager").ReferenceType.Player>>>;
|
|
117
117
|
/**
|
|
118
118
|
* Helps instruct when to tick when in simulated turn mode
|
|
119
119
|
*/
|
|
@@ -784,174 +784,176 @@ declare enum UiTranslation {
|
|
|
784
784
|
MenuOptionsButtonUseAdjacentContainersTooltip = 769,
|
|
785
785
|
MenuOptionsButtonHideEquippedHeadgear = 770,
|
|
786
786
|
MenuOptionsButtonHideEquippedHeadgearTooltip = 771,
|
|
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
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
787
|
+
MenuOptionsButtonDisableItemNotifiers = 772,
|
|
788
|
+
MenuOptionsButtonDisableItemNotifiersTooltip = 773,
|
|
789
|
+
MenuOptionsButtonLeftHanded = 774,
|
|
790
|
+
MenuOptionsButtonLeftHandedTooltip = 775,
|
|
791
|
+
MenuOptionsButtonAutoSave = 776,
|
|
792
|
+
MenuOptionsRangeAutoSaveTimerLabel = 777,
|
|
793
|
+
MenuOptionsRangeAutoSaveTimerTurnsDisplay = 778,
|
|
794
|
+
MenuOptionsRangeAutoSaveTimerTimeDisplay = 779,
|
|
795
|
+
MenuOptionsButtonDropIntoContainers = 780,
|
|
796
|
+
MenuOptionsButtonDropIntoContainersTooltip = 781,
|
|
797
|
+
MenuOptionsButtonWarnOnDangerousActions = 782,
|
|
798
|
+
MenuOptionsButtonWarnOnDangerousActionsTooltip = 783,
|
|
799
|
+
MenuOptionsButtonWarnOnDestructiveActions = 784,
|
|
800
|
+
MenuOptionsButtonWarnOnDestructiveActionsTooltip = 785,
|
|
801
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnCraft = 786,
|
|
802
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnCraftTooltip = 787,
|
|
803
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnUse = 788,
|
|
804
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnUseTooltip = 789,
|
|
805
|
+
MenuOptionsHeadingWarnWhenBreakingItems = 790,
|
|
806
|
+
MenuOptionsButtonSaveDataClearBindings = 791,
|
|
807
|
+
MenuOptionsLabelSaveDataRemoval = 792,
|
|
808
|
+
MenuOptionsTooltipDialogOpacity = 793,
|
|
809
|
+
MenuOptionsLabelDialogOpacity = 794,
|
|
810
|
+
MenuOptionsDeveloperSteamBetas = 795,
|
|
811
|
+
MenuOptionsDeveloperSteamBetaName = 796,
|
|
812
|
+
MenuOptionsDeveloperLogSourceFilterHeading = 797,
|
|
813
|
+
MenuOptionsDeveloperUIExperiments = 798,
|
|
814
|
+
MenuOptionsDeveloperUIExperimentsDescription = 799,
|
|
815
|
+
MenuOptionsAudioVolumeDisplay = 800,
|
|
816
|
+
MenuOptionsAudioInputSoundOnTyping = 801,
|
|
817
|
+
MenuOptionsAudioPlayAudioInBackground = 802,
|
|
818
|
+
MenuOptionsMusicPlaylist = 803,
|
|
819
|
+
MenuOptionsButtonConfigureBindings = 804,
|
|
820
|
+
MenuOptionsButtonSaveCompression = 805,
|
|
821
|
+
MenuOptionsButtonSaveCompressionTooltip = 806,
|
|
822
|
+
MenuOptionsButtonSaveUIDataGlobally = 807,
|
|
823
|
+
MenuOptionsButtonSaveUIDataGloballyTooltip = 808,
|
|
824
|
+
MenuPauseButtonContinueGame = 809,
|
|
825
|
+
MenuPauseButtonReturnToGame = 810,
|
|
826
|
+
MenuPauseButtonOptions = 811,
|
|
827
|
+
MenuPauseButtonGameSettings = 812,
|
|
828
|
+
MenuPauseButtonPaused = 813,
|
|
829
|
+
MenuPauseButtonMultiplayer = 814,
|
|
830
|
+
MenuPauseButtonHelp = 815,
|
|
831
|
+
MenuPauseButtonTitleScreen = 816,
|
|
832
|
+
MenuPauseButtonStopServer = 817,
|
|
833
|
+
MenuPauseButtonQuitWithoutSaving = 818,
|
|
834
|
+
MenuPauseTooltipNotPaused = 819,
|
|
835
|
+
MenuPauseLabelPaused = 820,
|
|
836
|
+
MenuPauseLabelNotPaused = 821,
|
|
837
|
+
MenuModesTitle = 822,
|
|
838
|
+
MenuModesDescription = 823,
|
|
839
|
+
MenuMultiplayerOptionsTitle = 824,
|
|
840
|
+
MenuMultiplayerOptionsDescription = 825,
|
|
841
|
+
MenuMultiplayerOptionsOpenServer = 826,
|
|
842
|
+
MenuMultiplayerOptionsOpenServerDescription = 827,
|
|
843
|
+
MenuMultiplayerOptionsCopyGameCode = 828,
|
|
844
|
+
MenuMultiplayerOptionsCopyGameCodeTooltip = 829,
|
|
845
|
+
MenuMultiplayerOptionsInviteSteamFriends = 830,
|
|
846
|
+
MenuMultiplayerOptionsCheckConnectionHeading = 831,
|
|
847
|
+
MenuMultiplayerOptionsCheckConnectionParagraph = 832,
|
|
848
|
+
MenuMultiplayerOptionsCheckConnectionButton = 833,
|
|
849
|
+
MenuMultiplayerOptionsCheckConnectionResultUnknown = 834,
|
|
850
|
+
MenuMultiplayerOptionsCheckConnectionResultChecking = 835,
|
|
851
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetwork = 836,
|
|
852
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetworkFail = 837,
|
|
853
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetworkUnavailable = 838,
|
|
854
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocket = 839,
|
|
855
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocketFail = 840,
|
|
856
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocketUnavailable = 841,
|
|
857
|
+
MenuMultiplayerOptionsCheckConnectionResultSuccess = 842,
|
|
858
|
+
MenuJoinServerTitle = 843,
|
|
859
|
+
MenuJoinServerDescription = 844,
|
|
860
|
+
MenuJoinServerInputPlaceholder = 845,
|
|
861
|
+
MenuJoinServerChooseModifiersTitle = 846,
|
|
862
|
+
MenuJoinServerChooseModifiersDescription = 847,
|
|
863
|
+
MenuSharedMultiplayerChoiceLobbyTypeFriends = 848,
|
|
864
|
+
MenuSharedMultiplayerChoiceLobbyTypeFriendsDescription = 849,
|
|
865
|
+
MenuSharedMultiplayerChoiceLobbyTypePublic = 850,
|
|
866
|
+
MenuSharedMultiplayerChoiceLobbyTypePublicDescription = 851,
|
|
867
|
+
MenuSharedMultiplayerChoiceLobbyTypePrivate = 852,
|
|
868
|
+
MenuSharedMultiplayerChoiceLobbyTypePrivateDescription = 853,
|
|
869
|
+
MenuSharedMultiplayerChoicePVP = 854,
|
|
870
|
+
MenuSharedMultiplayerChoicePVPDescription = 855,
|
|
871
|
+
MenuSharedMultiplayerChoiceAllowTraveling = 856,
|
|
872
|
+
MenuSharedMultiplayerChoiceAllowTravelingDescription = 857,
|
|
873
|
+
MenuSharedMultiplayerChoiceAllowHardcoreRespawns = 858,
|
|
874
|
+
MenuSharedMultiplayerChoiceAllowHardcoreRespawnsDescription = 859,
|
|
875
|
+
MenuSharedMultiplayerChoicePauseOnDesync = 860,
|
|
876
|
+
MenuSharedMultiplayerChoicePauseOnDesyncDescription = 861,
|
|
877
|
+
MenuSharedMultiplayerDescription = 862,
|
|
878
|
+
MenuSharedMultiplayerMessageOfTheDay = 863,
|
|
879
|
+
MenuSharedMultiplayerMaxPlayers = 864,
|
|
880
|
+
MenuSharedRealTimeTickSpeedTooltip = 865,
|
|
881
|
+
MenuSharedRealTimeTickSpeedLabel = 866,
|
|
882
|
+
MenuSharedButtonDefault = 867,
|
|
883
|
+
MenuSharedValueSeconds = 868,
|
|
884
|
+
MenuSharedValueMilliseconds = 869,
|
|
885
|
+
MenuSharedValueTurns = 870,
|
|
886
|
+
MenuSharedValuePercentage = 871,
|
|
887
|
+
MenuSharedMilestonesNotUnlockable = 872,
|
|
888
|
+
MenuSharedMilestonesNotUnlockableDescription = 873,
|
|
889
|
+
MenuSharedMilestonesNotUnlockableButtonShowMods = 874,
|
|
890
|
+
MenuSharedButtonDisableAll = 875,
|
|
891
|
+
MenuSharedButtonEnableAll = 876,
|
|
892
|
+
MenuSharedMilestoneModifiersSelected = 877,
|
|
893
|
+
MiscSortBy = 878,
|
|
894
|
+
MiscSortCustom = 879,
|
|
895
|
+
MiscSortDirection = 880,
|
|
896
|
+
MiscFilter = 881,
|
|
897
|
+
MiscNone = 882,
|
|
898
|
+
MiscPlayerNameDefault = 883,
|
|
899
|
+
MiscPlayerNameServer = 884,
|
|
900
|
+
MiscSaveNameDefault = 885,
|
|
901
|
+
MiscSaveNameDailyChallenge = 886,
|
|
902
|
+
MiscSaveNameChallenge = 887,
|
|
903
|
+
MiscSaveVersionUnknown = 888,
|
|
904
|
+
MiscVersion = 889,
|
|
905
|
+
MiscVersionBuildInfoTooltip = 890,
|
|
906
|
+
MiscVersionUpdate = 891,
|
|
907
|
+
MiscTime = 892,
|
|
908
|
+
MiscTimeMeridiem = 893,
|
|
909
|
+
MiscError = 894,
|
|
910
|
+
MiscContextMenuCopyTooltip = 895,
|
|
911
|
+
MiscBindableNoBindings = 896,
|
|
912
|
+
MiscBindingIcon = 897,
|
|
913
|
+
MiscBindingIconThen = 898,
|
|
914
|
+
DifficultyOptionsPeaceful = 899,
|
|
915
|
+
DifficultyOptionsAberrantSpawnsDisabled = 900,
|
|
916
|
+
DifficultyOptionsAberrantSpawnsOnly = 901,
|
|
917
|
+
DifficultyOptionsCreatureSpawningDisabled = 902,
|
|
918
|
+
DifficultyOptionsCreatureAlwaysSpawns = 903,
|
|
919
|
+
DifficultyOptionsCreatureSpawnsDefault = 904,
|
|
920
|
+
DifficultyOptionsCreatureSpawnsAberrantOnly = 905,
|
|
921
|
+
DifficultyOptionsCreatureSpawnsNoAberrants = 906,
|
|
922
|
+
DifficultyOptionsSpawnLimit = 907,
|
|
923
|
+
DifficultyOptionsSpawnRateMultiplier = 908,
|
|
924
|
+
DifficultyOptionsDisableScared = 909,
|
|
925
|
+
DifficultyOptionsRespawn = 910,
|
|
926
|
+
DifficultyOptionsEternalNight = 911,
|
|
927
|
+
DifficultyOptionsEternalDay = 912,
|
|
928
|
+
DifficultyOptionsTimeInitial = 913,
|
|
929
|
+
DifficultyOptionsTimeFrozen = 914,
|
|
930
|
+
DifficultyOptionsTimeDayLength = 915,
|
|
931
|
+
DifficultyOptionsTimeDayPercent = 916,
|
|
932
|
+
DifficultyOptionsNoItems = 917,
|
|
933
|
+
DifficultyOptionsRecipes = 918,
|
|
934
|
+
DifficultyOptionsStartingIsland = 919,
|
|
935
|
+
DifficultyOptionsTravelingEffectsDisabled = 920,
|
|
936
|
+
DifficultyOptionsLuck = 921,
|
|
937
|
+
DifficultyOptionsWeightBonus = 922,
|
|
938
|
+
DifficultyOptionsStatInitial = 923,
|
|
939
|
+
DifficultyOptionsStatMax = 924,
|
|
940
|
+
DifficultyOptionsStatMultiplier = 925,
|
|
941
|
+
DifficultyOptionsStatusStartWith = 926,
|
|
942
|
+
DifficultyOptionsStatusUntreatable = 927,
|
|
943
|
+
DifficultyOptionsStatusPassChanceMultiplier = 928,
|
|
944
|
+
DifficultyOptionsNoRandomSkills = 929,
|
|
945
|
+
DifficultyOptionsSkillStartingCount = 930,
|
|
946
|
+
DifficultyOptionsSkillGainMultiplier = 931,
|
|
947
|
+
DifficultyOptionsSkillInitial = 932,
|
|
948
|
+
DifficultyOptionsStatusPermanent = 933,
|
|
949
|
+
DifficultyOptionsStatusRateMultiplier = 934,
|
|
950
|
+
DifficultyOptionsStatusMultiplier = 935,
|
|
951
|
+
DifficultyOptionsItemDurabilityMultiplier = 936,
|
|
952
|
+
DifficultyOptionsItemDecayMultiplier = 937,
|
|
953
|
+
DifficultyOptionsTileContainersEnabled = 938,
|
|
954
|
+
TabCrafting = 939,
|
|
955
|
+
TabDismantle = 940,
|
|
956
|
+
WindowTitleContainer = 941,
|
|
957
|
+
WindowTitleInventory = 942
|
|
956
958
|
}
|
|
957
959
|
export default UiTranslation;
|
|
@@ -54,7 +54,9 @@ export declare enum NotifierIconType {
|
|
|
54
54
|
DualWieldDisabled = 8
|
|
55
55
|
}
|
|
56
56
|
export declare enum MarkerIconType {
|
|
57
|
-
Tamed = 0
|
|
57
|
+
Tamed = 0,
|
|
58
|
+
AlertedHostile = 1,
|
|
59
|
+
AlertedScared = 2
|
|
58
60
|
}
|
|
59
61
|
export declare const itemDamageNotifierThreshold = 3;
|
|
60
62
|
export declare const doodadDamageNotifierThreshold = 5;
|
|
@@ -17,26 +17,16 @@ export type UnWeakRefified<ARGS extends any[]> = {
|
|
|
17
17
|
[INDEX in keyof ARGS]: ARGS[INDEX] | (ARGS[INDEX] extends WeakKey ? undefined : never);
|
|
18
18
|
};
|
|
19
19
|
declare namespace Objects {
|
|
20
|
-
function mapOrRecordKeys<RK extends PropertyKey, MK>(o:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
function mapOrRecordValues<V>(o: {
|
|
24
|
-
[key in PropertyKey]?: V;
|
|
25
|
-
} | Map<any, V>): V[];
|
|
26
|
-
function mapOrRecordEntries<RK extends PropertyKey, MK, V>(o: {
|
|
27
|
-
[key in RK]?: V;
|
|
28
|
-
} | Map<MK, V>): Array<[RK | MK, V]>;
|
|
20
|
+
function mapOrRecordKeys<RK extends PropertyKey, MK>(o: Partial<Record<RK, any>> | Map<MK, any>): Array<RK | MK>;
|
|
21
|
+
function mapOrRecordValues<V>(o: Partial<Record<PropertyKey, V>> | Map<any, V>): V[];
|
|
22
|
+
function mapOrRecordEntries<RK extends PropertyKey, MK, V>(o: Partial<Record<RK, V>> | Map<MK, V>): Array<[RK | MK, V]>;
|
|
29
23
|
function keys<K>(o: Map<K, any>): MapIterator<K>;
|
|
30
|
-
function keys<K extends PropertyKey>(o:
|
|
31
|
-
[key in K]?: any;
|
|
32
|
-
}): K[];
|
|
24
|
+
function keys<K extends PropertyKey>(o: Partial<Record<K, any>>): K[];
|
|
33
25
|
function keys<O extends object>(o: O): Array<keyof O>;
|
|
34
26
|
function values<V>(o: Map<any, V>): MapIterator<V>;
|
|
35
27
|
function values<O extends object>(o: O): Array<O[keyof O]>;
|
|
36
28
|
function entries<K, V>(o: Map<K, V>): MapIterator<[K, V]>;
|
|
37
|
-
function entries<K extends PropertyKey, V>(o:
|
|
38
|
-
[key in K]?: V;
|
|
39
|
-
}): Array<[K, V]>;
|
|
29
|
+
function entries<K extends PropertyKey, V>(o: Partial<Record<K, V>>): Array<[K, V]>;
|
|
40
30
|
function entries<O extends object>(o: O): Array<[keyof O, O[keyof O]]>;
|
|
41
31
|
function fromEntries<K extends PropertyKey, V>(entriesIterable: Iterable<[K, V] | readonly [K, V]>): Record<K, V>;
|
|
42
32
|
function windowKeysToParentObject(windowKeys: string[]): unknown;
|
package/package.json
CHANGED