@wayward/types 2.14.7-beta.dev.20250819.1 → 2.14.7-beta.dev.20250821.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.
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * Copyright 2011-2025 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
+ declare const _default: import("@wayward/game/save/upgrade/UpgradeVersion").IUpgradeVersionDefinition<unknown>;
12
+ export default _default;
@@ -135,6 +135,7 @@ export default class ContainerBucketItemList extends Component implements ISorta
135
135
  private getAppendStrategy;
136
136
  private addItemAddedStacks?;
137
137
  protected onAddItem(manager: ItemManager, items: Item[], container: IContainer, index: number, options?: IMoveItemOptions): Promise<void>;
138
+ private isTransferring;
138
139
  protected onRemoveItem(manager: ItemManager, items: Item[], container?: IContainer, containerTile?: Tile): void;
139
140
  protected onAddItemDidNotSort(manager: ItemManager, container: IContainer): void;
140
141
  protected onTransformItem(item: Item, newType: ItemType, oldType: ItemType): void;
@@ -16,7 +16,9 @@ import QuadrantComponent from "@wayward/game/ui/screen/screens/game/component/Qu
16
16
  import type { Events, IEventEmitter } from "@wayward/utilities/event/EventEmitter";
17
17
  export declare enum StatsClasses {
18
18
  Quadrant = "stats-quadrant",
19
- Main = "stats"
19
+ Main = "stats",
20
+ DiscoveryHint = "stats-discovery-hint",
21
+ GenericStatuses = "stats-generic-statuses"
20
22
  }
21
23
  export default class StatsQuadrant extends QuadrantComponent {
22
24
  static preferredQuadrant: Quadrant;
@@ -33,9 +35,11 @@ export declare class Stats extends Component {
33
35
  private readonly noEvents?;
34
36
  event: IEventEmitter<this, IStatsEvents>;
35
37
  private human;
38
+ private moreStatsToDiscover;
36
39
  constructor(human?: Human, noEvents?: true | undefined);
37
40
  setHuman(human: Human): this;
38
41
  private refresh;
42
+ protected onMilestonesUpdate(): void;
39
43
  /**
40
44
  * Returns an object containing iterables for all stats that exist on the player and have a description,
41
45
  * separated by how a given stat should be displayed
@@ -37,12 +37,12 @@ export interface IStatusesEvents extends Events<Component> {
37
37
  update(): any;
38
38
  }
39
39
  export default class Statuses extends Component {
40
- readonly stat?: Stat | undefined;
40
+ readonly stat?: (Stat | "all") | undefined;
41
41
  event: IEventEmitter<this, IStatusesEvents>;
42
42
  private readonly statusIcons;
43
43
  private readonly entityRef;
44
44
  get entity(): EntityWithStats | undefined;
45
- constructor(entity: EntityWithStats, stat?: Stat | undefined);
45
+ constructor(entity: EntityWithStats, stat?: (Stat | "all") | undefined);
46
46
  protected onToggleScreenshotMode(gameScreen: GameScreen, enabled: boolean): void;
47
47
  /**
48
48
  * Event handler for the status effects of this entity changing
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.14.7-beta.dev.20250819.1",
4
+ "version": "2.14.7-beta.dev.20250821.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",