@wayward/types 2.14.4-beta.dev.20250101.1 → 2.14.4-beta.dev.20250103.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.
Files changed (87) hide show
  1. package/definitions/game/IGlobal.d.ts +2 -9
  2. package/definitions/game/game/Game.d.ts +2 -2
  3. package/definitions/game/game/IGame.d.ts +1 -1
  4. package/definitions/game/game/doodad/Doodad.d.ts +1 -3
  5. package/definitions/game/game/entity/Human.d.ts +9 -1
  6. package/definitions/game/game/entity/action/ActionExecutor.d.ts +9 -8
  7. package/definitions/game/game/entity/action/ActionsRegistration.d.ts +1 -1
  8. package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
  9. package/definitions/game/game/inspection/infoProviders/doodad/StillWater.d.ts +3 -5
  10. package/definitions/game/game/island/Island.d.ts +2 -2
  11. package/definitions/game/game/island/automation/IAutomation.d.ts +10 -0
  12. package/definitions/game/game/mapgen/IMapGen.d.ts +1 -1
  13. package/definitions/game/game/mapgen/MapGenHelpers.d.ts +1 -1
  14. package/definitions/game/game/options/GameOptions.d.ts +1 -1
  15. package/definitions/game/game/tile/Tile.d.ts +9 -1
  16. package/definitions/game/game/time/TimeManager.d.ts +8 -0
  17. package/definitions/game/language/dictionary/Message.d.ts +795 -792
  18. package/definitions/game/language/dictionary/UiTranslation.d.ts +855 -853
  19. package/definitions/game/mod/IMod.d.ts +1 -1
  20. package/definitions/game/save/ISaveManager.d.ts +1 -1
  21. package/definitions/game/save/SaveManager.d.ts +1 -1
  22. package/definitions/game/save/SaveMetadata.d.ts +1 -1
  23. package/definitions/game/save/data/ISaveData.d.ts +1 -1
  24. package/definitions/game/save/data/SaveData.d.ts +1 -1
  25. package/definitions/game/save/data/SaveDataGlobal.d.ts +1 -1
  26. package/definitions/game/save/serializer/ISerializer.d.ts +1 -1
  27. package/definitions/game/save/serializer/PropertiesToSerialize.d.ts +1 -1
  28. package/definitions/game/save/serializer/Serializer.d.ts +1 -1
  29. package/definitions/game/save/upgrade/UpgradePlayer.d.ts +1 -1
  30. package/definitions/game/save/upgrade/UpgradeSaveDataGlobal.d.ts +1 -1
  31. package/definitions/game/save/upgrade/UpgradeVersion.d.ts +1 -1
  32. package/definitions/game/save/upgrade/UpgradeVersionRegistry.d.ts +3 -1
  33. package/definitions/game/steamworks/ISteamworks.d.ts +0 -6
  34. package/definitions/game/steamworks/Steamworks.d.ts +7 -3
  35. package/definitions/game/ui/component/Component.d.ts +1 -0
  36. package/definitions/game/ui/screen/screens/game/component/InspectionsList.d.ts +0 -1
  37. package/definitions/game/ui/screen/screens/game/dialog/EquipmentDialog.d.ts +1 -1
  38. package/definitions/game/ui/screen/screens/game/dialog/QuestDialog.d.ts +1 -0
  39. package/definitions/game/ui/screen/screens/menu/menus/main/ChangelogMenu.d.ts +1 -1
  40. package/definitions/game/utilities/Observer.d.ts +1 -1
  41. package/definitions/game/utilities/VersionTranslation.d.ts +18 -0
  42. package/definitions/game/utilities/trello/ITrello.d.ts +1 -1
  43. package/definitions/game/utilities/trello/Trello.d.ts +1 -1
  44. package/definitions/hosts/node/nodeLoader.d.ts +1 -0
  45. package/definitions/hosts/shared/globalTypes.d.ts +6 -0
  46. package/definitions/lint/condition-complexity.d.mts +6 -1
  47. package/definitions/{core → server/core}/Middleware.d.ts +1 -0
  48. package/definitions/{core → server/core}/middleware/E404.d.ts +1 -1
  49. package/definitions/server/core/middleware/Probe.d.ts +13 -0
  50. package/definitions/{core → server/core}/middleware/Static.d.ts +1 -1
  51. package/definitions/{core → server/core}/middleware/Validate.d.ts +1 -1
  52. package/definitions/{core → server/core}/util/SendFile.d.ts +1 -1
  53. package/definitions/{dev → server/dev}/index.d.ts +1 -1
  54. package/definitions/{dev → server/dev}/middleware/CustomInternalMods.d.ts +1 -1
  55. package/definitions/{dev → server/dev}/middleware/SaveFolder.d.ts +1 -1
  56. package/definitions/{matchmakingserver → server/error}/index.d.ts +1 -3
  57. package/definitions/{error → server/error}/middleware/ReportError.d.ts +1 -1
  58. package/definitions/server/error/util/SendDiscordMessage.d.ts +19 -0
  59. package/definitions/{matchmakingserver → server/matchmaking}/dedicatedServer.d.ts +1 -1
  60. package/definitions/test/core/applicationDom.d.ts +1 -1
  61. package/definitions/test/core/applicationInteractions.d.ts +4 -0
  62. package/definitions/test/suite/functionalTests/singleplayer/ui/DialogLeak.d.ts +13 -0
  63. package/definitions/{error/index.d.ts → utilities/ApplyTsConfigPaths.d.ts} +1 -1
  64. package/definitions/utilities/Log.d.ts +1 -0
  65. package/definitions/{game/utilities → utilities}/Version.d.ts +4 -7
  66. package/definitions/utilities/event/EventEmitter.d.ts +10 -0
  67. package/definitions/utilities/types.d.ts +18 -0
  68. package/package.json +1 -1
  69. /package/definitions/{core → server/core}/util/Log.d.ts +0 -0
  70. /package/definitions/{dev → server/dev}/Router.d.ts +0 -0
  71. /package/definitions/{core → server/dev}/util/GameLogFilter.d.ts +0 -0
  72. /package/definitions/{error → server/error}/Router.d.ts +0 -0
  73. /package/definitions/{matchmakingserver → server/matchmaking}/directoryConnection.d.ts +0 -0
  74. /package/definitions/{matchmakingserver → server/matchmaking}/globalMatchmaking.d.ts +0 -0
  75. /package/definitions/{matchmakingserver → server/matchmaking}/globalServerDirectory.d.ts +0 -0
  76. /package/definitions/{matchmakingserver/vps.d.ts → server/matchmaking/index.d.ts} +0 -0
  77. /package/definitions/{matchmakingserver → server/matchmaking}/server.d.ts +0 -0
  78. /package/definitions/{matchmakingserver → server/matchmaking}/shared.d.ts +0 -0
  79. /package/definitions/utilities/{types → type}/Assert.d.ts +0 -0
  80. /package/definitions/utilities/{typesglobal → types}/Class.d.ts +0 -0
  81. /package/definitions/utilities/{typesglobal → types}/Descriptions.d.ts +0 -0
  82. /package/definitions/utilities/{typesglobal → types}/Function.d.ts +0 -0
  83. /package/definitions/utilities/{typesglobal → types}/Immutable.d.ts +0 -0
  84. /package/definitions/utilities/{typesglobal → types}/Iterables.d.ts +0 -0
  85. /package/definitions/utilities/{typesglobal → types}/Misc.d.ts +0 -0
  86. /package/definitions/utilities/{typesglobal → types}/Objects.d.ts +0 -0
  87. /package/definitions/utilities/{typesglobal → types}/Types.d.ts +0 -0
@@ -23,20 +23,13 @@ import "@wayward/game/typings/jquery";
23
23
  import "@wayward/game/typings/jqueryui";
24
24
  import type { Ui } from "@wayward/game/ui/Ui";
25
25
  import type OldUi from "@wayward/game/ui/old/OldUi";
26
- import type Version from "@wayward/game/utilities/Version";
26
+ import type Version from "@wayward/utilities/Version";
27
27
  import "@wayward/goodstream/apply";
28
28
  import "@wayward/hosts/shared/globalTypes";
29
29
  import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
30
30
  import "@wayward/utilities/IGlobal";
31
31
  import "@wayward/utilities/prototype/Promise";
32
- import "@wayward/utilities/typesglobal/Class";
33
- import "@wayward/utilities/typesglobal/Descriptions";
34
- import "@wayward/utilities/typesglobal/Function";
35
- import "@wayward/utilities/typesglobal/Immutable";
36
- import "@wayward/utilities/typesglobal/Iterables";
37
- import "@wayward/utilities/typesglobal/Misc";
38
- import "@wayward/utilities/typesglobal/Objects";
39
- import "@wayward/utilities/typesglobal/Types";
32
+ import "@wayward/utilities/types";
40
33
  declare global {
41
34
  let audio: WAudio | undefined;
42
35
  let game: Game;
@@ -45,8 +45,8 @@ import type { IOptions } from "@wayward/game/save/data/ISaveDataGlobal";
45
45
  import type { ISerializer } from "@wayward/game/save/serializer/ISerializer";
46
46
  import type StringTokenizer from "@wayward/game/save/serializer/StringTokenizer";
47
47
  import Steamworks from "@wayward/game/steamworks/Steamworks";
48
- import type { IVersionInfo } from "@wayward/game/utilities/Version";
49
- import Version from "@wayward/game/utilities/Version";
48
+ import type { IVersionInfo } from "@wayward/utilities/Version";
49
+ import Version from "@wayward/utilities/Version";
50
50
  import type { IVector2 } from "@wayward/game/utilities/math/IVector";
51
51
  import { WebWorkerManager } from "@wayward/game/webWorker/WebWorkerManager";
52
52
  import EventEmitter from "@wayward/utilities/event/EventEmitter";
@@ -29,7 +29,7 @@ import type { IMultiplayerOptions, IMultiplayerWorldData, ServerInfo } from "@wa
29
29
  import type { Renderer } from "@wayward/game/renderer/Renderer";
30
30
  import type { IReplayLogEntry } from "@wayward/game/replay/IReplayLogEntry";
31
31
  import type { IHighscoreOld, IOptions } from "@wayward/game/save/data/ISaveDataGlobal";
32
- import type Version from "@wayward/game/utilities/Version";
32
+ import type Version from "@wayward/utilities/Version";
33
33
  import type { IVector2, IVector3 } from "@wayward/game/utilities/math/IVector";
34
34
  import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
35
35
  import type { IRange } from "@wayward/utilities/math/Range";
@@ -126,7 +126,6 @@ export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType
126
126
  * Used to store protection status for built doodads
127
127
  */
128
128
  protected?: boolean;
129
- private _tileId?;
130
129
  /**
131
130
  * Separate property just for wells because isInGroup is still expensive for processWell()
132
131
  */
@@ -180,7 +179,6 @@ export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType
180
179
  updateGroupCache(doodadTypeGroup: DoodadTypeGroup): boolean;
181
180
  get point(): IVector3;
182
181
  get tile(): Tile;
183
- getTileId(): number;
184
182
  /**
185
183
  * @deprecated This is the correct way to change quality, but it is not completely implemented.
186
184
  * It does not perform any required changes due to the quality change, like durability, all it does is change the quality and emit an event.
@@ -234,7 +232,7 @@ export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType
234
232
  removeMagic(): void;
235
233
  unhitch(): void;
236
234
  damage(forceBreak?: boolean, skipDropAsItem?: boolean, skipSound?: boolean, skipResources?: boolean, damage?: number): void;
237
- getDefaultDurability(random?: import("@wayward/utilities/random/Random").Random<import("@wayward/utilities/random/generators/PCGSeededGenerator").PCGSeededGenerator | import("@wayward/utilities/random/generators/LegacySeededGenerator").LegacySeededGenerator>): number;
235
+ getDefaultDurability(random?: import("@wayward/utilities/random/Random").Random<import("@wayward/utilities/random/generators/LegacySeededGenerator").LegacySeededGenerator | import("@wayward/utilities/random/generators/PCGSeededGenerator").PCGSeededGenerator>): number;
238
236
  /**
239
237
  * Gets the container to use for doodad executed actions
240
238
  */
@@ -131,7 +131,10 @@ export default abstract class Human<DescriptionType = unknown, TypeType extends
131
131
  cumulativeEvilCrafting: number;
132
132
  /** @deprecated (use the entity itself) */
133
133
  readonly inventory: IContainer;
134
- private readonly privateStore;
134
+ /**
135
+ * Used for delays, which are calculated on the server
136
+ */
137
+ private nextProcessInput;
135
138
  containerType?: ContainerType;
136
139
  nextMoveTime: number;
137
140
  nextMoveDirection?: Direction.Cardinal | Direction.None;
@@ -339,6 +342,11 @@ export default abstract class Human<DescriptionType = unknown, TypeType extends
339
342
  hasDelay(): boolean;
340
343
  addDelay(delay: number, replace?: boolean, addStaminaDelay?: boolean, cap?: number): void;
341
344
  ensureDelay(delay: number): void;
345
+ /**
346
+ * Removese input processing delay (due to actions) and movement delays.
347
+ * This won't do much from clientside in a mp game since the server is in charge.
348
+ */
349
+ removeDelays(): void;
342
350
  /**
343
351
  * Gets a stamina penalty delay to be used for slowed actions and movement.
344
352
  * @param staminaToStartAddingDelayAt Stat value where delays start getting added from.
@@ -51,17 +51,18 @@ export default class ActionExecutor<A extends ActionArguments, E extends Entity,
51
51
  private executionStage;
52
52
  private shouldSkipConfirmation;
53
53
  targetTile?: Tile;
54
- private readonly privateStore;
55
- private updateTablesAndWeight;
56
- private updateWeight;
57
- private staminaReduction?;
58
- private runeChance?;
54
+ private delay?;
59
55
  private milestone?;
60
- private skillGains?;
61
- private sfx?;
62
56
  private particle?;
63
- private updateView?;
57
+ private passTurn;
58
+ private runeChance?;
59
+ private sfx?;
60
+ private skillGains?;
61
+ private staminaReduction?;
64
62
  private updateRender?;
63
+ private updateTablesAndWeight?;
64
+ private updateView?;
65
+ private updateWeight?;
65
66
  private context?;
66
67
  private readonly items;
67
68
  private itemsUsed;
@@ -142,7 +142,7 @@ export declare const actionDescriptionsSlow: {
142
142
  122: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Creature], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("./argument/ActionArgumentEnum").default<import("../ai/AI").AiType, "None" | "Attack" | "Pacified" | "Hidden" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetCreatureAi").ISetCreatureAiCanUse, [import("../creature/Creature").default | undefined, import("../../item/Item").default | undefined, import("../ai/AI").AiType]>;
143
143
  136: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Creature], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("./argument/ActionArgumentEnum").default<import("../ai/AI").AiType, "None" | "Attack" | "Pacified" | "Hidden" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetCreatureAi").ISetCreatureAiCanUse, [import("../creature/Creature").default | undefined, import("../../item/Item").default | undefined, import("../ai/AI").AiType]>;
144
144
  6: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetDown").ISetDownCanUse, [import("../../item/Item").default]>;
145
- 123: import("./Action").Action<[[import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("@wayward/game/game/entity/action/actions/SetTitle").TitleType, "Skill" | "Milestone">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../../milestones/IMilestone").Milestone, "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "Navigator" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated">, import("./argument/ActionArgumentEnum").default<import("../IHuman").SkillType, "None" | "Taming" | "Mining" | "Swimming" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mycology" | "Parrying" | "Stonecrafting" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], import("../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("@wayward/game/game/entity/action/actions/SetTitle").TitleType | undefined)?, (import("../../milestones/IMilestone").Milestone | import("../IHuman").SkillType | undefined)?]>;
145
+ 123: import("./Action").Action<[[import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("@wayward/game/game/entity/action/actions/SetTitle").TitleType, "Skill" | "Milestone">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../../milestones/IMilestone").Milestone, "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "Navigator" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated">, import("./argument/ActionArgumentEnum").default<import("../IHuman").SkillType, "None" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mining" | "Mycology" | "Parrying" | "Stonecrafting" | "Swimming" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Taming" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], import("../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("@wayward/game/game/entity/action/actions/SetTitle").TitleType | undefined)?, (import("../../milestones/IMilestone").Milestone | import("../IHuman").SkillType | undefined)?]>;
146
146
  119: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.NPCNearby, [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Island, import("@wayward/game/game/entity/action/IAction").ActionArgument.Vector2], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Integer32]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ShipToIsland").IShipToIslandCanUse, [import("../npc/NPC").default, (import("../../island/Island").default | import("../../../utilities/math/IVector").IVector2 | undefined)?, (number | undefined)?]>;
147
147
  94: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Shoot").IShootCanUse, [import("../../item/Item").default]>;
148
148
  11: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.Doodad], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../IHuman").RestType, "Resting" | "Sleeping">]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Rest").IRestCanUse, [(import("../../doodad/Doodad").default | import("../../item/Item").default | undefined)?, (import("../IHuman").RestType | undefined)?]>;
@@ -16,5 +16,5 @@ export declare enum TitleType {
16
16
  Milestone = 0,
17
17
  Skill = 1
18
18
  }
19
- declare const _default: Action<[[ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<TitleType, "Skill" | "Milestone">], [arg1: ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<Milestone, "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "Navigator" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated">, import("../argument/ActionArgumentEnum").default<SkillType, "None" | "Taming" | "Mining" | "Swimming" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mycology" | "Parrying" | "Stonecrafting" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], import("../../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(TitleType | undefined)?, (Milestone | SkillType | undefined)?]>;
19
+ declare const _default: Action<[[ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<TitleType, "Skill" | "Milestone">], [arg1: ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<Milestone, "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "Navigator" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated">, import("../argument/ActionArgumentEnum").default<SkillType, "None" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mining" | "Mycology" | "Parrying" | "Stonecrafting" | "Swimming" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Taming" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], import("../../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(TitleType | undefined)?, (Milestone | SkillType | undefined)?]>;
20
20
  export default _default;
@@ -10,15 +10,13 @@
10
10
  */
11
11
  import type Doodad from "@wayward/game/game/doodad/Doodad";
12
12
  import { InfoProvider } from "@wayward/game/game/inspection/InfoProvider";
13
- import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
14
13
  export default class StillWaterInfoProvider extends InfoProvider {
15
14
  private readonly doodad;
16
15
  static get(doodad: Doodad): StillWaterInfoProvider | undefined;
17
- private message;
16
+ private readonly waterTopMessage;
17
+ private readonly waterBottomMessage;
18
18
  private constructor();
19
19
  getClass(): string[];
20
20
  hasContent(): boolean;
21
- get(): TranslationImpl;
22
- onTickEnd(): void;
23
- private getWaterInStill;
21
+ get(): InfoProvider[];
24
22
  }
@@ -43,8 +43,8 @@ import TileEventManager from "@wayward/game/game/tile/TileEventManager";
43
43
  import Translation from "@wayward/game/language/Translation";
44
44
  import World from "@wayward/game/renderer/world/World";
45
45
  import type { IPostSerializeCallback, IPreSerializeCallback, ISerializer } from "@wayward/game/save/serializer/ISerializer";
46
- import type { IVersionInfo } from "@wayward/game/utilities/Version";
47
- import Version from "@wayward/game/utilities/Version";
46
+ import type { IVersionInfo } from "@wayward/utilities/Version";
47
+ import Version from "@wayward/utilities/Version";
48
48
  import { Direction } from "@wayward/game/utilities/math/Direction";
49
49
  import type { IVector2, IVector3 } from "@wayward/game/utilities/math/IVector";
50
50
  import Vector2 from "@wayward/game/utilities/math/Vector2";
@@ -12,7 +12,9 @@ import type { DoodadType, GrowingStage } from "@wayward/game/game/doodad/IDoodad
12
12
  import type { ActionType } from "@wayward/game/game/entity/action/IAction";
13
13
  import type { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
14
14
  import type Human from "@wayward/game/game/entity/Human";
15
+ import type { MoveType } from "@wayward/game/game/entity/IEntity";
15
16
  import type { EquipType } from "@wayward/game/game/entity/IHuman";
17
+ import type { NPCType } from "@wayward/game/game/entity/npc/INPCs";
16
18
  import type { StatusType } from "@wayward/game/game/entity/status/IStatus";
17
19
  import type { Quality } from "@wayward/game/game/IObject";
18
20
  import type { IslandId } from "@wayward/game/game/island/IIsland";
@@ -103,6 +105,14 @@ export interface IAutomationSetupWorld {
103
105
  z?: number;
104
106
  aberrant?: true;
105
107
  }>;
108
+ npcs?: Array<{
109
+ type: NPCType;
110
+ x?: number;
111
+ y?: number;
112
+ z?: number;
113
+ inventory?: IAutomationSetupItemContainer;
114
+ moveType?: MoveType;
115
+ }>;
106
116
  }
107
117
  export interface IAutomationSetupPlayer {
108
118
  alwaysPassSkillChecks?: boolean;
@@ -14,7 +14,7 @@ import type Island from "@wayward/game/game/island/Island";
14
14
  import type MapGenHelpers from "@wayward/game/game/mapgen/MapGenHelpers";
15
15
  import type { Load, MultiplayerLoadingDescription } from "@wayward/game/game/meta/Loading";
16
16
  import type { ITemplate, TileTemplateType } from "@wayward/game/game/tile/ITerrain";
17
- import type Version from "@wayward/game/utilities/Version";
17
+ import type Version from "@wayward/utilities/Version";
18
18
  import type { IVector3 } from "@wayward/game/utilities/math/IVector";
19
19
  import type WorldZ from "@wayward/utilities/game/WorldZ";
20
20
  import type { Random } from "@wayward/utilities/random/Random";
@@ -14,7 +14,7 @@ import type Island from "@wayward/game/game/island/Island";
14
14
  import type { MapGenVersions } from "@wayward/game/game/mapgen/IMapGen";
15
15
  import type { ITemplate, TileTemplateType } from "@wayward/game/game/tile/ITerrain";
16
16
  import type Tile from "@wayward/game/game/tile/Tile";
17
- import Version from "@wayward/game/utilities/Version";
17
+ import Version from "@wayward/utilities/Version";
18
18
  export declare namespace MapGenHelpers {
19
19
  function pickBasedOnVersion<T>(targetVersion: Version.String, versions: MapGenVersions<T>): {
20
20
  version: Version.String;
@@ -12,7 +12,7 @@ import type { SkillType } from "@wayward/game/game/entity/IHuman";
12
12
  import type { ItemType } from "@wayward/game/game/item/IItem";
13
13
  import type { IGameOptions, IGameOptionsSkill } from "@wayward/game/game/options/IGameOptions";
14
14
  import { GameMode } from "@wayward/game/game/options/IGameOptions";
15
- import type Version from "@wayward/game/utilities/Version";
15
+ import type Version from "@wayward/utilities/Version";
16
16
  export declare const CREATURE_SPAWN_LIMIT = 15;
17
17
  declare namespace GameOptions {
18
18
  export function getDefault(difficulty?: GameMode, seed?: number): IGameOptions;
@@ -23,7 +23,7 @@ import type { CreatureZone } from "@wayward/game/game/entity/creature/zone/Creat
23
23
  import type NPC from "@wayward/game/game/entity/npc/NPC";
24
24
  import type { IMessageManager } from "@wayward/game/game/entity/player/IMessageManager";
25
25
  import type Player from "@wayward/game/game/entity/player/Player";
26
- import type { IslandId } from "@wayward/game/game/island/IIsland";
26
+ import type { IslandId, IWell } from "@wayward/game/game/island/IIsland";
27
27
  import type Island from "@wayward/game/game/island/Island";
28
28
  import type { IUncastableContainer } from "@wayward/game/game/item/IItem";
29
29
  import type Item from "@wayward/game/game/item/Item";
@@ -129,6 +129,14 @@ export default class Tile implements IVector4, Partial<ITileContainer>, IFieldOf
129
129
  * Gets the primary/first blocking entity on this tile.
130
130
  */
131
131
  get entity(): Entity | undefined;
132
+ /**
133
+ * Gets well data on this tile.
134
+ */
135
+ get well(): IWell | undefined;
136
+ /**
137
+ * Sets well data on this tile.
138
+ */
139
+ set well(value: IWell);
132
140
  /**
133
141
  * Gets the primary/first blocking entity on this tile, that is a creature, NPC, or player.
134
142
  */
@@ -43,6 +43,14 @@ export default class TimeManager {
43
43
  * Returns a decimal representation of the current time. `0` is the start of the day, and `1` is the end.
44
44
  */
45
45
  getTime(tickOffset?: number): number;
46
+ /**
47
+ * Returns the amount of ticks until the time is at least the desired time amount.
48
+ */
49
+ getTicksUntilTimeIsAtLeast(desiredTime: number, tickOffset?: number): number | undefined;
50
+ /**
51
+ * Returns the amount of ticks until the time is before the desired time amount.
52
+ */
53
+ getTicksUntilTimeIsBefore(desiredTime: number, tickOffset?: number): number | undefined;
46
54
  /**
47
55
  * Returns if the given time is at day.
48
56
  * @param time The time to check, defaulting to the current time.