@wayward/types 2.14.6-beta.dev.20250701.1 → 2.14.6-beta.dev.20250704.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.
@@ -54,10 +54,15 @@ export default class NPCManager extends EntityManager<NPC> {
54
54
  event: IEventEmitter<this, INPCManagerEvents>;
55
55
  readonly playerLikeNpcs: NPC[];
56
56
  private readonly spawnIntervals;
57
+ private killCount;
57
58
  loadEntity(npc: NPC): void;
58
59
  create(npcType: NPCType, tile: Tile, options?: INPCCanCreateOptions): NPC | undefined;
59
60
  protected onRemove(npc: NPC): boolean;
60
61
  addPlayerLike(npc: NPC, addToIsland?: boolean): void;
62
+ /**
63
+ * Increases the number of kills by 1 (which affects the spawn rate of npcs)
64
+ */
65
+ increaseKillCount(): void;
61
66
  removePlayerLike(npc: NPC): void;
62
67
  updateAll(): void;
63
68
  /**
@@ -139,12 +139,14 @@ export interface IMoveItemOptions {
139
139
  skipDrop?: true;
140
140
  skipClearSort?: true;
141
141
  context?: ActionContext;
142
+ skipTradeChecks?: boolean;
142
143
  }
143
144
  export interface IPlaceOnTileOptions {
144
145
  force?: boolean;
145
146
  skipMessage?: boolean;
146
147
  skipTileUpdate?: boolean;
147
148
  animateMovement?: boolean | Partial<IMoveToTileOptions>;
149
+ skipTradeChecks?: boolean;
148
150
  }
149
151
  export declare enum ContainerReferenceSource {
150
152
  ContainerWeightReduction = 0,
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.6-beta.dev.20250701.1",
4
+ "version": "2.14.6-beta.dev.20250704.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",