@wayward/types 2.13.0-beta.dev.20230418.1 → 2.13.0-beta.dev.20230420.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.
Files changed (26) hide show
  1. package/definitions/game/game/IGame.d.ts +2 -1
  2. package/definitions/game/game/doodad/Doodad.d.ts +2 -2
  3. package/definitions/game/game/doodad/IDoodad.d.ts +1 -0
  4. package/definitions/game/game/entity/Entity.d.ts +9 -8
  5. package/definitions/game/game/entity/Stats.d.ts +1 -1
  6. package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +1 -1
  7. package/definitions/game/game/inspection/InfoProvider.d.ts +18 -0
  8. package/definitions/game/game/inspection/infoProviders/creature/CreatureTamedInfo.d.ts +7 -4
  9. package/definitions/game/game/inspection/infoProviders/item/ItemDetails.d.ts +1 -1
  10. package/definitions/game/game/inspection/infoProviders/stat/AttackInfo.d.ts +1 -1
  11. package/definitions/game/game/inspection/inspections/CorpseInspection.d.ts +1 -1
  12. package/definitions/game/game/item/ItemManager.d.ts +1 -1
  13. package/definitions/game/game/reference/ReferenceManager.d.ts +1 -1
  14. package/definitions/game/language/Dictionary.d.ts +42 -40
  15. package/definitions/game/language/DictionaryMap.d.ts +86 -80
  16. package/definitions/game/language/dictionary/UiTranslation.d.ts +787 -784
  17. package/definitions/game/language/english/ui/sort/MilestoneSorts.d.ts +13 -0
  18. package/definitions/game/language/english/ui/sort/SkillSorts.d.ts +13 -0
  19. package/definitions/game/renderer/world/WorldRenderer.d.ts +1 -1
  20. package/definitions/game/ui/screen/screens/game/dialog/IMilestonesDialog.d.ts +14 -0
  21. package/definitions/game/ui/screen/screens/game/dialog/ISkillsDialog.d.ts +14 -0
  22. package/definitions/game/ui/screen/screens/game/dialog/IslandsSailDialog.d.ts +3 -3
  23. package/definitions/game/ui/screen/screens/game/dialog/IslandsShippingDialog.d.ts +4 -2
  24. package/definitions/game/ui/screen/screens/game/dialog/islands/IslandsDialog.d.ts +23 -4
  25. package/definitions/game/ui/screen/screens/game/static/Messages.d.ts +2 -1
  26. package/package.json +1 -1
@@ -242,7 +242,8 @@ export declare enum PauseSource {
242
242
  PlayerMoveToIsland = 3,
243
243
  SyncGameState = 4,
244
244
  WebGlContextLost = 5,
245
- MultiplayerConnect = 6
245
+ MultiplayerConnect = 6,
246
+ StartGame = 7
246
247
  }
247
248
  /**
248
249
  * For items and terrain that can decay, the temperature range that controls the rate of decay.
@@ -9,8 +9,7 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import type { IEventEmitter } from "event/EventEmitter";
12
- import type { DisplayableDoodadType, DoodadTag, DoorOrientation, IDoodadDescription, IDoodadOptions, IHasBuilder } from "game/doodad/IDoodad";
13
- import type { DoodadTypeExtra } from "game/doodad/IDoodad";
12
+ import type { DisplayableDoodadType, DoodadTag, DoodadTypeExtra, DoorOrientation, IDoodadDescription, IDoodadOptions, IHasBuilder } from "game/doodad/IDoodad";
14
13
  import { DoodadType, DoodadTypeGroup, GrowingStage } from "game/doodad/IDoodad";
15
14
  import { ActionType } from "game/entity/action/IAction";
16
15
  import type Creature from "game/entity/creature/Creature";
@@ -257,6 +256,7 @@ export default class Doodad extends Entity<IDoodadDescription, DoodadType, Dooda
257
256
  set durability(value: number);
258
257
  get durabilityMax(): number;
259
258
  set durabilityMax(value: number);
259
+ canInspect(human: Human): boolean;
260
260
  private processSpecials;
261
261
  /**
262
262
  * Check for items on top of lit/fire doodads, set them on fire
@@ -194,6 +194,7 @@ export interface IDoodadDescription extends IObjectDescription, IModdable, ICaus
194
194
  * Item groups of this type in the container will provide skill bonuses to adjacent players.
195
195
  */
196
196
  containedItemGroupProvidesSkill?: IProvidesSkill;
197
+ alwaysInspectable?: true;
197
198
  }
198
199
  export interface IItemStackRegion {
199
200
  xMin?: number;
@@ -10,30 +10,30 @@
10
10
  */
11
11
  import type { SfxType } from "audio/IAudio";
12
12
  import EventEmitter from "event/EventEmitter";
13
+ import type { TileUpdateType } from "game/IGame";
14
+ import { FireType } from "game/IGame";
13
15
  import type Doodad from "game/doodad/Doodad";
14
- import type Corpse from "game/entity/creature/corpse/Corpse";
15
- import type Creature from "game/entity/creature/Creature";
16
+ import type EntityMovable from "game/entity/EntityMovable";
17
+ import type EntityWithStats from "game/entity/EntityWithStats";
16
18
  import type Human from "game/entity/Human";
17
19
  import type { IEntityConstructorOptions, IEntityEvents } from "game/entity/IEntity";
18
20
  import { EntityType } from "game/entity/IEntity";
21
+ import type Creature from "game/entity/creature/Creature";
22
+ import type Corpse from "game/entity/creature/corpse/Corpse";
19
23
  import type NPC from "game/entity/npc/NPC";
20
24
  import type Player from "game/entity/player/Player";
21
- import { FireType } from "game/IGame";
22
- import type { TileUpdateType } from "game/IGame";
23
25
  import type { IInspector } from "game/inspection/IInfoProvider";
24
26
  import type { IslandId } from "game/island/IIsland";
25
27
  import type Item from "game/item/Item";
26
28
  import type { IReferenceable, Reference } from "game/reference/IReferenceManager";
27
29
  import type { ITemperatureSource } from "game/temperature/ITemperature";
30
+ import type Tile from "game/tile/Tile";
28
31
  import type TileEvent from "game/tile/TileEvent";
29
32
  import type { ISerializedTranslation } from "language/ITranslation";
30
33
  import type Translation from "language/Translation";
34
+ import type { RenderSource, UpdateRenderFlag } from "renderer/IRenderer";
31
35
  import type { INotificationLocation, ItemNotifierType, StatNotificationType } from "renderer/notifier/INotifier";
32
36
  import type { IVector3 } from "utilities/math/IVector";
33
- import type EntityWithStats from "game/entity/EntityWithStats";
34
- import type Tile from "game/tile/Tile";
35
- import type EntityMovable from "game/entity/EntityMovable";
36
- import type { RenderSource, UpdateRenderFlag } from "renderer/IRenderer";
37
37
  import type { IVector4 } from "utilities/math/Vector4";
38
38
  export default abstract class Entity<DescriptionType = unknown, TypeType extends number = number, TagType = unknown, CounterType = unknown> extends EventEmitter.Host<IEntityEvents> implements IReferenceable, IInspector, ITemperatureSource, INotificationLocation, IVector4 {
39
39
  abstract readonly entityType: EntityType;
@@ -102,6 +102,7 @@ export default abstract class Entity<DescriptionType = unknown, TypeType extends
102
102
  notifyStat(type: StatNotificationType, value: number): void;
103
103
  getProducedTemperature(): number | undefined;
104
104
  setName(renamed: string | ISerializedTranslation | undefined): void;
105
+ canInspect(human: Human): boolean;
105
106
  hasTag(tag: TagType): boolean;
106
107
  addTag(tag: TagType): void;
107
108
  removeTag(tag: TagType): void;
@@ -155,7 +155,7 @@ export default class Stats<T extends IStatHost> {
155
155
  * @param amt The amount to increase the change timer by. Defaults to the stat's `changeTimerSpeed`.
156
156
  */
157
157
  increaseChangeTimer(stat: Stat | IStat, amt?: number): T;
158
- getTimeUntilChange(stat: Stat | IStat, allowFailure?: boolean): number | undefined;
158
+ getTimeUntilChange(stat: Stat | IStat, allowFailure?: boolean): number;
159
159
  removeChangeTimer(stat: Stat | IStat): T;
160
160
  /**
161
161
  * Passes the "turn" for stats, decrements their `changeTimer`s. If a stat's timer reaches `0`,
@@ -17,7 +17,7 @@ export declare enum WorldContextMenuClasses {
17
17
  OptionText = "world-context-menu-option-text"
18
18
  }
19
19
  export declare namespace WorldContextMenuClasses {
20
- const OptionSpecific: (enumValue: UsableActionType) => "world-context-menu-option-none" | "world-context-menu-option-actions" | "world-context-menu-option-move" | "world-context-menu-option-use" | "world-context-menu-option-commandattack" | "world-context-menu-option-commanddefend" | "world-context-menu-option-commandfollowclose" | "world-context-menu-option-commandfollowfar" | "world-context-menu-option-commandstay" | "world-context-menu-option-quickslotremove" | "world-context-menu-option-quickslotadd" | "world-context-menu-option-quickslotaddtofree" | "world-context-menu-option-quickslotaddtoslot" | "world-context-menu-option-movetoinventory" | "world-context-menu-option-dropmenu" | "world-context-menu-option-dropall" | "world-context-menu-option-dropallofsamequality" | "world-context-menu-option-repairwithitem" | "world-context-menu-option-reinforcewithitem" | "world-context-menu-option-enhancewithitem" | "world-context-menu-option-enchantwithitem" | "world-context-menu-option-transmogrifywithitem" | "world-context-menu-option-upgradewithitem" | "world-context-menu-option-alterwithitem" | "world-context-menu-option-refinewithitem" | "world-context-menu-option-preservewithitem" | "world-context-menu-option-addfuelwithitem" | "world-context-menu-option-ignitewithitem" | "world-context-menu-option-absorbwithitem" | "world-context-menu-option-exudewithitem" | "world-context-menu-option-movetoinventorymenu" | "world-context-menu-option-movetoactivecontainermenu" | "world-context-menu-option-movetofacingcontainermenu" | "world-context-menu-option-moveall" | "world-context-menu-option-moveallofsamequality" | "world-context-menu-option-tradetradersell" | "world-context-menu-option-tradetraderbuy" | "world-context-menu-option-itemactions" | "world-context-menu-option-gatherwithhands" | "world-context-menu-option-harvestwithhands" | "world-context-menu-option-digwithhands" | "world-context-menu-option-tillwithhands" | "world-context-menu-option-pickupexcrementwithhands" | "world-context-menu-option-equipheld" | "world-context-menu-option-equiplegs" | "world-context-menu-option-equipchest" | "world-context-menu-option-equiphead" | "world-context-menu-option-equipwaist" | "world-context-menu-option-equipfeet" | "world-context-menu-option-equipneck" | "world-context-menu-option-equiphands" | "world-context-menu-option-equipback" | "world-context-menu-option-equipmainhand" | "world-context-menu-option-equipoffhand" | "world-context-menu-option-restonground" | "world-context-menu-option-sleeponground" | "world-context-menu-option-commandmenu";
20
+ const OptionSpecific: (enumValue: UsableActionType) => "world-context-menu-option-none" | "world-context-menu-option-actions" | "world-context-menu-option-move" | "world-context-menu-option-use" | "world-context-menu-option-quickslotremove" | "world-context-menu-option-quickslotadd" | "world-context-menu-option-quickslotaddtofree" | "world-context-menu-option-quickslotaddtoslot" | "world-context-menu-option-movetoinventory" | "world-context-menu-option-dropmenu" | "world-context-menu-option-dropall" | "world-context-menu-option-dropallofsamequality" | "world-context-menu-option-repairwithitem" | "world-context-menu-option-reinforcewithitem" | "world-context-menu-option-enhancewithitem" | "world-context-menu-option-enchantwithitem" | "world-context-menu-option-transmogrifywithitem" | "world-context-menu-option-upgradewithitem" | "world-context-menu-option-alterwithitem" | "world-context-menu-option-refinewithitem" | "world-context-menu-option-preservewithitem" | "world-context-menu-option-addfuelwithitem" | "world-context-menu-option-ignitewithitem" | "world-context-menu-option-absorbwithitem" | "world-context-menu-option-exudewithitem" | "world-context-menu-option-movetoinventorymenu" | "world-context-menu-option-movetoactivecontainermenu" | "world-context-menu-option-movetofacingcontainermenu" | "world-context-menu-option-moveall" | "world-context-menu-option-moveallofsamequality" | "world-context-menu-option-tradetradersell" | "world-context-menu-option-tradetraderbuy" | "world-context-menu-option-itemactions" | "world-context-menu-option-gatherwithhands" | "world-context-menu-option-harvestwithhands" | "world-context-menu-option-digwithhands" | "world-context-menu-option-tillwithhands" | "world-context-menu-option-pickupexcrementwithhands" | "world-context-menu-option-equipheld" | "world-context-menu-option-equiplegs" | "world-context-menu-option-equipchest" | "world-context-menu-option-equiphead" | "world-context-menu-option-equipwaist" | "world-context-menu-option-equipfeet" | "world-context-menu-option-equipneck" | "world-context-menu-option-equiphands" | "world-context-menu-option-equipback" | "world-context-menu-option-equipmainhand" | "world-context-menu-option-equipoffhand" | "world-context-menu-option-restonground" | "world-context-menu-option-sleeponground" | "world-context-menu-option-commandmenu" | "world-context-menu-option-commandfollowclose" | "world-context-menu-option-commandfollowfar" | "world-context-menu-option-commandstay" | "world-context-menu-option-commanddefend" | "world-context-menu-option-commandattack";
21
21
  }
22
22
  export declare const UsableActionsWorldActions: UsableActionGenerator<[]>;
23
23
  export declare const UsableActionsWorldItemActions: UsableActionGenerator<[]>;
@@ -8,6 +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 { EventBus } from "event/EventBuses";
11
12
  import EventEmitter from "event/EventEmitter";
12
13
  import type { Emitter, EmitterOrBus, Event, Handler } from "event/EventManager";
13
14
  import { InfoDisplayLevel } from "game/inspection/IInfoProvider";
@@ -71,6 +72,7 @@ export declare abstract class InfoProvider extends EventEmitter.Host<IInfoProvid
71
72
  static multiTextParagraph: string;
72
73
  private static uniqueInitializationId;
73
74
  static create(...translations: TranslationGenerator[]): SimpleInfoProvider;
75
+ static dynamic<T>(observer: InfoProvider.Observer<T>, supplier: (value: T) => InfoProvider | undefined): SimpleInfoProvider;
74
76
  static of(...classes: string[]): SimpleInfoProvider;
75
77
  static title(...translations: Array<TranslationGenerator | undefined>): SimpleInfoProvider;
76
78
  static subtitle(...translations: Array<TranslationGenerator | undefined>): SimpleInfoProvider;
@@ -98,12 +100,20 @@ export declare abstract class InfoProvider extends EventEmitter.Host<IInfoProvid
98
100
  setSynchronous(): this;
99
101
  init(): void;
100
102
  private readonly refreshEvents;
103
+ subscribeRefreshOnTick(observer: InfoProvider.Observer<any>): this;
104
+ subscribeRefreshOnTick(predicate: (...params: Parameters<Handler<EventBus.Game, "tickEnd">>) => boolean): this;
101
105
  /**
102
106
  * Marks this info provider as to subscribe refresh events to the given host.
103
107
  * Note: Any existing initialized components will not be retroactively subscribed.
104
108
  * @param predicate A predicate function for whether or not this info provider should actually refresh when the event is hit
105
109
  */
106
110
  subscribeRefreshOn<E extends EmitterOrBus, K extends Event<E>>(emitterOrBus: E, ...args: [...events: K[], predicate: (...params: Parameters<Handler<E, K>>) => boolean]): this;
111
+ /**
112
+ * Marks this info provider as to subscribe refresh events to the given host.
113
+ * Note: Any existing initialized components will not be retroactively subscribed.
114
+ * @param observer An observer that will only trigger a refresh if the value has changed
115
+ */
116
+ subscribeRefreshOn<E extends EmitterOrBus, K extends Event<E>>(emitterOrBus: E, ...args: [...events: K[], observer: InfoProvider.Observer<any>]): this;
107
117
  /**
108
118
  * Marks this info provider as to subscribe refresh events to the given host.
109
119
  * Note: Any existing initialized components will not be retroactively subscribed.
@@ -135,6 +145,14 @@ export declare abstract class InfoProvider extends EventEmitter.Host<IInfoProvid
135
145
  };
136
146
  protected initChildTextComponent(text: TranslationGenerator): Text;
137
147
  }
148
+ export declare namespace InfoProvider {
149
+ class Observer<T> {
150
+ private readonly _observe;
151
+ value: T;
152
+ constructor(_observe: () => T);
153
+ observe(): boolean;
154
+ }
155
+ }
138
156
  export declare class SimpleInfoProvider extends InfoProvider {
139
157
  private readonly classes;
140
158
  private readonly contents;
@@ -13,12 +13,15 @@ import { InfoProvider } from "game/inspection/InfoProvider";
13
13
  import LabelledValue from "game/inspection/infoProviders/LabelledValue";
14
14
  export default class CreatureTamedInfoProvider extends InfoProvider {
15
15
  private readonly creature;
16
- private message;
17
- private ai?;
16
+ private readonly tamed;
17
+ private readonly mood;
18
+ private readonly tameTime;
19
+ private readonly ai;
20
+ private readonly pet;
21
+ private readonly milk;
18
22
  constructor(creature: Creature);
19
23
  getClass(): string[];
20
24
  hasContent(): boolean;
21
- get(): (import("game/inspection/InfoProvider").SimpleInfoProvider | LabelledValue)[];
22
- onTickEnd(): void;
25
+ get(): (LabelledValue | import("game/inspection/InfoProvider").SimpleInfoProvider)[];
23
26
  private getHappinessMessage;
24
27
  }
@@ -19,7 +19,7 @@ export default class ItemDetailsInfoProvider extends InfoProvider {
19
19
  private readonly description;
20
20
  constructor(item: Item | ItemType);
21
21
  getClass(): string[];
22
- get(): (0 | import("game/inspection/InfoProvider").SimpleInfoProvider | LabelledValue | ItemWorthInfoProvider)[];
22
+ get(): (0 | LabelledValue | import("game/inspection/InfoProvider").SimpleInfoProvider | ItemWorthInfoProvider)[];
23
23
  private getInsulation;
24
24
  private getPreservation;
25
25
  private getGroupings;
@@ -15,7 +15,7 @@ export default class AttackInfo extends InfoProvider {
15
15
  private readonly human?;
16
16
  constructor(human?: Human<number> | undefined);
17
17
  getClass(): string[];
18
- get(): (import("game/inspection/InfoProvider").SimpleInfoProvider | LabelledValue)[];
18
+ get(): (LabelledValue | import("game/inspection/InfoProvider").SimpleInfoProvider)[];
19
19
  private getTactics;
20
20
  private getMainHand;
21
21
  private getOffHand;
@@ -19,7 +19,7 @@ export default class CorpseInspection extends Inspection<Corpse> {
19
19
  static getFromTile(tile: Tile): CorpseInspection[];
20
20
  static handles(type: InspectType, corpse: unknown): boolean;
21
21
  constructor(corpse: Corpse);
22
- get(context: InfoProviderContext): (0 | import("game/inspection/InfoProvider").SimpleInfoProvider | LabelledValue)[];
22
+ get(context: InfoProviderContext): (0 | LabelledValue | import("game/inspection/InfoProvider").SimpleInfoProvider)[];
23
23
  private getDecay;
24
24
  private decay;
25
25
  private shouldRefreshDecay;
@@ -124,7 +124,7 @@ export default class ItemManager extends ObjectManager<Item, IItemManagerEvents>
124
124
  private static getDefaultWeightRange;
125
125
  load(): void;
126
126
  getPoint(itemOrContainer?: Item | IContainer): Vector3 | undefined;
127
- resolveContainer(container?: IContainer): Doodad | Item | Player | NPC | Tile | IContainer | undefined;
127
+ resolveContainer(container?: IContainer): Doodad | Item | Player | NPC | IContainer | Tile | undefined;
128
128
  getContainerReference(containable: IContainable | undefined, source: ContainerReferenceSource | undefined): ContainerReference;
129
129
  derefenceContainerReference(containerReference: ContainerReference, showWarnings?: boolean): IContainable | undefined;
130
130
  hashContainer(containable: IContainable, containerReferenceSource?: ContainerReferenceSource): string;
@@ -33,7 +33,7 @@ export default class ReferenceManager {
33
33
  constructor(game: Game);
34
34
  create(): number;
35
35
  reset(): void;
36
- 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[] | import("game/entity/IHuman").EquipType[] | readonly Milestone[] | readonly SkillType[] | IterableIterator<Island> | readonly Stat[] | readonly ItemType[] | (string | ActionType)[];
36
+ 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[] | import("game/entity/IHuman").EquipType[] | readonly SkillType[] | readonly Milestone[] | IterableIterator<Island> | readonly Stat[] | readonly ItemType[] | (string | ActionType)[];
37
37
  get(thing: Item): Reference<ReferenceType.Item> | undefined;
38
38
  get(thing: Doodad): Reference<ReferenceType.Doodad> | undefined;
39
39
  get(thing: Creature): Reference<ReferenceType.Creature> | undefined;
@@ -77,45 +77,47 @@ declare enum Dictionary {
77
77
  MessagesTimestampMode = 65,
78
78
  Milestone = 66,
79
79
  MilestoneModifierGroup = 67,
80
- Misc = 68,
81
- ModLoadError = 69,
82
- ModLoadFailureReason = 70,
83
- ModProvide = 71,
84
- ModSort = 72,
85
- ModType = 73,
86
- MultiplayerCompatibility = 74,
87
- MultiplayerDisconnectReason = 75,
88
- MusicPlaylist = 76,
89
- Note = 77,
90
- Npc = 78,
91
- Number = 79,
92
- PartOfDay = 80,
93
- Prompt = 81,
94
- QuadrantComponent = 82,
95
- QuadrantComponentContextMenuAction = 83,
96
- Quality = 84,
97
- Quest = 85,
98
- QuestRequirement = 86,
99
- RecipeLevel = 87,
100
- Riddle = 88,
101
- SaveImportErrorReason = 89,
102
- SaveSlotSort = 90,
103
- Skill = 91,
104
- Source = 92,
105
- Stat = 93,
106
- StatusEffect = 94,
107
- TeamMemberResponsibility = 95,
108
- TemperatureType = 96,
109
- Terrain = 97,
110
- TileEvent = 98,
111
- TooltipVisibilityOption = 99,
112
- Ui = 100,
113
- UiQuadrant = 101,
114
- UnableToJoinReason = 102,
115
- UnlockedRecipesStrategy = 103,
116
- UsableActionType = 104,
117
- Website = 105,
118
- WeightStatus = 106,
119
- WorldLayer = 107
80
+ MilestoneSort = 68,
81
+ Misc = 69,
82
+ ModLoadError = 70,
83
+ ModLoadFailureReason = 71,
84
+ ModProvide = 72,
85
+ ModSort = 73,
86
+ ModType = 74,
87
+ MultiplayerCompatibility = 75,
88
+ MultiplayerDisconnectReason = 76,
89
+ MusicPlaylist = 77,
90
+ Note = 78,
91
+ Npc = 79,
92
+ Number = 80,
93
+ PartOfDay = 81,
94
+ Prompt = 82,
95
+ QuadrantComponent = 83,
96
+ QuadrantComponentContextMenuAction = 84,
97
+ Quality = 85,
98
+ Quest = 86,
99
+ QuestRequirement = 87,
100
+ RecipeLevel = 88,
101
+ Riddle = 89,
102
+ SaveImportErrorReason = 90,
103
+ SaveSlotSort = 91,
104
+ Skill = 92,
105
+ SkillsSort = 93,
106
+ Source = 94,
107
+ Stat = 95,
108
+ StatusEffect = 96,
109
+ TeamMemberResponsibility = 97,
110
+ TemperatureType = 98,
111
+ Terrain = 99,
112
+ TileEvent = 100,
113
+ TooltipVisibilityOption = 101,
114
+ Ui = 102,
115
+ UiQuadrant = 103,
116
+ UnableToJoinReason = 104,
117
+ UnlockedRecipesStrategy = 105,
118
+ UsableActionType = 106,
119
+ Website = 107,
120
+ WeightStatus = 108,
121
+ WorldLayer = 109
120
122
  }
121
123
  export default Dictionary;
@@ -8,6 +8,8 @@
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 { MilestoneSort } from "ui/screen/screens/game/dialog/IMilestonesDialog";
12
+ import { SkillSort } from "ui/screen/screens/game/dialog/ISkillsDialog";
11
13
  import { Command } from "command/ICommand";
12
14
  import { BiomeType } from "game/biome/IBiome";
13
15
  import { DoodadType, DoodadTypeExtra, DoodadTypeGroup, GrowingStage } from "game/doodad/IDoodad";
@@ -156,46 +158,48 @@ declare const dictionaryMap: {
156
158
  65: typeof MessageTimestamp;
157
159
  66: typeof Milestone;
158
160
  67: typeof MilestoneModifierGroup;
159
- 68: typeof MiscTranslation;
160
- 69: typeof CanLoadState;
161
- 70: typeof ModLoadFailureReason;
162
- 71: typeof ModProvide;
163
- 72: typeof ModSort;
164
- 73: typeof ModType;
165
- 74: typeof MultiplayerCompatibility;
166
- 75: typeof DisconnectReason;
167
- 76: typeof MusicPlaylist;
168
- 77: typeof Note;
169
- 78: typeof NPCType;
170
- 79: symbol;
171
- 80: typeof PartOfDay;
172
- 81: typeof Prompt;
173
- 82: typeof QuadrantComponentId;
174
- 83: typeof QuadrantComponentContextMenuAction;
175
- 84: typeof Quality;
176
- 85: typeof QuestType;
177
- 86: typeof QuestRequirementType;
178
- 87: typeof RecipeLevel;
179
- 88: typeof Riddle;
180
- 89: typeof SaveImportErrorReason;
181
- 90: typeof SaveSort;
182
- 91: typeof SkillType;
183
- 92: typeof Source;
184
- 93: typeof Stat;
185
- 94: typeof StatusType;
186
- 95: typeof Responsibility;
187
- 96: typeof TempType;
188
- 97: typeof TerrainType;
189
- 98: typeof TileEventType;
190
- 99: typeof TooltipVisibilityOption;
191
- 100: typeof UiTranslation;
192
- 101: typeof Quadrant;
193
- 102: typeof UnableToJoinReason;
194
- 103: typeof UnlockedRecipesStrategy;
195
- 104: typeof UsableActionType;
196
- 105: typeof Website;
197
- 106: typeof WeightStatus;
198
- 107: typeof WorldZ;
161
+ 68: typeof MilestoneSort;
162
+ 69: typeof MiscTranslation;
163
+ 70: typeof CanLoadState;
164
+ 71: typeof ModLoadFailureReason;
165
+ 72: typeof ModProvide;
166
+ 73: typeof ModSort;
167
+ 74: typeof ModType;
168
+ 75: typeof MultiplayerCompatibility;
169
+ 76: typeof DisconnectReason;
170
+ 77: typeof MusicPlaylist;
171
+ 78: typeof Note;
172
+ 79: typeof NPCType;
173
+ 80: symbol;
174
+ 81: typeof PartOfDay;
175
+ 82: typeof Prompt;
176
+ 83: typeof QuadrantComponentId;
177
+ 84: typeof QuadrantComponentContextMenuAction;
178
+ 85: typeof Quality;
179
+ 86: typeof QuestType;
180
+ 87: typeof QuestRequirementType;
181
+ 88: typeof RecipeLevel;
182
+ 89: typeof Riddle;
183
+ 90: typeof SaveImportErrorReason;
184
+ 91: typeof SaveSort;
185
+ 92: typeof SkillType;
186
+ 93: typeof SkillSort;
187
+ 94: typeof Source;
188
+ 95: typeof Stat;
189
+ 96: typeof StatusType;
190
+ 97: typeof Responsibility;
191
+ 98: typeof TempType;
192
+ 99: typeof TerrainType;
193
+ 100: typeof TileEventType;
194
+ 101: typeof TooltipVisibilityOption;
195
+ 102: typeof UiTranslation;
196
+ 103: typeof Quadrant;
197
+ 104: typeof UnableToJoinReason;
198
+ 105: typeof UnlockedRecipesStrategy;
199
+ 106: typeof UsableActionType;
200
+ 107: typeof Website;
201
+ 108: typeof WeightStatus;
202
+ 109: typeof WorldZ;
199
203
  };
200
204
  export declare const strictDictionaries: {
201
205
  0: typeof ActionType;
@@ -266,46 +270,48 @@ export declare const strictDictionaries: {
266
270
  65: typeof MessageTimestamp;
267
271
  66: typeof Milestone;
268
272
  67: typeof MilestoneModifierGroup;
269
- 68: typeof MiscTranslation;
270
- 69: typeof CanLoadState;
271
- 70: typeof ModLoadFailureReason;
272
- 71: typeof ModProvide;
273
- 72: typeof ModSort;
274
- 73: typeof ModType;
275
- 74: typeof MultiplayerCompatibility;
276
- 75: typeof DisconnectReason;
277
- 76: typeof MusicPlaylist;
278
- 77: typeof Note;
279
- 78: typeof NPCType;
280
- 79: symbol;
281
- 80: typeof PartOfDay;
282
- 81: typeof Prompt;
283
- 82: typeof QuadrantComponentId;
284
- 83: typeof QuadrantComponentContextMenuAction;
285
- 84: typeof Quality;
286
- 85: typeof QuestType;
287
- 86: typeof QuestRequirementType;
288
- 87: typeof RecipeLevel;
289
- 88: typeof Riddle;
290
- 89: typeof SaveImportErrorReason;
291
- 90: typeof SaveSort;
292
- 91: typeof SkillType;
293
- 92: typeof Source;
294
- 93: typeof Stat;
295
- 94: typeof StatusType;
296
- 95: typeof Responsibility;
297
- 96: typeof TempType;
298
- 97: typeof TerrainType;
299
- 98: typeof TileEventType;
300
- 99: typeof TooltipVisibilityOption;
301
- 100: typeof UiTranslation;
302
- 101: typeof Quadrant;
303
- 102: typeof UnableToJoinReason;
304
- 103: typeof UnlockedRecipesStrategy;
305
- 104: typeof UsableActionType;
306
- 105: typeof Website;
307
- 106: typeof WeightStatus;
308
- 107: typeof WorldZ;
273
+ 68: typeof MilestoneSort;
274
+ 69: typeof MiscTranslation;
275
+ 70: typeof CanLoadState;
276
+ 71: typeof ModLoadFailureReason;
277
+ 72: typeof ModProvide;
278
+ 73: typeof ModSort;
279
+ 74: typeof ModType;
280
+ 75: typeof MultiplayerCompatibility;
281
+ 76: typeof DisconnectReason;
282
+ 77: typeof MusicPlaylist;
283
+ 78: typeof Note;
284
+ 79: typeof NPCType;
285
+ 80: symbol;
286
+ 81: typeof PartOfDay;
287
+ 82: typeof Prompt;
288
+ 83: typeof QuadrantComponentId;
289
+ 84: typeof QuadrantComponentContextMenuAction;
290
+ 85: typeof Quality;
291
+ 86: typeof QuestType;
292
+ 87: typeof QuestRequirementType;
293
+ 88: typeof RecipeLevel;
294
+ 89: typeof Riddle;
295
+ 90: typeof SaveImportErrorReason;
296
+ 91: typeof SaveSort;
297
+ 92: typeof SkillType;
298
+ 93: typeof SkillSort;
299
+ 94: typeof Source;
300
+ 95: typeof Stat;
301
+ 96: typeof StatusType;
302
+ 97: typeof Responsibility;
303
+ 98: typeof TempType;
304
+ 99: typeof TerrainType;
305
+ 100: typeof TileEventType;
306
+ 101: typeof TooltipVisibilityOption;
307
+ 102: typeof UiTranslation;
308
+ 103: typeof Quadrant;
309
+ 104: typeof UnableToJoinReason;
310
+ 105: typeof UnlockedRecipesStrategy;
311
+ 106: typeof UsableActionType;
312
+ 107: typeof Website;
313
+ 108: typeof WeightStatus;
314
+ 109: typeof WorldZ;
309
315
  };
310
316
  export type DictionaryEnum = (typeof dictionaryMap)[Dictionary];
311
317
  export type DictionaryEntryEnums = {