@wayward/types 2.12.2-beta.dev.20221106.1 → 2.12.2-beta.dev.20221107.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/player/quest/QuestManager.d.ts +1 -1
- package/definitions/game/game/entity/player/quest/Quests.d.ts +3 -4
- package/definitions/game/game/item/Item.d.ts +1 -1
- package/definitions/game/game/temperature/TemperatureManager.d.ts +7 -3
- package/definitions/game/language/dictionary/UiTranslation.d.ts +178 -176
- package/definitions/game/renderer/IRenderer.d.ts +1 -1
- package/definitions/game/save/data/ISaveDataGlobal.d.ts +1 -0
- package/package.json +1 -1
|
@@ -101,7 +101,7 @@ export declare class QuestInstance extends EventEmitter.Host<IQuestInstanceEvent
|
|
|
101
101
|
getTitle(): import("../../../../language/impl/TranslationImpl").default | undefined;
|
|
102
102
|
getDescription(): import("../../../../language/impl/TranslationImpl").default | undefined;
|
|
103
103
|
getRequirements(): Stream<RequirementInstance>;
|
|
104
|
-
needsManualCompletion(): boolean;
|
|
104
|
+
needsManualCompletion(): boolean | undefined;
|
|
105
105
|
complete(): this;
|
|
106
106
|
getChildren(): Stream<QuestType>;
|
|
107
107
|
getCompletionAmount(): number;
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
11
|
+
import { QuestType } from "game/entity/player/quest/quest/IQuest";
|
|
12
|
+
import type { Quest } from "game/entity/player/quest/quest/Quest";
|
|
13
|
+
declare const quests: OptionalDescriptions<QuestType, Quest>;
|
|
15
14
|
export default quests;
|
|
@@ -41,7 +41,7 @@ export interface IItemEvents {
|
|
|
41
41
|
toggleProtected(isProtected: boolean): any;
|
|
42
42
|
fireUpdate(stage?: FireStage): any;
|
|
43
43
|
damage(): any;
|
|
44
|
-
transformed(): any;
|
|
44
|
+
transformed(newType: ItemType, oldType: ItemType): any;
|
|
45
45
|
weightUpdate(): any;
|
|
46
46
|
moved(): any;
|
|
47
47
|
remove(): any;
|
|
@@ -14,7 +14,7 @@ import type { DoodadType } from "game/doodad/IDoodad";
|
|
|
14
14
|
import type Entity from "game/entity/Entity";
|
|
15
15
|
import type Player from "game/entity/player/Player";
|
|
16
16
|
import type Island from "game/island/Island";
|
|
17
|
-
import type { IContainer } from "game/item/IItem";
|
|
17
|
+
import type { IContainer, ItemType } from "game/item/IItem";
|
|
18
18
|
import type Item from "game/item/Item";
|
|
19
19
|
import type ItemManager from "game/item/ItemManager";
|
|
20
20
|
import { TempType } from "game/temperature/ITemperature";
|
|
@@ -66,12 +66,14 @@ export default class TemperatureManager extends EventEmitter.Host<ITempManagerEv
|
|
|
66
66
|
* @param applyInsulation Whether to apply the container's insulation to the produced temperature value. For example,
|
|
67
67
|
* containers with no insulation return the exact temperature they produce, while containers with maximum insulation return
|
|
68
68
|
* `Temperature.Neutral`
|
|
69
|
+
* @returns temperature or undefined if the container/contained items do not produce temperatures
|
|
69
70
|
*/
|
|
70
|
-
getContainerProducedTemperature(container: IContainer, containerHash?: string, applyInsulation?: boolean): number;
|
|
71
|
+
getContainerProducedTemperature(container: IContainer, containerHash?: string, applyInsulation?: boolean): number | undefined;
|
|
71
72
|
/**
|
|
72
73
|
* Get the combined temperature of the items in the container.
|
|
74
|
+
* @returns temperature or undefined if the container/contained items do not produce temperatures
|
|
73
75
|
*/
|
|
74
|
-
getContainerItemsTemperature(container: IContainer, containerHash?: string): number;
|
|
76
|
+
getContainerItemsTemperature(container: IContainer, containerHash?: string): number | undefined;
|
|
75
77
|
private getContainerBaseTemperature;
|
|
76
78
|
private getContainerInsulation;
|
|
77
79
|
/**
|
|
@@ -120,6 +122,7 @@ export default class TemperatureManager extends EventEmitter.Host<ITempManagerEv
|
|
|
120
122
|
protected onDpodadFireUpdate(object: Doodad, tile: ITile, stage?: FireStage): void;
|
|
121
123
|
protected onTileEventFireUpdate(object: TileEvent, tile: ITile, stage?: FireStage): void;
|
|
122
124
|
protected onDoodadTransformed(object: Doodad, newType: DoodadType, oldType: DoodadType): void;
|
|
125
|
+
protected onItemTransformed(object: Item, newType: ItemType, oldType: ItemType): void;
|
|
123
126
|
protected onPlayerSpawnOrRemove(_: any, player: Player): void;
|
|
124
127
|
protected onPlayerIdChanged(player: Player): void;
|
|
125
128
|
protected onCreateOrRemoveObject(_: any, object: Doodad | TileEvent | Entity): void;
|
|
@@ -180,4 +183,5 @@ export default class TemperatureManager extends EventEmitter.Host<ITempManagerEv
|
|
|
180
183
|
private calculateTile;
|
|
181
184
|
private getTileMax;
|
|
182
185
|
private getProduced;
|
|
186
|
+
private doesProduceTemperature;
|
|
183
187
|
}
|
|
@@ -696,181 +696,183 @@ declare enum UiTranslation {
|
|
|
696
696
|
MenuOptionsButtonUseAdjacentContainersTooltip = 681,
|
|
697
697
|
MenuOptionsButtonHideEquippedHeadgear = 682,
|
|
698
698
|
MenuOptionsButtonHideEquippedHeadgearTooltip = 683,
|
|
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
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
699
|
+
MenuOptionsButtonLeftHanded = 684,
|
|
700
|
+
MenuOptionsButtonLeftHandedTooltip = 685,
|
|
701
|
+
MenuOptionsButtonAutoSave = 686,
|
|
702
|
+
MenuOptionsButtonAutoSaveTooltip = 687,
|
|
703
|
+
MenuOptionsRangeAutoSaveTimerLabel = 688,
|
|
704
|
+
MenuOptionsRangeAutoSaveTimerTurnsDisplay = 689,
|
|
705
|
+
MenuOptionsRangeAutoSaveTimerTimeDisplay = 690,
|
|
706
|
+
MenuOptionsButtonDropIntoContainers = 691,
|
|
707
|
+
MenuOptionsButtonDropIntoContainersTooltip = 692,
|
|
708
|
+
MenuOptionsButtonWarnOnDangerousActions = 693,
|
|
709
|
+
MenuOptionsButtonWarnOnDangerousActionsTooltip = 694,
|
|
710
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnCraft = 695,
|
|
711
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnCraftTooltip = 696,
|
|
712
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnUse = 697,
|
|
713
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnUseTooltip = 698,
|
|
714
|
+
MenuOptionsHeadingWarnWhenBreakingItems = 699,
|
|
715
|
+
MenuOptionsButtonSaveDataClearBindings = 700,
|
|
716
|
+
MenuOptionsTooltipDialogOpacity = 701,
|
|
717
|
+
MenuOptionsLabelDialogOpacity = 702,
|
|
718
|
+
MenuOptionsDeveloperLogSourceFilterHeading = 703,
|
|
719
|
+
MenuOptionsDeveloperUIExperiments = 704,
|
|
720
|
+
MenuOptionsDeveloperUIExperimentsDescription = 705,
|
|
721
|
+
MenuOptionsAudioVolumeDisplay = 706,
|
|
722
|
+
MenuOptionsAudioInputSoundOnTyping = 707,
|
|
723
|
+
MenuOptionsMusicPlaylist = 708,
|
|
724
|
+
MenuOptionsButtonConfigureBindings = 709,
|
|
725
|
+
MenuOptionsButtonSaveCompression = 710,
|
|
726
|
+
MenuOptionsButtonSaveCompressionTooltip = 711,
|
|
727
|
+
MenuPauseButtonContinueGame = 712,
|
|
728
|
+
MenuPauseButtonReturnToGame = 713,
|
|
729
|
+
MenuPauseButtonOptions = 714,
|
|
730
|
+
MenuPauseButtonGameSettings = 715,
|
|
731
|
+
MenuPauseButtonPaused = 716,
|
|
732
|
+
MenuPauseButtonMultiplayer = 717,
|
|
733
|
+
MenuPauseButtonHelp = 718,
|
|
734
|
+
MenuPauseButtonTitleScreen = 719,
|
|
735
|
+
MenuPauseButtonStopServer = 720,
|
|
736
|
+
MenuPauseHeadingDedicatedServer = 721,
|
|
737
|
+
MenuPauseTooltipNotPaused = 722,
|
|
738
|
+
MenuPauseParagraphDedicatedServer = 723,
|
|
739
|
+
MenuPauseLabelPaused = 724,
|
|
740
|
+
MenuPauseLabelNotPaused = 725,
|
|
741
|
+
MenuModesTitle = 726,
|
|
742
|
+
MenuModesDescription = 727,
|
|
743
|
+
MenuMultiplayerOptionsTitle = 728,
|
|
744
|
+
MenuMultiplayerOptionsDescription = 729,
|
|
745
|
+
MenuMultiplayerOptionsOpenServer = 730,
|
|
746
|
+
MenuMultiplayerOptionsOpenServerDescription = 731,
|
|
747
|
+
MenuMultiplayerOptionsCopyGameCode = 732,
|
|
748
|
+
MenuMultiplayerOptionsCopyGameCodeTooltip = 733,
|
|
749
|
+
MenuMultiplayerOptionsInviteSteamFriends = 734,
|
|
750
|
+
MenuMultiplayerOptionsCheckConnectionHeading = 735,
|
|
751
|
+
MenuMultiplayerOptionsCheckConnectionParagraph = 736,
|
|
752
|
+
MenuMultiplayerOptionsCheckConnectionButton = 737,
|
|
753
|
+
MenuMultiplayerOptionsCheckConnectionResultUnknown = 738,
|
|
754
|
+
MenuMultiplayerOptionsCheckConnectionResultChecking = 739,
|
|
755
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetwork = 740,
|
|
756
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetworkFail = 741,
|
|
757
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetworkUnavailable = 742,
|
|
758
|
+
MenuMultiplayerOptionsCheckConnectionResultWebRTC = 743,
|
|
759
|
+
MenuMultiplayerOptionsCheckConnectionResultWebRTCFail = 744,
|
|
760
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocket = 745,
|
|
761
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocketFail = 746,
|
|
762
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocketUnavailable = 747,
|
|
763
|
+
MenuMultiplayerOptionsCheckConnectionResultSuccess = 748,
|
|
764
|
+
MenuJoinServerTitle = 749,
|
|
765
|
+
MenuJoinServerDescription = 750,
|
|
766
|
+
MenuJoinServerInputPlaceholder = 751,
|
|
767
|
+
MenuJoinServerChooseModifiersTitle = 752,
|
|
768
|
+
MenuJoinServerChooseModifiersDescription = 753,
|
|
769
|
+
MenuSharedMultiplayerChoiceLobbyTypeFriends = 754,
|
|
770
|
+
MenuSharedMultiplayerChoiceLobbyTypeFriendsDescription = 755,
|
|
771
|
+
MenuSharedMultiplayerChoiceLobbyTypePublic = 756,
|
|
772
|
+
MenuSharedMultiplayerChoiceLobbyTypePublicDescription = 757,
|
|
773
|
+
MenuSharedMultiplayerChoiceLobbyTypePrivate = 758,
|
|
774
|
+
MenuSharedMultiplayerChoiceLobbyTypePrivateDescription = 759,
|
|
775
|
+
MenuSharedMultiplayerChoicePVP = 760,
|
|
776
|
+
MenuSharedMultiplayerChoicePVPDescription = 761,
|
|
777
|
+
MenuSharedMultiplayerChoiceAllowTraveling = 762,
|
|
778
|
+
MenuSharedMultiplayerChoiceAllowTravelingDescription = 763,
|
|
779
|
+
MenuSharedMultiplayerChoiceAllowHardcoreRespawns = 764,
|
|
780
|
+
MenuSharedMultiplayerChoiceAllowHardcoreRespawnsDescription = 765,
|
|
781
|
+
MenuSharedMultiplayerDescription = 766,
|
|
782
|
+
MenuSharedMultiplayerMessageOfTheDay = 767,
|
|
783
|
+
MenuSharedMultiplayerMaxPlayers = 768,
|
|
784
|
+
MenuSharedRealTimeTickSpeedTooltip = 769,
|
|
785
|
+
MenuSharedRealTimeTickSpeedLabel = 770,
|
|
786
|
+
MenuSharedMaxTravelTimeLabel = 771,
|
|
787
|
+
MenuSharedMaxTravelTimeLabelTooltip = 772,
|
|
788
|
+
MenuSharedButtonDefault = 773,
|
|
789
|
+
MenuSharedValueSeconds = 774,
|
|
790
|
+
MenuSharedValueMillseconds = 775,
|
|
791
|
+
MenuSharedValueTurns = 776,
|
|
792
|
+
MenuSharedValuePercentage = 777,
|
|
793
|
+
MenuSharedMilestonesNotUnlockable = 778,
|
|
794
|
+
MenuSharedMilestonesNotUnlockableDescription = 779,
|
|
795
|
+
MenuSharedMilestonesNotUnlockableButtonShowMods = 780,
|
|
796
|
+
MenuSharedButtonDisableAll = 781,
|
|
797
|
+
MenuSharedButtonEnableAll = 782,
|
|
798
|
+
MenuSharedMilestoneModifiersSelected = 783,
|
|
799
|
+
MiscSortBy = 784,
|
|
800
|
+
MiscSortDirection = 785,
|
|
801
|
+
MiscFilter = 786,
|
|
802
|
+
MiscPlayerNameDefault = 787,
|
|
803
|
+
MiscPlayerNameServer = 788,
|
|
804
|
+
MiscSaveNameDefault = 789,
|
|
805
|
+
MiscSaveNameDailyChallenge = 790,
|
|
806
|
+
MiscSaveNameChallenge = 791,
|
|
807
|
+
MiscSaveVersionUnknown = 792,
|
|
808
|
+
MiscVersion = 793,
|
|
809
|
+
MiscVersionBuildInfoTooltip = 794,
|
|
810
|
+
MiscVersionUpdate = 795,
|
|
811
|
+
MiscTime = 796,
|
|
812
|
+
MiscTimeMeridiem = 797,
|
|
813
|
+
MiscError = 798,
|
|
814
|
+
MiscContextMenuCopyTooltip = 799,
|
|
815
|
+
MiscBindableOr = 800,
|
|
816
|
+
MiscBindableNoBindings = 801,
|
|
817
|
+
DifficultyOptionsPeaceful = 802,
|
|
818
|
+
DifficultyOptionsAberrantSpawnsDisabled = 803,
|
|
819
|
+
DifficultyOptionsAberrantSpawnsOnly = 804,
|
|
820
|
+
DifficultyOptionsCreatureSpawningDisabled = 805,
|
|
821
|
+
DifficultyOptionsCreatureAlwaysSpawns = 806,
|
|
822
|
+
DifficultyOptionsCreatureSpawnsDefault = 807,
|
|
823
|
+
DifficultyOptionsCreatureSpawnsAberrantOnly = 808,
|
|
824
|
+
DifficultyOptionsCreatureSpawnsNoAberrants = 809,
|
|
825
|
+
DifficultyOptionsSpawnLimit = 810,
|
|
826
|
+
DifficultyOptionsRespawn = 811,
|
|
827
|
+
DifficultyOptionsEternalNight = 812,
|
|
828
|
+
DifficultyOptionsEternalDay = 813,
|
|
829
|
+
DifficultyOptionsTimeInitial = 814,
|
|
830
|
+
DifficultyOptionsTimeFrozen = 815,
|
|
831
|
+
DifficultyOptionsTimeDayLength = 816,
|
|
832
|
+
DifficultyOptionsTimeDayPercent = 817,
|
|
833
|
+
DifficultyOptionsNoItems = 818,
|
|
834
|
+
DifficultyOptionsRecipes = 819,
|
|
835
|
+
DifficultyOptionsStartingIsland = 820,
|
|
836
|
+
DifficultyOptionsTravelingEffectsDisabled = 821,
|
|
837
|
+
DifficultyOptionsBenignityInitial = 822,
|
|
838
|
+
DifficultyOptionsBenignityMultiplier = 823,
|
|
839
|
+
DifficultyOptionsMalignityInitial = 824,
|
|
840
|
+
DifficultyOptionsMalignityMultiplier = 825,
|
|
841
|
+
DifficultyOptionsWeightBonus = 826,
|
|
842
|
+
DifficultyOptionsStatInitial = 827,
|
|
843
|
+
DifficultyOptionsStatMax = 828,
|
|
844
|
+
DifficultyOptionsStatMultiplier = 829,
|
|
845
|
+
DifficultyOptionsStatusEffectStartWith = 830,
|
|
846
|
+
DifficultyOptionsStatusEffectUntreatable = 831,
|
|
847
|
+
DifficultyOptionsStatusEffectPassChanceMultiplier = 832,
|
|
848
|
+
DifficultyOptionsNoRandomSkills = 833,
|
|
849
|
+
DifficultyOptionsSkillStartingCount = 834,
|
|
850
|
+
DifficultyOptionsSkillGainMultiplier = 835,
|
|
851
|
+
DifficultyOptionsSkillInitial = 836,
|
|
852
|
+
DifficultyOptionsStatusEffectPermanent = 837,
|
|
853
|
+
DifficultyOptionsStatusEffectRateMultiplier = 838,
|
|
854
|
+
DifficultyOptionsStatusEffectMultiplier = 839,
|
|
855
|
+
DifficultyOptionsItemDurabilityMultiplier = 840,
|
|
856
|
+
DifficultyOptionsItemDecayMultiplier = 841,
|
|
857
|
+
EquipmentBack = 842,
|
|
858
|
+
EquipmentChest = 843,
|
|
859
|
+
EquipmentFeet = 844,
|
|
860
|
+
EquipmentHands = 845,
|
|
861
|
+
EquipmentHead = 846,
|
|
862
|
+
EquipmentLegs = 847,
|
|
863
|
+
EquipmentMainHand = 848,
|
|
864
|
+
EquipmentMainHandOption = 849,
|
|
865
|
+
EquipmentNeck = 850,
|
|
866
|
+
EquipmentOffHand = 851,
|
|
867
|
+
EquipmentOffHandOption = 852,
|
|
868
|
+
EquipmentUse = 853,
|
|
869
|
+
EquipmentWaist = 854,
|
|
870
|
+
HudFilter = 855,
|
|
871
|
+
TabCrafting = 856,
|
|
872
|
+
TabDismantle = 857,
|
|
873
|
+
WindowTitleContainer = 858,
|
|
874
|
+
WindowTitleCrafting = 859,
|
|
875
|
+
WindowTitleEquipment = 860,
|
|
876
|
+
WindowTitleInventory = 861
|
|
875
877
|
}
|
|
876
878
|
export default UiTranslation;
|
package/package.json
CHANGED