@wayward/types 2.14.4-beta.dev.20250106.1 → 2.14.4-beta.dev.20250107.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.
@@ -323,6 +323,11 @@ export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType
323
323
  * Regenerate (heal durability) over time
324
324
  */
325
325
  private processRegeneration;
326
+ /**
327
+ * Process the magical properties of the doodad when updating
328
+ * @param ticks the number of ticks to process
329
+ */
330
+ private processMagicalProperties;
326
331
  /**
327
332
  * Melt doodads (or things on doodads over time)
328
333
  * @param description Doodad description
@@ -49,6 +49,14 @@ declare namespace Objects {
49
49
  };
50
50
  function getDirections(target: any, within: any): Generator<string[]>;
51
51
  function stringify(object: any, pretty?: boolean, noDepth?: boolean, maxIterations?: number): string;
52
+ namespace stringify {
53
+ const SYMBOL_EXCLUDED_PROPERTIES: unique symbol;
54
+ export function excludeProperties(...properties: string[]): {
55
+ [SYMBOL_EXCLUDED_PROPERTIES]: string[];
56
+ };
57
+ export function isExcluded(object: any, property: string): boolean;
58
+ export {};
59
+ }
52
60
  function mutable<T>(object: T): Mutable<T>;
53
61
  function removeUndefinedProperties<T extends object>(object: T): T;
54
62
  function filterProperties<T extends object>(object: T, filter: (key: keyof T, value: T[keyof T]) => any): T;
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.20250106.1",
4
+ "version": "2.14.4-beta.dev.20250107.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",