@wayward/types 2.11.0-beta.dev.20211214.2 → 2.11.0-beta.dev.20211217.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 +3 -1
- package/definitions/game/game/doodad/Doodad.d.ts +5 -0
- package/definitions/game/game/entity/creature/Creature.d.ts +3 -4
- package/definitions/game/game/item/IItem.d.ts +3 -2
- package/definitions/game/game/item/ItemManager.d.ts +3 -0
- package/definitions/game/game/item/LootGroups.d.ts +2 -2
- package/definitions/game/game/meta/prompt/IPrompt.d.ts +54 -53
- package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +36 -35
- package/definitions/game/game/milestones/IMilestone.d.ts +2 -1
- package/definitions/game/game/options/GameOptions.d.ts +1 -1
- package/definitions/game/game/options/IGameOptions.d.ts +4 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/MasterOfAll.d.ts +16 -0
- package/definitions/game/game/reference/ReferenceManager.d.ts +1 -1
- package/definitions/game/language/dictionary/Message.d.ts +444 -444
- package/definitions/game/ui/old/OldUi.d.ts +1 -0
- package/definitions/game/ui/old/screens/InGameScreen.d.ts +4 -0
- package/definitions/game/ui/util/Draggable.d.ts +2 -0
- package/definitions/game/ui/util/Sortable.d.ts +2 -0
- package/package.json +1 -1
|
@@ -50,6 +50,9 @@ export declare class Game extends EventEmitter.Host<IGameEvents> {
|
|
|
50
50
|
originalPlayOptions: Partial<IPlayOptions>;
|
|
51
51
|
saveVersion: string;
|
|
52
52
|
upgrades: string[];
|
|
53
|
+
/**
|
|
54
|
+
* The version the save was originally created on
|
|
55
|
+
*/
|
|
53
56
|
version: string;
|
|
54
57
|
worldId: string;
|
|
55
58
|
private difficultyOptions;
|
|
@@ -72,7 +75,6 @@ export declare class Game extends EventEmitter.Host<IGameEvents> {
|
|
|
72
75
|
debugRenderer: ITextureDebugRenderer | undefined;
|
|
73
76
|
webGlContext: WebGlContext | undefined;
|
|
74
77
|
visible: boolean;
|
|
75
|
-
lastBuildTime: number;
|
|
76
78
|
lastSaveVersion: IVersionInfo;
|
|
77
79
|
saveSize?: string;
|
|
78
80
|
canvas: HTMLCanvasElement | undefined;
|
|
@@ -138,6 +138,11 @@ export default class Doodad extends EventEmitter.Host<IDoodadEvents> implements
|
|
|
138
138
|
canGrow(): boolean;
|
|
139
139
|
getGrowingStage(): GrowingStage | undefined;
|
|
140
140
|
setGrowingStage(stage: GrowingStage, updateTile?: boolean): void;
|
|
141
|
+
/**
|
|
142
|
+
* Checks if the doodad will be rendered as tall (2 tiles)
|
|
143
|
+
* @returns True if the doodad is tall
|
|
144
|
+
*/
|
|
145
|
+
isTall(): boolean;
|
|
141
146
|
canPickup(human: Human): boolean;
|
|
142
147
|
getPickupTypes(): ItemType[] | undefined;
|
|
143
148
|
getActions(): ActionType[] | undefined;
|
|
@@ -91,11 +91,10 @@ export default class Creature extends Entity implements IUnserializedCallback, I
|
|
|
91
91
|
increaseWaste(item: Item): void;
|
|
92
92
|
onUnserialized(): void;
|
|
93
93
|
/**
|
|
94
|
-
* Updates the DoodadOverHidden tile flag if the creature is large
|
|
95
|
-
*
|
|
96
|
-
* which means we should hide the doodad over layer for doodads on the creature
|
|
94
|
+
* Updates the DoodadOverHidden tile flag if the creature is large.
|
|
95
|
+
* Large creatures should render over the doodad over layer, which means we should hide the doodad over layer for doodads on the creatures tile.
|
|
97
96
|
*/
|
|
98
|
-
updateDoodadOverHiddenState(x: number, y: number, z: number, tile: ITile,
|
|
97
|
+
updateDoodadOverHiddenState(x: number, y: number, z: number, tile: ITile, shouldBeHidden: boolean): void;
|
|
99
98
|
processAttack(realPlayers: Player[], description: ICreatureDescription, moveType: MoveType, enemy: Player | Creature | undefined): boolean;
|
|
100
99
|
getProducedTemperature(): number | undefined;
|
|
101
100
|
protected getApplicableStatusEffects(): Set<StatusType>;
|
|
@@ -627,7 +627,7 @@ export declare enum ItemType {
|
|
|
627
627
|
Offal = 164,
|
|
628
628
|
BoneFragments = 165,
|
|
629
629
|
LitPoleTorch = 166,
|
|
630
|
-
|
|
630
|
+
CottonBoll = 167,
|
|
631
631
|
CottonSeeds = 168,
|
|
632
632
|
CottonFabric = 169,
|
|
633
633
|
BonePole = 170,
|
|
@@ -1092,7 +1092,8 @@ export declare enum ItemType {
|
|
|
1092
1092
|
ButtonMushroomSpores = 629,
|
|
1093
1093
|
FlyAmanitaSpores = 630,
|
|
1094
1094
|
BrambleCrown = 631,
|
|
1095
|
-
DarkBrambleCrown = 632
|
|
1095
|
+
DarkBrambleCrown = 632,
|
|
1096
|
+
Cotton = 633
|
|
1096
1097
|
}
|
|
1097
1098
|
export declare enum ItemTypeGroup {
|
|
1098
1099
|
Invalid = 800,
|
|
@@ -183,6 +183,9 @@ export default class ItemManager extends ObjectManager<Item, IItemManagerEvents>
|
|
|
183
183
|
getNPCWithItemInInventory(containable: IContainable): NPC | undefined;
|
|
184
184
|
countItemsInContainer(containers: IContainer | IContainer[], itemTypeSearch: ItemType, ignoreItem?: Item): number;
|
|
185
185
|
countItemsInContainerByGroup(containers: IContainer | IContainer[], itemTypeGroupSearch: ItemTypeGroup, ignoreItem?: Item): number;
|
|
186
|
+
/**
|
|
187
|
+
* Get the best tier item
|
|
188
|
+
*/
|
|
186
189
|
getBestSafeItemInContainerByUse(container: IContainer, action: ActionType, allowProtectedItems?: boolean, actionMayDamageItem?: boolean, consumable?: boolean): Item | undefined;
|
|
187
190
|
getItemInContainer(container: IContainer, itemTypeSearch: ItemType, ignoreItem?: Item, allowProtectedItems?: boolean): Item | undefined;
|
|
188
191
|
getItemForHuman(human: Human, search: ItemType | ItemTypeGroup, allowProtectedItems?: boolean): Item | undefined;
|
|
@@ -63,60 +63,61 @@ export declare enum Prompt {
|
|
|
63
63
|
MenuGameEndReturnToTitleScreenMultiplayer = 45,
|
|
64
64
|
MenuLoadGameDeleteSave = 46,
|
|
65
65
|
MenuLoadGameDeleteSaves = 47,
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
MenuLoadGameExportType = 48,
|
|
67
|
+
MenuLoadGameImportSaveFailure = 49,
|
|
68
68
|
MenuLoadGameMissingMod = 50,
|
|
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
|
-
|
|
69
|
+
MenuLoadGameOldBuildTime = 51,
|
|
70
|
+
MenuLoadGamePublishError = 52,
|
|
71
|
+
MenuMainWelcomeToVersion = 53,
|
|
72
|
+
MenuMainOldVersionWarning = 54,
|
|
73
|
+
MenuModsConfirmPublish = 55,
|
|
74
|
+
MenuModsConfirmPublishUpdate = 56,
|
|
75
|
+
MenuModsModEnableMultipleLanguages = 57,
|
|
76
|
+
MenuModsModEnableUseLanguage = 58,
|
|
77
|
+
MenuModsPublishedReminderRequiredModsOnWorkshop = 59,
|
|
78
|
+
MenuModsPublishError = 60,
|
|
79
|
+
MenuModsPublishUpdateError = 61,
|
|
80
|
+
MenuModsInfoMissingDependencies = 62,
|
|
81
|
+
MenuModsConfirmEnableDisabledDependencies = 63,
|
|
82
|
+
MenuModsConfirmDisableDependents = 64,
|
|
83
|
+
MenuModsConfirmUninstallMod = 65,
|
|
84
|
+
MenuModsUnloadableSaveGameMod = 66,
|
|
85
|
+
MenuModsSubmenuEditInternalModsModsListChangeReload = 67,
|
|
86
|
+
MenuMultiplayerCannotJoinFailedToLoadMods = 68,
|
|
87
|
+
MenuNewGameTooManySaves = 69,
|
|
88
|
+
MenuCustomGameOptionsConfirmImport = 70,
|
|
89
|
+
MenuCustomGameOptionsImportFailure = 71,
|
|
90
|
+
MenuMilestoneModifiersConfirmImport = 72,
|
|
91
|
+
MenuMilestoneModifiersImportFailure = 73,
|
|
92
|
+
MenuOptionsReloadGame = 74,
|
|
93
|
+
MenuOptionsConfirmUnlockMilestones = 75,
|
|
94
|
+
MenuOptionsConfirmUnlockRecipes = 76,
|
|
95
|
+
MenuOptionsSaveDataClearAll = 77,
|
|
96
|
+
MenuOptionsSaveDataClearCharacters = 78,
|
|
97
|
+
MenuOptionsSaveDataClearHighscores = 79,
|
|
98
|
+
MenuOptionsSaveDataClearMilestones = 80,
|
|
99
|
+
MenuOptionsSaveDataClearOptions = 81,
|
|
100
|
+
MenuOptionsSaveDataClearSaves = 82,
|
|
101
|
+
MenuOptionsSaveDataClearCraftingRecipes = 83,
|
|
102
|
+
MenuOptionsSaveDataClearBindings = 84,
|
|
103
|
+
MenuOptionsConfirmImportGlobalData = 85,
|
|
104
|
+
MenuPauseGhostKeepSave = 86,
|
|
105
|
+
MenuPauseReturnToTitleScreen = 87,
|
|
106
|
+
MenuPauseReturnToTitleScreenChallenge = 88,
|
|
107
|
+
MenuPauseReturnToTitleScreenChallengeMultiplayer = 89,
|
|
108
|
+
MenuPauseReturnToTitleScreenMultiplayer = 90,
|
|
109
|
+
MultiplayerFailedToConnect = 91,
|
|
110
|
+
MultiplayerRestartServerAfterLoadingSave = 92,
|
|
111
|
+
MultiplayerDisconnect = 93,
|
|
112
|
+
MultiplayerDisconnectRejoin = 94,
|
|
113
|
+
SteamworksURLOpenedInBrowser = 95,
|
|
114
|
+
SteamworksWorkshopOpenedInBrowser = 96,
|
|
115
|
+
SteamworksModWithNameAlreadyExists = 97,
|
|
116
|
+
SteamworksModImportSaveGameFailure = 98,
|
|
117
|
+
SteamworksModImportedSaveGame = 99,
|
|
118
|
+
SteamworksOpenFolderFailure = 100,
|
|
119
|
+
SteamworksModPublishModJsonUpdateFailed = 101,
|
|
120
|
+
UiSaveDrop = 102
|
|
120
121
|
}
|
|
121
122
|
export declare enum PromptType {
|
|
122
123
|
Info = 0,
|
|
@@ -66,32 +66,32 @@ declare const promptDescriptions: {
|
|
|
66
66
|
45: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[playersConnected: number]>;
|
|
67
67
|
46: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[name?: string | undefined]>;
|
|
68
68
|
47: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[deleteCount: number]>;
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
49: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[succeeded: Text[], failed: Text[], unknownErrors: boolean]>;
|
|
70
|
+
48: import("game/meta/prompt/IPrompt").IPromptChoiceDescription<any[], (InterruptChoice.Cancel | InterruptChoice.LocalFile | InterruptChoice.SteamWorkshop)[]>;
|
|
71
71
|
50: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[missingMods: string[], disabledMods: string[]]>;
|
|
72
|
-
51: import("game/meta/prompt/IPrompt").
|
|
73
|
-
52: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[
|
|
74
|
-
53: import("game/meta/prompt/IPrompt").
|
|
75
|
-
54: import("game/meta/prompt/IPrompt").
|
|
72
|
+
51: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[saveBuildTime: string, gamebuildTime: string]>;
|
|
73
|
+
52: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[err: Text]>;
|
|
74
|
+
53: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[versionString: string]>;
|
|
75
|
+
54: import("game/meta/prompt/IPrompt").IPromptChoiceDescription<[lastVersionString: string, thisVersionString: string], [InterruptChoice.ContinueAnyway, InterruptChoice.OpenSaveFolderAndQuit]>;
|
|
76
76
|
55: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
77
77
|
56: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
78
78
|
57: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
79
|
-
58: import("game/meta/prompt/IPrompt").
|
|
80
|
-
59: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[
|
|
79
|
+
58: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
80
|
+
59: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
81
81
|
60: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[error?: string | undefined]>;
|
|
82
|
-
61: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[
|
|
83
|
-
62: import("game/meta/prompt/IPrompt").
|
|
84
|
-
63: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[modName: string,
|
|
85
|
-
64: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[modName: string]>;
|
|
86
|
-
65: import("game/meta/prompt/IPrompt").
|
|
87
|
-
66: import("game/meta/prompt/IPrompt").
|
|
88
|
-
67: import("game/meta/prompt/IPrompt").
|
|
89
|
-
68: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
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").
|
|
94
|
-
73: import("game/meta/prompt/IPrompt").
|
|
82
|
+
61: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[error?: string | undefined]>;
|
|
83
|
+
62: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[modName: string, dependencies: Text]>;
|
|
84
|
+
63: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[modName: string, dependencies: Text]>;
|
|
85
|
+
64: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[modName: string, dependents: Text]>;
|
|
86
|
+
65: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[modName: string]>;
|
|
87
|
+
66: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[folderName: string]>;
|
|
88
|
+
67: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
89
|
+
68: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[modErrors: Text[]]>;
|
|
90
|
+
69: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
91
|
+
70: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
92
|
+
71: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
93
|
+
72: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
94
|
+
73: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
95
95
|
74: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
96
96
|
75: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
97
97
|
76: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
@@ -103,23 +103,24 @@ declare const promptDescriptions: {
|
|
|
103
103
|
82: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
104
104
|
83: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
105
105
|
84: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
106
|
-
85: import("game/meta/prompt/IPrompt").
|
|
107
|
-
86: import("game/meta/prompt/IPrompt").
|
|
108
|
-
87: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
109
|
-
88: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[
|
|
110
|
-
89: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[playersConnected: number
|
|
111
|
-
90: import("game/meta/prompt/IPrompt").
|
|
112
|
-
91: import("game/meta/prompt/IPrompt").
|
|
113
|
-
92: import("game/meta/prompt/IPrompt").
|
|
114
|
-
93: import("game/meta/prompt/IPrompt").
|
|
115
|
-
94: import("game/meta/prompt/IPrompt").
|
|
106
|
+
85: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
107
|
+
86: import("game/meta/prompt/IPrompt").IPromptChoiceDescription<any[], (InterruptChoice.Cancel | InterruptChoice.NoWarn | InterruptChoice.Yes)[]>;
|
|
108
|
+
87: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
109
|
+
88: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[isGhostAndNotServer: boolean]>;
|
|
110
|
+
89: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[playersConnected: number]>;
|
|
111
|
+
90: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[playersConnected: number, isGhostAndNotServer: boolean]>;
|
|
112
|
+
91: import("game/meta/prompt/IPrompt").IPromptChoiceDescription<any[], (InterruptChoice.Cancel | InterruptChoice.Retry)[]>;
|
|
113
|
+
92: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[]>;
|
|
114
|
+
93: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[type: TranslationImpl, reason?: TranslationImpl | undefined]>;
|
|
115
|
+
94: import("game/meta/prompt/IPrompt").IPromptConfirmDescription<[type: TranslationImpl, reason?: TranslationImpl | undefined]>;
|
|
116
116
|
95: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
117
117
|
96: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
118
|
-
97: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[
|
|
118
|
+
97: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
119
119
|
98: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[modName: string]>;
|
|
120
|
-
99: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
121
|
-
100: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[
|
|
122
|
-
101: import("game/meta/prompt/IPrompt").
|
|
120
|
+
99: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[modName: string]>;
|
|
121
|
+
100: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[]>;
|
|
122
|
+
101: import("game/meta/prompt/IPrompt").IPromptInfoDescription<[error: string | undefined, publishedFileId: string]>;
|
|
123
|
+
102: import("game/meta/prompt/IPrompt").IPromptChoiceDescription<any[], never[]>;
|
|
123
124
|
};
|
|
124
125
|
declare const _default: Record<Prompt, PromptDescription<any[]>>;
|
|
125
126
|
export default _default;
|
|
@@ -53,7 +53,8 @@ export declare enum Milestone {
|
|
|
53
53
|
Apocryphal = 41,
|
|
54
54
|
Diverse = 42,
|
|
55
55
|
InternalDiscoveredBoats = 43,
|
|
56
|
-
Traitor = 44
|
|
56
|
+
Traitor = 44,
|
|
57
|
+
MasterOfAll = 45
|
|
57
58
|
}
|
|
58
59
|
export declare type ExcludeInternalMilestones<MILESTONE extends Milestone> = PickValueKeys<typeof Milestone, MILESTONE> extends `Internal${string}` ? never : MILESTONE;
|
|
59
60
|
export declare enum MilestoneVisibility {
|
|
@@ -38,7 +38,7 @@ declare module GameOptions {
|
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
export function upgrade(
|
|
41
|
+
export function upgrade(options: IGameOptions, _version: IVersionInfo): string[];
|
|
42
42
|
export {};
|
|
43
43
|
}
|
|
44
44
|
export default GameOptions;
|
|
@@ -298,6 +298,10 @@ export interface IGameOptionsSkill {
|
|
|
298
298
|
* A multiplier for how fast the skill is gained.
|
|
299
299
|
*/
|
|
300
300
|
gainMultiplier: number;
|
|
301
|
+
/**
|
|
302
|
+
* If set, skill cannot be raised past 100 even with bonuses.
|
|
303
|
+
*/
|
|
304
|
+
noBonuses: boolean;
|
|
301
305
|
}
|
|
302
306
|
export interface IGameOptionsCreature {
|
|
303
307
|
/**
|
|
@@ -0,0 +1,16 @@
|
|
|
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 type { IGameOptionsPartial } from "game/options/IGameOptions";
|
|
12
|
+
import MilestoneModifier, { MilestoneModifierGroup } from "game/options/modifiers/milestone/MilestoneModifier";
|
|
13
|
+
export default class MasterOfAll extends MilestoneModifier {
|
|
14
|
+
getOptions(): IGameOptionsPartial;
|
|
15
|
+
getGroup(): MilestoneModifierGroup;
|
|
16
|
+
}
|
|
@@ -44,7 +44,7 @@ interface IReferenceTypeMap {
|
|
|
44
44
|
export declare type Referenceable = IReferenceTypeMap[ReferenceableReferenceTypes];
|
|
45
45
|
export default class ReferenceManager {
|
|
46
46
|
static isEnumReference(type: ReferenceType): type is EnumReferenceTypes;
|
|
47
|
-
static getList(type: ReferenceType, gameIsland?: Island): import("../entity/creature/corpse/CorpseManager").default | import("../entity/creature/CreatureManager").default | import("../doodad/DoodadManager").default | import("../item/ItemManager").default | import("../entity/npc/NPCManager").default | import("../tile/TileEventManager").default | Player[] | readonly Milestone[] | readonly ItemType[] | IterableIterator<Island> | readonly
|
|
47
|
+
static getList(type: ReferenceType, gameIsland?: Island): import("../entity/creature/corpse/CorpseManager").default | import("../entity/creature/CreatureManager").default | import("../doodad/DoodadManager").default | import("../item/ItemManager").default | import("../entity/npc/NPCManager").default | import("../tile/TileEventManager").default | Player[] | readonly SkillType[] | readonly Milestone[] | readonly ItemType[] | IterableIterator<Island> | readonly Stat[];
|
|
48
48
|
private referenceCursor;
|
|
49
49
|
create(): number;
|
|
50
50
|
get(thing: Referenceable): Reference | undefined;
|