@wayward/types 2.14.4-beta.dev.20250110.1 → 2.14.4-beta.dev.20250112.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.
@@ -35,7 +35,8 @@ import { type ISerializedTranslation } from "@wayward/game/language/ITranslation
35
35
  import type Translation from "@wayward/game/language/Translation";
36
36
  import type { RenderSource, UpdateRenderFlag } from "@wayward/game/renderer/IRenderer";
37
37
  import type { Renderer } from "@wayward/game/renderer/Renderer";
38
- import type { INotificationLocation, ItemNotifierType, MarkerIconType, StatNotificationType } from "@wayward/game/renderer/notifier/INotifier";
38
+ import type { INotificationLocation, ItemNotifierType, MarkerDescription, StatNotificationType } from "@wayward/game/renderer/notifier/INotifier";
39
+ import type { MarkerType } from "@wayward/game/renderer/notifier/INotifier";
39
40
  import type { IVector3 } from "@wayward/game/utilities/math/IVector";
40
41
  import type { IVector4 } from "@wayward/game/utilities/math/Vector4";
41
42
  import EventEmitter from "@wayward/utilities/event/EventEmitter";
@@ -121,10 +122,10 @@ export default abstract class Entity<DescriptionType = unknown, TypeType extends
121
122
  * This is called clientside the first time the renderer seens the entity
122
123
  */
123
124
  onFirstRender(renderer: Renderer): void;
124
- getCurrentMarkerIconType(): MarkerIconType | undefined;
125
+ getCurrentMarkerType(): MarkerType | undefined;
125
126
  setMarkerIconHidden(hidden: boolean): void;
126
- addMarkerIcon(type: MarkerIconType): void;
127
- removeMarkerIcon(...types: MarkerIconType[]): void;
127
+ addMarker(description: MappedOmit<MarkerDescription, "guid">): void;
128
+ removeMarker(...types: MarkerType[]): void;
128
129
  getProducedTemperature(): number | undefined;
129
130
  setName(renamed: string | ISerializedTranslation | undefined): void;
130
131
  canInspect(human: Human): boolean;
@@ -103,6 +103,10 @@ export default class Tile implements IVector4, Partial<ITileContainer>, IFieldOf
103
103
  private _minDur?;
104
104
  private _maxDur?;
105
105
  get zone(): CreatureZone;
106
+ /**
107
+ * Gets the tier of the zone the tile is in
108
+ */
109
+ get zoneTier(): number;
106
110
  /**
107
111
  * Creates a fake tile
108
112
  */