@wayward/types 2.11.4-beta.dev.20220226.1 → 2.11.5-beta.dev.20220301.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/Game.d.ts +1 -1
- package/definitions/game/game/entity/action/Actions.d.ts +1 -0
- package/definitions/game/game/entity/action/IAction.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/UpdateGameOption.d.ts +14 -0
- package/definitions/game/game/inspection/InfoProvider.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/LabelledValue.d.ts +1 -1
- package/definitions/game/game/inspection/inspections/MilestoneInspection.d.ts +2 -2
- package/definitions/game/game/meta/prompt/IPrompt.d.ts +98 -97
- package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +70 -69
- package/definitions/game/game/options/IGameOptions.d.ts +7 -0
- package/definitions/game/language/dictionary/Message.d.ts +717 -718
- package/definitions/game/language/dictionary/UiTranslation.d.ts +772 -768
- package/definitions/game/ui/screen/screens/game/dialog/BookDialog.d.ts +1 -1
- package/definitions/game/ui/screen/screens/menu/menus/pause/ModesMenu.d.ts +1 -0
- package/definitions/hosts/shared/globals.d.ts +1 -1
- package/package.json +1 -1
|
@@ -112,7 +112,7 @@ export declare class Game extends EventEmitter.Host<IGameEvents> {
|
|
|
112
112
|
getGameMode(): GameMode;
|
|
113
113
|
getGameOptionsBeforeModifiers(): IGameOptions;
|
|
114
114
|
getGameOptions(): IGameOptions;
|
|
115
|
-
|
|
115
|
+
updateGameOptions(gameOptions: IGameOptions): void;
|
|
116
116
|
initializeGameOptions(seed: string | number, mode?: GameMode, options?: IGameOptions, milestoneModifiers?: Set<Milestone>): void;
|
|
117
117
|
initializeModifiers(): void;
|
|
118
118
|
getMovementFinishTime(delay?: Delay | number): number;
|
|
@@ -110,6 +110,7 @@ declare const actionDescriptions: {
|
|
|
110
110
|
77: import("./Action").Action<[], import("../player/Player").default | import("../npc/NPC").default, void, []>;
|
|
111
111
|
89: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.ItemNearby, import("game/entity/action/IAction").ActionArgument.Boolean], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../item/Item").default, boolean]>;
|
|
112
112
|
59: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.Direction, [import("game/entity/action/IAction").ActionArgument.Integer32, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default | import("../npc/NPC").default, void, [import("../../../utilities/math/Direction").Direction.None | import("../../../utilities/math/Direction").Direction.East | import("../../../utilities/math/Direction").Direction.North | import("../../../utilities/math/Direction").Direction.West | import("../../../utilities/math/Direction").Direction.South, (number | undefined)?]>;
|
|
113
|
+
105: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.Object], import("../player/Player").default, void, [any?]>;
|
|
113
114
|
90: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.Container, [import("game/entity/action/IAction").ActionArgument.UnsignedInteger32NumberArray, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default, void, [import("../../item/IItem").IContainer, (number[] | undefined)?]>;
|
|
114
115
|
97: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.Item, import("game/entity/action/IAction").ActionArgument.Integer32, [import("game/entity/action/IAction").ActionArgument.Boolean, import("game/entity/action/IAction").ActionArgument.Undefined]], import("../player/Player").default, void, [import("../../item/Item").default, number, (boolean | undefined)?]>;
|
|
115
116
|
104: import("./Action").Action<[import("game/entity/action/IAction").ActionArgument.String, import("game/entity/action/IAction").ActionArgument.Object], import("../player/Player").default, void, [string, any?]>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2021 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
|
+
*/
|
|
11
|
+
import { Action } from "game/entity/action/Action";
|
|
12
|
+
import { ActionArgument } from "game/entity/action/IAction";
|
|
13
|
+
declare const _default: Action<[ActionArgument.Object], import("../../player/Player").default, void, [any?]>;
|
|
14
|
+
export default _default;
|
|
@@ -125,7 +125,7 @@ export declare class SimpleInfoProvider extends InfoProvider {
|
|
|
125
125
|
private readonly contents;
|
|
126
126
|
private childComponentClass;
|
|
127
127
|
constructor(...translations: Array<TranslationGenerator | InfoProvider>);
|
|
128
|
-
get(): (import("../../language/ITranslation").ISerializedTranslation | import("../../language/
|
|
128
|
+
get(): (import("../../language/ITranslation").ISerializedTranslation | import("../../language/impl/TranslationImpl").default | import("../../language/dictionary/UiTranslation").default | (() => import("../../language/ITranslation").ISerializedTranslation | import("../../language/impl/TranslationImpl").default | import("../../language/dictionary/UiTranslation").default | Iterable<import("../../utilities/string/Interpolator").IStringSection> | undefined) | InfoProvider)[];
|
|
129
129
|
add(...translations: Array<TranslationGenerator | InfoProvider | Falsy>): this;
|
|
130
130
|
addInfoGetter(provider: () => InfoProvider | undefined): this;
|
|
131
131
|
getClass(): string[];
|
|
@@ -36,7 +36,7 @@ export default class LabelledValue extends InfoProvider {
|
|
|
36
36
|
getClass(): string[];
|
|
37
37
|
addClasses(...classes: string[]): this;
|
|
38
38
|
private getLabel;
|
|
39
|
-
get(): (
|
|
39
|
+
get(): (import("../../../language/impl/TranslationImpl").default | UiTranslation | InfoProvider)[];
|
|
40
40
|
protected initChildTextComponent(text: TranslationGenerator): Text;
|
|
41
41
|
setDisplayMode(mode: keyof typeof LabelledValueDisplayMode): this;
|
|
42
42
|
setDisplayMode(mode: keyof typeof LabelledValueDisplayMode): this;
|
|
@@ -20,11 +20,11 @@ export default class MilestoneInspection extends Inspection<Milestone> {
|
|
|
20
20
|
static handles: (type: InspectType, value: unknown, context?: InfoProviderContext | undefined) => any;
|
|
21
21
|
static getMilestoneName(milestone: Milestone, visibility?: MilestoneVisibility): import("../../../language/impl/TranslationImpl").default;
|
|
22
22
|
static getMilestoneReadout(milestone: Milestone, name?: Translation): () => import("../../../language/impl/TranslationImpl").default;
|
|
23
|
-
static getDescription(milestone: Milestone):
|
|
23
|
+
static getDescription(milestone: Milestone): import("../../../language/impl/TranslationImpl").default | UiTranslation.GameDialogMilestonesTooltipHidden | UiTranslation.GameDialogMilestonesTooltipInvisible;
|
|
24
24
|
constructor([, milestone]: [any, Milestone], context?: InfoProviderContext);
|
|
25
25
|
getId(): string;
|
|
26
26
|
getBorder(): string;
|
|
27
|
-
get(context: InfoProviderContext): (
|
|
27
|
+
get(context: InfoProviderContext): (import("../../../language/impl/TranslationImpl").default | UiTranslation | import("game/inspection/InfoProvider").SimpleInfoProvider | CollapsableInfoProvider | UnlockableRowInfoProvider)[];
|
|
28
28
|
private getDiscovered;
|
|
29
29
|
private getDiscoveredTranslations;
|
|
30
30
|
}
|
|
@@ -24,103 +24,104 @@ export declare enum Prompt {
|
|
|
24
24
|
GameConfirmationActionOnFirePlural = 6,
|
|
25
25
|
GameConfirmationActionInLava = 7,
|
|
26
26
|
GameConfirmationActionInLavaPlural = 8,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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
|
-
|
|
27
|
+
GameConfirmationActionIsLava = 9,
|
|
28
|
+
GameConfirmationDestroyOnGather = 10,
|
|
29
|
+
GameConfirmationDroppingContainer = 11,
|
|
30
|
+
GameConfirmationRestWithEquippedFireSource = 12,
|
|
31
|
+
GameContainerNotFull = 13,
|
|
32
|
+
GameDangerousStep = 14,
|
|
33
|
+
GameDesalinationNoNeed = 15,
|
|
34
|
+
GameExtinguishWaterStill = 16,
|
|
35
|
+
GameItemMayBeDestroyedInCraft = 17,
|
|
36
|
+
GameItemMayCauseBurns = 18,
|
|
37
|
+
GameItemsMayBeDestroyedOnUse = 19,
|
|
38
|
+
GameLoadFailure = 20,
|
|
39
|
+
GameNoHealingRequired = 21,
|
|
40
|
+
GameNoSaveOnDeath = 22,
|
|
41
|
+
GamePickUpStillWithWater = 23,
|
|
42
|
+
GameReleaseCreature = 24,
|
|
43
|
+
GameRenameCreature = 25,
|
|
44
|
+
GameRenameDoodad = 26,
|
|
45
|
+
GameRenameItem = 27,
|
|
46
|
+
GameReturnToTitleScreen = 28,
|
|
47
|
+
GameReturnToTitleScreenChallenge = 29,
|
|
48
|
+
GameSailAwayEnd = 30,
|
|
49
|
+
GameSailAwayReturnable = 31,
|
|
50
|
+
GameSaveFailure = 32,
|
|
51
|
+
GameIslandTravelConfirmation = 33,
|
|
52
|
+
GameWellConvert = 34,
|
|
53
|
+
GameSolarStillWontWorkInTemperature = 35,
|
|
54
|
+
GameSolarStillWontWorkInCave = 36,
|
|
55
|
+
GamePause = 37,
|
|
56
|
+
GameWin = 38,
|
|
57
|
+
GameOver = 39,
|
|
58
|
+
GameHelp = 40,
|
|
59
|
+
GameMultiplayerOptions = 41,
|
|
60
|
+
MenuCharacterCreationImportCharacterFailure = 42,
|
|
61
|
+
MenuCharacterSelectionDeleteCharacter = 43,
|
|
62
|
+
MenuGameEndGhostDeleteSave = 44,
|
|
63
|
+
MenuGameEndWonDeleteSave = 45,
|
|
64
|
+
MenuGameEndReturnToTitleScreen = 46,
|
|
65
|
+
MenuGameEndReturnToTitleScreenChallengeMultiplayer = 47,
|
|
66
|
+
MenuGameEndReturnToTitleScreenChallenge = 48,
|
|
67
|
+
MenuGameEndReturnToTitleScreenMultiplayer = 49,
|
|
68
|
+
MenuLoadGameDeleteSave = 50,
|
|
69
|
+
MenuLoadGameDeleteSaves = 51,
|
|
70
|
+
MenuLoadGameExportType = 52,
|
|
71
|
+
MenuLoadGameImportSaveFailure = 53,
|
|
72
|
+
MenuLoadGameMissingMod = 54,
|
|
73
|
+
MenuLoadGameOldBuildTime = 55,
|
|
74
|
+
MenuLoadGamePublishError = 56,
|
|
75
|
+
MenuMainWelcomeToVersion = 57,
|
|
76
|
+
MenuMainOldVersionWarning = 58,
|
|
77
|
+
MenuModsConfirmPublish = 59,
|
|
78
|
+
MenuModsConfirmPublishUpdate = 60,
|
|
79
|
+
MenuModsModEnableMultipleLanguages = 61,
|
|
80
|
+
MenuModsModEnableUseLanguage = 62,
|
|
81
|
+
MenuModsPublishedReminderRequiredModsOnWorkshop = 63,
|
|
82
|
+
MenuModsPublishError = 64,
|
|
83
|
+
MenuModsPublishUpdateError = 65,
|
|
84
|
+
MenuModsInfoMissingDependencies = 66,
|
|
85
|
+
MenuModsConfirmEnableDisabledDependencies = 67,
|
|
86
|
+
MenuModsConfirmDisableDependents = 68,
|
|
87
|
+
MenuModsConfirmUninstallMod = 69,
|
|
88
|
+
MenuModsUnloadableSaveGameMod = 70,
|
|
89
|
+
MenuModsSubmenuEditInternalModsModsListChangeReload = 71,
|
|
90
|
+
MenuMultiplayerCannotJoinFailedToLoadMods = 72,
|
|
91
|
+
MenuNewGameTooManySaves = 73,
|
|
92
|
+
MenuCustomGameOptionsConfirmImport = 74,
|
|
93
|
+
MenuCustomGameOptionsImportFailure = 75,
|
|
94
|
+
MenuMilestoneModifiersConfirmImport = 76,
|
|
95
|
+
MenuMilestoneModifiersImportFailure = 77,
|
|
96
|
+
MenuOptionsReloadGame = 78,
|
|
97
|
+
MenuOptionsConfirmUnlockMilestones = 79,
|
|
98
|
+
MenuOptionsConfirmUnlockRecipes = 80,
|
|
99
|
+
MenuOptionsSaveDataClearAll = 81,
|
|
100
|
+
MenuOptionsSaveDataClearCharacters = 82,
|
|
101
|
+
MenuOptionsSaveDataClearHighscores = 83,
|
|
102
|
+
MenuOptionsSaveDataClearMilestones = 84,
|
|
103
|
+
MenuOptionsSaveDataClearOptions = 85,
|
|
104
|
+
MenuOptionsSaveDataClearSaves = 86,
|
|
105
|
+
MenuOptionsSaveDataClearCraftingRecipes = 87,
|
|
106
|
+
MenuOptionsSaveDataClearBindings = 88,
|
|
107
|
+
MenuOptionsConfirmImportGlobalData = 89,
|
|
108
|
+
MenuPauseGhostKeepSave = 90,
|
|
109
|
+
MenuPauseReturnToTitleScreen = 91,
|
|
110
|
+
MenuPauseReturnToTitleScreenChallenge = 92,
|
|
111
|
+
MenuPauseReturnToTitleScreenChallengeMultiplayer = 93,
|
|
112
|
+
MenuPauseReturnToTitleScreenMultiplayer = 94,
|
|
113
|
+
MultiplayerFailedToConnect = 95,
|
|
114
|
+
MultiplayerRestartServerAfterLoadingSave = 96,
|
|
115
|
+
MultiplayerDisconnect = 97,
|
|
116
|
+
MultiplayerDisconnectRejoin = 98,
|
|
117
|
+
SteamworksURLOpenedInBrowser = 99,
|
|
118
|
+
SteamworksWorkshopOpenedInBrowser = 100,
|
|
119
|
+
SteamworksModWithNameAlreadyExists = 101,
|
|
120
|
+
SteamworksModImportSaveGameFailure = 102,
|
|
121
|
+
SteamworksModImportedSaveGame = 103,
|
|
122
|
+
SteamworksOpenFolderFailure = 104,
|
|
123
|
+
SteamworksModPublishModJsonUpdateFailed = 105,
|
|
124
|
+
UiSaveDrop = 106
|
|
124
125
|
}
|
|
125
126
|
export declare enum PromptType {
|
|
126
127
|
Info = 0,
|
|
@@ -27,75 +27,75 @@ declare const promptDescriptions: {
|
|
|
27
27
|
6: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[objectName: Text, gatherText: Text]>;
|
|
28
28
|
7: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[objectName: Text, gatherText: Text]>;
|
|
29
29
|
8: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[objectName: Text, gatherText: Text]>;
|
|
30
|
-
9: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
31
|
-
10: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
32
|
-
11: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
33
|
-
12: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
34
|
-
13: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
35
|
-
14: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
30
|
+
9: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[objectName: Text, gatherText: Text]>;
|
|
31
|
+
10: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[growthStage: Text | undefined, objectName: Text]>;
|
|
32
|
+
11: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
33
|
+
12: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[actionVerb: Text, objectName: Text, actionNoun: Text]>;
|
|
34
|
+
13: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
35
|
+
14: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[objectName: Text, gatherText: Text]>;
|
|
36
36
|
15: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
37
|
-
16: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
38
|
-
17: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
39
|
-
18: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
40
|
-
19: import("game/meta/prompt/IPrompt").
|
|
41
|
-
20: import("game/meta/prompt/IPrompt").
|
|
42
|
-
21: import("game/meta/prompt/IPrompt").
|
|
43
|
-
22: import("game/meta/prompt/IPrompt").
|
|
44
|
-
23: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
45
|
-
24: import("game/meta/prompt/IPrompt").
|
|
37
|
+
16: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
38
|
+
17: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[breakingItemsList: Text]>;
|
|
39
|
+
18: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
40
|
+
19: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[breakingItemsList: Text]>;
|
|
41
|
+
20: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
42
|
+
21: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
43
|
+
22: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
44
|
+
23: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
45
|
+
24: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[creatureName: Text]>;
|
|
46
46
|
25: import("game/meta/prompt/IPrompt").IPromptInputDescription<[baseName?: TranslationImpl | undefined, placeholder?: TranslationImpl | undefined, name?: string | ISerializedTranslation | undefined]>;
|
|
47
47
|
26: import("game/meta/prompt/IPrompt").IPromptInputDescription<[baseName?: TranslationImpl | undefined, placeholder?: TranslationImpl | undefined, name?: string | ISerializedTranslation | undefined]>;
|
|
48
|
-
27: import("game/meta/prompt/IPrompt").
|
|
48
|
+
27: import("game/meta/prompt/IPrompt").IPromptInputDescription<[baseName?: TranslationImpl | undefined, placeholder?: TranslationImpl | undefined, name?: string | ISerializedTranslation | undefined]>;
|
|
49
49
|
28: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
50
50
|
29: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
51
51
|
30: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
52
|
-
31: import("game/meta/prompt/IPrompt").
|
|
53
|
-
32: import("game/meta/prompt/IPrompt").
|
|
54
|
-
33: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
52
|
+
31: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
53
|
+
32: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
54
|
+
33: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[isGhost: boolean]>;
|
|
55
55
|
34: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
56
56
|
35: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
57
|
-
36: import("game/meta/prompt/IPrompt").
|
|
58
|
-
37: import("game/meta/prompt/IPrompt").IPromptMenuDescription<MenuId.
|
|
57
|
+
36: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
58
|
+
37: import("game/meta/prompt/IPrompt").IPromptMenuDescription<MenuId.Pause, []>;
|
|
59
59
|
38: import("game/meta/prompt/IPrompt").IPromptMenuDescription<MenuId.GameEnd, []>;
|
|
60
|
-
39: import("game/meta/prompt/IPrompt").IPromptMenuDescription<MenuId.
|
|
61
|
-
40: import("game/meta/prompt/IPrompt").IPromptMenuDescription<MenuId.
|
|
62
|
-
41: import("game/meta/prompt/IPrompt").
|
|
63
|
-
42: import("game/meta/prompt/IPrompt").
|
|
64
|
-
43: import("game/meta/prompt/IPrompt").
|
|
60
|
+
39: import("game/meta/prompt/IPrompt").IPromptMenuDescription<MenuId.GameEnd, []>;
|
|
61
|
+
40: import("game/meta/prompt/IPrompt").IPromptMenuDescription<MenuId.Help, [(HelpArticle | undefined)?]>;
|
|
62
|
+
41: import("game/meta/prompt/IPrompt").IPromptMenuDescription<MenuId.Pause, []>;
|
|
63
|
+
42: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
64
|
+
43: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[name: string]>;
|
|
65
65
|
44: import("game/meta/prompt/IPrompt").IPromptChoiceDescription<any[], (InterruptChoice.Cancel | InterruptChoice.NoWarn | InterruptChoice.Yes)[]>;
|
|
66
|
-
45: import("game/meta/prompt/IPrompt").
|
|
67
|
-
46: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
68
|
-
47: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
69
|
-
48: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
70
|
-
49: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
71
|
-
50: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
54: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
76
|
-
55: import("game/meta/prompt/IPrompt").
|
|
77
|
-
56: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[
|
|
78
|
-
57: import("game/meta/prompt/IPrompt").
|
|
79
|
-
58: import("game/meta/prompt/IPrompt").
|
|
66
|
+
45: import("game/meta/prompt/IPrompt").IPromptChoiceDescription<any[], (InterruptChoice.Cancel | InterruptChoice.NoWarn | InterruptChoice.Yes)[]>;
|
|
67
|
+
46: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
68
|
+
47: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[playersConnected: number]>;
|
|
69
|
+
48: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
70
|
+
49: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[playersConnected: number]>;
|
|
71
|
+
50: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[name?: string | undefined]>;
|
|
72
|
+
51: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[deleteCount: number]>;
|
|
73
|
+
53: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[succeeded: Text[], failed: Text[], unknownErrors: boolean]>;
|
|
74
|
+
52: import("game/meta/prompt/IPrompt").IPromptChoiceDescription<any[], (InterruptChoice.Cancel | InterruptChoice.LocalFile | InterruptChoice.SteamWorkshop)[]>;
|
|
75
|
+
54: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[missingMods: string[], disabledMods: string[]]>;
|
|
76
|
+
55: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[saveBuildTime: string, gamebuildTime: string]>;
|
|
77
|
+
56: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[err: Text]>;
|
|
78
|
+
57: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[versionString: string]>;
|
|
79
|
+
58: import("game/meta/prompt/IPrompt").IPromptChoiceDescription<[lastVersionString: string, thisVersionString: string], [InterruptChoice.ContinueAnyway, InterruptChoice.OpenSaveFolderAndQuit]>;
|
|
80
80
|
59: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
81
81
|
60: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
82
82
|
61: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
83
|
-
62: import("game/meta/prompt/IPrompt").
|
|
84
|
-
63: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[
|
|
83
|
+
62: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
84
|
+
63: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
85
85
|
64: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[error?: string | undefined]>;
|
|
86
|
-
65: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[
|
|
87
|
-
66: import("game/meta/prompt/IPrompt").
|
|
88
|
-
67: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[modName: string,
|
|
89
|
-
68: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[modName: string]>;
|
|
90
|
-
69: import("game/meta/prompt/IPrompt").
|
|
91
|
-
70: import("game/meta/prompt/IPrompt").
|
|
92
|
-
71: import("game/meta/prompt/IPrompt").
|
|
93
|
-
72: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
94
|
-
73: import("game/meta/prompt/IPrompt").
|
|
95
|
-
74: import("game/meta/prompt/IPrompt").
|
|
96
|
-
75: import("game/meta/prompt/IPrompt").
|
|
97
|
-
76: import("game/meta/prompt/IPrompt").
|
|
98
|
-
77: import("game/meta/prompt/IPrompt").
|
|
86
|
+
65: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[error?: string | undefined]>;
|
|
87
|
+
66: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[modName: string, dependencies: Text]>;
|
|
88
|
+
67: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[modName: string, dependencies: Text]>;
|
|
89
|
+
68: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[modName: string, dependents: Text]>;
|
|
90
|
+
69: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[modName: string]>;
|
|
91
|
+
70: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[folderName: string]>;
|
|
92
|
+
71: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
93
|
+
72: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[modErrors: Text[]]>;
|
|
94
|
+
73: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
95
|
+
74: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
96
|
+
75: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
97
|
+
76: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
98
|
+
77: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
99
99
|
78: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
100
100
|
79: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
101
101
|
80: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
@@ -107,23 +107,24 @@ declare const promptDescriptions: {
|
|
|
107
107
|
86: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
108
108
|
87: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
109
109
|
88: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
110
|
-
89: import("game/meta/prompt/IPrompt").
|
|
111
|
-
90: import("game/meta/prompt/IPrompt").
|
|
112
|
-
91: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
113
|
-
92: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
114
|
-
93: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[playersConnected: number
|
|
115
|
-
94: import("game/meta/prompt/IPrompt").
|
|
116
|
-
95: import("game/meta/prompt/IPrompt").
|
|
117
|
-
96: import("game/meta/prompt/IPrompt").
|
|
118
|
-
97: import("game/meta/prompt/IPrompt").
|
|
119
|
-
98: import("game/meta/prompt/IPrompt").
|
|
110
|
+
89: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
111
|
+
90: import("game/meta/prompt/IPrompt").IPromptChoiceDescription<any[], (InterruptChoice.Cancel | InterruptChoice.NoWarn | InterruptChoice.Yes)[]>;
|
|
112
|
+
91: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
113
|
+
92: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[isGhostAndNotServer: boolean]>;
|
|
114
|
+
93: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[playersConnected: number]>;
|
|
115
|
+
94: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[playersConnected: number, isGhostAndNotServer: boolean]>;
|
|
116
|
+
95: import("game/meta/prompt/IPrompt").IPromptChoiceDescription<any[], (InterruptChoice.Cancel | InterruptChoice.Retry)[]>;
|
|
117
|
+
96: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
118
|
+
97: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[type: TranslationImpl, reason?: TranslationImpl | undefined]>;
|
|
119
|
+
98: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[type: TranslationImpl, reason?: TranslationImpl | undefined]>;
|
|
120
120
|
99: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
121
121
|
100: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
122
|
-
101: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[
|
|
122
|
+
101: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
123
123
|
102: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[modName: string]>;
|
|
124
|
-
103: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
125
|
-
104: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[
|
|
126
|
-
105: import("game/meta/prompt/IPrompt").
|
|
124
|
+
103: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[modName: string]>;
|
|
125
|
+
104: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
126
|
+
105: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[error: string | undefined, publishedFileId: string]>;
|
|
127
|
+
106: import("game/meta/prompt/IPrompt").IPromptChoiceDescription<any[], never[]>;
|
|
127
128
|
};
|
|
128
129
|
declare const _default: Record<Prompt, PromptDescription<any[]>>;
|
|
129
130
|
export default _default;
|
|
@@ -27,6 +27,9 @@ export declare enum GameMode {
|
|
|
27
27
|
}
|
|
28
28
|
export declare const TIME_ETERNAL_NIGHT = 0.7;
|
|
29
29
|
export declare const TIME_ETERNAL_DAY = 0.3;
|
|
30
|
+
export declare const MAX_TRAVEL_TIME_MIN = 1000;
|
|
31
|
+
export declare const MAX_TRAVEL_TIME_MAX = 200000;
|
|
32
|
+
export declare const MAX_TRAVEL_TIME_DEFAULT = 20000;
|
|
30
33
|
export interface IGameOptions {
|
|
31
34
|
/**
|
|
32
35
|
* Whether players respawn when they die
|
|
@@ -41,6 +44,10 @@ export interface IGameOptions {
|
|
|
41
44
|
* Traveling effect options
|
|
42
45
|
*/
|
|
43
46
|
applyTravelingEffects: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Maximum amount of turns to tick when traveling
|
|
49
|
+
*/
|
|
50
|
+
maxTravelTime: number;
|
|
44
51
|
};
|
|
45
52
|
creatures: {
|
|
46
53
|
/**
|