@wayward/types 2.14.4-beta.dev.20250412.1 → 2.14.4-beta.dev.20250418.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.
@@ -22,9 +22,10 @@ import NoteManager from "@wayward/game/game/entity/player/note/NoteManager";
22
22
  import QuestManager from "@wayward/game/game/entity/player/quest/QuestManager";
23
23
  import { StatusApplicability } from "@wayward/game/game/entity/status/IStatus";
24
24
  import type { IslandId } from "@wayward/game/game/island/IIsland";
25
- import type { IContainer } from "@wayward/game/game/item/IItem";
25
+ import type { IContainer, IRecipe } from "@wayward/game/game/item/IItem";
26
26
  import { ItemType } from "@wayward/game/game/item/IItem";
27
27
  import type Item from "@wayward/game/game/item/Item";
28
+ import ItemRecipeRequirementChecker from "@wayward/game/game/item/ItemRecipeRequirementChecker";
28
29
  import { Prompt } from "@wayward/game/game/meta/prompt/IPrompt";
29
30
  import { Milestone } from "@wayward/game/game/milestones/IMilestone";
30
31
  import type { ReferenceType } from "@wayward/game/game/reference/IReferenceManager";
@@ -110,6 +111,8 @@ export default class Player extends Human<undefined, number, ReferenceType.Playe
110
111
  skipDeferral: boolean;
111
112
  }>): void;
112
113
  private updateTablesInternal;
114
+ shouldDiscoverRecipe(recipe: IRecipe, recipeItemType: ItemType, checker: ItemRecipeRequirementChecker): boolean;
115
+ private isRecipeDiscovered;
113
116
  private updateCraftTable;
114
117
  updateDismantleTable(adjacentContainers?: IContainer[], force?: boolean): void;
115
118
  getName(includeTitle?: boolean): TranslationImpl;
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.4-beta.dev.20250412.1",
4
+ "version": "2.14.4-beta.dev.20250418.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",