@wayward/types 2.14.4-beta.dev.20250508.1 → 2.14.4-beta.dev.20250509.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.
@@ -354,6 +354,11 @@ export interface ICreatureDescription extends IModdable, ITemperatureDescription
354
354
  * Defines the magical mote type this creature can drop. Aberrant creatures will always drop a magical mote of the given magical loot type.
355
355
  */
356
356
  magicalLoot?: MagicalLootType;
357
+ /**
358
+ * The radius within which the creature will be alerted to from a player.
359
+ * Defaults to CREATURE_DEFAULT_ALERTED_DISTANCE_SQ
360
+ */
361
+ alertedRadius?: number;
357
362
  }
358
363
  export interface ICreatureLoot {
359
364
  item: ItemType;
@@ -461,7 +466,7 @@ export interface ICreatureEvents extends IEntityWithStatsEvents, IEntityAiEvents
461
466
  export declare const CREATURE_WANDER_FEARLESS_CHANCE: number;
462
467
  /** The chance to start wandering after being paused, if scared */
463
468
  export declare const CREATURE_WANDER_SCARED_CHANCE: number;
464
- export declare const CREATURE_FLEE_DISTANCE_SQ: number;
469
+ export declare const CREATURE_DEFAULT_ALERTED_DISTANCE_SQ: number;
465
470
  export declare const TAMED_CREATURE_FOLLOW_CLOSE_DISTANCE = 1;
466
471
  export declare const TAMED_CREATURE_FOLLOW_FAR_DISTANCE = 6;
467
472
  export declare const settableAiTypes: Set<AiType>;
@@ -8,9 +8,11 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
+ import { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
11
12
  import { Milestone } from "@wayward/game/game/milestones/IMilestone";
12
13
  import MilestoneDefinition from "@wayward/game/game/milestones/MilestoneDefinition";
13
14
  import Dictionary from "@wayward/game/language/Dictionary";
15
+ export declare const MILESTONES_HOSTILE_CREATURES: CreatureType[];
14
16
  export declare const milestoneDescriptions: Descriptions<Milestone, MilestoneDefinition>;
15
17
  export declare const milestoneDictionaries: Partial<Record<Milestone, Dictionary>>;
16
18
  export declare namespace Milestones {
@@ -85,7 +85,7 @@ declare enum Message {
85
85
  ActionExcavateCollapseFail = 73,
86
86
  ActionExcavateCollapseNotDeepEnough = 74,
87
87
  ActionExcavateCollapseNotPassable = 75,
88
- ActionExcavateCollapseOpenCollapse = 76,
88
+ OpenCollapse = 76,
89
89
  ActionFishingNothingBiting = 77,
90
90
  ActionFishingSlipped = 78,
91
91
  ActionFishingTooShallow = 79,
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.20250508.1",
4
+ "version": "2.14.4-beta.dev.20250509.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",