@wayward/types 2.13.2-beta.dev.20230607.1 → 2.13.2-beta.dev.20230609.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/deity/IDeities.d.ts +10 -0
- package/definitions/game/game/entity/action/usable/IUsableAction.d.ts +1 -1
- package/definitions/game/game/entity/creature/ICreature.d.ts +5 -4
- package/definitions/game/game/inspection/infoProviders/stat/FerocityInfo.d.ts +10 -0
- package/definitions/game/game/inspection/infoProviders/stat/StatInfo.d.ts +10 -0
- package/definitions/game/game/meta/prompt/IPrompt.d.ts +38 -37
- package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +1 -0
- package/definitions/game/language/Dictionary.d.ts +12 -12
- package/definitions/game/language/DictionaryMap.d.ts +24 -24
- package/definitions/game/language/dictionary/Message.d.ts +504 -503
- package/definitions/game/language/dictionary/UiTranslation.d.ts +486 -485
- package/definitions/game/mod/IModManager.d.ts +4 -3
- package/definitions/game/renderer/context/RendererOrigin.d.ts +1 -1
- package/definitions/game/steamworks/Steamworks.d.ts +3 -2
- package/definitions/game/ui/screen/screens/game/dialog/EquipmentDialog.d.ts +2 -2
- package/definitions/game/ui/screen/screens/game/static/ActionBar.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/multiplayer/ServerRow.d.ts +1 -1
- package/definitions/game/ui/util/Misc.d.ts +1 -0
- package/definitions/hosts/shared/interfaces.d.ts +3 -2
- package/package.json +1 -1
- /package/definitions/game/ui/screen/screens/game/component/{Item.d.ts → ItemComponent.d.ts} +0 -0
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2023 Unlok
|
|
3
|
+
* https://www.unlok.ca
|
|
4
|
+
*
|
|
5
|
+
* Credits & Thanks:
|
|
6
|
+
* https://www.unlok.ca/credits-thanks/
|
|
7
|
+
*
|
|
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
|
+
* https://github.com/WaywardGame/types/wiki
|
|
10
|
+
*/
|
|
1
11
|
export declare enum Deity {
|
|
2
12
|
Evil = 0,
|
|
3
13
|
Neutral = 1,
|
|
@@ -27,7 +27,7 @@ import type ItemFinder from "game/item/ItemFinder";
|
|
|
27
27
|
import type Message from "language/dictionary/Message";
|
|
28
28
|
import Translation from "language/Translation";
|
|
29
29
|
import type Bindable from "ui/input/Bindable";
|
|
30
|
-
import type { ItemDetailIconLocation } from "ui/screen/screens/game/component/
|
|
30
|
+
import type { ItemDetailIconLocation } from "ui/screen/screens/game/component/ItemComponent";
|
|
31
31
|
import type Tooltip from "ui/tooltip/Tooltip";
|
|
32
32
|
import type { HighlightSelector } from "ui/util/IHighlight";
|
|
33
33
|
import type HashSet from "utilities/collection/set/HashSet";
|
|
@@ -134,10 +134,11 @@ export declare enum TileGroup {
|
|
|
134
134
|
Seawater = 15,
|
|
135
135
|
FreshWater = 16,
|
|
136
136
|
Swamp = 17,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
FreshWaterSwampWater = 18,
|
|
138
|
+
IceCap = 19,
|
|
139
|
+
IceCapWithWater = 20,
|
|
140
|
+
Void = 21,
|
|
141
|
+
DesertWithDirt = 22
|
|
141
142
|
}
|
|
142
143
|
export interface ICreatureDescription extends IModdable, ITemperatureDescription, ICausesStatusEffect {
|
|
143
144
|
minhp: number;
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2023 Unlok
|
|
3
|
+
* https://www.unlok.ca
|
|
4
|
+
*
|
|
5
|
+
* Credits & Thanks:
|
|
6
|
+
* https://www.unlok.ca/credits-thanks/
|
|
7
|
+
*
|
|
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
|
+
* https://github.com/WaywardGame/types/wiki
|
|
10
|
+
*/
|
|
1
11
|
import { Stat } from "game/entity/IStats";
|
|
2
12
|
import type { SimpleInfoProvider } from "game/inspection/InfoProvider";
|
|
3
13
|
import { InfoProvider } from "game/inspection/InfoProvider";
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2023 Unlok
|
|
3
|
+
* https://www.unlok.ca
|
|
4
|
+
*
|
|
5
|
+
* Credits & Thanks:
|
|
6
|
+
* https://www.unlok.ca/credits-thanks/
|
|
7
|
+
*
|
|
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
|
+
* https://github.com/WaywardGame/types/wiki
|
|
10
|
+
*/
|
|
1
11
|
import type Human from "game/entity/Human";
|
|
2
12
|
import type { Stat } from "game/entity/IStats";
|
|
3
13
|
import { InfoProvider } from "game/inspection/InfoProvider";
|
|
@@ -87,43 +87,44 @@ export declare enum Prompt {
|
|
|
87
87
|
MenuModsUnloadableSaveGameMod = 70,
|
|
88
88
|
MenuModsSubmenuEditInternalModsModsListChangeReload = 71,
|
|
89
89
|
MenuMultiplayerCannotJoinFailedToLoadMods = 72,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
90
|
+
MenuMultiplayerCannotJoinMissingMods = 73,
|
|
91
|
+
MenuNewGameTooManySaves = 74,
|
|
92
|
+
MenuCustomGameOptionsConfirmImport = 75,
|
|
93
|
+
MenuCustomGameOptionsImportFailure = 76,
|
|
94
|
+
MenuMilestoneModifiersConfirmImport = 77,
|
|
95
|
+
MenuMilestoneModifiersImportFailure = 78,
|
|
96
|
+
MenuOptionsReloadGame = 79,
|
|
97
|
+
MenuOptionsChangeReload = 80,
|
|
98
|
+
MenuOptionsConfirmUnlockMilestones = 81,
|
|
99
|
+
MenuOptionsConfirmDiscoverActions = 82,
|
|
100
|
+
MenuOptionsConfirmUnlockRecipes = 83,
|
|
101
|
+
MenuOptionsSaveDataClearAll = 84,
|
|
102
|
+
MenuOptionsSaveDataClearCharacters = 85,
|
|
103
|
+
MenuOptionsSaveDataClearHighscores = 86,
|
|
104
|
+
MenuOptionsSaveDataClearMilestones = 87,
|
|
105
|
+
MenuOptionsSaveDataClearOptions = 88,
|
|
106
|
+
MenuOptionsSaveDataClearSaves = 89,
|
|
107
|
+
MenuOptionsSaveDataClearCraftingRecipes = 90,
|
|
108
|
+
MenuOptionsSaveDataClearBindings = 91,
|
|
109
|
+
MenuOptionsConfirmImportGlobalData = 92,
|
|
110
|
+
MenuPauseGhostKeepSave = 93,
|
|
111
|
+
MenuPauseReturnToTitleScreen = 94,
|
|
112
|
+
MenuPauseReturnToTitleScreenChallenge = 95,
|
|
113
|
+
MenuPauseReturnToTitleScreenChallengeMultiplayer = 96,
|
|
114
|
+
MenuPauseReturnToTitleScreenMultiplayer = 97,
|
|
115
|
+
MultiplayerFailedToConnect = 98,
|
|
116
|
+
MultiplayerRestartServerAfterLoadingSave = 99,
|
|
117
|
+
MultiplayerDisconnect = 100,
|
|
118
|
+
MultiplayerDisconnectRejoin = 101,
|
|
119
|
+
SteamworksURLOpenedInBrowser = 102,
|
|
120
|
+
SteamworksWorkshopOpenedInBrowser = 103,
|
|
121
|
+
SteamworksModWithNameAlreadyExists = 104,
|
|
122
|
+
SteamworksModImportSaveGameFailure = 105,
|
|
123
|
+
SteamworksModImportedSaveGame = 106,
|
|
124
|
+
SteamworksOpenFolderFailure = 107,
|
|
125
|
+
SteamworksModPublishModJsonUpdateFailed = 108,
|
|
126
|
+
SteamworksNotAvailableOnSteamDeck = 109,
|
|
127
|
+
UiSaveDrop = 110
|
|
127
128
|
}
|
|
128
129
|
export declare enum PromptType {
|
|
129
130
|
Info = 0,
|
|
@@ -94,6 +94,7 @@ export declare const promptMenuModsConfirmUninstallMod: import("game/meta/prompt
|
|
|
94
94
|
export declare const promptMenuModsUnloadableSaveGameMod: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[folderName: string]>;
|
|
95
95
|
export declare const promptMenuModsSubmenuEditInternalModsModsListChangeReload: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
96
96
|
export declare const promptMenuMultiplayerCannotJoinFailedToLoadMods: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[modErrors: Text[]]>;
|
|
97
|
+
export declare const promptMenuMultiplayerCannotJoinMissingMods: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[missingMods: Text[]]>;
|
|
97
98
|
export declare const promptMenuNewGameTooManySaves: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
98
99
|
export declare const promptMenuCustomGameOptionsConfirmImport: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
99
100
|
export declare const promptMenuCustomGameOptionsImportFailure: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
@@ -29,18 +29,18 @@ declare enum Dictionary {
|
|
|
29
29
|
CraftEfficacy = 17,
|
|
30
30
|
Creature = 18,
|
|
31
31
|
DamageType = 19,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
32
|
+
Dialog = 20,
|
|
33
|
+
Direction = 21,
|
|
34
|
+
DisplayLevel = 22,
|
|
35
|
+
Doodad = 23,
|
|
36
|
+
DoodadExtra = 24,
|
|
37
|
+
DoodadGroup = 25,
|
|
38
|
+
DrawnMapTheme = 26,
|
|
39
|
+
DurabilityLevel = 27,
|
|
40
|
+
EquipEffect = 28,
|
|
41
|
+
EquipSlot = 29,
|
|
42
|
+
ExhaustionLevel = 30,
|
|
43
|
+
FerocityLevel = 31,
|
|
44
44
|
FireStage = 32,
|
|
45
45
|
FontStyle = 33,
|
|
46
46
|
GameEndMessage = 34,
|
|
@@ -111,18 +111,18 @@ declare const dictionaryMap: {
|
|
|
111
111
|
17: typeof CraftEfficacy;
|
|
112
112
|
18: typeof CreatureType;
|
|
113
113
|
19: typeof DamageType;
|
|
114
|
-
20: typeof
|
|
115
|
-
21: typeof
|
|
116
|
-
22: typeof
|
|
117
|
-
23: typeof
|
|
118
|
-
24: typeof
|
|
119
|
-
25: typeof
|
|
120
|
-
26: typeof
|
|
121
|
-
27: typeof
|
|
122
|
-
28: typeof
|
|
123
|
-
29: typeof
|
|
124
|
-
30: typeof
|
|
125
|
-
31: typeof
|
|
114
|
+
20: typeof DialogId;
|
|
115
|
+
21: typeof Direction;
|
|
116
|
+
22: typeof InfoDisplayLevel;
|
|
117
|
+
23: typeof DoodadType;
|
|
118
|
+
24: typeof DoodadTypeExtra;
|
|
119
|
+
25: typeof DoodadTypeGroup;
|
|
120
|
+
26: typeof DrawnMapTheme;
|
|
121
|
+
27: typeof DurabilityLevel;
|
|
122
|
+
28: typeof EquipEffect;
|
|
123
|
+
29: typeof EquipType;
|
|
124
|
+
30: typeof ExhaustionLevel;
|
|
125
|
+
31: typeof FerocityLevel;
|
|
126
126
|
32: typeof FireStage;
|
|
127
127
|
33: typeof FontStyle;
|
|
128
128
|
34: typeof GameEndMessage;
|
|
@@ -225,18 +225,18 @@ export declare const strictDictionaries: {
|
|
|
225
225
|
17: typeof CraftEfficacy;
|
|
226
226
|
18: typeof CreatureType;
|
|
227
227
|
19: typeof DamageType;
|
|
228
|
-
20: typeof
|
|
229
|
-
21: typeof
|
|
230
|
-
22: typeof
|
|
231
|
-
23: typeof
|
|
232
|
-
24: typeof
|
|
233
|
-
25: typeof
|
|
234
|
-
26: typeof
|
|
235
|
-
27: typeof
|
|
236
|
-
28: typeof
|
|
237
|
-
29: typeof
|
|
238
|
-
30: typeof
|
|
239
|
-
31: typeof
|
|
228
|
+
20: typeof DialogId;
|
|
229
|
+
21: typeof Direction;
|
|
230
|
+
22: typeof InfoDisplayLevel;
|
|
231
|
+
23: typeof DoodadType;
|
|
232
|
+
24: typeof DoodadTypeExtra;
|
|
233
|
+
25: typeof DoodadTypeGroup;
|
|
234
|
+
26: typeof DrawnMapTheme;
|
|
235
|
+
27: typeof DurabilityLevel;
|
|
236
|
+
28: typeof EquipEffect;
|
|
237
|
+
29: typeof EquipType;
|
|
238
|
+
30: typeof ExhaustionLevel;
|
|
239
|
+
31: typeof FerocityLevel;
|
|
240
240
|
32: typeof FireStage;
|
|
241
241
|
33: typeof FontStyle;
|
|
242
242
|
34: typeof GameEndMessage;
|