@wayward/types 2.12.0-beta.dev.20220905.1 → 2.12.0-beta.dev.20220907.9
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/IGlobal.d.ts +4 -1
- package/definitions/game/game/entity/Human.d.ts +2 -2
- package/definitions/game/game/entity/IHuman.d.ts +14 -0
- package/definitions/game/game/entity/action/IAction.d.ts +2 -1
- package/definitions/game/game/entity/action/usable/UsableAction.d.ts +2 -3
- package/definitions/game/game/entity/action/usable/UsableActionType.d.ts +63 -53
- package/definitions/game/game/inspection/infoProviders/UseInfo.d.ts +2 -0
- package/definitions/game/game/inspection/infoProviders/doodad/Gatherability.d.ts +26 -0
- package/definitions/game/game/inspection/infoProviders/doodad/Harvestability.d.ts +1 -1
- package/definitions/game/game/item/Item.d.ts +5 -4
- package/definitions/game/game/item/ItemManager.d.ts +7 -0
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +1 -1
- package/definitions/game/language/Dictionary.d.ts +61 -60
- package/definitions/game/language/DictionaryMap.d.ts +122 -118
- package/definitions/game/language/dictionary/Message.d.ts +5 -5
- package/definitions/game/language/dictionary/UiTranslation.d.ts +563 -558
- package/definitions/game/language/english/ui/InventorySorts.d.ts +13 -0
- package/definitions/game/mod/ModRegistry.d.ts +36 -2
- package/definitions/game/renderer/IRenderer.d.ts +36 -38
- package/definitions/game/resource/IResourceLoader.d.ts +2 -1
- package/definitions/game/resource/SpritePacker.d.ts +1 -0
- package/definitions/game/steamworks/ISteamworks.d.ts +2 -0
- package/definitions/game/steamworks/Steamworks.d.ts +1 -0
- package/definitions/game/typings/jqueryui.d.ts +1 -3
- package/definitions/game/ui/IUi.d.ts +3 -1
- package/definitions/game/ui/Ui.d.ts +1 -0
- package/definitions/game/ui/component/ContextMenu.d.ts +3 -0
- package/definitions/game/ui/component/GroupDropdown.d.ts +1 -0
- package/definitions/game/ui/component/Input.d.ts +6 -0
- package/definitions/game/ui/component/SortRow.d.ts +5 -0
- package/definitions/game/ui/component/Text.d.ts +2 -2
- package/definitions/game/ui/old/screens/InGameScreen.d.ts +8 -5
- package/definitions/game/ui/screen/screens/game/component/Item.d.ts +1 -0
- package/definitions/game/ui/screen/screens/menu/menus/BindingsMenu.d.ts +1 -0
- package/definitions/game/ui/screen/screens/menu/menus/main/component/IWebsite.d.ts +5 -2
- package/definitions/game/ui/screen/screens/menu/menus/main/component/SocialRow.d.ts +2 -1
- package/definitions/game/ui/screen/screens/menu/menus/options/BindRow.d.ts +1 -0
- package/definitions/game/ui/tooltip/Tooltip.d.ts +2 -1
- package/definitions/game/utilities/enum/EnumManager.d.ts +5 -0
- package/definitions/game/utilities/enum/IEnum.d.ts +3 -1
- package/definitions/hosts/shared/globals.d.ts +4 -1
- package/definitions/test/core/application.d.ts +1 -0
- package/definitions/test/core/chromeDriver.d.ts +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import "@cplusplus/index";
|
|
12
|
+
import "@hosts/shared/globalTypes";
|
|
12
13
|
import "@wayward/goodstream/apply";
|
|
13
14
|
import type WAudio from "audio/Audio";
|
|
14
15
|
import type CommandManager from "command/CommandManager";
|
|
@@ -41,7 +42,6 @@ import "utilities/typesglobal/Iterables";
|
|
|
41
42
|
import "utilities/typesglobal/Misc";
|
|
42
43
|
import "utilities/typesglobal/Objects";
|
|
43
44
|
import "utilities/typesglobal/Types";
|
|
44
|
-
import "@hosts/shared/globalTypes";
|
|
45
45
|
declare global {
|
|
46
46
|
let absentPlayers: Player[];
|
|
47
47
|
let audio: WAudio | undefined;
|
|
@@ -69,6 +69,9 @@ declare global {
|
|
|
69
69
|
const gameVersionMinor: number;
|
|
70
70
|
const gameVersionPatch: number;
|
|
71
71
|
const gameVersionName: string;
|
|
72
|
+
const gameVersionTitleMajor: string;
|
|
73
|
+
const gameVersionTitleMinor: string;
|
|
74
|
+
const gameVersionTitle: string;
|
|
72
75
|
const isNodeJs: boolean;
|
|
73
76
|
const isWebWorker: boolean;
|
|
74
77
|
const overlayWorks: boolean | undefined;
|
|
@@ -79,8 +79,8 @@ export default abstract class Human extends Entity implements IHasInsulation {
|
|
|
79
79
|
turns: number;
|
|
80
80
|
vehicleItemReference: ItemReference | undefined;
|
|
81
81
|
walkSoundCounter: number;
|
|
82
|
-
containerSortInfo: Record<string, IContainerSortInfo>;
|
|
83
|
-
dialogContainerInfo: Record<number, IDialogInfo>;
|
|
82
|
+
containerSortInfo: Record<string, IContainerSortInfo | undefined>;
|
|
83
|
+
dialogContainerInfo: Record<number, IDialogInfo | undefined>;
|
|
84
84
|
readonly movementIntent: IMovementIntent;
|
|
85
85
|
walkPath: IWalkPath | undefined;
|
|
86
86
|
identifier: string;
|
|
@@ -420,9 +420,23 @@ export interface IVoyageInfo {
|
|
|
420
420
|
wantedItems?: ItemType[];
|
|
421
421
|
}
|
|
422
422
|
export declare enum MovingClientSide {
|
|
423
|
+
/**
|
|
424
|
+
* NoInput = Idle
|
|
425
|
+
*/
|
|
423
426
|
NoInput = 0,
|
|
427
|
+
/**
|
|
428
|
+
* Is actively moving
|
|
429
|
+
*/
|
|
424
430
|
Moving = 1,
|
|
431
|
+
/**
|
|
432
|
+
* Just completed their movement.
|
|
433
|
+
* They might be about to move again.
|
|
434
|
+
*/
|
|
425
435
|
Moved = 2,
|
|
436
|
+
/**
|
|
437
|
+
* The game registered the end of the movement.
|
|
438
|
+
* It's about to check if it will move again or finish (state change into Moving or NoInput)
|
|
439
|
+
*/
|
|
426
440
|
PreNoInput = 3
|
|
427
441
|
}
|
|
428
442
|
/**
|
|
@@ -30,6 +30,7 @@ import type { IPromptDescriptionBase, PromptDescriptionArgs } from "game/meta/pr
|
|
|
30
30
|
import type { Milestone } from "game/milestones/IMilestone";
|
|
31
31
|
import type { ITile } from "game/tile/ITerrain";
|
|
32
32
|
import type TileEvent from "game/tile/TileEvent";
|
|
33
|
+
import type { IModdable } from "mod/ModRegistry";
|
|
33
34
|
import type { IRGB } from "utilities/Color";
|
|
34
35
|
import type { Direction } from "utilities/math/Direction";
|
|
35
36
|
import type { IVector2, IVector3 } from "utilities/math/IVector";
|
|
@@ -188,7 +189,7 @@ export interface IActionNotUsable extends Partial<IPackedMessage> {
|
|
|
188
189
|
source?: never;
|
|
189
190
|
}
|
|
190
191
|
export declare type AnyActionDescription = IActionDescription<Array<ActionArgument | ActionArgument[]>, Entity, any, IActionUsable, any[]>;
|
|
191
|
-
export interface IActionDescription<A extends Array<ActionArgument | ActionArgument[]> = Array<ActionArgument | ActionArgument[]>, E extends Entity = Entity, R = void, CU extends IActionUsable = IActionUsable, AV extends any[] = ActionArgumentTupleTypes<A>> {
|
|
192
|
+
export interface IActionDescription<A extends Array<ActionArgument | ActionArgument[]> = Array<ActionArgument | ActionArgument[]>, E extends Entity = Entity, R = void, CU extends IActionUsable = IActionUsable, AV extends any[] = ActionArgumentTupleTypes<A>> extends IModdable {
|
|
192
193
|
type?: number;
|
|
193
194
|
argumentTypes: A;
|
|
194
195
|
usability: {
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import type Doodad from "game/doodad/Doodad";
|
|
12
|
-
import type { ActionDisplayLevel, IActionNotUsable, IActionUsable } from "game/entity/action/IAction";
|
|
13
|
-
import { ActionType } from "game/entity/action/IAction";
|
|
12
|
+
import type { ActionDisplayLevel, ActionType, IActionNotUsable, IActionUsable } from "game/entity/action/IAction";
|
|
14
13
|
import type UsableActionRegistrar from "game/entity/action/usable/UsableActionRegistrar";
|
|
15
14
|
import type { UsableActionTypePlaceholder } from "game/entity/action/usable/UsableActionType";
|
|
16
15
|
import { UsableActionType } from "game/entity/action/usable/UsableActionType";
|
|
@@ -141,7 +140,7 @@ export interface IUsableActionDefinitionBase<REQUIREMENTS extends IUsableActionR
|
|
|
141
140
|
/**
|
|
142
141
|
* The icon this action should have, if any.
|
|
143
142
|
*/
|
|
144
|
-
icon?: SupplierOr<UsableActionIconReference, [using: IUsableActionPossibleUsing, action: UsableAction<REQUIREMENTS>]>;
|
|
143
|
+
icon?: SupplierOr<UsableActionIconReference | false, [using: IUsableActionPossibleUsing, action: UsableAction<REQUIREMENTS>]>;
|
|
145
144
|
/**
|
|
146
145
|
* Where the icon should appear, when slotted with an item. Defaults to bottom right.
|
|
147
146
|
*
|
|
@@ -8,60 +8,70 @@
|
|
|
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 type { IModdable } from "mod/ModRegistry";
|
|
12
|
+
export declare enum ActionTypeStarts {
|
|
13
|
+
ActionType = 0,
|
|
14
|
+
ModActionType = 10000,
|
|
15
|
+
UsableActionType = 100000,
|
|
16
|
+
UsableActionTypePlaceholder = 200000,
|
|
17
|
+
ModUsableActionType = 300000,
|
|
18
|
+
ModUsableActionTypePlaceholder = 400000
|
|
19
|
+
}
|
|
11
20
|
export declare enum UsableActionType {
|
|
12
|
-
Use =
|
|
13
|
-
QuickSlotRemove =
|
|
14
|
-
QuickSlotAdd =
|
|
15
|
-
QuickSlotAddToFree =
|
|
16
|
-
QuickSlotAddToSlot =
|
|
17
|
-
MoveToInventory =
|
|
18
|
-
DropMenu =
|
|
19
|
-
DropAll =
|
|
20
|
-
DropAllOfSameQuality =
|
|
21
|
-
RepairWithItem =
|
|
22
|
-
ReinforceWithItem =
|
|
23
|
-
EnhanceWithItem =
|
|
24
|
-
EnchantWithItem =
|
|
25
|
-
TransmogrifyWithItem =
|
|
26
|
-
UpgradeWithItem =
|
|
27
|
-
AlterWithItem =
|
|
28
|
-
RefineWithItem =
|
|
29
|
-
PreserveWithItem =
|
|
30
|
-
AddFuelWithItem =
|
|
31
|
-
IgniteWithItem =
|
|
32
|
-
AbsorbWithItem =
|
|
33
|
-
ExudeWithItem =
|
|
34
|
-
MoveToInventoryMenu =
|
|
35
|
-
MoveToActiveContainerMenu =
|
|
36
|
-
MoveToFacingContainerMenu =
|
|
37
|
-
Move =
|
|
38
|
-
MoveAll =
|
|
39
|
-
MoveAllOfSameQuality =
|
|
40
|
-
TradeTraderSell =
|
|
41
|
-
TradeTraderBuy =
|
|
42
|
-
ItemActions =
|
|
43
|
-
Actions =
|
|
44
|
-
GatherWithHands =
|
|
45
|
-
HarvestWithHands =
|
|
46
|
-
DigWithHands =
|
|
47
|
-
TillWithHands =
|
|
48
|
-
PickUpExcrementWithHands =
|
|
49
|
-
EquipHeld =
|
|
50
|
-
EquipLegs =
|
|
51
|
-
EquipChest =
|
|
52
|
-
EquipHead =
|
|
53
|
-
EquipBelt =
|
|
54
|
-
EquipFeet =
|
|
55
|
-
EquipNeck =
|
|
56
|
-
EquipHands =
|
|
57
|
-
EquipBack =
|
|
58
|
-
EquipMainHand =
|
|
59
|
-
EquipOffHand =
|
|
21
|
+
Use = 100000,
|
|
22
|
+
QuickSlotRemove = 100001,
|
|
23
|
+
QuickSlotAdd = 100002,
|
|
24
|
+
QuickSlotAddToFree = 100003,
|
|
25
|
+
QuickSlotAddToSlot = 100004,
|
|
26
|
+
MoveToInventory = 100005,
|
|
27
|
+
DropMenu = 100006,
|
|
28
|
+
DropAll = 100007,
|
|
29
|
+
DropAllOfSameQuality = 100008,
|
|
30
|
+
RepairWithItem = 100009,
|
|
31
|
+
ReinforceWithItem = 100010,
|
|
32
|
+
EnhanceWithItem = 100011,
|
|
33
|
+
EnchantWithItem = 100012,
|
|
34
|
+
TransmogrifyWithItem = 100013,
|
|
35
|
+
UpgradeWithItem = 100014,
|
|
36
|
+
AlterWithItem = 100015,
|
|
37
|
+
RefineWithItem = 100016,
|
|
38
|
+
PreserveWithItem = 100017,
|
|
39
|
+
AddFuelWithItem = 100018,
|
|
40
|
+
IgniteWithItem = 100019,
|
|
41
|
+
AbsorbWithItem = 100020,
|
|
42
|
+
ExudeWithItem = 100021,
|
|
43
|
+
MoveToInventoryMenu = 100022,
|
|
44
|
+
MoveToActiveContainerMenu = 100023,
|
|
45
|
+
MoveToFacingContainerMenu = 100024,
|
|
46
|
+
Move = 100025,
|
|
47
|
+
MoveAll = 100026,
|
|
48
|
+
MoveAllOfSameQuality = 100027,
|
|
49
|
+
TradeTraderSell = 100028,
|
|
50
|
+
TradeTraderBuy = 100029,
|
|
51
|
+
ItemActions = 100030,
|
|
52
|
+
Actions = 100031,
|
|
53
|
+
GatherWithHands = 100032,
|
|
54
|
+
HarvestWithHands = 100033,
|
|
55
|
+
DigWithHands = 100034,
|
|
56
|
+
TillWithHands = 100035,
|
|
57
|
+
PickUpExcrementWithHands = 100036,
|
|
58
|
+
EquipHeld = 100037,
|
|
59
|
+
EquipLegs = 100038,
|
|
60
|
+
EquipChest = 100039,
|
|
61
|
+
EquipHead = 100040,
|
|
62
|
+
EquipBelt = 100041,
|
|
63
|
+
EquipFeet = 100042,
|
|
64
|
+
EquipNeck = 100043,
|
|
65
|
+
EquipHands = 100044,
|
|
66
|
+
EquipBack = 100045,
|
|
67
|
+
EquipMainHand = 100046,
|
|
68
|
+
EquipOffHand = 100047
|
|
60
69
|
}
|
|
61
70
|
export declare enum UsableActionTypePlaceholder {
|
|
62
|
-
TradeItem =
|
|
63
|
-
MoveAllToInventory =
|
|
64
|
-
MoveAllOfSameQualityToInventory =
|
|
65
|
-
Paddle =
|
|
66
|
-
Operate =
|
|
71
|
+
TradeItem = 200000,
|
|
72
|
+
MoveAllToInventory = 200001,
|
|
73
|
+
MoveAllOfSameQualityToInventory = 200002,
|
|
74
|
+
Paddle = 200003,
|
|
75
|
+
Operate = 200004
|
|
67
76
|
}
|
|
77
|
+
export declare const usableActionDescriptions: PartialRecord<UsableActionType | UsableActionTypePlaceholder, IModdable>;
|
|
@@ -14,6 +14,7 @@ import { InfoDisplayLevel } from "game/inspection/IInfoProvider";
|
|
|
14
14
|
import type { InfoProvider } from "game/inspection/InfoProvider";
|
|
15
15
|
import type { InfoProviderContext } from "game/inspection/InfoProviderContext";
|
|
16
16
|
import type { Quality } from "game/IObject";
|
|
17
|
+
import type Island from "game/island/Island";
|
|
17
18
|
import type Translation from "language/Translation";
|
|
18
19
|
import type { TranslationGenerator } from "ui/component/IComponent";
|
|
19
20
|
export interface IDescribed {
|
|
@@ -21,6 +22,7 @@ export interface IDescribed {
|
|
|
21
22
|
type: number;
|
|
22
23
|
referenceId?: number;
|
|
23
24
|
quality?: Quality;
|
|
25
|
+
island: Island;
|
|
24
26
|
description(): any;
|
|
25
27
|
}
|
|
26
28
|
export declare type DescribedDescription<T extends IDescribed> = Exclude<ReturnType<T["description"]>, undefined>;
|
|
@@ -0,0 +1,26 @@
|
|
|
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 Doodad from "game/doodad/Doodad";
|
|
12
|
+
import { InfoDisplayLevel } from "game/inspection/IInfoProvider";
|
|
13
|
+
import { InfoProvider } from "game/inspection/InfoProvider";
|
|
14
|
+
import type { InfoProviderContext } from "game/inspection/InfoProviderContext";
|
|
15
|
+
export default class GatherabilityInfoProvider extends InfoProvider {
|
|
16
|
+
private readonly doodad;
|
|
17
|
+
static get(doodad: Doodad): false | GatherabilityInfoProvider | undefined;
|
|
18
|
+
private gatherMessage;
|
|
19
|
+
private constructor();
|
|
20
|
+
getClass(): string[];
|
|
21
|
+
getDefaultDisplayLevel(_context: InfoProviderContext): InfoDisplayLevel;
|
|
22
|
+
hasContent(): boolean;
|
|
23
|
+
get(): import("../../../../language/impl/TranslationImpl").default;
|
|
24
|
+
onTickEnd(): void;
|
|
25
|
+
private getGatherabilityMessage;
|
|
26
|
+
}
|
|
@@ -15,7 +15,7 @@ import type { InfoProviderContext } from "game/inspection/InfoProviderContext";
|
|
|
15
15
|
export default class HarvestabilityInfoProvider extends InfoProvider {
|
|
16
16
|
private readonly doodad;
|
|
17
17
|
static get(doodad: Doodad): false | HarvestabilityInfoProvider | undefined;
|
|
18
|
-
private
|
|
18
|
+
private harvestMessage;
|
|
19
19
|
private constructor();
|
|
20
20
|
getClass(): string[];
|
|
21
21
|
getDefaultDisplayLevel(_context: InfoProviderContext): InfoDisplayLevel;
|
|
@@ -51,19 +51,20 @@ export interface IItemEvents {
|
|
|
51
51
|
* @param human The human object
|
|
52
52
|
* @param slot The slot
|
|
53
53
|
*/
|
|
54
|
-
equip
|
|
54
|
+
equip(human: Human, slot: EquipType): any;
|
|
55
55
|
/**
|
|
56
56
|
* Called when the human unequip an item from a slot
|
|
57
57
|
* @param human The human object
|
|
58
58
|
* @param slot The slot
|
|
59
59
|
*/
|
|
60
|
-
unequip
|
|
60
|
+
unequip(human: Human, slot: EquipType): any;
|
|
61
61
|
/**
|
|
62
62
|
* Called when an item is damaged
|
|
63
63
|
* @param modifier The damage modifier
|
|
64
64
|
* @returns The amount of damage the item shouldd take or undefined to use the default logic
|
|
65
65
|
*/
|
|
66
|
-
shouldDamage
|
|
66
|
+
shouldDamage(modifier?: number): number | false | undefined;
|
|
67
|
+
qualityChange(quality: Quality, oldQuality: Quality): any;
|
|
67
68
|
}
|
|
68
69
|
export default class Item extends EventEmitter.Host<IItemEvents> implements IReferenceable, Partial<IContainer>, IContainable, IUnserializedCallback, IObject<ItemType>, IObjectOptions, IContainable, Partial<IContainer>, ITemperatureSource, IHasInsulation, IHasMagic {
|
|
69
70
|
readonly objectType = CreationId.Item;
|
|
@@ -275,7 +276,7 @@ export default class Item extends EventEmitter.Host<IItemEvents> implements IRef
|
|
|
275
276
|
* @param action The ActionType you are trying to get the level for.
|
|
276
277
|
* @returns A number (possibly 0 if no quality or action level).
|
|
277
278
|
*/
|
|
278
|
-
getItemUseBonus(action
|
|
279
|
+
getItemUseBonus(action: ActionType): number;
|
|
279
280
|
getBestRangedWeapon(human: Human): Item | undefined;
|
|
280
281
|
/**
|
|
281
282
|
* Extinguishes to item if it is lit.
|
|
@@ -215,12 +215,19 @@ export default class ItemManager extends ObjectManager<Item, IItemManagerEvents>
|
|
|
215
215
|
countItemsInContainerByGroup(containers: IContainer | IContainer[], itemTypeGroupSearch: ItemTypeGroup, ignoreItem?: Item): number;
|
|
216
216
|
/**
|
|
217
217
|
* Get the best items sorted by how good they are
|
|
218
|
+
* Usability/custom (ie the sorting for melee/start fire) > Action tier (+quality if there's an action tier on both items) > quality > durability
|
|
218
219
|
*/
|
|
219
220
|
getBestSafeItems(human: Human, container: IContainer, options?: Partial<IGetBestItemsOptions>): Item[];
|
|
220
221
|
/**
|
|
221
222
|
* Get the best item
|
|
222
223
|
*/
|
|
223
224
|
getBestSafeItem(human: Human, container: IContainer, options?: Partial<IGetBestItemsOptions>): Item | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* Gets the item's quality and action level (how good it is at doing the action).
|
|
227
|
+
* @param action The ActionType you are trying to get the level for.
|
|
228
|
+
* @returns A number (possibly 0 if no quality or action level).
|
|
229
|
+
*/
|
|
230
|
+
getItemUseBonus(itemType: ItemType, action: ActionType, quality: Quality | undefined): number;
|
|
224
231
|
getItemInContainer(container: IContainer, itemTypeSearch: ItemType, options?: Partial<IGetItemOptions>): Item | undefined;
|
|
225
232
|
getItemForHuman(human: Human, search: ItemType | ItemTypeGroup, options?: Partial<IGetItemOptions>): Item | undefined;
|
|
226
233
|
getItemInContainerByGroup(container: IContainer, itemTypeGroupSearch: ItemTypeGroup, options?: Partial<IGetItemOptions>): Item | undefined;
|
|
@@ -20,7 +20,7 @@ declare class MilestoneModifiersManager extends GameplayModifiersManager<Milesto
|
|
|
20
20
|
isGlobal(milestone: Milestone): boolean;
|
|
21
21
|
isNotGlobal(milestone: Milestone): boolean;
|
|
22
22
|
getGroup(milestone: Milestone): import("game/options/modifiers/milestone/MilestoneModifier").MilestoneModifierGroup | undefined;
|
|
23
|
-
sort(a: Milestone, b: Milestone):
|
|
23
|
+
sort(a: Milestone, b: Milestone): 1 | 0 | -1;
|
|
24
24
|
private areOptionsGlobal;
|
|
25
25
|
}
|
|
26
26
|
declare const _default: MilestoneModifiersManager;
|
|
@@ -47,65 +47,66 @@ declare enum Dictionary {
|
|
|
47
47
|
Input = 35,
|
|
48
48
|
InspectType = 36,
|
|
49
49
|
InterruptChoice = 37,
|
|
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
|
-
|
|
50
|
+
InventorySort = 38,
|
|
51
|
+
IslandModifier = 39,
|
|
52
|
+
IslandName = 40,
|
|
53
|
+
IslandNameBiomeDescriptor = 41,
|
|
54
|
+
IslandNameBiomeNoun = 42,
|
|
55
|
+
IslandNameModifierDescriptor = 43,
|
|
56
|
+
IslandNameOverrunWithCreatureDescriptor = 44,
|
|
57
|
+
Item = 45,
|
|
58
|
+
ItemGroup = 46,
|
|
59
|
+
JoinServerRetryReason = 47,
|
|
60
|
+
Level = 48,
|
|
61
|
+
Loading = 49,
|
|
62
|
+
Macro = 50,
|
|
63
|
+
MagicalPropertyType = 51,
|
|
64
|
+
MapQuality = 52,
|
|
65
|
+
MenuBarButton = 53,
|
|
66
|
+
Message = 54,
|
|
67
|
+
MessagesDefaultFilter = 55,
|
|
68
|
+
MessagesTimestampMode = 56,
|
|
69
|
+
Milestone = 57,
|
|
70
|
+
MilestoneModifierGroup = 58,
|
|
71
|
+
Misc = 59,
|
|
72
|
+
ModLoadError = 60,
|
|
73
|
+
ModLoadFailureReason = 61,
|
|
74
|
+
ModProvide = 62,
|
|
75
|
+
ModSort = 63,
|
|
76
|
+
ModType = 64,
|
|
77
|
+
MultiplayerCompatibility = 65,
|
|
78
|
+
MultiplayerDisconnectReason = 66,
|
|
79
|
+
MusicPlaylist = 67,
|
|
80
|
+
Note = 68,
|
|
81
|
+
Npc = 69,
|
|
82
|
+
Number = 70,
|
|
83
|
+
PartOfDay = 71,
|
|
84
|
+
PowerMode = 72,
|
|
85
|
+
Prompt = 73,
|
|
86
|
+
QuadrantComponent = 74,
|
|
87
|
+
QuadrantComponentContextMenuAction = 75,
|
|
88
|
+
Quality = 76,
|
|
89
|
+
Quest = 77,
|
|
90
|
+
QuestRequirement = 78,
|
|
91
|
+
RecipeLevel = 79,
|
|
92
|
+
Riddle = 80,
|
|
93
|
+
SaveImportErrorReason = 81,
|
|
94
|
+
SaveSlotSort = 82,
|
|
95
|
+
Skill = 83,
|
|
96
|
+
Source = 84,
|
|
97
|
+
Stat = 85,
|
|
98
|
+
StatusEffect = 86,
|
|
99
|
+
TeamMemberResponsibility = 87,
|
|
100
|
+
TemperatureType = 88,
|
|
101
|
+
Terrain = 89,
|
|
102
|
+
TileEvent = 90,
|
|
103
|
+
Ui = 91,
|
|
104
|
+
UiQuadrant = 92,
|
|
105
|
+
UnableToJoinReason = 93,
|
|
106
|
+
UnlockedRecipesStrategy = 94,
|
|
107
|
+
UsableActionType = 95,
|
|
108
|
+
Website = 96,
|
|
109
|
+
WeightStatus = 97,
|
|
110
|
+
WorldLayer = 98
|
|
110
111
|
}
|
|
111
112
|
export default Dictionary;
|