@wayward/types 2.15.1-beta.dev.20251027.1 → 2.15.1-beta.dev.20251028.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.
|
@@ -394,7 +394,7 @@ export default class ItemManager extends EntityManager<Item, IItemRemoveOptions>
|
|
|
394
394
|
* @param filterText The string of text in which to filter for.
|
|
395
395
|
* @param craftingFilter True if we are filtering the crafting dialog.
|
|
396
396
|
*/
|
|
397
|
-
static isFiltered(item: ItemType | Item, filterText: string, craftingFilter?: boolean): boolean;
|
|
397
|
+
static isFiltered(item: ItemType | Item, filterText: string, craftingFilter?: boolean, dismantleFilter?: boolean): boolean;
|
|
398
398
|
/**
|
|
399
399
|
* Returns `true` if the item type or item is filtered out from inventory/crafting/container dialogs.
|
|
400
400
|
* @param item The ItemType or Item to check.
|
|
@@ -52,6 +52,7 @@ export interface IMagicalPropertyDescription {
|
|
|
52
52
|
*/
|
|
53
53
|
disableCurse?: true;
|
|
54
54
|
subTypeEnum?: Record<string, string | number>;
|
|
55
|
+
notBasicEnum?: boolean;
|
|
55
56
|
isValidEnum?(enumValue: number): boolean;
|
|
56
57
|
translateArgs?(...identity: MagicalPropertyIdentity): TranslationArg[];
|
|
57
58
|
}
|
package/package.json
CHANGED