@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.
@@ -24,11 +24,12 @@ export declare enum CombatStrength {
24
24
  Tier9 = 9
25
25
  }
26
26
  export declare enum CombatDangerLevel {
27
- Low = 0,
28
- Medium = 1,
29
- High = 2,
30
- VeryHigh = 3,
31
- Extreme = 4
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
- flyingDelay?: number;
94
+ fastMovingDelay?: number;
95
95
  handEquippedToLast: EquipType.OffHand | EquipType.MainHand;
96
96
  isConnecting: boolean;
97
97
  lastAttackedByReference?: Reference;
@@ -145,6 +145,7 @@ export declare enum MoveType {
145
145
  Void = 512,
146
146
  LandBlind = 1024,// Will not attempt to move towards targets on land
147
147
  Hole = 2048,
148
+ Fast = 4096,
148
149
  Flying = 15
149
150
  }
150
151
  export declare enum AttackType {
@@ -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);
@@ -31,6 +31,7 @@ export declare enum InspectionClasses {
31
31
  $Subtitle = "subtitle",
32
32
  ColorContext = "inspection-color-context",
33
33
  $ColorContext = "color-context",
34
+ $ColorContext_Optional = "color-context--optional",
34
35
  Icon = "inspection-icon",
35
36
  $Icon = "icon"
36
37
  }
@@ -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
- MenuOptionsButtonLeftHanded = 772,
788
- MenuOptionsButtonLeftHandedTooltip = 773,
789
- MenuOptionsButtonAutoSave = 774,
790
- MenuOptionsRangeAutoSaveTimerLabel = 775,
791
- MenuOptionsRangeAutoSaveTimerTurnsDisplay = 776,
792
- MenuOptionsRangeAutoSaveTimerTimeDisplay = 777,
793
- MenuOptionsButtonDropIntoContainers = 778,
794
- MenuOptionsButtonDropIntoContainersTooltip = 779,
795
- MenuOptionsButtonWarnOnDangerousActions = 780,
796
- MenuOptionsButtonWarnOnDangerousActionsTooltip = 781,
797
- MenuOptionsButtonWarnOnDestructiveActions = 782,
798
- MenuOptionsButtonWarnOnDestructiveActionsTooltip = 783,
799
- MenuOptionsButtonWarnWhenBreakingItemsOnCraft = 784,
800
- MenuOptionsButtonWarnWhenBreakingItemsOnCraftTooltip = 785,
801
- MenuOptionsButtonWarnWhenBreakingItemsOnUse = 786,
802
- MenuOptionsButtonWarnWhenBreakingItemsOnUseTooltip = 787,
803
- MenuOptionsHeadingWarnWhenBreakingItems = 788,
804
- MenuOptionsButtonSaveDataClearBindings = 789,
805
- MenuOptionsLabelSaveDataRemoval = 790,
806
- MenuOptionsTooltipDialogOpacity = 791,
807
- MenuOptionsLabelDialogOpacity = 792,
808
- MenuOptionsDeveloperSteamBetas = 793,
809
- MenuOptionsDeveloperSteamBetaName = 794,
810
- MenuOptionsDeveloperLogSourceFilterHeading = 795,
811
- MenuOptionsDeveloperUIExperiments = 796,
812
- MenuOptionsDeveloperUIExperimentsDescription = 797,
813
- MenuOptionsAudioVolumeDisplay = 798,
814
- MenuOptionsAudioInputSoundOnTyping = 799,
815
- MenuOptionsAudioPlayAudioInBackground = 800,
816
- MenuOptionsMusicPlaylist = 801,
817
- MenuOptionsButtonConfigureBindings = 802,
818
- MenuOptionsButtonSaveCompression = 803,
819
- MenuOptionsButtonSaveCompressionTooltip = 804,
820
- MenuOptionsButtonSaveUIDataGlobally = 805,
821
- MenuOptionsButtonSaveUIDataGloballyTooltip = 806,
822
- MenuPauseButtonContinueGame = 807,
823
- MenuPauseButtonReturnToGame = 808,
824
- MenuPauseButtonOptions = 809,
825
- MenuPauseButtonGameSettings = 810,
826
- MenuPauseButtonPaused = 811,
827
- MenuPauseButtonMultiplayer = 812,
828
- MenuPauseButtonHelp = 813,
829
- MenuPauseButtonTitleScreen = 814,
830
- MenuPauseButtonStopServer = 815,
831
- MenuPauseButtonQuitWithoutSaving = 816,
832
- MenuPauseTooltipNotPaused = 817,
833
- MenuPauseLabelPaused = 818,
834
- MenuPauseLabelNotPaused = 819,
835
- MenuModesTitle = 820,
836
- MenuModesDescription = 821,
837
- MenuMultiplayerOptionsTitle = 822,
838
- MenuMultiplayerOptionsDescription = 823,
839
- MenuMultiplayerOptionsOpenServer = 824,
840
- MenuMultiplayerOptionsOpenServerDescription = 825,
841
- MenuMultiplayerOptionsCopyGameCode = 826,
842
- MenuMultiplayerOptionsCopyGameCodeTooltip = 827,
843
- MenuMultiplayerOptionsInviteSteamFriends = 828,
844
- MenuMultiplayerOptionsCheckConnectionHeading = 829,
845
- MenuMultiplayerOptionsCheckConnectionParagraph = 830,
846
- MenuMultiplayerOptionsCheckConnectionButton = 831,
847
- MenuMultiplayerOptionsCheckConnectionResultUnknown = 832,
848
- MenuMultiplayerOptionsCheckConnectionResultChecking = 833,
849
- MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetwork = 834,
850
- MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetworkFail = 835,
851
- MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetworkUnavailable = 836,
852
- MenuMultiplayerOptionsCheckConnectionResultWebSocket = 837,
853
- MenuMultiplayerOptionsCheckConnectionResultWebSocketFail = 838,
854
- MenuMultiplayerOptionsCheckConnectionResultWebSocketUnavailable = 839,
855
- MenuMultiplayerOptionsCheckConnectionResultSuccess = 840,
856
- MenuJoinServerTitle = 841,
857
- MenuJoinServerDescription = 842,
858
- MenuJoinServerInputPlaceholder = 843,
859
- MenuJoinServerChooseModifiersTitle = 844,
860
- MenuJoinServerChooseModifiersDescription = 845,
861
- MenuSharedMultiplayerChoiceLobbyTypeFriends = 846,
862
- MenuSharedMultiplayerChoiceLobbyTypeFriendsDescription = 847,
863
- MenuSharedMultiplayerChoiceLobbyTypePublic = 848,
864
- MenuSharedMultiplayerChoiceLobbyTypePublicDescription = 849,
865
- MenuSharedMultiplayerChoiceLobbyTypePrivate = 850,
866
- MenuSharedMultiplayerChoiceLobbyTypePrivateDescription = 851,
867
- MenuSharedMultiplayerChoicePVP = 852,
868
- MenuSharedMultiplayerChoicePVPDescription = 853,
869
- MenuSharedMultiplayerChoiceAllowTraveling = 854,
870
- MenuSharedMultiplayerChoiceAllowTravelingDescription = 855,
871
- MenuSharedMultiplayerChoiceAllowHardcoreRespawns = 856,
872
- MenuSharedMultiplayerChoiceAllowHardcoreRespawnsDescription = 857,
873
- MenuSharedMultiplayerChoicePauseOnDesync = 858,
874
- MenuSharedMultiplayerChoicePauseOnDesyncDescription = 859,
875
- MenuSharedMultiplayerDescription = 860,
876
- MenuSharedMultiplayerMessageOfTheDay = 861,
877
- MenuSharedMultiplayerMaxPlayers = 862,
878
- MenuSharedRealTimeTickSpeedTooltip = 863,
879
- MenuSharedRealTimeTickSpeedLabel = 864,
880
- MenuSharedButtonDefault = 865,
881
- MenuSharedValueSeconds = 866,
882
- MenuSharedValueMilliseconds = 867,
883
- MenuSharedValueTurns = 868,
884
- MenuSharedValuePercentage = 869,
885
- MenuSharedMilestonesNotUnlockable = 870,
886
- MenuSharedMilestonesNotUnlockableDescription = 871,
887
- MenuSharedMilestonesNotUnlockableButtonShowMods = 872,
888
- MenuSharedButtonDisableAll = 873,
889
- MenuSharedButtonEnableAll = 874,
890
- MenuSharedMilestoneModifiersSelected = 875,
891
- MiscSortBy = 876,
892
- MiscSortCustom = 877,
893
- MiscSortDirection = 878,
894
- MiscFilter = 879,
895
- MiscNone = 880,
896
- MiscPlayerNameDefault = 881,
897
- MiscPlayerNameServer = 882,
898
- MiscSaveNameDefault = 883,
899
- MiscSaveNameDailyChallenge = 884,
900
- MiscSaveNameChallenge = 885,
901
- MiscSaveVersionUnknown = 886,
902
- MiscVersion = 887,
903
- MiscVersionBuildInfoTooltip = 888,
904
- MiscVersionUpdate = 889,
905
- MiscTime = 890,
906
- MiscTimeMeridiem = 891,
907
- MiscError = 892,
908
- MiscContextMenuCopyTooltip = 893,
909
- MiscBindableNoBindings = 894,
910
- MiscBindingIcon = 895,
911
- MiscBindingIconThen = 896,
912
- DifficultyOptionsPeaceful = 897,
913
- DifficultyOptionsAberrantSpawnsDisabled = 898,
914
- DifficultyOptionsAberrantSpawnsOnly = 899,
915
- DifficultyOptionsCreatureSpawningDisabled = 900,
916
- DifficultyOptionsCreatureAlwaysSpawns = 901,
917
- DifficultyOptionsCreatureSpawnsDefault = 902,
918
- DifficultyOptionsCreatureSpawnsAberrantOnly = 903,
919
- DifficultyOptionsCreatureSpawnsNoAberrants = 904,
920
- DifficultyOptionsSpawnLimit = 905,
921
- DifficultyOptionsSpawnRateMultiplier = 906,
922
- DifficultyOptionsDisableScared = 907,
923
- DifficultyOptionsRespawn = 908,
924
- DifficultyOptionsEternalNight = 909,
925
- DifficultyOptionsEternalDay = 910,
926
- DifficultyOptionsTimeInitial = 911,
927
- DifficultyOptionsTimeFrozen = 912,
928
- DifficultyOptionsTimeDayLength = 913,
929
- DifficultyOptionsTimeDayPercent = 914,
930
- DifficultyOptionsNoItems = 915,
931
- DifficultyOptionsRecipes = 916,
932
- DifficultyOptionsStartingIsland = 917,
933
- DifficultyOptionsTravelingEffectsDisabled = 918,
934
- DifficultyOptionsLuck = 919,
935
- DifficultyOptionsWeightBonus = 920,
936
- DifficultyOptionsStatInitial = 921,
937
- DifficultyOptionsStatMax = 922,
938
- DifficultyOptionsStatMultiplier = 923,
939
- DifficultyOptionsStatusStartWith = 924,
940
- DifficultyOptionsStatusUntreatable = 925,
941
- DifficultyOptionsStatusPassChanceMultiplier = 926,
942
- DifficultyOptionsNoRandomSkills = 927,
943
- DifficultyOptionsSkillStartingCount = 928,
944
- DifficultyOptionsSkillGainMultiplier = 929,
945
- DifficultyOptionsSkillInitial = 930,
946
- DifficultyOptionsStatusPermanent = 931,
947
- DifficultyOptionsStatusRateMultiplier = 932,
948
- DifficultyOptionsStatusMultiplier = 933,
949
- DifficultyOptionsItemDurabilityMultiplier = 934,
950
- DifficultyOptionsItemDecayMultiplier = 935,
951
- DifficultyOptionsTileContainersEnabled = 936,
952
- TabCrafting = 937,
953
- TabDismantle = 938,
954
- WindowTitleContainer = 939,
955
- WindowTitleInventory = 940
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;
@@ -60,6 +60,7 @@ export interface IOptions {
60
60
  grantAllMilestoneModifiers: boolean;
61
61
  hideEquippedHeadgear: boolean;
62
62
  hudWidth?: number;
63
+ disableItemNotifiers: boolean;
63
64
  leftHanded: boolean;
64
65
  lowPowerMode: boolean;
65
66
  mouseTurnDelay: number;
@@ -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
- [key in RK]?: any;
22
- } | Map<MK, any>): Array<RK | MK>;
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.14.0-beta.dev.20241129.1",
4
+ "version": "2.14.0-beta.dev.20241130.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",